diff --git a/Cargo.lock b/Cargo.lock index d529cbb8f..89348b42d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2391,18 +2391,12 @@ dependencies = [ name = "jacquard-api" version = "0.9.5" dependencies = [ - "bon", - "bytes", "jacquard-common", "jacquard-derive", "jacquard-lexicon", "miette", - "rustversion", "serde", - "serde_bytes", - "serde_ipld_dagcbor", "thiserror 2.0.17", - "unicode-segmentation", ] [[package]] @@ -2469,6 +2463,7 @@ dependencies = [ "regex-automata", "regex-lite", "reqwest", + "rustversion", "serde", "serde_bytes", "serde_html_form", @@ -2483,6 +2478,7 @@ dependencies = [ "tokio-util", "tracing 0.1.44 (registry+https://github.com/rust-lang/crates.io-index)", "trait-variant", + "unicode-segmentation", "url", "zstd", ] diff --git a/Cargo.toml b/Cargo.toml index 145bcd122..76ee5015b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -44,6 +44,8 @@ thiserror = { version = "2.0", default-features = false } # trait stuff trait-variant = "0.1.2" +rustversion = "1.0" +unicode-segmentation = "1.12" bon = "3.8.0" diff --git a/crates/jacquard-api/Cargo.toml b/crates/jacquard-api/Cargo.toml index 10afa11cf..24706cbfe 100644 --- a/crates/jacquard-api/Cargo.toml +++ b/crates/jacquard-api/Cargo.toml @@ -15,18 +15,12 @@ license.workspace = true features = [ "bluesky", "other", "streaming" ] [dependencies] -bon.workspace = true -bytes = { workspace = true, features = ["serde"] } jacquard-common = { version = "0.9", path = "../jacquard-common" } jacquard-derive = { version = "0.9", path = "../jacquard-derive" } jacquard-lexicon = { version = "0.9", path = "../jacquard-lexicon", default-features = false } miette.workspace = true -rustversion = "1.0" serde.workspace = true -serde_ipld_dagcbor.workspace = true thiserror.workspace = true -unicode-segmentation = "1.12" -serde_bytes.workspace = true [lints.rust] @@ -35,7 +29,7 @@ non_snake_case = "allow" [features] default = [ "minimal", "std"] -std = ["serde/std", "serde_ipld_dagcbor/std", "serde_bytes/std"] +std = ["serde/std", "jacquard-common/std"] minimal = [ "com_atproto", "com_bad_example"] bluesky = [ "com_atproto", "app_bsky", "chat_bsky", "tools_ozone", "minimal"] other = ["sh_tangled", "site_standard", "sh_weaver", "pub_leaflet", "net_anisota", "network_slices", "com_whtwnd", "place_stream", "blog_pckt", "minimal" ] diff --git a/crates/jacquard-api/src/actor_rpg/master.rs b/crates/jacquard-api/src/actor_rpg/master.rs index 221fb523f..bddf5880a 100644 --- a/crates/jacquard-api/src/actor_rpg/master.rs +++ b/crates/jacquard-api/src/actor_rpg/master.rs @@ -55,51 +55,51 @@ pub mod master_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; - type Player; type System; + type Player; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; - type Player = Unset; type System = Unset; + type Player = Unset; + type CreatedAt = Unset; } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; + ///State transition - sets the `system` field to Set + pub struct SetSystem(PhantomData S>); + impl sealed::Sealed for SetSystem {} + impl State for SetSystem { + type System = Set; type Player = S::Player; - type System = S::System; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `player` field to Set pub struct SetPlayer(PhantomData S>); impl sealed::Sealed for SetPlayer {} impl State for SetPlayer { - type CreatedAt = S::CreatedAt; - type Player = Set; type System = S::System; - } - ///State transition - sets the `system` field to Set - pub struct SetSystem(PhantomData S>); - impl sealed::Sealed for SetSystem {} - impl State for SetSystem { + type Player = Set; type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type System = S::System; type Player = S::Player; - type System = Set; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); - ///Marker type for the `player` field - pub struct player(()); ///Marker type for the `system` field pub struct system(()); + ///Marker type for the `player` field + pub struct player(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -289,9 +289,9 @@ impl<'a, S: master_state::State> MasterBuilder<'a, S> { impl<'a, S> MasterBuilder<'a, S> where S: master_state::State, - S::CreatedAt: master_state::IsSet, - S::Player: master_state::IsSet, S::System: master_state::IsSet, + S::Player: master_state::IsSet, + S::CreatedAt: master_state::IsSet, { /// Build the final struct pub fn build(self) -> Master<'a> { @@ -311,7 +311,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Master<'a> { @@ -535,7 +535,7 @@ fn lexicon_doc_actor_rpg_master() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -547,9 +547,9 @@ fn lexicon_doc_actor_rpg_master() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("player"), - ::jacquard_common::smol_str::SmolStr::new_static("system"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("player"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("system"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -557,7 +557,7 @@ fn lexicon_doc_actor_rpg_master() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "campaign", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -578,7 +578,7 @@ fn lexicon_doc_actor_rpg_master() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -597,7 +597,9 @@ fn lexicon_doc_actor_rpg_master() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("player"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "player", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -618,7 +620,7 @@ fn lexicon_doc_actor_rpg_master() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "snapshotScope", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -639,7 +641,7 @@ fn lexicon_doc_actor_rpg_master() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "spriteCid", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -660,13 +662,17 @@ fn lexicon_doc_actor_rpg_master() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("stats"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "stats", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("system"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "system", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -685,7 +691,7 @@ fn lexicon_doc_actor_rpg_master() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/actor_rpg/sprite.rs b/crates/jacquard-api/src/actor_rpg/sprite.rs index dba2199f3..92216cd09 100644 --- a/crates/jacquard-api/src/actor_rpg/sprite.rs +++ b/crates/jacquard-api/src/actor_rpg/sprite.rs @@ -69,51 +69,51 @@ pub mod sprite_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Engine; type CreatedAt; type SpriteSheet; + type Engine; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Engine = Unset; type CreatedAt = Unset; type SpriteSheet = Unset; - } - ///State transition - sets the `engine` field to Set - pub struct SetEngine(PhantomData S>); - impl sealed::Sealed for SetEngine {} - impl State for SetEngine { - type Engine = Set; - type CreatedAt = S::CreatedAt; - type SpriteSheet = S::SpriteSheet; + type Engine = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Engine = S::Engine; type CreatedAt = Set; type SpriteSheet = S::SpriteSheet; + type Engine = S::Engine; } ///State transition - sets the `sprite_sheet` field to Set pub struct SetSpriteSheet(PhantomData S>); impl sealed::Sealed for SetSpriteSheet {} impl State for SetSpriteSheet { - type Engine = S::Engine; type CreatedAt = S::CreatedAt; type SpriteSheet = Set; + type Engine = S::Engine; + } + ///State transition - sets the `engine` field to Set + pub struct SetEngine(PhantomData S>); + impl sealed::Sealed for SetEngine {} + impl State for SetEngine { + type CreatedAt = S::CreatedAt; + type SpriteSheet = S::SpriteSheet; + type Engine = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `engine` field - pub struct engine(()); ///Marker type for the `created_at` field pub struct created_at(()); ///Marker type for the `sprite_sheet` field pub struct sprite_sheet(()); + ///Marker type for the `engine` field + pub struct engine(()); } } @@ -369,9 +369,9 @@ impl<'a, S: sprite_state::State> SpriteBuilder<'a, S> { impl<'a, S> SpriteBuilder<'a, S> where S: sprite_state::State, - S::Engine: sprite_state::IsSet, S::CreatedAt: sprite_state::IsSet, S::SpriteSheet: sprite_state::IsSet, + S::Engine: sprite_state::IsSet, { /// Build the final struct pub fn build(self) -> Sprite<'a> { @@ -396,7 +396,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Sprite<'a> { @@ -738,7 +738,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Sprite<'a> { } if let Some(ref value) = self.name { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -811,7 +811,7 @@ fn lexicon_doc_actor_rpg_sprite() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -823,9 +823,9 @@ fn lexicon_doc_actor_rpg_sprite() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("spriteSheet"), - ::jacquard_common::smol_str::SmolStr::new_static("engine"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("spriteSheet"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("engine"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -833,7 +833,7 @@ fn lexicon_doc_actor_rpg_sprite() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "animationSpeed", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -846,7 +846,9 @@ fn lexicon_doc_actor_rpg_sprite() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("columns"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "columns", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -857,7 +859,7 @@ fn lexicon_doc_actor_rpg_sprite() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -880,7 +882,9 @@ fn lexicon_doc_actor_rpg_sprite() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("engine"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "engine", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -899,7 +903,7 @@ fn lexicon_doc_actor_rpg_sprite() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "frameHeight", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -912,7 +916,7 @@ fn lexicon_doc_actor_rpg_sprite() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "frameWidth", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -925,7 +929,9 @@ fn lexicon_doc_actor_rpg_sprite() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("frames"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "frames", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -936,7 +942,9 @@ fn lexicon_doc_actor_rpg_sprite() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("height"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "height", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -947,7 +955,9 @@ fn lexicon_doc_actor_rpg_sprite() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -966,7 +976,9 @@ fn lexicon_doc_actor_rpg_sprite() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rows"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "rows", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -977,7 +989,7 @@ fn lexicon_doc_actor_rpg_sprite() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "spriteSheet", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { @@ -987,7 +999,7 @@ fn lexicon_doc_actor_rpg_sprite() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1010,7 +1022,9 @@ fn lexicon_doc_actor_rpg_sprite() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("width"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "width", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, diff --git a/crates/jacquard-api/src/actor_rpg/stats.rs b/crates/jacquard-api/src/actor_rpg/stats.rs index dcfe513f3..fc1d76117 100644 --- a/crates/jacquard-api/src/actor_rpg/stats.rs +++ b/crates/jacquard-api/src/actor_rpg/stats.rs @@ -48,7 +48,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("abilities"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("abilities"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -61,7 +61,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cha"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cha", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -72,7 +74,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("con"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "con", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -83,7 +87,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("dex"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "dex", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -94,7 +100,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("int"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "int", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -105,7 +113,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("str"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "str", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -116,7 +126,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("wis"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "wis", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -131,20 +143,24 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("attack"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("attack"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static("An attack action"), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("name")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("name") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("bonus"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "bonus", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -163,7 +179,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("damage"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "damage", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -182,7 +200,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "damageBonus", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -195,7 +213,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "damageType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -214,7 +232,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Attack name"), @@ -235,7 +255,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("coinage"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("coinage"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some(::jacquard_common::CowStr::new_static("Currency")), required: None, @@ -244,7 +264,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cp"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cp"), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -255,7 +275,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("ep"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("ep"), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -266,7 +286,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("gp"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("gp"), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -277,7 +297,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("pp"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("pp"), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -288,7 +308,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sp"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("sp"), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -303,7 +323,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("combat"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("combat"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -316,7 +336,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("ac"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("ac"), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -327,7 +347,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hitDice"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "hitDice", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -346,7 +368,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hitDiceUsed", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -359,7 +381,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "initiative", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -372,7 +394,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("speed"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "speed", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -387,7 +411,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("conditions"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("conditions"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -400,7 +424,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "deathSaves", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -409,7 +433,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "exhaustion", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -422,7 +446,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "inspiration", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -436,15 +460,15 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("customStat"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("customStat"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static("A custom stat"), ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("value") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("value") ], ), nullable: None, @@ -452,7 +476,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("category"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "category", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Category (optional)"), @@ -469,7 +495,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("max"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "max", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -480,7 +508,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("min"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "min", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -491,7 +521,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Stat name"), @@ -508,7 +540,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("value"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "value", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -523,7 +557,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("customStats"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("customStats"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -536,7 +570,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("stats"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "stats", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static("Custom stat entries"), @@ -550,7 +586,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "systemName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -569,7 +605,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "systemVersion", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -592,7 +628,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("dccAbilities"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("dccAbilities"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -605,7 +641,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("agi"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "agi", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -616,7 +654,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("agiBase"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "agiBase", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -627,7 +667,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("int"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "int", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -638,7 +680,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("luk"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "luk", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -649,7 +693,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("per"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "per", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -660,7 +706,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sta"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sta", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -671,7 +719,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("staBase"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "staBase", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -682,7 +732,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("str"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "str", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -693,7 +745,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("strBase"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "strBase", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -708,7 +762,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("dccAttack"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("dccAttack"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -716,14 +770,16 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("name")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("name") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "attackMod", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -744,7 +800,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("damage"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "damage", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -763,7 +821,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "damageBonus", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -784,7 +842,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Weapon name"), @@ -801,7 +861,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("notes"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "notes", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -820,7 +882,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("range"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "range", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -839,7 +903,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "type", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -862,7 +928,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("dccCleric"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("dccCleric"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -875,7 +941,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("deity"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "deity", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -894,7 +962,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "disapprovalRange", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -907,7 +975,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "disapprovalTable", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -928,7 +996,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "holySymbol", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -949,7 +1017,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "knownSpells", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -967,7 +1035,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "layOnHandsDie", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -988,7 +1056,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "maxSpellLevel", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1001,7 +1069,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "spellCheckMod", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1014,7 +1082,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "turnUnholyDie", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1035,7 +1103,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("unholy"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "unholy", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -1047,15 +1117,15 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("dccClericSpell"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("dccClericSpell"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static("A cleric spell"), ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("level") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("level") ], ), nullable: None, @@ -1063,7 +1133,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("level"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "level", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -1074,7 +1146,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Spell name"), @@ -1091,7 +1165,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("notes"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "notes", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1110,7 +1186,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sinful"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sinful", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -1122,7 +1200,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("dccCoinage"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("dccCoinage"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -1135,7 +1213,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cp"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cp"), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -1146,7 +1224,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("gp"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("gp"), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -1157,7 +1235,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sp"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("sp"), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -1172,7 +1250,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("dccCombat"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("dccCombat"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static("Combat statistics"), @@ -1183,7 +1261,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("ac"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("ac"), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -1194,7 +1272,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "actionDie", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1215,7 +1293,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "attackMod", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1228,7 +1306,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("critDie"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "critDie", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1247,7 +1327,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "critTable", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1268,7 +1348,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "fumbleDie", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1289,7 +1369,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "initiative", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1302,7 +1382,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("speed"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "speed", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -1317,7 +1399,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("dccCorruption"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("dccCorruption"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -1330,7 +1412,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("effect"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "effect", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1349,7 +1433,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "permanent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -1359,7 +1443,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("source"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "source", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1378,7 +1464,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "type", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1401,7 +1489,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("dccEquipment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("dccEquipment"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static("Equipment and inventory"), @@ -1412,7 +1500,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("armor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "armor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1431,7 +1521,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "armorCheckPenalty", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1444,7 +1534,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("gear"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "gear", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Other equipment"), @@ -1461,7 +1553,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("shield"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "shield", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Shield (if any)"), @@ -1478,7 +1572,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "tradeGoods", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1499,7 +1593,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("treasure"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "treasure", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1518,7 +1614,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("weapons"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "weapons", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Weapons carried"), @@ -1539,7 +1637,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("dccHalfling"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("dccHalfling"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static("Halfling class features"), @@ -1550,7 +1648,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "goodLuckCharm", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -1560,7 +1658,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "infravision", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1573,7 +1671,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "luckSpentOnAllies", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1586,7 +1684,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "luckyWeapon", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1607,7 +1705,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sneakAndHide", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1620,7 +1718,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "twoWeaponFighting", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -1634,7 +1732,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("dccHp"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("dccHp"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -1647,7 +1745,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("current"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "current", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -1658,7 +1758,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("max"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "max", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -1673,7 +1775,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("dccIdentity"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("dccIdentity"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -1686,7 +1788,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alignment", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1707,7 +1809,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("class"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "class", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1726,7 +1830,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("level"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "level", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -1737,7 +1843,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "occupation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1758,7 +1864,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1777,7 +1885,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("xp"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("xp"), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -1792,7 +1900,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("dccLuck"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("dccLuck"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -1805,7 +1913,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "birthAugur", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1826,7 +1934,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "birthAugurEffect", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1847,7 +1955,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "luckyWeapon", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1868,7 +1976,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "startingLuck", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1885,7 +1993,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("dccSaves"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("dccSaves"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -1898,7 +2006,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("fort"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "fort", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -1909,7 +2019,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("ref"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "ref", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -1920,7 +2032,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("will"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "will", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -1935,7 +2049,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("dccSpellburn"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("dccSpellburn"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -1948,7 +2062,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "agiBurned", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1961,7 +2075,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "recoveryRate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1974,7 +2088,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "staBurned", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1987,7 +2101,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "strBurned", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -2004,7 +2118,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("dccStats"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("dccStats"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -2017,7 +2131,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "abilities", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -2028,7 +2142,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "abilitiesNotes", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -2049,7 +2163,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("attacks"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "attacks", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static("Weapon attacks"), @@ -2063,28 +2179,34 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cleric"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cleric", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#dccCleric"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("coinage"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "coinage", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#dccCoinage"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("combat"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "combat", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#dccCombat"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "equipment", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -2095,28 +2217,32 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("halfling"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "halfling", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#dccHalfling"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hp"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("hp"), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#dccHp"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("identity"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "identity", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#dccIdentity"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "languages", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -2135,14 +2261,18 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("luck"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "luck", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#dccLuck"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("notes"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "notes", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -2161,28 +2291,36 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("saves"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "saves", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#dccSaves"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("thief"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "thief", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#dccThief"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("warrior"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "warrior", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#dccWarrior"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("wizard"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "wizard", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#dccWizard"), @@ -2193,7 +2331,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("dccThief"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("dccThief"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -2206,7 +2344,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alignment", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -2227,7 +2365,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("backstab"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "backstab", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -2238,7 +2378,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "luckyWeapon", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -2259,7 +2399,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("skills"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "skills", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -2272,7 +2414,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("dccThiefSkills"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("dccThiefSkills"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -2285,7 +2427,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("backstab"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "backstab", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -2296,7 +2440,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "castSpellFromScroll", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -2309,7 +2453,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "climbSheerSurfaces", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -2322,7 +2466,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "disableTrap", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -2335,7 +2479,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "disguiseSelf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -2348,7 +2492,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("findTrap"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "findTrap", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -2359,7 +2505,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "forgeDocument", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -2372,7 +2518,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "handlePoison", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -2385,7 +2531,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hideInShadows", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -2398,7 +2544,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("pickLock"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "pickLock", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -2409,7 +2557,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "pickPocket", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -2422,7 +2570,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "readLanguages", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -2435,7 +2583,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sneakSilently", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -2452,7 +2600,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("dccWarrior"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("dccWarrior"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -2465,7 +2613,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("deedDie"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "deedDie", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -2484,7 +2634,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "infravision", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -2497,7 +2647,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "luckyWeapon", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -2518,7 +2668,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mightyDeeds", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -2544,7 +2694,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "shieldBash", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -2554,7 +2704,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "smellGold", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -2564,7 +2714,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "undergroundSkills", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -2581,7 +2731,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("dccWizard"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("dccWizard"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -2594,7 +2744,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "corruption", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -2614,7 +2764,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "corruptionText", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -2635,7 +2785,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "knownSpells", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -2655,7 +2805,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "maxSpellLevel", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -2668,7 +2818,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("patron"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "patron", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -2687,7 +2839,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "patronBond", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -2708,7 +2860,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "spellCheckMod", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -2721,7 +2873,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "spellburn", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -2736,7 +2888,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("dccWizardSpell"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("dccWizardSpell"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -2745,8 +2897,8 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("level") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("level") ], ), nullable: None, @@ -2754,7 +2906,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("level"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "level", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -2765,7 +2919,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("lost"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "lost", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -2773,7 +2929,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mercurialMagic", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -2794,7 +2950,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mercurialRoll", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -2807,7 +2963,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Spell name"), @@ -2824,7 +2982,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("notes"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "notes", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -2847,7 +3007,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("deathSaves"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("deathSaves"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -2860,7 +3020,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("failures"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "failures", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -2871,7 +3033,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "successes", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -2888,7 +3050,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("dndStats"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("dndStats"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -2901,7 +3063,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "abilities", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -2910,7 +3072,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("attacks"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "attacks", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static("Attack actions"), @@ -2924,21 +3088,25 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("coinage"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "coinage", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#coinage"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("combat"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "combat", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#combat"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "conditions", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -2947,7 +3115,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "equipment", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -2956,7 +3124,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("features"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "features", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -2975,21 +3145,23 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hp"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("hp"), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#hp"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("identity"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "identity", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#identity"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "languages", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -3008,14 +3180,16 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("passives"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "passives", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#passives"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "personality", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -3024,7 +3198,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "proficiencies", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -3045,21 +3219,25 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("saves"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "saves", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#saves"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("skills"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "skills", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#skills"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "spellcasting", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -3074,7 +3252,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("equipment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("equipment"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static("Gear and inventory"), @@ -3085,7 +3263,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("armor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "armor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Armor"), @@ -3102,7 +3282,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("gear"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "gear", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Other equipment"), @@ -3119,7 +3301,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("treasure"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "treasure", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -3138,7 +3322,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("weapons"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "weapons", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Weapons"), @@ -3159,7 +3345,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hp"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("hp"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static("Hit point tracking"), @@ -3170,7 +3356,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("current"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "current", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -3181,7 +3369,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("max"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "max", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -3192,7 +3382,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("temp"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "temp", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -3207,7 +3399,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("identity"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("identity"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -3220,7 +3412,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alignment", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -3241,7 +3433,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "background", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -3262,7 +3454,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("class"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "class", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -3281,7 +3475,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("level"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "level", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -3292,7 +3488,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "proficiency", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -3305,7 +3501,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("race"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "race", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -3324,7 +3522,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("xp"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("xp"), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -3339,7 +3537,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -3351,7 +3549,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -3359,7 +3557,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -3382,28 +3580,36 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("custom"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "custom", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#customStats"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("dcc"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "dcc", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#dccStats"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("dnd"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "dnd", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#dndStats"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reverie"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reverie", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -3412,14 +3618,16 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rmmz"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "rmmz", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#rmmzStats"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -3447,7 +3655,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("passives"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("passives"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -3460,7 +3668,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("insight"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "insight", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -3471,7 +3681,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "investigation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -3484,7 +3694,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "perception", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -3501,7 +3711,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("personality"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("personality"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -3514,7 +3724,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "backstory", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -3533,7 +3743,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("bonds"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "bonds", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Bonds"), @@ -3550,7 +3762,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("flaws"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "flaws", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Flaws"), @@ -3567,7 +3781,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("ideals"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "ideals", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Ideals"), @@ -3584,7 +3800,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("traits"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "traits", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Personality traits"), @@ -3605,7 +3823,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reverieStats"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("reverieStats"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -3618,7 +3836,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "authority", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -3631,7 +3849,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("entropy"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "entropy", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -3642,7 +3862,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("liberty"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "liberty", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -3653,7 +3875,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("oblivion"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "oblivion", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -3664,7 +3888,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("octant"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "octant", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -3683,7 +3909,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "receptive", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -3696,7 +3922,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("skeptic"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "skeptic", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -3711,7 +3939,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rmmzStats"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("rmmzStats"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -3724,7 +3952,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("agi"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "agi", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -3735,7 +3965,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("atk"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "atk", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -3746,7 +3978,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("class"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "class", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Class"), @@ -3763,7 +3997,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -3774,7 +4010,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("def"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "def", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -3785,7 +4023,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("eva"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "eva", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -3796,7 +4036,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hit"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "hit", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -3807,7 +4049,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hp"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("hp"), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -3818,7 +4060,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("level"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "level", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -3829,7 +4073,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("luk"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "luk", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -3840,7 +4086,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("mat"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "mat", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -3851,7 +4099,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("maxHp"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "maxHp", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -3862,7 +4112,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("maxMp"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "maxMp", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -3873,7 +4125,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("maxTp"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "maxTp", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -3884,7 +4138,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("mdf"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "mdf", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -3895,7 +4151,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("mp"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("mp"), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -3906,7 +4162,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tp"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("tp"), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -3917,7 +4173,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("xp"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("xp"), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -3932,7 +4188,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("saves"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("saves"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -3945,7 +4201,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cha"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cha", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -3956,7 +4214,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("con"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "con", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -3967,7 +4227,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("dex"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "dex", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -3978,7 +4240,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("int"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "int", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -3989,7 +4253,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("str"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "str", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -4000,7 +4266,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("wis"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "wis", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -4015,7 +4283,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("skills"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("skills"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -4028,7 +4296,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "acrobatics", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -4041,7 +4309,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "animalHandling", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -4054,7 +4322,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("arcana"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "arcana", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -4065,7 +4335,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "athletics", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -4078,7 +4348,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "deception", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -4091,7 +4361,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("history"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "history", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -4102,7 +4374,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("insight"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "insight", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -4113,7 +4387,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "intimidation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -4126,7 +4400,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "investigation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -4139,7 +4413,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("medicine"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "medicine", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -4150,7 +4426,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("nature"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "nature", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -4161,7 +4439,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "perception", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -4174,7 +4452,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "performance", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -4187,7 +4465,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "persuasion", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -4200,7 +4478,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("religion"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "religion", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -4211,7 +4491,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sleightOfHand", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -4224,7 +4504,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("stealth"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "stealth", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -4235,7 +4517,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("survival"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "survival", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -4250,7 +4534,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("spellList"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("spellList"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -4263,7 +4547,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cantrips"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cantrips", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static("Cantrips (at-will)"), @@ -4285,7 +4571,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("l1"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("l1"), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static("1st-level spells"), @@ -4307,7 +4593,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("l2"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("l2"), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static("2nd-level spells"), @@ -4329,7 +4615,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("l3"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("l3"), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static("3rd-level spells"), @@ -4351,7 +4637,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("l4"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("l4"), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static("4th-level spells"), @@ -4373,7 +4659,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("l5"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("l5"), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static("5th-level spells"), @@ -4395,7 +4681,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("l6"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("l6"), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static("6th-level spells"), @@ -4417,7 +4703,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("l7"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("l7"), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static("7th-level spells"), @@ -4439,7 +4725,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("l8"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("l8"), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static("8th-level spells"), @@ -4461,7 +4747,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("l9"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("l9"), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static("9th-level spells"), @@ -4487,7 +4773,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("spellcasting"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("spellcasting"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static("Spellcasting details"), @@ -4498,7 +4784,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("ability"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "ability", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -4517,7 +4805,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("attack"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "attack", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -4528,7 +4818,7 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("dc"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("dc"), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -4539,7 +4829,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("slots"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "slots", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -4555,7 +4847,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("spells"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "spells", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#spellList"), @@ -4566,15 +4860,15 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("spellslot"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("spellslot"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static("Spell slot entry"), ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("level"), - ::jacquard_common::smol_str::SmolStr::new_static("total") + ::jacquard_common::deps::smol_str::SmolStr::new_static("level"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("total") ], ), nullable: None, @@ -4582,7 +4876,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("level"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "level", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -4593,7 +4889,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("total"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "total", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -4604,7 +4902,9 @@ fn lexicon_doc_actor_rpg_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("used"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "used", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -5340,7 +5640,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> CustomStat<'a> { @@ -6093,37 +6393,37 @@ pub mod dcc_cleric_spell_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Name; type Level; + type Name; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Name = Unset; type Level = Unset; - } - ///State transition - sets the `name` field to Set - pub struct SetName(PhantomData S>); - impl sealed::Sealed for SetName {} - impl State for SetName { - type Name = Set; - type Level = S::Level; + type Name = Unset; } ///State transition - sets the `level` field to Set pub struct SetLevel(PhantomData S>); impl sealed::Sealed for SetLevel {} impl State for SetLevel { - type Name = S::Name; type Level = Set; + type Name = S::Name; + } + ///State transition - sets the `name` field to Set + pub struct SetName(PhantomData S>); + impl sealed::Sealed for SetName {} + impl State for SetName { + type Level = S::Level; + type Name = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `name` field - pub struct name(()); ///Marker type for the `level` field pub struct level(()); + ///Marker type for the `name` field + pub struct name(()); } } @@ -6227,8 +6527,8 @@ impl<'a, S: dcc_cleric_spell_state::State> DccClericSpellBuilder<'a, S> { impl<'a, S> DccClericSpellBuilder<'a, S> where S: dcc_cleric_spell_state::State, - S::Name: dcc_cleric_spell_state::IsSet, S::Level: dcc_cleric_spell_state::IsSet, + S::Name: dcc_cleric_spell_state::IsSet, { /// Build the final struct pub fn build(self) -> DccClericSpell<'a> { @@ -6244,7 +6544,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> DccClericSpell<'a> { @@ -7887,37 +8187,37 @@ pub mod dcc_wizard_spell_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Name; type Level; + type Name; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Name = Unset; type Level = Unset; - } - ///State transition - sets the `name` field to Set - pub struct SetName(PhantomData S>); - impl sealed::Sealed for SetName {} - impl State for SetName { - type Name = Set; - type Level = S::Level; + type Name = Unset; } ///State transition - sets the `level` field to Set pub struct SetLevel(PhantomData S>); impl sealed::Sealed for SetLevel {} impl State for SetLevel { - type Name = S::Name; type Level = Set; + type Name = S::Name; + } + ///State transition - sets the `name` field to Set + pub struct SetName(PhantomData S>); + impl sealed::Sealed for SetName {} + impl State for SetName { + type Level = S::Level; + type Name = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `name` field - pub struct name(()); ///Marker type for the `level` field pub struct level(()); + ///Marker type for the `name` field + pub struct name(()); } } @@ -8055,8 +8355,8 @@ impl<'a, S: dcc_wizard_spell_state::State> DccWizardSpellBuilder<'a, S> { impl<'a, S> DccWizardSpellBuilder<'a, S> where S: dcc_wizard_spell_state::State, - S::Name: dcc_wizard_spell_state::IsSet, S::Level: dcc_wizard_spell_state::IsSet, + S::Name: dcc_wizard_spell_state::IsSet, { /// Build the final struct pub fn build(self) -> DccWizardSpell<'a> { @@ -8074,7 +8374,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> DccWizardSpell<'a> { @@ -8989,7 +9289,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Stats<'a> { @@ -10462,7 +10762,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Spellslot<'a> { diff --git a/crates/jacquard-api/src/ai_syui/at/link.rs b/crates/jacquard-api/src/ai_syui/at/link.rs index 62fdc9f63..47ff0c9c5 100644 --- a/crates/jacquard-api/src/ai_syui/at/link.rs +++ b/crates/jacquard-api/src/ai_syui/at/link.rs @@ -129,13 +129,13 @@ fn lexicon_doc_ai_syui_at_link() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("linkItem"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("linkItem"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("service"), - ::jacquard_common::smol_str::SmolStr::new_static("username") + ::jacquard_common::deps::smol_str::SmolStr::new_static("service"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("username") ], ), nullable: None, @@ -143,7 +143,9 @@ fn lexicon_doc_ai_syui_at_link() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("service"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "service", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Service identifier."), @@ -160,7 +162,9 @@ fn lexicon_doc_ai_syui_at_link() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("username"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "username", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -183,7 +187,7 @@ fn lexicon_doc_ai_syui_at_link() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -195,8 +199,8 @@ fn lexicon_doc_ai_syui_at_link() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("links"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("links"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -204,7 +208,7 @@ fn lexicon_doc_ai_syui_at_link() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -227,7 +231,9 @@ fn lexicon_doc_ai_syui_at_link() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("links"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "links", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -243,7 +249,7 @@ fn lexicon_doc_ai_syui_at_link() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -338,37 +344,37 @@ pub mod link_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type Links; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type Links = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Links = S::Links; + type CreatedAt = Unset; } ///State transition - sets the `links` field to Set pub struct SetLinks(PhantomData S>); impl sealed::Sealed for SetLinks {} impl State for SetLinks { - type CreatedAt = S::CreatedAt; type Links = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Links = S::Links; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `links` field pub struct links(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -461,8 +467,8 @@ impl<'a, S: link_state::State> LinkBuilder<'a, S> { impl<'a, S> LinkBuilder<'a, S> where S: link_state::State, - S::CreatedAt: link_state::IsSet, S::Links: link_state::IsSet, + S::CreatedAt: link_state::IsSet, { /// Build the final struct pub fn build(self) -> Link<'a> { @@ -477,7 +483,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Link<'a> { diff --git a/crates/jacquard-api/src/ai_syui/log/chat.rs b/crates/jacquard-api/src/ai_syui/log/chat.rs index 0f8a525ac..2709c10b2 100644 --- a/crates/jacquard-api/src/ai_syui/log/chat.rs +++ b/crates/jacquard-api/src/ai_syui/log/chat.rs @@ -86,51 +86,51 @@ pub mod chat_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type PublishedAt; type Title; type Site; + type PublishedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type PublishedAt = Unset; type Title = Unset; type Site = Unset; - } - ///State transition - sets the `published_at` field to Set - pub struct SetPublishedAt(PhantomData S>); - impl sealed::Sealed for SetPublishedAt {} - impl State for SetPublishedAt { - type PublishedAt = Set; - type Title = S::Title; - type Site = S::Site; + type PublishedAt = Unset; } ///State transition - sets the `title` field to Set pub struct SetTitle(PhantomData S>); impl sealed::Sealed for SetTitle {} impl State for SetTitle { - type PublishedAt = S::PublishedAt; type Title = Set; type Site = S::Site; + type PublishedAt = S::PublishedAt; } ///State transition - sets the `site` field to Set pub struct SetSite(PhantomData S>); impl sealed::Sealed for SetSite {} impl State for SetSite { - type PublishedAt = S::PublishedAt; type Title = S::Title; type Site = Set; + type PublishedAt = S::PublishedAt; + } + ///State transition - sets the `published_at` field to Set + pub struct SetPublishedAt(PhantomData S>); + impl sealed::Sealed for SetPublishedAt {} + impl State for SetPublishedAt { + type Title = S::Title; + type Site = S::Site; + type PublishedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `published_at` field - pub struct published_at(()); ///Marker type for the `title` field pub struct title(()); ///Marker type for the `site` field pub struct site(()); + ///Marker type for the `published_at` field + pub struct published_at(()); } } @@ -476,9 +476,9 @@ impl<'a, S: chat_state::State> ChatBuilder<'a, S> { impl<'a, S> ChatBuilder<'a, S> where S: chat_state::State, - S::PublishedAt: chat_state::IsSet, S::Title: chat_state::IsSet, S::Site: chat_state::IsSet, + S::PublishedAt: chat_state::IsSet, { /// Build the final struct pub fn build(self) -> Chat<'a> { @@ -505,7 +505,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Chat<'a> { @@ -618,7 +618,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Chat<'a> { } if let Some(ref value) = self.description { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -662,7 +662,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Chat<'a> { { let value = &self.title; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -691,7 +691,7 @@ fn lexicon_doc_ai_syui_log_chat() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -703,9 +703,9 @@ fn lexicon_doc_ai_syui_log_chat() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("site"), - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("publishedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("site"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("publishedAt") ], ), nullable: None, @@ -713,7 +713,7 @@ fn lexicon_doc_ai_syui_log_chat() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "bskyPostRef", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -724,7 +724,9 @@ fn lexicon_doc_ai_syui_log_chat() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "content", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: Some( ::jacquard_common::CowStr::new_static( @@ -738,7 +740,7 @@ fn lexicon_doc_ai_syui_log_chat() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "coverImage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { @@ -748,7 +750,7 @@ fn lexicon_doc_ai_syui_log_chat() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -769,7 +771,9 @@ fn lexicon_doc_ai_syui_log_chat() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("langs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "langs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -795,7 +799,9 @@ fn lexicon_doc_ai_syui_log_chat() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("parent"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "parent", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -816,7 +822,9 @@ fn lexicon_doc_ai_syui_log_chat() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("path"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "path", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -835,7 +843,7 @@ fn lexicon_doc_ai_syui_log_chat() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publishedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -858,7 +866,9 @@ fn lexicon_doc_ai_syui_log_chat() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("root"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "root", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -879,7 +889,9 @@ fn lexicon_doc_ai_syui_log_chat() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("site"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "site", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -900,7 +912,9 @@ fn lexicon_doc_ai_syui_log_chat() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tags", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -924,7 +938,7 @@ fn lexicon_doc_ai_syui_log_chat() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "textContent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -945,7 +959,9 @@ fn lexicon_doc_ai_syui_log_chat() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -964,7 +980,7 @@ fn lexicon_doc_ai_syui_log_chat() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "translations", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -975,7 +991,7 @@ fn lexicon_doc_ai_syui_log_chat() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1003,20 +1019,24 @@ fn lexicon_doc_ai_syui_log_chat() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("markdown"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("markdown"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static("Markdown content format."), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("text")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("text") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1039,7 +1059,7 @@ fn lexicon_doc_ai_syui_log_chat() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("translation"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("translation"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -1052,7 +1072,9 @@ fn lexicon_doc_ai_syui_log_chat() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "content", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -1067,7 +1089,9 @@ fn lexicon_doc_ai_syui_log_chat() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -1086,7 +1110,7 @@ fn lexicon_doc_ai_syui_log_chat() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("translationMap"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("translationMap"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -1099,14 +1123,14 @@ fn lexicon_doc_ai_syui_log_chat() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("en"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("en"), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#translation"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("ja"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("ja"), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#translation"), @@ -1169,7 +1193,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Markdown<'a> { { let value = &self.text; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -1238,7 +1262,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Translation<'a> { } if let Some(ref value) = self.content { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -1268,7 +1292,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Translation<'a> { } if let Some(ref value) = self.title { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) diff --git a/crates/jacquard-api/src/ai_syui/log/post.rs b/crates/jacquard-api/src/ai_syui/log/post.rs index 74f99079d..502de9b2b 100644 --- a/crates/jacquard-api/src/ai_syui/log/post.rs +++ b/crates/jacquard-api/src/ai_syui/log/post.rs @@ -86,51 +86,51 @@ pub mod post_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Site; type Title; type PublishedAt; + type Site; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Site = Unset; type Title = Unset; type PublishedAt = Unset; - } - ///State transition - sets the `site` field to Set - pub struct SetSite(PhantomData S>); - impl sealed::Sealed for SetSite {} - impl State for SetSite { - type Site = Set; - type Title = S::Title; - type PublishedAt = S::PublishedAt; + type Site = Unset; } ///State transition - sets the `title` field to Set pub struct SetTitle(PhantomData S>); impl sealed::Sealed for SetTitle {} impl State for SetTitle { - type Site = S::Site; type Title = Set; type PublishedAt = S::PublishedAt; + type Site = S::Site; } ///State transition - sets the `published_at` field to Set pub struct SetPublishedAt(PhantomData S>); impl sealed::Sealed for SetPublishedAt {} impl State for SetPublishedAt { - type Site = S::Site; type Title = S::Title; type PublishedAt = Set; + type Site = S::Site; + } + ///State transition - sets the `site` field to Set + pub struct SetSite(PhantomData S>); + impl sealed::Sealed for SetSite {} + impl State for SetSite { + type Title = S::Title; + type PublishedAt = S::PublishedAt; + type Site = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `site` field - pub struct site(()); ///Marker type for the `title` field pub struct title(()); ///Marker type for the `published_at` field pub struct published_at(()); + ///Marker type for the `site` field + pub struct site(()); } } @@ -476,9 +476,9 @@ impl<'a, S: post_state::State> PostBuilder<'a, S> { impl<'a, S> PostBuilder<'a, S> where S: post_state::State, - S::Site: post_state::IsSet, S::Title: post_state::IsSet, S::PublishedAt: post_state::IsSet, + S::Site: post_state::IsSet, { /// Build the final struct pub fn build(self) -> Post<'a> { @@ -505,7 +505,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Post<'a> { @@ -618,7 +618,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Post<'a> { } if let Some(ref value) = self.description { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -662,7 +662,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Post<'a> { { let value = &self.title; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -691,7 +691,7 @@ fn lexicon_doc_ai_syui_log_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -703,9 +703,9 @@ fn lexicon_doc_ai_syui_log_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("site"), - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("publishedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("site"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("publishedAt") ], ), nullable: None, @@ -713,7 +713,7 @@ fn lexicon_doc_ai_syui_log_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "bskyPostRef", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -724,7 +724,9 @@ fn lexicon_doc_ai_syui_log_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "content", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: Some( ::jacquard_common::CowStr::new_static( @@ -738,7 +740,7 @@ fn lexicon_doc_ai_syui_log_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "coverImage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { @@ -748,7 +750,7 @@ fn lexicon_doc_ai_syui_log_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -769,7 +771,9 @@ fn lexicon_doc_ai_syui_log_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("langs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "langs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -795,7 +799,9 @@ fn lexicon_doc_ai_syui_log_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("parent"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "parent", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -816,7 +822,9 @@ fn lexicon_doc_ai_syui_log_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("path"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "path", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -835,7 +843,7 @@ fn lexicon_doc_ai_syui_log_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publishedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -858,7 +866,9 @@ fn lexicon_doc_ai_syui_log_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("root"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "root", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -879,7 +889,9 @@ fn lexicon_doc_ai_syui_log_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("site"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "site", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -900,7 +912,9 @@ fn lexicon_doc_ai_syui_log_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tags", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -924,7 +938,7 @@ fn lexicon_doc_ai_syui_log_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "textContent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -945,7 +959,9 @@ fn lexicon_doc_ai_syui_log_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Title of the post."), @@ -962,7 +978,7 @@ fn lexicon_doc_ai_syui_log_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "translations", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -973,7 +989,7 @@ fn lexicon_doc_ai_syui_log_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1001,20 +1017,24 @@ fn lexicon_doc_ai_syui_log_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("markdown"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("markdown"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static("Markdown content format."), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("text")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("text") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1037,7 +1057,7 @@ fn lexicon_doc_ai_syui_log_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("translation"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("translation"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static("A translation of a post."), @@ -1048,7 +1068,9 @@ fn lexicon_doc_ai_syui_log_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "content", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -1063,7 +1085,9 @@ fn lexicon_doc_ai_syui_log_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -1082,7 +1106,7 @@ fn lexicon_doc_ai_syui_log_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("translationMap"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("translationMap"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -1095,14 +1119,14 @@ fn lexicon_doc_ai_syui_log_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("en"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("en"), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#translation"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("ja"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("ja"), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#translation"), @@ -1165,7 +1189,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Markdown<'a> { { let value = &self.text; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -1234,7 +1258,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Translation<'a> { } if let Some(ref value) = self.content { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -1264,7 +1288,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Translation<'a> { } if let Some(ref value) = self.title { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) diff --git a/crates/jacquard-api/src/app_beaconbits/beacon.rs b/crates/jacquard-api/src/app_beaconbits/beacon.rs index 27c85c15d..42525c6c3 100644 --- a/crates/jacquard-api/src/app_beaconbits/beacon.rs +++ b/crates/jacquard-api/src/app_beaconbits/beacon.rs @@ -99,67 +99,67 @@ pub mod beacon_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type VenueName; type CreatedAt; - type VenueUri; + type VenueName; type Visibility; + type VenueUri; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type VenueName = Unset; type CreatedAt = Unset; - type VenueUri = Unset; + type VenueName = Unset; type Visibility = Unset; - } - ///State transition - sets the `venue_name` field to Set - pub struct SetVenueName(PhantomData S>); - impl sealed::Sealed for SetVenueName {} - impl State for SetVenueName { - type VenueName = Set; - type CreatedAt = S::CreatedAt; - type VenueUri = S::VenueUri; - type Visibility = S::Visibility; + type VenueUri = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type VenueName = S::VenueName; type CreatedAt = Set; - type VenueUri = S::VenueUri; + type VenueName = S::VenueName; type Visibility = S::Visibility; + type VenueUri = S::VenueUri; } - ///State transition - sets the `venue_uri` field to Set - pub struct SetVenueUri(PhantomData S>); - impl sealed::Sealed for SetVenueUri {} - impl State for SetVenueUri { - type VenueName = S::VenueName; + ///State transition - sets the `venue_name` field to Set + pub struct SetVenueName(PhantomData S>); + impl sealed::Sealed for SetVenueName {} + impl State for SetVenueName { type CreatedAt = S::CreatedAt; - type VenueUri = Set; + type VenueName = Set; type Visibility = S::Visibility; + type VenueUri = S::VenueUri; } ///State transition - sets the `visibility` field to Set pub struct SetVisibility(PhantomData S>); impl sealed::Sealed for SetVisibility {} impl State for SetVisibility { - type VenueName = S::VenueName; type CreatedAt = S::CreatedAt; - type VenueUri = S::VenueUri; + type VenueName = S::VenueName; type Visibility = Set; + type VenueUri = S::VenueUri; + } + ///State transition - sets the `venue_uri` field to Set + pub struct SetVenueUri(PhantomData S>); + impl sealed::Sealed for SetVenueUri {} + impl State for SetVenueUri { + type CreatedAt = S::CreatedAt; + type VenueName = S::VenueName; + type Visibility = S::Visibility; + type VenueUri = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `venue_name` field - pub struct venue_name(()); ///Marker type for the `created_at` field pub struct created_at(()); - ///Marker type for the `venue_uri` field - pub struct venue_uri(()); + ///Marker type for the `venue_name` field + pub struct venue_name(()); ///Marker type for the `visibility` field pub struct visibility(()); + ///Marker type for the `venue_uri` field + pub struct venue_uri(()); } } @@ -543,10 +543,10 @@ where impl<'a, S> BeaconBuilder<'a, S> where S: beacon_state::State, - S::VenueName: beacon_state::IsSet, S::CreatedAt: beacon_state::IsSet, - S::VenueUri: beacon_state::IsSet, + S::VenueName: beacon_state::IsSet, S::Visibility: beacon_state::IsSet, + S::VenueUri: beacon_state::IsSet, { /// Build the final struct pub fn build(self) -> Beacon<'a> { @@ -575,7 +575,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Beacon<'a> { @@ -777,7 +777,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Beacon<'a> { ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { if let Some(ref value) = self.chain_emoji { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -795,7 +795,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Beacon<'a> { } if let Some(ref value) = self.chain_name { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -835,7 +835,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Beacon<'a> { } if let Some(ref value) = self.shout { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -853,7 +853,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Beacon<'a> { } if let Some(ref value) = self.venue_address { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -871,7 +871,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Beacon<'a> { } if let Some(ref value) = self.venue_category { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -890,7 +890,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Beacon<'a> { { let value = &self.venue_name; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -909,7 +909,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Beacon<'a> { { let value = &self.venue_uri; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -928,7 +928,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Beacon<'a> { { let value = &self.visibility; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -959,7 +959,7 @@ fn lexicon_doc_app_beaconbits_beacon() -> ::jacquard_lexicon::lexicon::LexiconDo defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -971,10 +971,10 @@ fn lexicon_doc_app_beaconbits_beacon() -> ::jacquard_lexicon::lexicon::LexiconDo description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("venueUri"), - ::jacquard_common::smol_str::SmolStr::new_static("venueName"), - ::jacquard_common::smol_str::SmolStr::new_static("visibility"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("venueUri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("venueName"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("visibility"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -982,7 +982,7 @@ fn lexicon_doc_app_beaconbits_beacon() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "addressDetails", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -993,7 +993,7 @@ fn lexicon_doc_app_beaconbits_beacon() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "chainEmoji", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1014,7 +1014,7 @@ fn lexicon_doc_app_beaconbits_beacon() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "chainName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1035,7 +1035,7 @@ fn lexicon_doc_app_beaconbits_beacon() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1058,7 +1058,7 @@ fn lexicon_doc_app_beaconbits_beacon() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "location", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -1069,7 +1069,7 @@ fn lexicon_doc_app_beaconbits_beacon() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mentions", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -1097,7 +1097,7 @@ fn lexicon_doc_app_beaconbits_beacon() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "parentBeacon", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -1108,7 +1108,9 @@ fn lexicon_doc_app_beaconbits_beacon() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("post"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "post", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -1117,7 +1119,9 @@ fn lexicon_doc_app_beaconbits_beacon() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rating"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "rating", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -1128,7 +1132,7 @@ fn lexicon_doc_app_beaconbits_beacon() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "revealAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1151,7 +1155,9 @@ fn lexicon_doc_app_beaconbits_beacon() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("shout"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "shout", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1170,7 +1176,7 @@ fn lexicon_doc_app_beaconbits_beacon() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "threadRoot", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -1181,7 +1187,7 @@ fn lexicon_doc_app_beaconbits_beacon() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "venueAddress", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1202,7 +1208,7 @@ fn lexicon_doc_app_beaconbits_beacon() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "venueCategory", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1223,7 +1229,7 @@ fn lexicon_doc_app_beaconbits_beacon() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "venueName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1244,7 +1250,7 @@ fn lexicon_doc_app_beaconbits_beacon() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "venueUri", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1265,7 +1271,7 @@ fn lexicon_doc_app_beaconbits_beacon() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "visibility", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/app_beaconbits/beacon/like.rs b/crates/jacquard-api/src/app_beaconbits/beacon/like.rs index e391fd94f..6c8ea7d98 100644 --- a/crates/jacquard-api/src/app_beaconbits/beacon/like.rs +++ b/crates/jacquard-api/src/app_beaconbits/beacon/like.rs @@ -178,7 +178,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Like<'a> { @@ -280,7 +280,7 @@ fn lexicon_doc_app_beaconbits_beacon_like() -> ::jacquard_lexicon::lexicon::Lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static("A like on a beacon"), @@ -290,8 +290,8 @@ fn lexicon_doc_app_beaconbits_beacon_like() -> ::jacquard_lexicon::lexicon::Lexi description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -299,7 +299,7 @@ fn lexicon_doc_app_beaconbits_beacon_like() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "bskyLikeUri", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -322,7 +322,7 @@ fn lexicon_doc_app_beaconbits_beacon_like() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -345,7 +345,9 @@ fn lexicon_doc_app_beaconbits_beacon_like() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/app_beaconbits/bookmark/folder.rs b/crates/jacquard-api/src/app_beaconbits/bookmark/folder.rs index bd13a0b1b..5727c04ac 100644 --- a/crates/jacquard-api/src/app_beaconbits/bookmark/folder.rs +++ b/crates/jacquard-api/src/app_beaconbits/bookmark/folder.rs @@ -51,37 +51,37 @@ pub mod folder_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type Name; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type Name = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Name = S::Name; + type CreatedAt = Unset; } ///State transition - sets the `name` field to Set pub struct SetName(PhantomData S>); impl sealed::Sealed for SetName {} impl State for SetName { - type CreatedAt = S::CreatedAt; type Name = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Name = S::Name; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `name` field pub struct name(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -222,8 +222,8 @@ impl<'a, S: folder_state::State> FolderBuilder<'a, S> { impl<'a, S> FolderBuilder<'a, S> where S: folder_state::State, - S::CreatedAt: folder_state::IsSet, S::Name: folder_state::IsSet, + S::CreatedAt: folder_state::IsSet, { /// Build the final struct pub fn build(self) -> Folder<'a> { @@ -241,7 +241,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Folder<'a> { @@ -427,7 +427,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Folder<'a> { ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { if let Some(ref value) = self.color { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -445,7 +445,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Folder<'a> { } if let Some(ref value) = self.description { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -463,7 +463,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Folder<'a> { } if let Some(ref value) = self.icon { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -482,7 +482,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Folder<'a> { { let value = &self.name; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -500,7 +500,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Folder<'a> { } if let Some(ref value) = self.visibility { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -531,7 +531,7 @@ fn lexicon_doc_app_beaconbits_bookmark_folder() -> ::jacquard_lexicon::lexicon:: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -543,8 +543,8 @@ fn lexicon_doc_app_beaconbits_bookmark_folder() -> ::jacquard_lexicon::lexicon:: description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -552,7 +552,9 @@ fn lexicon_doc_app_beaconbits_bookmark_folder() -> ::jacquard_lexicon::lexicon:: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("color"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "color", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -571,7 +573,7 @@ fn lexicon_doc_app_beaconbits_bookmark_folder() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -594,7 +596,7 @@ fn lexicon_doc_app_beaconbits_bookmark_folder() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -615,7 +617,9 @@ fn lexicon_doc_app_beaconbits_bookmark_folder() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("icon"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "icon", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Lucide icon name"), @@ -632,7 +636,9 @@ fn lexicon_doc_app_beaconbits_bookmark_folder() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -651,7 +657,7 @@ fn lexicon_doc_app_beaconbits_bookmark_folder() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "visibility", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/app_beaconbits/bookmark/item.rs b/crates/jacquard-api/src/app_beaconbits/bookmark/item.rs index cabd5a5a6..960d58307 100644 --- a/crates/jacquard-api/src/app_beaconbits/bookmark/item.rs +++ b/crates/jacquard-api/src/app_beaconbits/bookmark/item.rs @@ -353,7 +353,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Item<'a> { @@ -448,7 +448,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Item<'a> { ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { if let Some(ref value) = self.notes { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -466,7 +466,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Item<'a> { } if let Some(ref value) = self.venue_address { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -484,7 +484,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Item<'a> { } if let Some(ref value) = self.venue_category { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -503,7 +503,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Item<'a> { { let value = &self.venue_name; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -522,7 +522,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Item<'a> { { let value = &self.venue_uri; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -553,7 +553,7 @@ fn lexicon_doc_app_beaconbits_bookmark_item() -> ::jacquard_lexicon::lexicon::Le defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static("A saved venue bookmark"), @@ -563,9 +563,9 @@ fn lexicon_doc_app_beaconbits_bookmark_item() -> ::jacquard_lexicon::lexicon::Le description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("venueUri"), - ::jacquard_common::smol_str::SmolStr::new_static("venueName"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("venueUri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("venueName"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -573,7 +573,7 @@ fn lexicon_doc_app_beaconbits_bookmark_item() -> ::jacquard_lexicon::lexicon::Le #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "addressDetails", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -584,7 +584,7 @@ fn lexicon_doc_app_beaconbits_bookmark_item() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -607,7 +607,7 @@ fn lexicon_doc_app_beaconbits_bookmark_item() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "folderUri", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -630,7 +630,7 @@ fn lexicon_doc_app_beaconbits_bookmark_item() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "location", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -641,7 +641,9 @@ fn lexicon_doc_app_beaconbits_bookmark_item() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("notes"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "notes", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -660,7 +662,7 @@ fn lexicon_doc_app_beaconbits_bookmark_item() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "venueAddress", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -681,7 +683,7 @@ fn lexicon_doc_app_beaconbits_bookmark_item() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "venueCategory", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -702,7 +704,7 @@ fn lexicon_doc_app_beaconbits_bookmark_item() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "venueName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -723,7 +725,7 @@ fn lexicon_doc_app_beaconbits_bookmark_item() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "venueUri", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/app_beaconbits/favorite.rs b/crates/jacquard-api/src/app_beaconbits/favorite.rs index 431f8091b..f9ba967e0 100644 --- a/crates/jacquard-api/src/app_beaconbits/favorite.rs +++ b/crates/jacquard-api/src/app_beaconbits/favorite.rs @@ -153,7 +153,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Favorite<'a> { @@ -254,7 +254,7 @@ fn lexicon_doc_app_beaconbits_favorite() -> ::jacquard_lexicon::lexicon::Lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -266,8 +266,8 @@ fn lexicon_doc_app_beaconbits_favorite() -> ::jacquard_lexicon::lexicon::Lexicon description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -275,7 +275,7 @@ fn lexicon_doc_app_beaconbits_favorite() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -298,7 +298,9 @@ fn lexicon_doc_app_beaconbits_favorite() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/app_beaconbits/favorites.rs b/crates/jacquard-api/src/app_beaconbits/favorites.rs index e4aaf9982..5781d2f06 100644 --- a/crates/jacquard-api/src/app_beaconbits/favorites.rs +++ b/crates/jacquard-api/src/app_beaconbits/favorites.rs @@ -35,37 +35,37 @@ pub mod favorites_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Dids; type UpdatedAt; + type Dids; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Dids = Unset; type UpdatedAt = Unset; - } - ///State transition - sets the `dids` field to Set - pub struct SetDids(PhantomData S>); - impl sealed::Sealed for SetDids {} - impl State for SetDids { - type Dids = Set; - type UpdatedAt = S::UpdatedAt; + type Dids = Unset; } ///State transition - sets the `updated_at` field to Set pub struct SetUpdatedAt(PhantomData S>); impl sealed::Sealed for SetUpdatedAt {} impl State for SetUpdatedAt { - type Dids = S::Dids; type UpdatedAt = Set; + type Dids = S::Dids; + } + ///State transition - sets the `dids` field to Set + pub struct SetDids(PhantomData S>); + impl sealed::Sealed for SetDids {} + impl State for SetDids { + type UpdatedAt = S::UpdatedAt; + type Dids = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `dids` field - pub struct dids(()); ///Marker type for the `updated_at` field pub struct updated_at(()); + ///Marker type for the `dids` field + pub struct dids(()); } } @@ -138,8 +138,8 @@ where impl<'a, S> FavoritesBuilder<'a, S> where S: favorites_state::State, - S::Dids: favorites_state::IsSet, S::UpdatedAt: favorites_state::IsSet, + S::Dids: favorites_state::IsSet, { /// Build the final struct pub fn build(self) -> Favorites<'a> { @@ -153,7 +153,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Favorites<'a> { @@ -267,7 +267,7 @@ fn lexicon_doc_app_beaconbits_favorites() -> ::jacquard_lexicon::lexicon::Lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -279,8 +279,8 @@ fn lexicon_doc_app_beaconbits_favorites() -> ::jacquard_lexicon::lexicon::Lexico description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("dids"), - ::jacquard_common::smol_str::SmolStr::new_static("updatedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("dids"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("updatedAt") ], ), nullable: None, @@ -288,7 +288,9 @@ fn lexicon_doc_app_beaconbits_favorites() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("dids"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "dids", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -314,7 +316,7 @@ fn lexicon_doc_app_beaconbits_favorites() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/app_beaconbits/profile.rs b/crates/jacquard-api/src/app_beaconbits/profile.rs index 52a4b0797..4b2a378e3 100644 --- a/crates/jacquard-api/src/app_beaconbits/profile.rs +++ b/crates/jacquard-api/src/app_beaconbits/profile.rs @@ -325,7 +325,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Profile<'a> { @@ -935,7 +935,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Profile<'a> { ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { if let Some(ref value) = self.allow_tags { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -953,7 +953,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Profile<'a> { } if let Some(ref value) = self.default_delayed_reveal { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -971,7 +971,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Profile<'a> { } if let Some(ref value) = self.default_visibility { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -989,7 +989,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Profile<'a> { } if let Some(ref value) = self.distance_unit { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -1007,7 +1007,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Profile<'a> { } if let Some(ref value) = self.language { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -1025,7 +1025,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Profile<'a> { } if let Some(ref value) = self.marker_color { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -1056,7 +1056,7 @@ fn lexicon_doc_app_beaconbits_profile() -> ::jacquard_lexicon::lexicon::LexiconD defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -1068,7 +1068,7 @@ fn lexicon_doc_app_beaconbits_profile() -> ::jacquard_lexicon::lexicon::LexiconD description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("updatedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("updatedAt") ], ), nullable: None, @@ -1076,7 +1076,7 @@ fn lexicon_doc_app_beaconbits_profile() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "allowTags", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1097,7 +1097,7 @@ fn lexicon_doc_app_beaconbits_profile() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1120,7 +1120,7 @@ fn lexicon_doc_app_beaconbits_profile() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "defaultDelayedReveal", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1141,7 +1141,7 @@ fn lexicon_doc_app_beaconbits_profile() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "defaultVisibility", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1162,7 +1162,7 @@ fn lexicon_doc_app_beaconbits_profile() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "distanceUnit", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1183,7 +1183,7 @@ fn lexicon_doc_app_beaconbits_profile() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hidePastBeacons", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -1193,7 +1193,7 @@ fn lexicon_doc_app_beaconbits_profile() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "language", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1214,7 +1214,7 @@ fn lexicon_doc_app_beaconbits_profile() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "markerColor", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1235,7 +1235,7 @@ fn lexicon_doc_app_beaconbits_profile() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "postBeaconLinks", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -1245,7 +1245,7 @@ fn lexicon_doc_app_beaconbits_profile() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/app_beaconbits/report.rs b/crates/jacquard-api/src/app_beaconbits/report.rs index 1d4f499ed..a5fea8900 100644 --- a/crates/jacquard-api/src/app_beaconbits/report.rs +++ b/crates/jacquard-api/src/app_beaconbits/report.rs @@ -8,7 +8,13 @@ /// A report of inappropriate content on a beacon #[jacquard_derive::lexicon] #[derive( - serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq, jacquard_derive::IntoStatic, + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic )] #[serde(rename_all = "camelCase")] pub struct Report<'a> { @@ -28,7 +34,7 @@ pub struct Report<'a> { pub mod report_state { - pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; + pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -37,50 +43,50 @@ pub mod report_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type CreatedAt; - type Reason; type BeaconUri; + type Reason; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type CreatedAt = Unset; - type Reason = Unset; type BeaconUri = Unset; + type Reason = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { type CreatedAt = Set; - type Reason = S::Reason; - type BeaconUri = S::BeaconUri; - } - ///State transition - sets the `reason` field to Set - pub struct SetReason(PhantomData S>); - impl sealed::Sealed for SetReason {} - impl State for SetReason { - type CreatedAt = S::CreatedAt; - type Reason = Set; type BeaconUri = S::BeaconUri; + type Reason = S::Reason; } ///State transition - sets the `beacon_uri` field to Set pub struct SetBeaconUri(PhantomData S>); impl sealed::Sealed for SetBeaconUri {} impl State for SetBeaconUri { type CreatedAt = S::CreatedAt; - type Reason = S::Reason; type BeaconUri = Set; + type Reason = S::Reason; + } + ///State transition - sets the `reason` field to Set + pub struct SetReason(PhantomData S>); + impl sealed::Sealed for SetReason {} + impl State for SetReason { + type CreatedAt = S::CreatedAt; + type BeaconUri = S::BeaconUri; + type Reason = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `created_at` field pub struct created_at(()); - ///Marker type for the `reason` field - pub struct reason(()); ///Marker type for the `beacon_uri` field pub struct beacon_uri(()); + ///Marker type for the `reason` field + pub struct reason(()); } } @@ -154,7 +160,10 @@ where impl<'a, S: report_state::State> ReportBuilder<'a, S> { /// Set the `details` field (optional) - pub fn details(mut self, value: impl Into>>) -> Self { + pub fn details( + mut self, + value: impl Into>>, + ) -> Self { self.__unsafe_private_named.2 = value.into(); self } @@ -188,8 +197,8 @@ impl<'a, S> ReportBuilder<'a, S> where S: report_state::State, S::CreatedAt: report_state::IsSet, - S::Reason: report_state::IsSet, S::BeaconUri: report_state::IsSet, + S::Reason: report_state::IsSet, { /// Build the final struct pub fn build(self) -> Report<'a> { @@ -205,7 +214,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Report<'a> { @@ -241,7 +250,7 @@ pub enum ReportReason<'a> { Harassment, Impersonation, Other, - Unknown(jacquard_common::CowStr<'a>), + UnknownValue(jacquard_common::CowStr<'a>), } impl<'a> ReportReason<'a> { @@ -253,7 +262,7 @@ impl<'a> ReportReason<'a> { Self::Harassment => "harassment", Self::Impersonation => "impersonation", Self::Other => "other", - Self::Unknown(s) => s.as_ref(), + Self::UnknownValue(s) => s.as_ref(), } } } @@ -267,7 +276,7 @@ impl<'a> From<&'a str> for ReportReason<'a> { "harassment" => Self::Harassment, "impersonation" => Self::Impersonation, "other" => Self::Other, - _ => Self::Unknown(jacquard_common::CowStr::from(s)), + _ => Self::UnknownValue(jacquard_common::CowStr::from(s)), } } } @@ -281,7 +290,7 @@ impl<'a> From for ReportReason<'a> { "harassment" => Self::Harassment, "impersonation" => Self::Impersonation, "other" => Self::Other, - _ => Self::Unknown(jacquard_common::CowStr::from(s)), + _ => Self::UnknownValue(jacquard_common::CowStr::from(s)), } } } @@ -322,7 +331,7 @@ where impl<'a> Default for ReportReason<'a> { fn default() -> Self { - Self::Unknown(Default::default()) + Self::UnknownValue(Default::default()) } } @@ -336,14 +345,20 @@ impl jacquard_common::IntoStatic for ReportReason<'_> { ReportReason::Harassment => ReportReason::Harassment, ReportReason::Impersonation => ReportReason::Impersonation, ReportReason::Other => ReportReason::Other, - ReportReason::Unknown(v) => ReportReason::Unknown(v.into_static()), + ReportReason::UnknownValue(v) => ReportReason::UnknownValue(v.into_static()), } } } /// Typed wrapper for GetRecord response with this collection's record type. #[derive( - serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq, jacquard_derive::IntoStatic, + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic )] #[serde(rename_all = "camelCase")] pub struct ReportGetRecordOutput<'a> { @@ -398,38 +413,38 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Report<'a> { ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { if let Some(ref value) = self.details { { - let count = - ::unicode_segmentation::UnicodeSegmentation::graphemes(value.as_ref(), true) - .count(); + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( + value.as_ref(), + true, + ) + .count(); if count > 500usize { - return Err( - ::jacquard_lexicon::validation::ConstraintError::MaxGraphemes { - path: ::jacquard_lexicon::validation::ValidationPath::from_field( - "details", - ), - max: 500usize, - actual: count, - }, - ); + return Err(::jacquard_lexicon::validation::ConstraintError::MaxGraphemes { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "details", + ), + max: 500usize, + actual: count, + }); } } } { let value = &self.reason; { - let count = - ::unicode_segmentation::UnicodeSegmentation::graphemes(value.as_ref(), true) - .count(); + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( + value.as_ref(), + true, + ) + .count(); if count > 64usize { - return Err( - ::jacquard_lexicon::validation::ConstraintError::MaxGraphemes { - path: ::jacquard_lexicon::validation::ValidationPath::from_field( - "reason", - ), - max: 64usize, - actual: count, - }, - ); + return Err(::jacquard_lexicon::validation::ConstraintError::MaxGraphemes { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "reason", + ), + max: 64usize, + actual: count, + }); } } } @@ -437,7 +452,9 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Report<'a> { } } -fn lexicon_doc_app_beaconbits_report() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { +fn lexicon_doc_app_beaconbits_report() -> ::jacquard_lexicon::lexicon::LexiconDoc< + 'static, +> { ::jacquard_lexicon::lexicon::LexiconDoc { lexicon: ::jacquard_lexicon::lexicon::Lexicon::Lexicon1, id: ::jacquard_common::CowStr::new_static("app.beaconbits.report"), @@ -446,7 +463,7 @@ fn lexicon_doc_app_beaconbits_report() -> ::jacquard_lexicon::lexicon::LexiconDo defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -458,9 +475,9 @@ fn lexicon_doc_app_beaconbits_report() -> ::jacquard_lexicon::lexicon::LexiconDo description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("beaconUri"), - ::jacquard_common::smol_str::SmolStr::new_static("reason"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("beaconUri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("reason"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -468,7 +485,7 @@ fn lexicon_doc_app_beaconbits_report() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "beaconUri", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -491,7 +508,7 @@ fn lexicon_doc_app_beaconbits_report() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -514,7 +531,9 @@ fn lexicon_doc_app_beaconbits_report() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("details"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "details", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -533,7 +552,9 @@ fn lexicon_doc_app_beaconbits_report() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reason"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reason", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -559,4 +580,4 @@ fn lexicon_doc_app_beaconbits_report() -> ::jacquard_lexicon::lexicon::LexiconDo map }, } -} +} \ 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 af46e607b..c981ca3b4 100644 --- a/crates/jacquard-api/src/app_beaconbits/venue.rs +++ b/crates/jacquard-api/src/app_beaconbits/venue.rs @@ -276,7 +276,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Venue<'a> { @@ -369,7 +369,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Venue<'a> { ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { if let Some(ref value) = self.address { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -387,7 +387,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Venue<'a> { } if let Some(ref value) = self.category { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -406,7 +406,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Venue<'a> { { let value = &self.name; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -437,7 +437,7 @@ fn lexicon_doc_app_beaconbits_venue() -> ::jacquard_lexicon::lexicon::LexiconDoc defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -449,8 +449,8 @@ fn lexicon_doc_app_beaconbits_venue() -> ::jacquard_lexicon::lexicon::LexiconDoc description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -458,7 +458,9 @@ fn lexicon_doc_app_beaconbits_venue() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("address"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "address", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -477,7 +479,7 @@ fn lexicon_doc_app_beaconbits_venue() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "addressDetails", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -488,7 +490,7 @@ fn lexicon_doc_app_beaconbits_venue() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "category", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -509,7 +511,7 @@ fn lexicon_doc_app_beaconbits_venue() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -532,7 +534,7 @@ fn lexicon_doc_app_beaconbits_venue() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "location", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -543,7 +545,9 @@ fn lexicon_doc_app_beaconbits_venue() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -562,7 +566,9 @@ fn lexicon_doc_app_beaconbits_venue() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("osmUri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "osmUri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/app_blebbit/authr/folder.rs b/crates/jacquard-api/src/app_blebbit/authr/folder.rs index 6c797f4cf..c9d978452 100644 --- a/crates/jacquard-api/src/app_blebbit/authr/folder.rs +++ b/crates/jacquard-api/src/app_blebbit/authr/folder.rs @@ -46,7 +46,7 @@ fn lexicon_doc_app_blebbit_authr_folder_defs() -> ::jacquard_lexicon::lexicon::L defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("folderForm"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("folderForm"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -55,7 +55,9 @@ fn lexicon_doc_app_blebbit_authr_folder_defs() -> ::jacquard_lexicon::lexicon::L #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -70,7 +72,9 @@ fn lexicon_doc_app_blebbit_authr_folder_defs() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("public"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "public", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -82,7 +86,7 @@ fn lexicon_doc_app_blebbit_authr_folder_defs() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("folderView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("folderView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -91,7 +95,9 @@ fn lexicon_doc_app_blebbit_authr_folder_defs() -> ::jacquard_lexicon::lexicon::L #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cuid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cuid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -106,7 +112,9 @@ fn lexicon_doc_app_blebbit_authr_folder_defs() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -121,7 +129,9 @@ fn lexicon_doc_app_blebbit_authr_folder_defs() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("public"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "public", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, 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 a4ed0d790..d8dc28dba 100644 --- a/crates/jacquard-api/src/app_blebbit/authr/folder/record.rs +++ b/crates/jacquard-api/src/app_blebbit/authr/folder/record.rs @@ -137,7 +137,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Record<'a> { @@ -239,7 +239,7 @@ fn lexicon_doc_app_blebbit_authr_folder_record() -> ::jacquard_lexicon::lexicon: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -251,7 +251,9 @@ fn lexicon_doc_app_blebbit_authr_folder_record() -> ::jacquard_lexicon::lexicon: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cuid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cuid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -266,7 +268,9 @@ fn lexicon_doc_app_blebbit_authr_folder_record() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -281,7 +285,9 @@ fn lexicon_doc_app_blebbit_authr_folder_record() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("public"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "public", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, diff --git a/crates/jacquard-api/src/app_blebbit/authr/group.rs b/crates/jacquard-api/src/app_blebbit/authr/group.rs index ae5f60ca4..e98ae73c9 100644 --- a/crates/jacquard-api/src/app_blebbit/authr/group.rs +++ b/crates/jacquard-api/src/app_blebbit/authr/group.rs @@ -51,18 +51,20 @@ fn lexicon_doc_app_blebbit_authr_group_defs() -> ::jacquard_lexicon::lexicon::Le defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("groupForm"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("groupForm"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("name")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("name") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -79,7 +81,9 @@ fn lexicon_doc_app_blebbit_authr_group_defs() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("display"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "display", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -94,7 +98,9 @@ fn lexicon_doc_app_blebbit_authr_group_defs() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -109,7 +115,9 @@ fn lexicon_doc_app_blebbit_authr_group_defs() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("public"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "public", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -121,7 +129,7 @@ fn lexicon_doc_app_blebbit_authr_group_defs() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("groupView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("groupView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -130,7 +138,9 @@ fn lexicon_doc_app_blebbit_authr_group_defs() -> ::jacquard_lexicon::lexicon::Le #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cuid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cuid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -145,7 +155,7 @@ fn lexicon_doc_app_blebbit_authr_group_defs() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -162,7 +172,9 @@ fn lexicon_doc_app_blebbit_authr_group_defs() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("display"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "display", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -177,7 +189,9 @@ fn lexicon_doc_app_blebbit_authr_group_defs() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -192,7 +206,9 @@ fn lexicon_doc_app_blebbit_authr_group_defs() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("public"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "public", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, 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 d6022ae98..c330b2c9f 100644 --- a/crates/jacquard-api/src/app_blebbit/authr/group/record.rs +++ b/crates/jacquard-api/src/app_blebbit/authr/group/record.rs @@ -182,7 +182,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Record<'a> { @@ -286,7 +286,7 @@ fn lexicon_doc_app_blebbit_authr_group_record() -> ::jacquard_lexicon::lexicon:: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -298,7 +298,9 @@ fn lexicon_doc_app_blebbit_authr_group_record() -> ::jacquard_lexicon::lexicon:: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cuid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cuid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -313,7 +315,7 @@ fn lexicon_doc_app_blebbit_authr_group_record() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -330,7 +332,9 @@ fn lexicon_doc_app_blebbit_authr_group_record() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("display"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "display", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -345,7 +349,9 @@ fn lexicon_doc_app_blebbit_authr_group_record() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -360,7 +366,9 @@ fn lexicon_doc_app_blebbit_authr_group_record() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("public"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "public", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, diff --git a/crates/jacquard-api/src/app_blebbit/authr/page.rs b/crates/jacquard-api/src/app_blebbit/authr/page.rs index c9fafc035..9795de71f 100644 --- a/crates/jacquard-api/src/app_blebbit/authr/page.rs +++ b/crates/jacquard-api/src/app_blebbit/authr/page.rs @@ -46,7 +46,7 @@ fn lexicon_doc_app_blebbit_authr_page_defs() -> ::jacquard_lexicon::lexicon::Lex defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("pageForm"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("pageForm"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -55,7 +55,9 @@ fn lexicon_doc_app_blebbit_authr_page_defs() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -70,7 +72,9 @@ fn lexicon_doc_app_blebbit_authr_page_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("public"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "public", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -82,7 +86,7 @@ fn lexicon_doc_app_blebbit_authr_page_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("pageView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("pageView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -91,7 +95,9 @@ fn lexicon_doc_app_blebbit_authr_page_defs() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "content", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -106,7 +112,9 @@ fn lexicon_doc_app_blebbit_authr_page_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cuid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cuid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -121,7 +129,9 @@ fn lexicon_doc_app_blebbit_authr_page_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -136,7 +146,9 @@ fn lexicon_doc_app_blebbit_authr_page_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("public"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "public", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, 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 2c171dfb4..f8c248a06 100644 --- a/crates/jacquard-api/src/app_blebbit/authr/page/record.rs +++ b/crates/jacquard-api/src/app_blebbit/authr/page/record.rs @@ -158,7 +158,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Record<'a> { @@ -261,7 +261,7 @@ fn lexicon_doc_app_blebbit_authr_page_record() -> ::jacquard_lexicon::lexicon::L defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -273,7 +273,9 @@ fn lexicon_doc_app_blebbit_authr_page_record() -> ::jacquard_lexicon::lexicon::L #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "content", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -288,7 +290,9 @@ fn lexicon_doc_app_blebbit_authr_page_record() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cuid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cuid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -303,7 +307,9 @@ fn lexicon_doc_app_blebbit_authr_page_record() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -318,7 +324,9 @@ fn lexicon_doc_app_blebbit_authr_page_record() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("public"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "public", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, diff --git a/crates/jacquard-api/src/app_bsky/actor.rs b/crates/jacquard-api/src/app_bsky/actor.rs index 476fc7452..5872c9707 100644 --- a/crates/jacquard-api/src/app_bsky/actor.rs +++ b/crates/jacquard-api/src/app_bsky/actor.rs @@ -122,7 +122,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> AdultContentPref<'a> { @@ -144,18 +144,24 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("adultContentPref"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "adultContentPref", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("enabled")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("enabled") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("enabled"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "enabled", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -167,7 +173,9 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("bskyAppProgressGuide"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "bskyAppProgressGuide", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -175,14 +183,18 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("guide")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("guide") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("guide"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "guide", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -201,7 +213,9 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("bskyAppStatePref"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "bskyAppStatePref", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -214,7 +228,7 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "activeProgressGuide", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -225,7 +239,9 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("nuxs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "nuxs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -243,7 +259,7 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "queuedNudges", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -273,13 +289,15 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("contentLabelPref"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "contentLabelPref", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("label"), - ::jacquard_common::smol_str::SmolStr::new_static("visibility") + ::jacquard_common::deps::smol_str::SmolStr::new_static("label"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("visibility") ], ), nullable: None, @@ -287,7 +305,9 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("label"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "label", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -302,7 +322,7 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "labelerDid", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -325,7 +345,7 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "visibility", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -346,7 +366,9 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("declaredAgePref"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "declaredAgePref", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -359,7 +381,7 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isOverAge13", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -369,7 +391,7 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isOverAge16", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -379,7 +401,7 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isOverAge18", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -393,18 +415,22 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("feedViewPref"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("feedViewPref"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("feed")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("feed") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("feed"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "feed", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -423,7 +449,7 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hideQuotePosts", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -433,7 +459,7 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hideReplies", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -443,7 +469,7 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hideRepliesByLikeCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -456,7 +482,7 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hideRepliesByUnfollowed", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -466,7 +492,7 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hideReposts", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -480,18 +506,24 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hiddenPostsPref"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "hiddenPostsPref", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("items")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("items") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("items"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "items", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -521,18 +553,22 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("interestsPref"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("interestsPref"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("tags")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("tags") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tags", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -560,7 +596,7 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("knownFollowers"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("knownFollowers"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -569,8 +605,8 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("count"), - ::jacquard_common::smol_str::SmolStr::new_static("followers") + ::jacquard_common::deps::smol_str::SmolStr::new_static("count"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("followers") ], ), nullable: None, @@ -578,7 +614,9 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("count"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "count", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -589,7 +627,7 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "followers", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -609,18 +647,24 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("labelerPrefItem"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "labelerPrefItem", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("did")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("did") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -641,12 +685,12 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("labelersPref"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("labelersPref"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("labelers") + ::jacquard_common::deps::smol_str::SmolStr::new_static("labelers") ], ), nullable: None, @@ -654,7 +698,9 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("labelers"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "labelers", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -672,7 +718,9 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("liveEventPreferences"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "liveEventPreferences", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -685,7 +733,7 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hiddenFeedIds", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -711,7 +759,7 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hideAllFeeds", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -725,7 +773,7 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("mutedWord"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("mutedWord"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -734,8 +782,8 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("value"), - ::jacquard_common::smol_str::SmolStr::new_static("targets") + ::jacquard_common::deps::smol_str::SmolStr::new_static("value"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("targets") ], ), nullable: None, @@ -743,7 +791,7 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "actorTarget", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -764,7 +812,7 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "expiresAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -787,7 +835,7 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -802,7 +850,9 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("targets"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "targets", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -820,7 +870,9 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("value"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "value", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -843,7 +895,9 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("mutedWordTarget"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "mutedWordTarget", + ), ::jacquard_lexicon::lexicon::LexUserType::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -858,18 +912,22 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("mutedWordsPref"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("mutedWordsPref"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("items")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("items") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("items"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "items", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -891,7 +949,7 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("nux"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("nux"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -900,8 +958,8 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("id"), - ::jacquard_common::smol_str::SmolStr::new_static("completed") + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("completed") ], ), nullable: None, @@ -909,7 +967,7 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "completed", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -919,7 +977,9 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("data"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "data", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -938,7 +998,7 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "expiresAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -961,7 +1021,7 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -980,7 +1040,9 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("personalDetailsPref"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "personalDetailsPref", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -989,7 +1051,7 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "birthDate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1016,7 +1078,7 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "postInteractionSettingsPref", ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { @@ -1031,7 +1093,7 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "postgateEmbeddingRules", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -1052,7 +1114,7 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "threadgateAllowRules", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -1080,7 +1142,7 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("preferences"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("preferences"), ::jacquard_lexicon::lexicon::LexUserType::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1110,7 +1172,9 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("profileAssociated"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "profileAssociated", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -1119,7 +1183,7 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "activitySubscription", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -1130,7 +1194,9 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("chat"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "chat", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -1139,7 +1205,9 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("feedgens"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "feedgens", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -1150,7 +1218,9 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("germ"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "germ", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -1159,7 +1229,9 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("labeler"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "labeler", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -1167,7 +1239,9 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("lists"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "lists", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -1178,7 +1252,7 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "starterPacks", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1195,14 +1269,14 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "profileAssociatedActivitySubscription", ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("allowSubscriptions") + ::jacquard_common::deps::smol_str::SmolStr::new_static("allowSubscriptions") ], ), nullable: None, @@ -1210,7 +1284,7 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "allowSubscriptions", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1231,14 +1305,14 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "profileAssociatedChat", ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("allowIncoming") + ::jacquard_common::deps::smol_str::SmolStr::new_static("allowIncoming") ], ), nullable: None, @@ -1246,7 +1320,7 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "allowIncoming", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1267,15 +1341,15 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "profileAssociatedGerm", ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("showButtonTo"), - ::jacquard_common::smol_str::SmolStr::new_static("messageMeUrl") + ::jacquard_common::deps::smol_str::SmolStr::new_static("showButtonTo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("messageMeUrl") ], ), nullable: None, @@ -1283,7 +1357,7 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "messageMeUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1302,7 +1376,7 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "showButtonTo", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1323,13 +1397,13 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("profileView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("profileView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("did"), - ::jacquard_common::smol_str::SmolStr::new_static("handle") + ::jacquard_common::deps::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("handle") ], ), nullable: None, @@ -1337,7 +1411,7 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "associated", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -1348,7 +1422,9 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("avatar"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "avatar", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -1365,7 +1441,7 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1384,13 +1460,15 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("debug"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "debug", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1407,7 +1485,9 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -1424,7 +1504,7 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "displayName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1441,7 +1521,9 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("handle"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "handle", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -1458,7 +1540,7 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "indexedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1477,7 +1559,9 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("labels"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "labels", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -1491,7 +1575,9 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("pronouns"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "pronouns", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -1506,14 +1592,16 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("status"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "status", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#statusView"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "verification", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -1524,7 +1612,9 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("viewer"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "viewer", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#viewerState"), @@ -1535,13 +1625,15 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("profileViewBasic"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "profileViewBasic", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("did"), - ::jacquard_common::smol_str::SmolStr::new_static("handle") + ::jacquard_common::deps::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("handle") ], ), nullable: None, @@ -1549,7 +1641,7 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "associated", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -1560,7 +1652,9 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("avatar"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "avatar", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -1577,7 +1671,7 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1596,13 +1690,17 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("debug"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "debug", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -1619,7 +1717,7 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "displayName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1636,7 +1734,9 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("handle"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "handle", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -1653,7 +1753,9 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("labels"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "labels", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -1667,7 +1769,9 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("pronouns"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "pronouns", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -1682,14 +1786,16 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("status"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "status", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#statusView"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "verification", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -1700,7 +1806,9 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("viewer"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "viewer", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#viewerState"), @@ -1711,13 +1819,15 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("profileViewDetailed"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "profileViewDetailed", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("did"), - ::jacquard_common::smol_str::SmolStr::new_static("handle") + ::jacquard_common::deps::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("handle") ], ), nullable: None, @@ -1725,7 +1835,7 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "associated", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -1736,7 +1846,9 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("avatar"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "avatar", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -1753,7 +1865,9 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("banner"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "banner", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -1770,7 +1884,7 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1789,13 +1903,15 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("debug"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "debug", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1812,7 +1928,9 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -1829,7 +1947,7 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "displayName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1846,7 +1964,7 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "followersCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1859,7 +1977,7 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "followsCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1872,7 +1990,9 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("handle"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "handle", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -1889,7 +2009,7 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "indexedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1908,7 +2028,7 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "joinedViaStarterPack", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -1919,7 +2039,9 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("labels"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "labels", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -1933,7 +2055,7 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "pinnedPost", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -1944,7 +2066,7 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "postsCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1957,7 +2079,9 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("pronouns"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "pronouns", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -1972,14 +2096,16 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("status"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "status", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#statusView"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "verification", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -1990,14 +2116,18 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("viewer"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "viewer", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#viewerState"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("website"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "website", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -2018,15 +2148,15 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("savedFeed"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("savedFeed"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("id"), - ::jacquard_common::smol_str::SmolStr::new_static("type"), - ::jacquard_common::smol_str::SmolStr::new_static("value"), - ::jacquard_common::smol_str::SmolStr::new_static("pinned") + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("value"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("pinned") ], ), nullable: None, @@ -2034,7 +2164,7 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -2049,7 +2179,9 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("pinned"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "pinned", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -2057,7 +2189,9 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "type", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -2072,7 +2206,9 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("value"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "value", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -2091,13 +2227,13 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("savedFeedsPref"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("savedFeedsPref"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("pinned"), - ::jacquard_common::smol_str::SmolStr::new_static("saved") + ::jacquard_common::deps::smol_str::SmolStr::new_static("pinned"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("saved") ], ), nullable: None, @@ -2105,7 +2241,9 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("pinned"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "pinned", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::String(::jacquard_lexicon::lexicon::LexString { @@ -2127,7 +2265,9 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("saved"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "saved", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::String(::jacquard_lexicon::lexicon::LexString { @@ -2149,7 +2289,7 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "timelineIndex", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -2166,18 +2306,24 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("savedFeedsPrefV2"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "savedFeedsPrefV2", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("items")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("items") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("items"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "items", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -2195,13 +2341,13 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("statusView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("statusView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("status"), - ::jacquard_common::smol_str::SmolStr::new_static("record") + ::jacquard_common::deps::smol_str::SmolStr::new_static("status"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("record") ], ), nullable: None, @@ -2209,7 +2355,9 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -2226,7 +2374,9 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("embed"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "embed", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: Some( ::jacquard_common::CowStr::new_static( @@ -2240,7 +2390,7 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "expiresAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -2263,7 +2413,9 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("isActive"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "isActive", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -2271,7 +2423,7 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isDisabled", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -2281,13 +2433,17 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("record"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "record", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("status"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "status", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -2306,7 +2462,9 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -2327,7 +2485,7 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("threadViewPref"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("threadViewPref"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -2336,7 +2494,9 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sort"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sort", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -2359,7 +2519,9 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("verificationPrefs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "verificationPrefs", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -2372,7 +2534,7 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hideBadges", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -2386,7 +2548,9 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("verificationState"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "verificationState", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -2395,9 +2559,9 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("verifications"), - ::jacquard_common::smol_str::SmolStr::new_static("verifiedStatus"), - ::jacquard_common::smol_str::SmolStr::new_static("trustedVerifierStatus") + ::jacquard_common::deps::smol_str::SmolStr::new_static("verifications"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("verifiedStatus"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("trustedVerifierStatus") ], ), nullable: None, @@ -2405,7 +2569,7 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "trustedVerifierStatus", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -2426,7 +2590,7 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "verifications", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -2446,7 +2610,7 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "verifiedStatus", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -2471,7 +2635,9 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("verificationView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "verificationView", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -2480,10 +2646,10 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("issuer"), - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("isValid"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("issuer"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("isValid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -2491,7 +2657,7 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -2514,7 +2680,9 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("isValid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "isValid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -2522,7 +2690,9 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("issuer"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "issuer", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -2543,7 +2713,9 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -2568,7 +2740,7 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("viewerState"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("viewerState"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -2581,7 +2753,7 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "activitySubscription", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -2592,7 +2764,7 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "blockedBy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -2602,7 +2774,9 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("blocking"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "blocking", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -2619,7 +2793,7 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "blockingByList", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -2630,7 +2804,7 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "followedBy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -2649,7 +2823,7 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "following", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -2668,7 +2842,7 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "knownFollowers", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -2679,7 +2853,9 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("muted"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "muted", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -2687,7 +2863,7 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mutedByList", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -3184,7 +3360,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> HiddenPostsPref<'a> { @@ -3321,7 +3497,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> InterestsPref<'a> { @@ -3508,7 +3684,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> KnownFollowers<'a> { @@ -3673,7 +3849,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> LabelerPrefItem<'a> { @@ -3811,7 +3987,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> LabelersPref<'a> { @@ -4095,7 +4271,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> MutedWord<'a> { @@ -4232,7 +4408,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for MutedWord<'a> { { let value = &self.value; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -4445,7 +4621,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> MutedWordsPref<'a> { @@ -4508,37 +4684,37 @@ pub mod nux_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Id; type Completed; + type Id; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Id = Unset; type Completed = Unset; - } - ///State transition - sets the `id` field to Set - pub struct SetId(PhantomData S>); - impl sealed::Sealed for SetId {} - impl State for SetId { - type Id = Set; - type Completed = S::Completed; + type Id = Unset; } ///State transition - sets the `completed` field to Set pub struct SetCompleted(PhantomData S>); impl sealed::Sealed for SetCompleted {} impl State for SetCompleted { - type Id = S::Id; type Completed = Set; + type Id = S::Id; + } + ///State transition - sets the `id` field to Set + pub struct SetId(PhantomData S>); + impl sealed::Sealed for SetId {} + impl State for SetId { + type Completed = S::Completed; + type Id = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `id` field - pub struct id(()); ///Marker type for the `completed` field pub struct completed(()); + ///Marker type for the `id` field + pub struct id(()); } } @@ -4648,8 +4824,8 @@ where impl<'a, S> NuxBuilder<'a, S> where S: nux_state::State, - S::Id: nux_state::IsSet, S::Completed: nux_state::IsSet, + S::Id: nux_state::IsSet, { /// Build the final struct pub fn build(self) -> Nux<'a> { @@ -4665,7 +4841,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Nux<'a> { @@ -4706,7 +4882,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Nux<'a> { } if let Some(ref value) = self.data { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -5399,7 +5575,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ProfileAssociatedGerm<'a> { @@ -5967,7 +6143,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ProfileView<'a> { @@ -6018,7 +6194,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ProfileView<'a> { } if let Some(ref value) = self.description { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -6048,7 +6224,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ProfileView<'a> { } if let Some(ref value) = self.display_name { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -6126,37 +6302,37 @@ pub mod profile_view_basic_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Did; type Handle; + type Did; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Did = Unset; type Handle = Unset; - } - ///State transition - sets the `did` field to Set - pub struct SetDid(PhantomData S>); - impl sealed::Sealed for SetDid {} - impl State for SetDid { - type Did = Set; - type Handle = S::Handle; + type Did = Unset; } ///State transition - sets the `handle` field to Set pub struct SetHandle(PhantomData S>); impl sealed::Sealed for SetHandle {} impl State for SetHandle { - type Did = S::Did; type Handle = Set; + type Did = S::Did; + } + ///State transition - sets the `did` field to Set + pub struct SetDid(PhantomData S>); + impl sealed::Sealed for SetDid {} + impl State for SetDid { + type Handle = S::Handle; + type Did = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `did` field - pub struct did(()); ///Marker type for the `handle` field pub struct handle(()); + ///Marker type for the `did` field + pub struct did(()); } } @@ -6439,8 +6615,8 @@ impl<'a, S: profile_view_basic_state::State> ProfileViewBasicBuilder<'a, S> { impl<'a, S> ProfileViewBasicBuilder<'a, S> where S: profile_view_basic_state::State, - S::Did: profile_view_basic_state::IsSet, S::Handle: profile_view_basic_state::IsSet, + S::Did: profile_view_basic_state::IsSet, { /// Build the final struct pub fn build(self) -> ProfileViewBasic<'a> { @@ -6464,7 +6640,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ProfileViewBasic<'a> { @@ -6513,7 +6689,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ProfileViewBasic<'a> { } if let Some(ref value) = self.display_name { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -6618,37 +6794,37 @@ pub mod profile_view_detailed_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Did; type Handle; + type Did; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Did = Unset; type Handle = Unset; - } - ///State transition - sets the `did` field to Set - pub struct SetDid(PhantomData S>); - impl sealed::Sealed for SetDid {} - impl State for SetDid { - type Did = Set; - type Handle = S::Handle; + type Did = Unset; } ///State transition - sets the `handle` field to Set pub struct SetHandle(PhantomData S>); impl sealed::Sealed for SetHandle {} impl State for SetHandle { - type Did = S::Did; type Handle = Set; + type Did = S::Did; + } + ///State transition - sets the `did` field to Set + pub struct SetDid(PhantomData S>); + impl sealed::Sealed for SetDid {} + impl State for SetDid { + type Handle = S::Handle; + type Did = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `did` field - pub struct did(()); ///Marker type for the `handle` field pub struct handle(()); + ///Marker type for the `did` field + pub struct did(()); } } @@ -7102,8 +7278,8 @@ impl<'a, S: profile_view_detailed_state::State> ProfileViewDetailedBuilder<'a, S impl<'a, S> ProfileViewDetailedBuilder<'a, S> where S: profile_view_detailed_state::State, - S::Did: profile_view_detailed_state::IsSet, S::Handle: profile_view_detailed_state::IsSet, + S::Did: profile_view_detailed_state::IsSet, { /// Build the final struct pub fn build(self) -> ProfileViewDetailed<'a> { @@ -7136,7 +7312,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ProfileViewDetailed<'a> { @@ -7194,7 +7370,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ProfileViewDetailed<'a> { } if let Some(ref value) = self.description { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -7224,7 +7400,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ProfileViewDetailed<'a> { } if let Some(ref value) = self.display_name { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -7275,67 +7451,67 @@ pub mod saved_feed_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Type; type Value; type Id; type Pinned; - type Type; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Type = Unset; type Value = Unset; type Id = Unset; type Pinned = Unset; - type Type = Unset; + } + ///State transition - sets the `type` field to Set + pub struct SetType(PhantomData S>); + impl sealed::Sealed for SetType {} + impl State for SetType { + type Type = Set; + type Value = S::Value; + type Id = S::Id; + type Pinned = S::Pinned; } ///State transition - sets the `value` field to Set pub struct SetValue(PhantomData S>); impl sealed::Sealed for SetValue {} impl State for SetValue { + type Type = S::Type; type Value = Set; type Id = S::Id; type Pinned = S::Pinned; - type Type = S::Type; } ///State transition - sets the `id` field to Set pub struct SetId(PhantomData S>); impl sealed::Sealed for SetId {} impl State for SetId { + type Type = S::Type; type Value = S::Value; type Id = Set; type Pinned = S::Pinned; - type Type = S::Type; } ///State transition - sets the `pinned` field to Set pub struct SetPinned(PhantomData S>); impl sealed::Sealed for SetPinned {} impl State for SetPinned { - type Value = S::Value; - type Id = S::Id; - type Pinned = Set; type Type = S::Type; - } - ///State transition - sets the `type` field to Set - pub struct SetType(PhantomData S>); - impl sealed::Sealed for SetType {} - impl State for SetType { type Value = S::Value; type Id = S::Id; - type Pinned = S::Pinned; - type Type = Set; + type Pinned = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `type` field + pub struct r#type(()); ///Marker type for the `value` field pub struct value(()); ///Marker type for the `id` field pub struct id(()); ///Marker type for the `pinned` field pub struct pinned(()); - ///Marker type for the `type` field - pub struct r#type(()); } } @@ -7448,10 +7624,10 @@ where impl<'a, S> SavedFeedBuilder<'a, S> where S: saved_feed_state::State, + S::Type: saved_feed_state::IsSet, S::Value: saved_feed_state::IsSet, S::Id: saved_feed_state::IsSet, S::Pinned: saved_feed_state::IsSet, - S::Type: saved_feed_state::IsSet, { /// Build the final struct pub fn build(self) -> SavedFeed<'a> { @@ -7467,7 +7643,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> SavedFeed<'a> { @@ -7754,7 +7930,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> SavedFeedsPref<'a> { @@ -7894,7 +8070,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> SavedFeedsPrefV2<'a> { @@ -7970,37 +8146,37 @@ pub mod status_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Status; type Record; + type Status; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Status = Unset; type Record = Unset; - } - ///State transition - sets the `status` field to Set - pub struct SetStatus(PhantomData S>); - impl sealed::Sealed for SetStatus {} - impl State for SetStatus { - type Status = Set; - type Record = S::Record; + type Status = Unset; } ///State transition - sets the `record` field to Set pub struct SetRecord(PhantomData S>); impl sealed::Sealed for SetRecord {} impl State for SetRecord { - type Status = S::Status; type Record = Set; + type Status = S::Status; + } + ///State transition - sets the `status` field to Set + pub struct SetStatus(PhantomData S>); + impl sealed::Sealed for SetStatus {} + impl State for SetStatus { + type Record = S::Record; + type Status = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `status` field - pub struct status(()); ///Marker type for the `record` field pub struct record(()); + ///Marker type for the `status` field + pub struct status(()); } } @@ -8181,8 +8357,8 @@ impl<'a, S: status_view_state::State> StatusViewBuilder<'a, S> { impl<'a, S> StatusViewBuilder<'a, S> where S: status_view_state::State, - S::Status: status_view_state::IsSet, S::Record: status_view_state::IsSet, + S::Status: status_view_state::IsSet, { /// Build the final struct pub fn build(self) -> StatusView<'a> { @@ -8202,7 +8378,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> StatusView<'a> { @@ -8531,49 +8707,49 @@ pub mod verification_state_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type TrustedVerifierStatus; type Verifications; + type TrustedVerifierStatus; type VerifiedStatus; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type TrustedVerifierStatus = Unset; type Verifications = Unset; + type TrustedVerifierStatus = Unset; type VerifiedStatus = Unset; } - ///State transition - sets the `trusted_verifier_status` field to Set - pub struct SetTrustedVerifierStatus(PhantomData S>); - impl sealed::Sealed for SetTrustedVerifierStatus {} - impl State for SetTrustedVerifierStatus { - type TrustedVerifierStatus = Set; - type Verifications = S::Verifications; - type VerifiedStatus = S::VerifiedStatus; - } ///State transition - sets the `verifications` field to Set pub struct SetVerifications(PhantomData S>); impl sealed::Sealed for SetVerifications {} impl State for SetVerifications { - type TrustedVerifierStatus = S::TrustedVerifierStatus; type Verifications = Set; + type TrustedVerifierStatus = S::TrustedVerifierStatus; + type VerifiedStatus = S::VerifiedStatus; + } + ///State transition - sets the `trusted_verifier_status` field to Set + pub struct SetTrustedVerifierStatus(PhantomData S>); + impl sealed::Sealed for SetTrustedVerifierStatus {} + impl State for SetTrustedVerifierStatus { + type Verifications = S::Verifications; + type TrustedVerifierStatus = Set; type VerifiedStatus = S::VerifiedStatus; } ///State transition - sets the `verified_status` field to Set pub struct SetVerifiedStatus(PhantomData S>); impl sealed::Sealed for SetVerifiedStatus {} impl State for SetVerifiedStatus { - type TrustedVerifierStatus = S::TrustedVerifierStatus; type Verifications = S::Verifications; + type TrustedVerifierStatus = S::TrustedVerifierStatus; type VerifiedStatus = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `trusted_verifier_status` field - pub struct trusted_verifier_status(()); ///Marker type for the `verifications` field pub struct verifications(()); + ///Marker type for the `trusted_verifier_status` field + pub struct trusted_verifier_status(()); ///Marker type for the `verified_status` field pub struct verified_status(()); } @@ -8671,8 +8847,8 @@ where impl<'a, S> VerificationStateBuilder<'a, S> where S: verification_state_state::State, - S::TrustedVerifierStatus: verification_state_state::IsSet, S::Verifications: verification_state_state::IsSet, + S::TrustedVerifierStatus: verification_state_state::IsSet, S::VerifiedStatus: verification_state_state::IsSet, { /// Build the final struct @@ -8688,7 +8864,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> VerificationState<'a> { @@ -8957,65 +9133,65 @@ pub mod verification_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type IsValid; type Uri; type CreatedAt; - type IsValid; type Issuer; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type IsValid = Unset; type Uri = Unset; type CreatedAt = Unset; - type IsValid = Unset; type Issuer = Unset; } + ///State transition - sets the `is_valid` field to Set + pub struct SetIsValid(PhantomData S>); + impl sealed::Sealed for SetIsValid {} + impl State for SetIsValid { + type IsValid = Set; + type Uri = S::Uri; + type CreatedAt = S::CreatedAt; + type Issuer = S::Issuer; + } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { + type IsValid = S::IsValid; type Uri = Set; type CreatedAt = S::CreatedAt; - type IsValid = S::IsValid; type Issuer = S::Issuer; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Uri = S::Uri; - type CreatedAt = Set; type IsValid = S::IsValid; - type Issuer = S::Issuer; - } - ///State transition - sets the `is_valid` field to Set - pub struct SetIsValid(PhantomData S>); - impl sealed::Sealed for SetIsValid {} - impl State for SetIsValid { type Uri = S::Uri; - type CreatedAt = S::CreatedAt; - type IsValid = Set; + type CreatedAt = Set; type Issuer = S::Issuer; } ///State transition - sets the `issuer` field to Set pub struct SetIssuer(PhantomData S>); impl sealed::Sealed for SetIssuer {} impl State for SetIssuer { + type IsValid = S::IsValid; type Uri = S::Uri; type CreatedAt = S::CreatedAt; - type IsValid = S::IsValid; type Issuer = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `is_valid` field + pub struct is_valid(()); ///Marker type for the `uri` field pub struct uri(()); ///Marker type for the `created_at` field pub struct created_at(()); - ///Marker type for the `is_valid` field - pub struct is_valid(()); ///Marker type for the `issuer` field pub struct issuer(()); } @@ -9130,9 +9306,9 @@ where impl<'a, S> VerificationViewBuilder<'a, S> where S: verification_view_state::State, + S::IsValid: verification_view_state::IsSet, S::Uri: verification_view_state::IsSet, S::CreatedAt: verification_view_state::IsSet, - S::IsValid: verification_view_state::IsSet, S::Issuer: verification_view_state::IsSet, { /// Build the final struct @@ -9149,7 +9325,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> VerificationView<'a> { diff --git a/crates/jacquard-api/src/app_bsky/actor/profile.rs b/crates/jacquard-api/src/app_bsky/actor/profile.rs index efe0dadc7..1761053e9 100644 --- a/crates/jacquard-api/src/app_bsky/actor/profile.rs +++ b/crates/jacquard-api/src/app_bsky/actor/profile.rs @@ -335,7 +335,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Profile<'a> { @@ -443,7 +443,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Profile<'a> { } if let Some(ref value) = self.description { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -473,7 +473,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Profile<'a> { } if let Some(ref value) = self.display_name { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -503,7 +503,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Profile<'a> { } if let Some(ref value) = self.pronouns { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -534,7 +534,7 @@ fn lexicon_doc_app_bsky_actor_profile() -> ::jacquard_lexicon::lexicon::LexiconD defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -550,7 +550,9 @@ fn lexicon_doc_app_bsky_actor_profile() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("avatar"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "avatar", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -558,7 +560,9 @@ fn lexicon_doc_app_bsky_actor_profile() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("banner"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "banner", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -566,7 +570,7 @@ fn lexicon_doc_app_bsky_actor_profile() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -585,7 +589,7 @@ fn lexicon_doc_app_bsky_actor_profile() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -606,7 +610,7 @@ fn lexicon_doc_app_bsky_actor_profile() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "displayName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -623,7 +627,7 @@ fn lexicon_doc_app_bsky_actor_profile() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "joinedViaStarterPack", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -634,7 +638,9 @@ fn lexicon_doc_app_bsky_actor_profile() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("labels"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "labels", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: Some( ::jacquard_common::CowStr::new_static( @@ -648,7 +654,7 @@ fn lexicon_doc_app_bsky_actor_profile() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "pinnedPost", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -659,7 +665,7 @@ fn lexicon_doc_app_bsky_actor_profile() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "pronouns", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -680,7 +686,9 @@ fn lexicon_doc_app_bsky_actor_profile() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("website"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "website", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( 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 3f1a886d2..24d7f50d0 100644 --- a/crates/jacquard-api/src/app_bsky/actor/put_preferences.rs +++ b/crates/jacquard-api/src/app_bsky/actor/put_preferences.rs @@ -115,7 +115,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> PutPreferences<'a> { diff --git a/crates/jacquard-api/src/app_bsky/actor/status.rs b/crates/jacquard-api/src/app_bsky/actor/status.rs index a58d3e2f7..74b9d8455 100644 --- a/crates/jacquard-api/src/app_bsky/actor/status.rs +++ b/crates/jacquard-api/src/app_bsky/actor/status.rs @@ -59,37 +59,37 @@ pub mod status_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type Status; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type Status = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Status = S::Status; + type CreatedAt = Unset; } ///State transition - sets the `status` field to Set pub struct SetStatus(PhantomData S>); impl sealed::Sealed for SetStatus {} impl State for SetStatus { - type CreatedAt = S::CreatedAt; type Status = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Status = S::Status; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `status` field pub struct status(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -196,8 +196,8 @@ where impl<'a, S> StatusBuilder<'a, S> where S: status_state::State, - S::CreatedAt: status_state::IsSet, S::Status: status_state::IsSet, + S::CreatedAt: status_state::IsSet, { /// Build the final struct pub fn build(self) -> Status<'a> { @@ -213,7 +213,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Status<'a> { @@ -411,13 +411,13 @@ fn lexicon_doc_app_bsky_actor_status() -> ::jacquard_lexicon::lexicon::LexiconDo defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("live"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("live"), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -429,8 +429,8 @@ fn lexicon_doc_app_bsky_actor_status() -> ::jacquard_lexicon::lexicon::LexiconDo description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("status"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("status"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -438,7 +438,7 @@ fn lexicon_doc_app_bsky_actor_status() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -457,7 +457,7 @@ fn lexicon_doc_app_bsky_actor_status() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "durationMinutes", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -470,7 +470,9 @@ fn lexicon_doc_app_bsky_actor_status() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("embed"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "embed", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: Some( ::jacquard_common::CowStr::new_static( @@ -484,7 +486,9 @@ fn lexicon_doc_app_bsky_actor_status() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("status"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "status", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/app_bsky/ageassurance.rs b/crates/jacquard-api/src/app_bsky/ageassurance.rs index e0eb08d82..6a5e8501c 100644 --- a/crates/jacquard-api/src/app_bsky/ageassurance.rs +++ b/crates/jacquard-api/src/app_bsky/ageassurance.rs @@ -214,7 +214,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Config<'a> { @@ -236,7 +236,7 @@ fn lexicon_doc_app_bsky_ageassurance_defs() -> ::jacquard_lexicon::lexicon::Lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("access"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("access"), ::jacquard_lexicon::lexicon::LexUserType::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -255,18 +255,22 @@ fn lexicon_doc_app_bsky_ageassurance_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("config"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("config"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some(::jacquard_common::CowStr::new_static("")), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("regions")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("regions") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("regions"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "regions", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -288,7 +292,7 @@ fn lexicon_doc_app_bsky_ageassurance_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("configRegion"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("configRegion"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -297,9 +301,9 @@ fn lexicon_doc_app_bsky_ageassurance_defs() -> ::jacquard_lexicon::lexicon::Lexi ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("countryCode"), - ::jacquard_common::smol_str::SmolStr::new_static("minAccessAge"), - ::jacquard_common::smol_str::SmolStr::new_static("rules") + ::jacquard_common::deps::smol_str::SmolStr::new_static("countryCode"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("minAccessAge"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("rules") ], ), nullable: None, @@ -307,7 +311,7 @@ fn lexicon_doc_app_bsky_ageassurance_defs() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "countryCode", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -328,7 +332,7 @@ fn lexicon_doc_app_bsky_ageassurance_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "minAccessAge", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -341,7 +345,7 @@ fn lexicon_doc_app_bsky_ageassurance_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "regionCode", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -362,7 +366,9 @@ fn lexicon_doc_app_bsky_ageassurance_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rules"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "rules", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -391,7 +397,7 @@ fn lexicon_doc_app_bsky_ageassurance_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "configRegionRuleDefault", ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { @@ -401,14 +407,18 @@ fn lexicon_doc_app_bsky_ageassurance_defs() -> ::jacquard_lexicon::lexicon::Lexi ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("access")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("access") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("access"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "access", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -421,7 +431,7 @@ fn lexicon_doc_app_bsky_ageassurance_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "configRegionRuleIfAccountNewerThan", ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { @@ -432,8 +442,8 @@ fn lexicon_doc_app_bsky_ageassurance_defs() -> ::jacquard_lexicon::lexicon::Lexi ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("date"), - ::jacquard_common::smol_str::SmolStr::new_static("access") + ::jacquard_common::deps::smol_str::SmolStr::new_static("date"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("access") ], ), nullable: None, @@ -441,7 +451,9 @@ fn lexicon_doc_app_bsky_ageassurance_defs() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("access"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "access", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -450,7 +462,9 @@ fn lexicon_doc_app_bsky_ageassurance_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("date"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "date", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -475,7 +489,7 @@ fn lexicon_doc_app_bsky_ageassurance_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "configRegionRuleIfAccountOlderThan", ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { @@ -486,8 +500,8 @@ fn lexicon_doc_app_bsky_ageassurance_defs() -> ::jacquard_lexicon::lexicon::Lexi ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("date"), - ::jacquard_common::smol_str::SmolStr::new_static("access") + ::jacquard_common::deps::smol_str::SmolStr::new_static("date"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("access") ], ), nullable: None, @@ -495,7 +509,9 @@ fn lexicon_doc_app_bsky_ageassurance_defs() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("access"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "access", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -504,7 +520,9 @@ fn lexicon_doc_app_bsky_ageassurance_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("date"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "date", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -529,7 +547,7 @@ fn lexicon_doc_app_bsky_ageassurance_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "configRegionRuleIfAssuredOverAge", ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { @@ -540,8 +558,8 @@ fn lexicon_doc_app_bsky_ageassurance_defs() -> ::jacquard_lexicon::lexicon::Lexi ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("age"), - ::jacquard_common::smol_str::SmolStr::new_static("access") + ::jacquard_common::deps::smol_str::SmolStr::new_static("age"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("access") ], ), nullable: None, @@ -549,7 +567,9 @@ fn lexicon_doc_app_bsky_ageassurance_defs() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("access"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "access", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -558,7 +578,9 @@ fn lexicon_doc_app_bsky_ageassurance_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("age"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "age", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -573,7 +595,7 @@ fn lexicon_doc_app_bsky_ageassurance_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "configRegionRuleIfAssuredUnderAge", ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { @@ -584,8 +606,8 @@ fn lexicon_doc_app_bsky_ageassurance_defs() -> ::jacquard_lexicon::lexicon::Lexi ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("age"), - ::jacquard_common::smol_str::SmolStr::new_static("access") + ::jacquard_common::deps::smol_str::SmolStr::new_static("age"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("access") ], ), nullable: None, @@ -593,7 +615,9 @@ fn lexicon_doc_app_bsky_ageassurance_defs() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("access"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "access", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -602,7 +626,9 @@ fn lexicon_doc_app_bsky_ageassurance_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("age"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "age", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -617,7 +643,7 @@ fn lexicon_doc_app_bsky_ageassurance_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "configRegionRuleIfDeclaredOverAge", ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { @@ -628,8 +654,8 @@ fn lexicon_doc_app_bsky_ageassurance_defs() -> ::jacquard_lexicon::lexicon::Lexi ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("age"), - ::jacquard_common::smol_str::SmolStr::new_static("access") + ::jacquard_common::deps::smol_str::SmolStr::new_static("age"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("access") ], ), nullable: None, @@ -637,7 +663,9 @@ fn lexicon_doc_app_bsky_ageassurance_defs() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("access"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "access", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -646,7 +674,9 @@ fn lexicon_doc_app_bsky_ageassurance_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("age"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "age", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -661,7 +691,7 @@ fn lexicon_doc_app_bsky_ageassurance_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "configRegionRuleIfDeclaredUnderAge", ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { @@ -672,8 +702,8 @@ fn lexicon_doc_app_bsky_ageassurance_defs() -> ::jacquard_lexicon::lexicon::Lexi ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("age"), - ::jacquard_common::smol_str::SmolStr::new_static("access") + ::jacquard_common::deps::smol_str::SmolStr::new_static("age"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("access") ], ), nullable: None, @@ -681,7 +711,9 @@ fn lexicon_doc_app_bsky_ageassurance_defs() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("access"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "access", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -690,7 +722,9 @@ fn lexicon_doc_app_bsky_ageassurance_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("age"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "age", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -705,7 +739,7 @@ fn lexicon_doc_app_bsky_ageassurance_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("event"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("event"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -714,11 +748,11 @@ fn lexicon_doc_app_bsky_ageassurance_defs() -> ::jacquard_lexicon::lexicon::Lexi ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("createdAt"), - ::jacquard_common::smol_str::SmolStr::new_static("status"), - ::jacquard_common::smol_str::SmolStr::new_static("access"), - ::jacquard_common::smol_str::SmolStr::new_static("attemptId"), - ::jacquard_common::smol_str::SmolStr::new_static("countryCode") + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("status"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("access"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("attemptId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("countryCode") ], ), nullable: None, @@ -726,7 +760,9 @@ fn lexicon_doc_app_bsky_ageassurance_defs() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("access"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "access", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -745,7 +781,7 @@ fn lexicon_doc_app_bsky_ageassurance_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "attemptId", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -766,7 +802,7 @@ fn lexicon_doc_app_bsky_ageassurance_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "completeIp", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -787,7 +823,7 @@ fn lexicon_doc_app_bsky_ageassurance_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "completeUa", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -808,7 +844,7 @@ fn lexicon_doc_app_bsky_ageassurance_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "countryCode", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -829,7 +865,7 @@ fn lexicon_doc_app_bsky_ageassurance_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -852,7 +888,9 @@ fn lexicon_doc_app_bsky_ageassurance_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("email"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "email", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -871,7 +909,9 @@ fn lexicon_doc_app_bsky_ageassurance_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("initIp"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "initIp", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -890,7 +930,9 @@ fn lexicon_doc_app_bsky_ageassurance_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("initUa"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "initUa", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -909,7 +951,7 @@ fn lexicon_doc_app_bsky_ageassurance_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "regionCode", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -930,7 +972,9 @@ fn lexicon_doc_app_bsky_ageassurance_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("status"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "status", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -953,7 +997,7 @@ fn lexicon_doc_app_bsky_ageassurance_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("state"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("state"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -962,8 +1006,8 @@ fn lexicon_doc_app_bsky_ageassurance_defs() -> ::jacquard_lexicon::lexicon::Lexi ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("status"), - ::jacquard_common::smol_str::SmolStr::new_static("access") + ::jacquard_common::deps::smol_str::SmolStr::new_static("status"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("access") ], ), nullable: None, @@ -971,7 +1015,9 @@ fn lexicon_doc_app_bsky_ageassurance_defs() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("access"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "access", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -980,7 +1026,7 @@ fn lexicon_doc_app_bsky_ageassurance_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "lastInitiatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1003,7 +1049,9 @@ fn lexicon_doc_app_bsky_ageassurance_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("status"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "status", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -1016,7 +1064,7 @@ fn lexicon_doc_app_bsky_ageassurance_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("stateMetadata"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("stateMetadata"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -1029,7 +1077,7 @@ fn lexicon_doc_app_bsky_ageassurance_defs() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accountCreatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1056,7 +1104,7 @@ fn lexicon_doc_app_bsky_ageassurance_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("status"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("status"), ::jacquard_lexicon::lexicon::LexUserType::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1133,51 +1181,51 @@ pub mod config_region_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type MinAccessAge; type Rules; type CountryCode; - type MinAccessAge; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type MinAccessAge = Unset; type Rules = Unset; type CountryCode = Unset; - type MinAccessAge = Unset; + } + ///State transition - sets the `min_access_age` field to Set + pub struct SetMinAccessAge(PhantomData S>); + impl sealed::Sealed for SetMinAccessAge {} + impl State for SetMinAccessAge { + type MinAccessAge = Set; + type Rules = S::Rules; + type CountryCode = S::CountryCode; } ///State transition - sets the `rules` field to Set pub struct SetRules(PhantomData S>); impl sealed::Sealed for SetRules {} impl State for SetRules { + type MinAccessAge = S::MinAccessAge; type Rules = Set; type CountryCode = S::CountryCode; - type MinAccessAge = S::MinAccessAge; } ///State transition - sets the `country_code` field to Set pub struct SetCountryCode(PhantomData S>); impl sealed::Sealed for SetCountryCode {} impl State for SetCountryCode { - type Rules = S::Rules; - type CountryCode = Set; type MinAccessAge = S::MinAccessAge; - } - ///State transition - sets the `min_access_age` field to Set - pub struct SetMinAccessAge(PhantomData S>); - impl sealed::Sealed for SetMinAccessAge {} - impl State for SetMinAccessAge { type Rules = S::Rules; - type CountryCode = S::CountryCode; - type MinAccessAge = Set; + type CountryCode = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `min_access_age` field + pub struct min_access_age(()); ///Marker type for the `rules` field pub struct rules(()); ///Marker type for the `country_code` field pub struct country_code(()); - ///Marker type for the `min_access_age` field - pub struct min_access_age(()); } } @@ -1290,9 +1338,9 @@ where impl<'a, S> ConfigRegionBuilder<'a, S> where S: config_region_state::State, + S::MinAccessAge: config_region_state::IsSet, S::Rules: config_region_state::IsSet, S::CountryCode: config_region_state::IsSet, - S::MinAccessAge: config_region_state::IsSet, { /// Build the final struct pub fn build(self) -> ConfigRegion<'a> { @@ -1308,7 +1356,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ConfigRegion<'a> { @@ -1502,7 +1550,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ConfigRegionRuleDefault<'a> { @@ -1694,7 +1742,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ConfigRegionRuleIfAccountNewerThan<'a> { @@ -1888,7 +1936,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ConfigRegionRuleIfAccountOlderThan<'a> { @@ -1947,37 +1995,37 @@ pub mod config_region_rule_if_assured_over_age_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Access; type Age; + type Access; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Access = Unset; type Age = Unset; - } - ///State transition - sets the `access` field to Set - pub struct SetAccess(PhantomData S>); - impl sealed::Sealed for SetAccess {} - impl State for SetAccess { - type Access = Set; - type Age = S::Age; + type Access = Unset; } ///State transition - sets the `age` field to Set pub struct SetAge(PhantomData S>); impl sealed::Sealed for SetAge {} impl State for SetAge { - type Access = S::Access; type Age = Set; + type Access = S::Access; + } + ///State transition - sets the `access` field to Set + pub struct SetAccess(PhantomData S>); + impl sealed::Sealed for SetAccess {} + impl State for SetAccess { + type Age = S::Age; + type Access = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `access` field - pub struct access(()); ///Marker type for the `age` field pub struct age(()); + ///Marker type for the `access` field + pub struct access(()); } } @@ -2067,8 +2115,8 @@ where impl<'a, S> ConfigRegionRuleIfAssuredOverAgeBuilder<'a, S> where S: config_region_rule_if_assured_over_age_state::State, - S::Access: config_region_rule_if_assured_over_age_state::IsSet, S::Age: config_region_rule_if_assured_over_age_state::IsSet, + S::Access: config_region_rule_if_assured_over_age_state::IsSet, { /// Build the final struct pub fn build(self) -> ConfigRegionRuleIfAssuredOverAge<'a> { @@ -2082,7 +2130,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ConfigRegionRuleIfAssuredOverAge<'a> { @@ -2276,7 +2324,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ConfigRegionRuleIfAssuredUnderAge<'a> { @@ -2470,7 +2518,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ConfigRegionRuleIfDeclaredOverAge<'a> { @@ -2529,37 +2577,37 @@ pub mod config_region_rule_if_declared_under_age_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Access; type Age; + type Access; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Access = Unset; type Age = Unset; - } - ///State transition - sets the `access` field to Set - pub struct SetAccess(PhantomData S>); - impl sealed::Sealed for SetAccess {} - impl State for SetAccess { - type Access = Set; - type Age = S::Age; + type Access = Unset; } ///State transition - sets the `age` field to Set pub struct SetAge(PhantomData S>); impl sealed::Sealed for SetAge {} impl State for SetAge { - type Access = S::Access; type Age = Set; + type Access = S::Access; + } + ///State transition - sets the `access` field to Set + pub struct SetAccess(PhantomData S>); + impl sealed::Sealed for SetAccess {} + impl State for SetAccess { + type Age = S::Age; + type Access = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `access` field - pub struct access(()); ///Marker type for the `age` field pub struct age(()); + ///Marker type for the `access` field + pub struct access(()); } } @@ -2649,8 +2697,8 @@ where impl<'a, S> ConfigRegionRuleIfDeclaredUnderAgeBuilder<'a, S> where S: config_region_rule_if_declared_under_age_state::State, - S::Access: config_region_rule_if_declared_under_age_state::IsSet, S::Age: config_region_rule_if_declared_under_age_state::IsSet, + S::Access: config_region_rule_if_declared_under_age_state::IsSet, { /// Build the final struct pub fn build(self) -> ConfigRegionRuleIfDeclaredUnderAge<'a> { @@ -2664,7 +2712,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ConfigRegionRuleIfDeclaredUnderAge<'a> { @@ -2757,85 +2805,85 @@ pub mod event_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Status; type CreatedAt; - type Access; - type CountryCode; + type Status; type AttemptId; + type CountryCode; + type Access; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Status = Unset; type CreatedAt = Unset; - type Access = Unset; - type CountryCode = Unset; + type Status = Unset; type AttemptId = Unset; - } - ///State transition - sets the `status` field to Set - pub struct SetStatus(PhantomData S>); - impl sealed::Sealed for SetStatus {} - impl State for SetStatus { - type Status = Set; - type CreatedAt = S::CreatedAt; - type Access = S::Access; - type CountryCode = S::CountryCode; - type AttemptId = S::AttemptId; + type CountryCode = Unset; + type Access = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Status = S::Status; type CreatedAt = Set; - type Access = S::Access; + type Status = S::Status; + type AttemptId = S::AttemptId; type CountryCode = S::CountryCode; + type Access = S::Access; + } + ///State transition - sets the `status` field to Set + pub struct SetStatus(PhantomData S>); + impl sealed::Sealed for SetStatus {} + impl State for SetStatus { + type CreatedAt = S::CreatedAt; + type Status = Set; type AttemptId = S::AttemptId; + type CountryCode = S::CountryCode; + type Access = S::Access; } - ///State transition - sets the `access` field to Set - pub struct SetAccess(PhantomData S>); - impl sealed::Sealed for SetAccess {} - impl State for SetAccess { - type Status = S::Status; + ///State transition - sets the `attempt_id` field to Set + pub struct SetAttemptId(PhantomData S>); + impl sealed::Sealed for SetAttemptId {} + impl State for SetAttemptId { type CreatedAt = S::CreatedAt; - type Access = Set; + type Status = S::Status; + type AttemptId = Set; type CountryCode = S::CountryCode; - type AttemptId = S::AttemptId; + type Access = S::Access; } ///State transition - sets the `country_code` field to Set pub struct SetCountryCode(PhantomData S>); impl sealed::Sealed for SetCountryCode {} impl State for SetCountryCode { - type Status = S::Status; type CreatedAt = S::CreatedAt; - type Access = S::Access; - type CountryCode = Set; + type Status = S::Status; type AttemptId = S::AttemptId; + type CountryCode = Set; + type Access = S::Access; } - ///State transition - sets the `attempt_id` field to Set - pub struct SetAttemptId(PhantomData S>); - impl sealed::Sealed for SetAttemptId {} - impl State for SetAttemptId { - type Status = S::Status; + ///State transition - sets the `access` field to Set + pub struct SetAccess(PhantomData S>); + impl sealed::Sealed for SetAccess {} + impl State for SetAccess { type CreatedAt = S::CreatedAt; - type Access = S::Access; + type Status = S::Status; + type AttemptId = S::AttemptId; type CountryCode = S::CountryCode; - type AttemptId = Set; + type Access = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `status` field - pub struct status(()); ///Marker type for the `created_at` field pub struct created_at(()); - ///Marker type for the `access` field - pub struct access(()); - ///Marker type for the `country_code` field - pub struct country_code(()); + ///Marker type for the `status` field + pub struct status(()); ///Marker type for the `attempt_id` field pub struct attempt_id(()); + ///Marker type for the `country_code` field + pub struct country_code(()); + ///Marker type for the `access` field + pub struct access(()); } } @@ -3091,11 +3139,11 @@ where impl<'a, S> EventBuilder<'a, S> where S: event_state::State, - S::Status: event_state::IsSet, S::CreatedAt: event_state::IsSet, - S::Access: event_state::IsSet, - S::CountryCode: event_state::IsSet, + S::Status: event_state::IsSet, S::AttemptId: event_state::IsSet, + S::CountryCode: event_state::IsSet, + S::Access: event_state::IsSet, { /// Build the final struct pub fn build(self) -> Event<'a> { @@ -3118,7 +3166,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Event<'a> { @@ -3386,37 +3434,37 @@ pub mod state_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Status; type Access; + type Status; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Status = Unset; type Access = Unset; - } - ///State transition - sets the `status` field to Set - pub struct SetStatus(PhantomData S>); - impl sealed::Sealed for SetStatus {} - impl State for SetStatus { - type Status = Set; - type Access = S::Access; + type Status = Unset; } ///State transition - sets the `access` field to Set pub struct SetAccess(PhantomData S>); impl sealed::Sealed for SetAccess {} impl State for SetAccess { - type Status = S::Status; type Access = Set; + type Status = S::Status; + } + ///State transition - sets the `status` field to Set + pub struct SetStatus(PhantomData S>); + impl sealed::Sealed for SetStatus {} + impl State for SetStatus { + type Access = S::Access; + type Status = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `status` field - pub struct status(()); ///Marker type for the `access` field pub struct access(()); + ///Marker type for the `status` field + pub struct status(()); } } @@ -3509,8 +3557,8 @@ where impl<'a, S> StateBuilder<'a, S> where S: state_state::State, - S::Status: state_state::IsSet, S::Access: state_state::IsSet, + S::Status: state_state::IsSet, { /// Build the final struct pub fn build(self) -> State<'a> { @@ -3525,7 +3573,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> State<'a> { diff --git a/crates/jacquard-api/src/app_bsky/bookmark.rs b/crates/jacquard-api/src/app_bsky/bookmark.rs index ac81a9696..d6b3e17f6 100644 --- a/crates/jacquard-api/src/app_bsky/bookmark.rs +++ b/crates/jacquard-api/src/app_bsky/bookmark.rs @@ -121,7 +121,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Bookmark<'a> { @@ -143,7 +143,7 @@ fn lexicon_doc_app_bsky_bookmark_defs() -> ::jacquard_lexicon::lexicon::LexiconD defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("bookmark"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("bookmark"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -151,14 +151,18 @@ fn lexicon_doc_app_bsky_bookmark_defs() -> ::jacquard_lexicon::lexicon::LexiconD ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("subject")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -171,13 +175,13 @@ fn lexicon_doc_app_bsky_bookmark_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("bookmarkView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("bookmarkView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("item") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("item") ], ), nullable: None, @@ -185,7 +189,7 @@ fn lexicon_doc_app_bsky_bookmark_defs() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -204,7 +208,9 @@ fn lexicon_doc_app_bsky_bookmark_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("item"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "item", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -216,7 +222,9 @@ fn lexicon_doc_app_bsky_bookmark_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -281,37 +289,37 @@ pub mod bookmark_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Subject; type Item; + type Subject; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Subject = Unset; type Item = Unset; - } - ///State transition - sets the `subject` field to Set - pub struct SetSubject(PhantomData S>); - impl sealed::Sealed for SetSubject {} - impl State for SetSubject { - type Subject = Set; - type Item = S::Item; + type Subject = Unset; } ///State transition - sets the `item` field to Set pub struct SetItem(PhantomData S>); impl sealed::Sealed for SetItem {} impl State for SetItem { - type Subject = S::Subject; type Item = Set; + type Subject = S::Subject; + } + ///State transition - sets the `subject` field to Set + pub struct SetSubject(PhantomData S>); + impl sealed::Sealed for SetSubject {} + impl State for SetSubject { + type Item = S::Item; + type Subject = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `subject` field - pub struct subject(()); ///Marker type for the `item` field pub struct item(()); + ///Marker type for the `subject` field + pub struct subject(()); } } @@ -404,8 +412,8 @@ where impl<'a, S> BookmarkViewBuilder<'a, S> where S: bookmark_view_state::State, - S::Subject: bookmark_view_state::IsSet, S::Item: bookmark_view_state::IsSet, + S::Subject: bookmark_view_state::IsSet, { /// Build the final struct pub fn build(self) -> BookmarkView<'a> { @@ -420,7 +428,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> BookmarkView<'a> { 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 6cdf6a4b8..33aa5882b 100644 --- a/crates/jacquard-api/src/app_bsky/bookmark/create_bookmark.rs +++ b/crates/jacquard-api/src/app_bsky/bookmark/create_bookmark.rs @@ -151,7 +151,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> CreateBookmark<'a> { 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 7fcbe5f20..cfde1c18b 100644 --- a/crates/jacquard-api/src/app_bsky/bookmark/delete_bookmark.rs +++ b/crates/jacquard-api/src/app_bsky/bookmark/delete_bookmark.rs @@ -115,7 +115,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> DeleteBookmark<'a> { diff --git a/crates/jacquard-api/src/app_bsky/contact.rs b/crates/jacquard-api/src/app_bsky/contact.rs index 1131649ca..a912b0ee9 100644 --- a/crates/jacquard-api/src/app_bsky/contact.rs +++ b/crates/jacquard-api/src/app_bsky/contact.rs @@ -44,37 +44,37 @@ pub mod match_and_contact_index_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type ContactIndex; type Match; + type ContactIndex; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type ContactIndex = Unset; type Match = Unset; - } - ///State transition - sets the `contact_index` field to Set - pub struct SetContactIndex(PhantomData S>); - impl sealed::Sealed for SetContactIndex {} - impl State for SetContactIndex { - type ContactIndex = Set; - type Match = S::Match; + type ContactIndex = Unset; } ///State transition - sets the `match` field to Set pub struct SetMatch(PhantomData S>); impl sealed::Sealed for SetMatch {} impl State for SetMatch { - type ContactIndex = S::ContactIndex; type Match = Set; + type ContactIndex = S::ContactIndex; + } + ///State transition - sets the `contact_index` field to Set + pub struct SetContactIndex(PhantomData S>); + impl sealed::Sealed for SetContactIndex {} + impl State for SetContactIndex { + type Match = S::Match; + type ContactIndex = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `contact_index` field - pub struct contact_index(()); ///Marker type for the `match` field pub struct r#match(()); + ///Marker type for the `contact_index` field + pub struct contact_index(()); } } @@ -153,8 +153,8 @@ where impl<'a, S> MatchAndContactIndexBuilder<'a, S> where S: match_and_contact_index_state::State, - S::ContactIndex: match_and_contact_index_state::IsSet, S::Match: match_and_contact_index_state::IsSet, + S::ContactIndex: match_and_contact_index_state::IsSet, { /// Build the final struct pub fn build(self) -> MatchAndContactIndex<'a> { @@ -168,7 +168,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> MatchAndContactIndex<'a> { @@ -191,7 +191,9 @@ fn lexicon_doc_app_bsky_contact_defs() -> ::jacquard_lexicon::lexicon::LexiconDo defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("matchAndContactIndex"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "matchAndContactIndex", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -200,8 +202,8 @@ fn lexicon_doc_app_bsky_contact_defs() -> ::jacquard_lexicon::lexicon::LexiconDo ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("match"), - ::jacquard_common::smol_str::SmolStr::new_static("contactIndex") + ::jacquard_common::deps::smol_str::SmolStr::new_static("match"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("contactIndex") ], ), nullable: None, @@ -209,7 +211,7 @@ fn lexicon_doc_app_bsky_contact_defs() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contactIndex", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -222,7 +224,9 @@ fn lexicon_doc_app_bsky_contact_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("match"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "match", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -235,7 +239,7 @@ fn lexicon_doc_app_bsky_contact_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("notification"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("notification"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -244,8 +248,8 @@ fn lexicon_doc_app_bsky_contact_defs() -> ::jacquard_lexicon::lexicon::LexiconDo ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("from"), - ::jacquard_common::smol_str::SmolStr::new_static("to") + ::jacquard_common::deps::smol_str::SmolStr::new_static("from"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("to") ], ), nullable: None, @@ -253,7 +257,9 @@ fn lexicon_doc_app_bsky_contact_defs() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("from"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "from", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -274,7 +280,7 @@ fn lexicon_doc_app_bsky_contact_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("to"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("to"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -299,13 +305,13 @@ fn lexicon_doc_app_bsky_contact_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("syncStatus"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("syncStatus"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("syncedAt"), - ::jacquard_common::smol_str::SmolStr::new_static("matchesCount") + ::jacquard_common::deps::smol_str::SmolStr::new_static("syncedAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("matchesCount") ], ), nullable: None, @@ -313,7 +319,7 @@ fn lexicon_doc_app_bsky_contact_defs() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "matchesCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -326,7 +332,9 @@ fn lexicon_doc_app_bsky_contact_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("syncedAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "syncedAt", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -427,37 +435,37 @@ pub mod notification_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type To; type From; + type To; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type To = Unset; type From = Unset; - } - ///State transition - sets the `to` field to Set - pub struct SetTo(PhantomData S>); - impl sealed::Sealed for SetTo {} - impl State for SetTo { - type To = Set; - type From = S::From; + type To = Unset; } ///State transition - sets the `from` field to Set pub struct SetFrom(PhantomData S>); impl sealed::Sealed for SetFrom {} impl State for SetFrom { - type To = S::To; type From = Set; + type To = S::To; + } + ///State transition - sets the `to` field to Set + pub struct SetTo(PhantomData S>); + impl sealed::Sealed for SetTo {} + impl State for SetTo { + type From = S::From; + type To = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `to` field - pub struct to(()); ///Marker type for the `from` field pub struct from(()); + ///Marker type for the `to` field + pub struct to(()); } } @@ -530,8 +538,8 @@ where impl<'a, S> NotificationBuilder<'a, S> where S: notification_state::State, - S::To: notification_state::IsSet, S::From: notification_state::IsSet, + S::To: notification_state::IsSet, { /// Build the final struct pub fn build(self) -> Notification<'a> { @@ -545,7 +553,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Notification<'a> { @@ -720,7 +728,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> SyncStatus<'a> { 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 77635c4fb..1362004cc 100644 --- a/crates/jacquard-api/src/app_bsky/contact/dismiss_match.rs +++ b/crates/jacquard-api/src/app_bsky/contact/dismiss_match.rs @@ -116,7 +116,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> DismissMatch<'a> { 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 cb9bae021..f5c48e3c1 100644 --- a/crates/jacquard-api/src/app_bsky/contact/import_contacts.rs +++ b/crates/jacquard-api/src/app_bsky/contact/import_contacts.rs @@ -153,7 +153,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ImportContacts<'a> { 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 39ad3a2db..15b02d3f1 100644 --- a/crates/jacquard-api/src/app_bsky/contact/send_notification.rs +++ b/crates/jacquard-api/src/app_bsky/contact/send_notification.rs @@ -153,7 +153,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> SendNotification<'a> { diff --git a/crates/jacquard-api/src/app_bsky/draft.rs b/crates/jacquard-api/src/app_bsky/draft.rs index 437eb7651..2e86c7cc7 100644 --- a/crates/jacquard-api/src/app_bsky/draft.rs +++ b/crates/jacquard-api/src/app_bsky/draft.rs @@ -248,7 +248,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Draft<'a> { @@ -298,7 +298,7 @@ fn lexicon_doc_app_bsky_draft_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("draft"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("draft"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -306,14 +306,18 @@ fn lexicon_doc_app_bsky_draft_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("posts")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("posts") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("deviceId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "deviceId", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -332,7 +336,7 @@ fn lexicon_doc_app_bsky_draft_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "deviceName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -353,7 +357,9 @@ fn lexicon_doc_app_bsky_draft_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("langs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "langs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -379,7 +385,7 @@ fn lexicon_doc_app_bsky_draft_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "postgateEmbeddingRules", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -400,7 +406,9 @@ fn lexicon_doc_app_bsky_draft_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("posts"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "posts", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -416,7 +424,7 @@ fn lexicon_doc_app_bsky_draft_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "threadgateAllow", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -444,13 +452,15 @@ fn lexicon_doc_app_bsky_draft_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("draftEmbedCaption"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "draftEmbedCaption", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("lang"), - ::jacquard_common::smol_str::SmolStr::new_static("content") + ::jacquard_common::deps::smol_str::SmolStr::new_static("lang"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("content") ], ), nullable: None, @@ -458,7 +468,9 @@ fn lexicon_doc_app_bsky_draft_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "content", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -473,7 +485,9 @@ fn lexicon_doc_app_bsky_draft_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("lang"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "lang", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -494,18 +508,24 @@ fn lexicon_doc_app_bsky_draft_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("draftEmbedExternal"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "draftEmbedExternal", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("uri")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -526,12 +546,14 @@ fn lexicon_doc_app_bsky_draft_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("draftEmbedImage"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "draftEmbedImage", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("localRef") + ::jacquard_common::deps::smol_str::SmolStr::new_static("localRef") ], ), nullable: None, @@ -539,7 +561,9 @@ fn lexicon_doc_app_bsky_draft_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("alt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "alt", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -554,7 +578,9 @@ fn lexicon_doc_app_bsky_draft_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("localRef"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "localRef", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -567,18 +593,24 @@ fn lexicon_doc_app_bsky_draft_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("draftEmbedLocalRef"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "draftEmbedLocalRef", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("path")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("path") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("path"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "path", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -601,18 +633,24 @@ fn lexicon_doc_app_bsky_draft_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("draftEmbedRecord"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "draftEmbedRecord", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("record")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("record") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("record"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "record", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -625,12 +663,14 @@ fn lexicon_doc_app_bsky_draft_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("draftEmbedVideo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "draftEmbedVideo", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("localRef") + ::jacquard_common::deps::smol_str::SmolStr::new_static("localRef") ], ), nullable: None, @@ -638,7 +678,9 @@ fn lexicon_doc_app_bsky_draft_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("alt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "alt", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -653,7 +695,9 @@ fn lexicon_doc_app_bsky_draft_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("captions"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "captions", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -667,7 +711,9 @@ fn lexicon_doc_app_bsky_draft_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("localRef"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "localRef", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -680,7 +726,7 @@ fn lexicon_doc_app_bsky_draft_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("draftPost"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("draftPost"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -688,14 +734,16 @@ fn lexicon_doc_app_bsky_draft_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("text")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("text") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "embedExternals", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -711,7 +759,7 @@ fn lexicon_doc_app_bsky_draft_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "embedImages", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -727,7 +775,7 @@ fn lexicon_doc_app_bsky_draft_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "embedRecords", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -743,7 +791,7 @@ fn lexicon_doc_app_bsky_draft_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "embedVideos", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -759,7 +807,9 @@ fn lexicon_doc_app_bsky_draft_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("labels"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "labels", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: Some( ::jacquard_common::CowStr::new_static( @@ -773,7 +823,9 @@ fn lexicon_doc_app_bsky_draft_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -796,7 +848,7 @@ fn lexicon_doc_app_bsky_draft_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("draftView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("draftView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -805,10 +857,10 @@ fn lexicon_doc_app_bsky_draft_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("id"), - ::jacquard_common::smol_str::SmolStr::new_static("draft"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt"), - ::jacquard_common::smol_str::SmolStr::new_static("updatedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("draft"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("updatedAt") ], ), nullable: None, @@ -816,7 +868,7 @@ fn lexicon_doc_app_bsky_draft_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -839,14 +891,16 @@ fn lexicon_doc_app_bsky_draft_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("draft"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "draft", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#draft"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -867,7 +921,7 @@ fn lexicon_doc_app_bsky_draft_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -894,7 +948,7 @@ fn lexicon_doc_app_bsky_draft_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("draftWithId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("draftWithId"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -903,8 +957,8 @@ fn lexicon_doc_app_bsky_draft_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("id"), - ::jacquard_common::smol_str::SmolStr::new_static("draft") + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("draft") ], ), nullable: None, @@ -912,14 +966,16 @@ fn lexicon_doc_app_bsky_draft_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("draft"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "draft", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#draft"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1196,7 +1252,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> DraftEmbedCaption<'a> { @@ -1348,7 +1404,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> DraftEmbedExternal<'a> { @@ -1504,7 +1560,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> DraftEmbedImage<'a> { @@ -1531,7 +1587,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for DraftEmbedImage<'a> { ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { if let Some(ref value) = self.alt { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -1722,7 +1778,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> DraftEmbedRecord<'a> { @@ -1904,7 +1960,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> DraftEmbedVideo<'a> { @@ -1932,7 +1988,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for DraftEmbedVideo<'a> { ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { if let Some(ref value) = self.alt { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -2084,7 +2140,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for DraftPost<'a> { { let value = &self.text; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -2137,67 +2193,67 @@ pub mod draft_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type UpdatedAt; - type Id; type CreatedAt; + type Id; type Draft; + type UpdatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type UpdatedAt = Unset; - type Id = Unset; type CreatedAt = Unset; + type Id = Unset; type Draft = Unset; + type UpdatedAt = Unset; } - ///State transition - sets the `updated_at` field to Set - pub struct SetUpdatedAt(PhantomData S>); - impl sealed::Sealed for SetUpdatedAt {} - impl State for SetUpdatedAt { - type UpdatedAt = Set; + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type CreatedAt = Set; type Id = S::Id; - type CreatedAt = S::CreatedAt; type Draft = S::Draft; + type UpdatedAt = S::UpdatedAt; } ///State transition - sets the `id` field to Set pub struct SetId(PhantomData S>); impl sealed::Sealed for SetId {} impl State for SetId { - type UpdatedAt = S::UpdatedAt; - type Id = Set; type CreatedAt = S::CreatedAt; + type Id = Set; type Draft = S::Draft; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { type UpdatedAt = S::UpdatedAt; - type Id = S::Id; - type CreatedAt = Set; - type Draft = S::Draft; } ///State transition - sets the `draft` field to Set pub struct SetDraft(PhantomData S>); impl sealed::Sealed for SetDraft {} impl State for SetDraft { - type UpdatedAt = S::UpdatedAt; - type Id = S::Id; type CreatedAt = S::CreatedAt; + type Id = S::Id; type Draft = Set; + type UpdatedAt = S::UpdatedAt; + } + ///State transition - sets the `updated_at` field to Set + pub struct SetUpdatedAt(PhantomData S>); + impl sealed::Sealed for SetUpdatedAt {} + impl State for SetUpdatedAt { + type CreatedAt = S::CreatedAt; + type Id = S::Id; + type Draft = S::Draft; + type UpdatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `updated_at` field - pub struct updated_at(()); - ///Marker type for the `id` field - pub struct id(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `id` field + pub struct id(()); ///Marker type for the `draft` field pub struct draft(()); + ///Marker type for the `updated_at` field + pub struct updated_at(()); } } @@ -2310,10 +2366,10 @@ where impl<'a, S> DraftViewBuilder<'a, S> where S: draft_view_state::State, - S::UpdatedAt: draft_view_state::IsSet, - S::Id: draft_view_state::IsSet, S::CreatedAt: draft_view_state::IsSet, + S::Id: draft_view_state::IsSet, S::Draft: draft_view_state::IsSet, + S::UpdatedAt: draft_view_state::IsSet, { /// Build the final struct pub fn build(self) -> DraftView<'a> { @@ -2329,7 +2385,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> DraftView<'a> { @@ -2389,37 +2445,37 @@ pub mod draft_with_id_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Draft; type Id; + type Draft; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Draft = Unset; type Id = Unset; - } - ///State transition - sets the `draft` field to Set - pub struct SetDraft(PhantomData S>); - impl sealed::Sealed for SetDraft {} - impl State for SetDraft { - type Draft = Set; - type Id = S::Id; + type Draft = Unset; } ///State transition - sets the `id` field to Set pub struct SetId(PhantomData S>); impl sealed::Sealed for SetId {} impl State for SetId { - type Draft = S::Draft; type Id = Set; + type Draft = S::Draft; + } + ///State transition - sets the `draft` field to Set + pub struct SetDraft(PhantomData S>); + impl sealed::Sealed for SetDraft {} + impl State for SetDraft { + type Id = S::Id; + type Draft = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `draft` field - pub struct draft(()); ///Marker type for the `id` field pub struct id(()); + ///Marker type for the `draft` field + pub struct draft(()); } } @@ -2492,8 +2548,8 @@ where impl<'a, S> DraftWithIdBuilder<'a, S> where S: draft_with_id_state::State, - S::Draft: draft_with_id_state::IsSet, S::Id: draft_with_id_state::IsSet, + S::Draft: draft_with_id_state::IsSet, { /// Build the final struct pub fn build(self) -> DraftWithId<'a> { @@ -2507,7 +2563,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> DraftWithId<'a> { 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 5a12e3456..006c4882b 100644 --- a/crates/jacquard-api/src/app_bsky/draft/create_draft.rs +++ b/crates/jacquard-api/src/app_bsky/draft/create_draft.rs @@ -113,7 +113,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> CreateDraft<'a> { 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 a4c13f49e..b7204f057 100644 --- a/crates/jacquard-api/src/app_bsky/draft/delete_draft.rs +++ b/crates/jacquard-api/src/app_bsky/draft/delete_draft.rs @@ -114,7 +114,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> DeleteDraft<'a> { 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 7e9da9c02..6ee72a8fa 100644 --- a/crates/jacquard-api/src/app_bsky/draft/update_draft.rs +++ b/crates/jacquard-api/src/app_bsky/draft/update_draft.rs @@ -115,7 +115,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> UpdateDraft<'a> { diff --git a/crates/jacquard-api/src/app_bsky/embed.rs b/crates/jacquard-api/src/app_bsky/embed.rs index 89519f166..e906c3f37 100644 --- a/crates/jacquard-api/src/app_bsky/embed.rs +++ b/crates/jacquard-api/src/app_bsky/embed.rs @@ -153,7 +153,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> AspectRatio<'a> { @@ -176,7 +176,7 @@ fn lexicon_doc_app_bsky_embed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("aspectRatio"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("aspectRatio"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -185,8 +185,8 @@ fn lexicon_doc_app_bsky_embed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("width"), - ::jacquard_common::smol_str::SmolStr::new_static("height") + ::jacquard_common::deps::smol_str::SmolStr::new_static("width"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("height") ], ), nullable: None, @@ -194,7 +194,9 @@ fn lexicon_doc_app_bsky_embed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("height"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "height", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -205,7 +207,9 @@ fn lexicon_doc_app_bsky_embed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("width"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "width", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, diff --git a/crates/jacquard-api/src/app_bsky/embed/external.rs b/crates/jacquard-api/src/app_bsky/embed/external.rs index 87d765030..79d9f5625 100644 --- a/crates/jacquard-api/src/app_bsky/embed/external.rs +++ b/crates/jacquard-api/src/app_bsky/embed/external.rs @@ -38,49 +38,49 @@ pub mod external_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Title; type Description; + type Title; type Uri; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Title = Unset; type Description = Unset; + type Title = Unset; type Uri = Unset; } - ///State transition - sets the `title` field to Set - pub struct SetTitle(PhantomData S>); - impl sealed::Sealed for SetTitle {} - impl State for SetTitle { - type Title = Set; - type Description = S::Description; - type Uri = S::Uri; - } ///State transition - sets the `description` field to Set pub struct SetDescription(PhantomData S>); impl sealed::Sealed for SetDescription {} impl State for SetDescription { - type Title = S::Title; type Description = Set; + type Title = S::Title; + type Uri = S::Uri; + } + ///State transition - sets the `title` field to Set + pub struct SetTitle(PhantomData S>); + impl sealed::Sealed for SetTitle {} + impl State for SetTitle { + type Description = S::Description; + type Title = Set; type Uri = S::Uri; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { - type Title = S::Title; type Description = S::Description; + type Title = S::Title; type Uri = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `title` field - pub struct title(()); ///Marker type for the `description` field pub struct description(()); + ///Marker type for the `title` field + pub struct title(()); ///Marker type for the `uri` field pub struct uri(()); } @@ -195,8 +195,8 @@ where impl<'a, S> ExternalBuilder<'a, S> where S: external_state::State, - S::Title: external_state::IsSet, S::Description: external_state::IsSet, + S::Title: external_state::IsSet, S::Uri: external_state::IsSet, { /// Build the final struct @@ -213,7 +213,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> External<'a> { @@ -238,14 +238,14 @@ fn lexicon_doc_app_bsky_embed_external() -> ::jacquard_lexicon::lexicon::Lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("external"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("external"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("description") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("description") ], ), nullable: None, @@ -253,7 +253,7 @@ fn lexicon_doc_app_bsky_embed_external() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -270,7 +270,9 @@ fn lexicon_doc_app_bsky_embed_external() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("thumb"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "thumb", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -278,7 +280,9 @@ fn lexicon_doc_app_bsky_embed_external() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -293,7 +297,9 @@ fn lexicon_doc_app_bsky_embed_external() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -314,7 +320,7 @@ fn lexicon_doc_app_bsky_embed_external() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -323,7 +329,7 @@ fn lexicon_doc_app_bsky_embed_external() -> ::jacquard_lexicon::lexicon::Lexicon ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("external") + ::jacquard_common::deps::smol_str::SmolStr::new_static("external") ], ), nullable: None, @@ -331,7 +337,9 @@ fn lexicon_doc_app_bsky_embed_external() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("external"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "external", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#external"), @@ -342,12 +350,12 @@ fn lexicon_doc_app_bsky_embed_external() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("view"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("view"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("external") + ::jacquard_common::deps::smol_str::SmolStr::new_static("external") ], ), nullable: None, @@ -355,7 +363,9 @@ fn lexicon_doc_app_bsky_embed_external() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("external"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "external", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -368,14 +378,14 @@ fn lexicon_doc_app_bsky_embed_external() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("viewExternal"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("viewExternal"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("description") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("description") ], ), nullable: None, @@ -383,7 +393,7 @@ fn lexicon_doc_app_bsky_embed_external() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -400,7 +410,9 @@ fn lexicon_doc_app_bsky_embed_external() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("thumb"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "thumb", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -417,7 +429,9 @@ fn lexicon_doc_app_bsky_embed_external() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -432,7 +446,9 @@ fn lexicon_doc_app_bsky_embed_external() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -585,7 +601,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ExternalRecord<'a> { @@ -723,7 +739,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> View<'a> { @@ -959,7 +975,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ViewExternal<'a> { diff --git a/crates/jacquard-api/src/app_bsky/embed/images.rs b/crates/jacquard-api/src/app_bsky/embed/images.rs index 0559b3376..4db4591c6 100644 --- a/crates/jacquard-api/src/app_bsky/embed/images.rs +++ b/crates/jacquard-api/src/app_bsky/embed/images.rs @@ -37,37 +37,37 @@ pub mod image_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Image; type Alt; + type Image; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Image = Unset; type Alt = Unset; - } - ///State transition - sets the `image` field to Set - pub struct SetImage(PhantomData S>); - impl sealed::Sealed for SetImage {} - impl State for SetImage { - type Image = Set; - type Alt = S::Alt; + type Image = Unset; } ///State transition - sets the `alt` field to Set pub struct SetAlt(PhantomData S>); impl sealed::Sealed for SetAlt {} impl State for SetAlt { - type Image = S::Image; type Alt = Set; + type Image = S::Image; + } + ///State transition - sets the `image` field to Set + pub struct SetImage(PhantomData S>); + impl sealed::Sealed for SetImage {} + impl State for SetImage { + type Alt = S::Alt; + type Image = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `image` field - pub struct image(()); ///Marker type for the `alt` field pub struct alt(()); + ///Marker type for the `image` field + pub struct image(()); } } @@ -160,8 +160,8 @@ where impl<'a, S> ImageBuilder<'a, S> where S: image_state::State, - S::Image: image_state::IsSet, S::Alt: image_state::IsSet, + S::Image: image_state::IsSet, { /// Build the final struct pub fn build(self) -> Image<'a> { @@ -176,7 +176,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Image<'a> { @@ -200,13 +200,13 @@ fn lexicon_doc_app_bsky_embed_images() -> ::jacquard_lexicon::lexicon::LexiconDo defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("image"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("image"), - ::jacquard_common::smol_str::SmolStr::new_static("alt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("alt") ], ), nullable: None, @@ -214,7 +214,9 @@ fn lexicon_doc_app_bsky_embed_images() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("alt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "alt", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -233,7 +235,7 @@ fn lexicon_doc_app_bsky_embed_images() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "aspectRatio", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -244,7 +246,9 @@ fn lexicon_doc_app_bsky_embed_images() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -256,18 +260,22 @@ fn lexicon_doc_app_bsky_embed_images() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("images")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("images") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("images"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "images", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -283,18 +291,22 @@ fn lexicon_doc_app_bsky_embed_images() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("view"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("view"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("images")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("images") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("images"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "images", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -310,14 +322,14 @@ fn lexicon_doc_app_bsky_embed_images() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("viewImage"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("viewImage"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("thumb"), - ::jacquard_common::smol_str::SmolStr::new_static("fullsize"), - ::jacquard_common::smol_str::SmolStr::new_static("alt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("thumb"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("fullsize"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("alt") ], ), nullable: None, @@ -325,7 +337,9 @@ fn lexicon_doc_app_bsky_embed_images() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("alt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "alt", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -344,7 +358,7 @@ fn lexicon_doc_app_bsky_embed_images() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "aspectRatio", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -355,7 +369,9 @@ fn lexicon_doc_app_bsky_embed_images() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("fullsize"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "fullsize", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -376,7 +392,9 @@ fn lexicon_doc_app_bsky_embed_images() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("thumb"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "thumb", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -532,7 +550,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Images<'a> { @@ -683,7 +701,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> View<'a> { @@ -760,49 +778,49 @@ pub mod view_image_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Thumb; type Fullsize; + type Thumb; type Alt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Thumb = Unset; type Fullsize = Unset; + type Thumb = Unset; type Alt = Unset; } - ///State transition - sets the `thumb` field to Set - pub struct SetThumb(PhantomData S>); - impl sealed::Sealed for SetThumb {} - impl State for SetThumb { - type Thumb = Set; - type Fullsize = S::Fullsize; - type Alt = S::Alt; - } ///State transition - sets the `fullsize` field to Set pub struct SetFullsize(PhantomData S>); impl sealed::Sealed for SetFullsize {} impl State for SetFullsize { - type Thumb = S::Thumb; type Fullsize = Set; + type Thumb = S::Thumb; + type Alt = S::Alt; + } + ///State transition - sets the `thumb` field to Set + pub struct SetThumb(PhantomData S>); + impl sealed::Sealed for SetThumb {} + impl State for SetThumb { + type Fullsize = S::Fullsize; + type Thumb = Set; type Alt = S::Alt; } ///State transition - sets the `alt` field to Set pub struct SetAlt(PhantomData S>); impl sealed::Sealed for SetAlt {} impl State for SetAlt { - type Thumb = S::Thumb; type Fullsize = S::Fullsize; + type Thumb = S::Thumb; type Alt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `thumb` field - pub struct thumb(()); ///Marker type for the `fullsize` field pub struct fullsize(()); + ///Marker type for the `thumb` field + pub struct thumb(()); ///Marker type for the `alt` field pub struct alt(()); } @@ -917,8 +935,8 @@ where impl<'a, S> ViewImageBuilder<'a, S> where S: view_image_state::State, - S::Thumb: view_image_state::IsSet, S::Fullsize: view_image_state::IsSet, + S::Thumb: view_image_state::IsSet, S::Alt: view_image_state::IsSet, { /// Build the final struct @@ -935,7 +953,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ViewImage<'a> { diff --git a/crates/jacquard-api/src/app_bsky/embed/record.rs b/crates/jacquard-api/src/app_bsky/embed/record.rs index f0679daa8..8ec829d8f 100644 --- a/crates/jacquard-api/src/app_bsky/embed/record.rs +++ b/crates/jacquard-api/src/app_bsky/embed/record.rs @@ -115,7 +115,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Record<'a> { @@ -137,18 +137,22 @@ fn lexicon_doc_app_bsky_embed_record() -> ::jacquard_lexicon::lexicon::LexiconDo defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("record")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("record") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("record"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "record", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -161,18 +165,22 @@ fn lexicon_doc_app_bsky_embed_record() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("view"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("view"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("record")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("record") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("record"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "record", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -193,14 +201,14 @@ fn lexicon_doc_app_bsky_embed_record() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("viewBlocked"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("viewBlocked"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("blocked"), - ::jacquard_common::smol_str::SmolStr::new_static("author") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("blocked"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("author") ], ), nullable: None, @@ -208,7 +216,9 @@ fn lexicon_doc_app_bsky_embed_record() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "author", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -217,7 +227,9 @@ fn lexicon_doc_app_bsky_embed_record() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("blocked"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "blocked", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -225,7 +237,9 @@ fn lexicon_doc_app_bsky_embed_record() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -246,13 +260,13 @@ fn lexicon_doc_app_bsky_embed_record() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("viewDetached"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("viewDetached"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("detached") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("detached") ], ), nullable: None, @@ -260,7 +274,9 @@ fn lexicon_doc_app_bsky_embed_record() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("detached"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "detached", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -268,7 +284,9 @@ fn lexicon_doc_app_bsky_embed_record() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -289,13 +307,13 @@ fn lexicon_doc_app_bsky_embed_record() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("viewNotFound"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("viewNotFound"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("notFound") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("notFound") ], ), nullable: None, @@ -303,7 +321,9 @@ fn lexicon_doc_app_bsky_embed_record() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("notFound"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "notFound", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -311,7 +331,9 @@ fn lexicon_doc_app_bsky_embed_record() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -332,16 +354,16 @@ fn lexicon_doc_app_bsky_embed_record() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("viewRecord"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("viewRecord"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("cid"), - ::jacquard_common::smol_str::SmolStr::new_static("author"), - ::jacquard_common::smol_str::SmolStr::new_static("value"), - ::jacquard_common::smol_str::SmolStr::new_static("indexedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("value"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("indexedAt") ], ), nullable: None, @@ -349,7 +371,9 @@ fn lexicon_doc_app_bsky_embed_record() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "author", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -358,7 +382,9 @@ fn lexicon_doc_app_bsky_embed_record() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -375,7 +401,9 @@ fn lexicon_doc_app_bsky_embed_record() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("embeds"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "embeds", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -394,7 +422,7 @@ fn lexicon_doc_app_bsky_embed_record() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "indexedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -413,7 +441,9 @@ fn lexicon_doc_app_bsky_embed_record() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("labels"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "labels", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -427,7 +457,7 @@ fn lexicon_doc_app_bsky_embed_record() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "likeCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -440,7 +470,7 @@ fn lexicon_doc_app_bsky_embed_record() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "quoteCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -453,7 +483,7 @@ fn lexicon_doc_app_bsky_embed_record() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "replyCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -466,7 +496,7 @@ fn lexicon_doc_app_bsky_embed_record() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "repostCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -479,7 +509,9 @@ fn lexicon_doc_app_bsky_embed_record() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -496,7 +528,9 @@ fn lexicon_doc_app_bsky_embed_record() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("value"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "value", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { description: None, }), @@ -635,7 +669,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> View<'a> { @@ -723,51 +757,51 @@ pub mod view_blocked_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Blocked; - type Author; type Uri; + type Author; + type Blocked; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Blocked = Unset; - type Author = Unset; type Uri = Unset; + type Author = Unset; + type Blocked = Unset; } - ///State transition - sets the `blocked` field to Set - pub struct SetBlocked(PhantomData S>); - impl sealed::Sealed for SetBlocked {} - impl State for SetBlocked { - type Blocked = Set; + ///State transition - sets the `uri` field to Set + pub struct SetUri(PhantomData S>); + impl sealed::Sealed for SetUri {} + impl State for SetUri { + type Uri = Set; type Author = S::Author; - type Uri = S::Uri; + type Blocked = S::Blocked; } ///State transition - sets the `author` field to Set pub struct SetAuthor(PhantomData S>); impl sealed::Sealed for SetAuthor {} impl State for SetAuthor { - type Blocked = S::Blocked; - type Author = Set; type Uri = S::Uri; - } - ///State transition - sets the `uri` field to Set - pub struct SetUri(PhantomData S>); - impl sealed::Sealed for SetUri {} - impl State for SetUri { + type Author = Set; type Blocked = S::Blocked; + } + ///State transition - sets the `blocked` field to Set + pub struct SetBlocked(PhantomData S>); + impl sealed::Sealed for SetBlocked {} + impl State for SetBlocked { + type Uri = S::Uri; type Author = S::Author; - type Uri = Set; + type Blocked = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `blocked` field - pub struct blocked(()); - ///Marker type for the `author` field - pub struct author(()); ///Marker type for the `uri` field pub struct uri(()); + ///Marker type for the `author` field + pub struct author(()); + ///Marker type for the `blocked` field + pub struct blocked(()); } } @@ -860,9 +894,9 @@ where impl<'a, S> ViewBlockedBuilder<'a, S> where S: view_blocked_state::State, - S::Blocked: view_blocked_state::IsSet, - S::Author: view_blocked_state::IsSet, S::Uri: view_blocked_state::IsSet, + S::Author: view_blocked_state::IsSet, + S::Blocked: view_blocked_state::IsSet, { /// Build the final struct pub fn build(self) -> ViewBlocked<'a> { @@ -877,7 +911,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ViewBlocked<'a> { @@ -934,37 +968,37 @@ pub mod view_detached_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Detached; type Uri; + type Detached; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Detached = Unset; type Uri = Unset; - } - ///State transition - sets the `detached` field to Set - pub struct SetDetached(PhantomData S>); - impl sealed::Sealed for SetDetached {} - impl State for SetDetached { - type Detached = Set; - type Uri = S::Uri; + type Detached = Unset; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { - type Detached = S::Detached; type Uri = Set; + type Detached = S::Detached; + } + ///State transition - sets the `detached` field to Set + pub struct SetDetached(PhantomData S>); + impl sealed::Sealed for SetDetached {} + impl State for SetDetached { + type Uri = S::Uri; + type Detached = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `detached` field - pub struct detached(()); ///Marker type for the `uri` field pub struct uri(()); + ///Marker type for the `detached` field + pub struct detached(()); } } @@ -1037,8 +1071,8 @@ where impl<'a, S> ViewDetachedBuilder<'a, S> where S: view_detached_state::State, - S::Detached: view_detached_state::IsSet, S::Uri: view_detached_state::IsSet, + S::Detached: view_detached_state::IsSet, { /// Build the final struct pub fn build(self) -> ViewDetached<'a> { @@ -1052,7 +1086,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ViewDetached<'a> { @@ -1226,7 +1260,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ViewNotFound<'a> { @@ -1303,85 +1337,85 @@ pub mod view_record_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type IndexedAt; - type Author; type Cid; - type Uri; type Value; + type Author; + type IndexedAt; + type Uri; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type IndexedAt = Unset; - type Author = Unset; type Cid = Unset; - type Uri = Unset; type Value = Unset; + type Author = Unset; + type IndexedAt = Unset; + type Uri = Unset; } - ///State transition - sets the `indexed_at` field to Set - pub struct SetIndexedAt(PhantomData S>); - impl sealed::Sealed for SetIndexedAt {} - impl State for SetIndexedAt { - type IndexedAt = Set; + ///State transition - sets the `cid` field to Set + pub struct SetCid(PhantomData S>); + impl sealed::Sealed for SetCid {} + impl State for SetCid { + type Cid = Set; + type Value = S::Value; type Author = S::Author; + type IndexedAt = S::IndexedAt; + type Uri = S::Uri; + } + ///State transition - sets the `value` field to Set + pub struct SetValue(PhantomData S>); + impl sealed::Sealed for SetValue {} + impl State for SetValue { type Cid = S::Cid; + type Value = Set; + type Author = S::Author; + type IndexedAt = S::IndexedAt; type Uri = S::Uri; - type Value = S::Value; } ///State transition - sets the `author` field to Set pub struct SetAuthor(PhantomData S>); impl sealed::Sealed for SetAuthor {} impl State for SetAuthor { - type IndexedAt = S::IndexedAt; - type Author = Set; type Cid = S::Cid; - type Uri = S::Uri; type Value = S::Value; - } - ///State transition - sets the `cid` field to Set - pub struct SetCid(PhantomData S>); - impl sealed::Sealed for SetCid {} - impl State for SetCid { + type Author = Set; type IndexedAt = S::IndexedAt; - type Author = S::Author; - type Cid = Set; type Uri = S::Uri; + } + ///State transition - sets the `indexed_at` field to Set + pub struct SetIndexedAt(PhantomData S>); + impl sealed::Sealed for SetIndexedAt {} + impl State for SetIndexedAt { + type Cid = S::Cid; type Value = S::Value; + type Author = S::Author; + type IndexedAt = Set; + type Uri = S::Uri; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { - type IndexedAt = S::IndexedAt; - type Author = S::Author; type Cid = S::Cid; - type Uri = Set; type Value = S::Value; - } - ///State transition - sets the `value` field to Set - pub struct SetValue(PhantomData S>); - impl sealed::Sealed for SetValue {} - impl State for SetValue { - type IndexedAt = S::IndexedAt; type Author = S::Author; - type Cid = S::Cid; - type Uri = S::Uri; - type Value = Set; + type IndexedAt = S::IndexedAt; + type Uri = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `indexed_at` field - pub struct indexed_at(()); - ///Marker type for the `author` field - pub struct author(()); ///Marker type for the `cid` field pub struct cid(()); - ///Marker type for the `uri` field - pub struct uri(()); ///Marker type for the `value` field pub struct value(()); + ///Marker type for the `author` field + pub struct author(()); + ///Marker type for the `indexed_at` field + pub struct indexed_at(()); + ///Marker type for the `uri` field + pub struct uri(()); } } @@ -1619,11 +1653,11 @@ where impl<'a, S> ViewRecordBuilder<'a, S> where S: view_record_state::State, - S::IndexedAt: view_record_state::IsSet, - S::Author: view_record_state::IsSet, S::Cid: view_record_state::IsSet, - S::Uri: view_record_state::IsSet, S::Value: view_record_state::IsSet, + S::Author: view_record_state::IsSet, + S::IndexedAt: view_record_state::IsSet, + S::Uri: view_record_state::IsSet, { /// Build the final struct pub fn build(self) -> ViewRecord<'a> { @@ -1646,7 +1680,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ViewRecord<'a> { 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 e530d9e9d..fa12b57f2 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 @@ -33,37 +33,37 @@ pub mod record_with_media_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Record; type Media; + type Record; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Record = Unset; type Media = Unset; - } - ///State transition - sets the `record` field to Set - pub struct SetRecord(PhantomData S>); - impl sealed::Sealed for SetRecord {} - impl State for SetRecord { - type Record = Set; - type Media = S::Media; + type Record = Unset; } ///State transition - sets the `media` field to Set pub struct SetMedia(PhantomData S>); impl sealed::Sealed for SetMedia {} impl State for SetMedia { - type Record = S::Record; type Media = Set; + type Record = S::Record; + } + ///State transition - sets the `record` field to Set + pub struct SetRecord(PhantomData S>); + impl sealed::Sealed for SetRecord {} + impl State for SetRecord { + type Media = S::Media; + type Record = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `record` field - pub struct record(()); ///Marker type for the `media` field pub struct media(()); + ///Marker type for the `record` field + pub struct record(()); } } @@ -136,8 +136,8 @@ where impl<'a, S> RecordWithMediaBuilder<'a, S> where S: record_with_media_state::State, - S::Record: record_with_media_state::IsSet, S::Media: record_with_media_state::IsSet, + S::Record: record_with_media_state::IsSet, { /// Build the final struct pub fn build(self) -> RecordWithMedia<'a> { @@ -151,7 +151,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> RecordWithMedia<'a> { @@ -195,13 +195,13 @@ fn lexicon_doc_app_bsky_embed_recordWithMedia() -> ::jacquard_lexicon::lexicon:: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("record"), - ::jacquard_common::smol_str::SmolStr::new_static("media") + ::jacquard_common::deps::smol_str::SmolStr::new_static("record"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("media") ], ), nullable: None, @@ -209,7 +209,9 @@ fn lexicon_doc_app_bsky_embed_recordWithMedia() -> ::jacquard_lexicon::lexicon:: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("media"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "media", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -221,7 +223,9 @@ fn lexicon_doc_app_bsky_embed_recordWithMedia() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("record"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "record", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -234,13 +238,13 @@ fn lexicon_doc_app_bsky_embed_recordWithMedia() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("view"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("view"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("record"), - ::jacquard_common::smol_str::SmolStr::new_static("media") + ::jacquard_common::deps::smol_str::SmolStr::new_static("record"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("media") ], ), nullable: None, @@ -248,7 +252,9 @@ fn lexicon_doc_app_bsky_embed_recordWithMedia() -> ::jacquard_lexicon::lexicon:: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("media"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "media", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -260,7 +266,9 @@ fn lexicon_doc_app_bsky_embed_recordWithMedia() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("record"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "record", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -322,37 +330,37 @@ pub mod view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Record; type Media; + type Record; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Record = Unset; type Media = Unset; - } - ///State transition - sets the `record` field to Set - pub struct SetRecord(PhantomData S>); - impl sealed::Sealed for SetRecord {} - impl State for SetRecord { - type Record = Set; - type Media = S::Media; + type Record = Unset; } ///State transition - sets the `media` field to Set pub struct SetMedia(PhantomData S>); impl sealed::Sealed for SetMedia {} impl State for SetMedia { - type Record = S::Record; type Media = Set; + type Record = S::Record; + } + ///State transition - sets the `record` field to Set + pub struct SetRecord(PhantomData S>); + impl sealed::Sealed for SetRecord {} + impl State for SetRecord { + type Media = S::Media; + type Record = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `record` field - pub struct record(()); ///Marker type for the `media` field pub struct media(()); + ///Marker type for the `record` field + pub struct record(()); } } @@ -425,8 +433,8 @@ where impl<'a, S> ViewBuilder<'a, S> where S: view_state::State, - S::Record: view_state::IsSet, S::Media: view_state::IsSet, + S::Record: view_state::IsSet, { /// Build the final struct pub fn build(self) -> View<'a> { @@ -440,7 +448,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> View<'a> { diff --git a/crates/jacquard-api/src/app_bsky/embed/video.rs b/crates/jacquard-api/src/app_bsky/embed/video.rs index a3d7886bf..ff1896ae9 100644 --- a/crates/jacquard-api/src/app_bsky/embed/video.rs +++ b/crates/jacquard-api/src/app_bsky/embed/video.rs @@ -32,37 +32,37 @@ pub mod caption_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Lang; type File; + type Lang; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Lang = Unset; type File = Unset; - } - ///State transition - sets the `lang` field to Set - pub struct SetLang(PhantomData S>); - impl sealed::Sealed for SetLang {} - impl State for SetLang { - type Lang = Set; - type File = S::File; + type Lang = Unset; } ///State transition - sets the `file` field to Set pub struct SetFile(PhantomData S>); impl sealed::Sealed for SetFile {} impl State for SetFile { - type Lang = S::Lang; type File = Set; + type Lang = S::Lang; + } + ///State transition - sets the `lang` field to Set + pub struct SetLang(PhantomData S>); + impl sealed::Sealed for SetLang {} + impl State for SetLang { + type File = S::File; + type Lang = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `lang` field - pub struct lang(()); ///Marker type for the `file` field pub struct file(()); + ///Marker type for the `lang` field + pub struct lang(()); } } @@ -135,8 +135,8 @@ where impl<'a, S> CaptionBuilder<'a, S> where S: caption_state::State, - S::Lang: caption_state::IsSet, S::File: caption_state::IsSet, + S::Lang: caption_state::IsSet, { /// Build the final struct pub fn build(self) -> Caption<'a> { @@ -150,7 +150,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Caption<'a> { @@ -173,13 +173,13 @@ fn lexicon_doc_app_bsky_embed_video() -> ::jacquard_lexicon::lexicon::LexiconDoc defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("caption"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("caption"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("lang"), - ::jacquard_common::smol_str::SmolStr::new_static("file") + ::jacquard_common::deps::smol_str::SmolStr::new_static("lang"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("file") ], ), nullable: None, @@ -187,7 +187,9 @@ fn lexicon_doc_app_bsky_embed_video() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("file"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "file", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -195,7 +197,9 @@ fn lexicon_doc_app_bsky_embed_video() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("lang"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "lang", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -216,18 +220,22 @@ fn lexicon_doc_app_bsky_embed_video() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("video")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("video") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("alt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "alt", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -246,7 +254,7 @@ fn lexicon_doc_app_bsky_embed_video() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "aspectRatio", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -257,7 +265,9 @@ fn lexicon_doc_app_bsky_embed_video() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("captions"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "captions", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -269,7 +279,7 @@ fn lexicon_doc_app_bsky_embed_video() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "presentation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -290,7 +300,9 @@ fn lexicon_doc_app_bsky_embed_video() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("video"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "video", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -302,13 +314,13 @@ fn lexicon_doc_app_bsky_embed_video() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("view"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("view"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("cid"), - ::jacquard_common::smol_str::SmolStr::new_static("playlist") + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("playlist") ], ), nullable: None, @@ -316,7 +328,9 @@ fn lexicon_doc_app_bsky_embed_video() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("alt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "alt", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -331,7 +345,7 @@ fn lexicon_doc_app_bsky_embed_video() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "aspectRatio", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -342,7 +356,9 @@ fn lexicon_doc_app_bsky_embed_video() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -359,7 +375,9 @@ fn lexicon_doc_app_bsky_embed_video() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("playlist"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "playlist", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -376,7 +394,7 @@ fn lexicon_doc_app_bsky_embed_video() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "presentation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -397,7 +415,7 @@ fn lexicon_doc_app_bsky_embed_video() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "thumbnail", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -641,7 +659,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Video<'a> { @@ -772,7 +790,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Video<'a> { } if let Some(ref value) = self.alt { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -845,37 +863,37 @@ pub mod view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Playlist; type Cid; + type Playlist; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Playlist = Unset; type Cid = Unset; - } - ///State transition - sets the `playlist` field to Set - pub struct SetPlaylist(PhantomData S>); - impl sealed::Sealed for SetPlaylist {} - impl State for SetPlaylist { - type Playlist = Set; - type Cid = S::Cid; + type Playlist = Unset; } ///State transition - sets the `cid` field to Set pub struct SetCid(PhantomData S>); impl sealed::Sealed for SetCid {} impl State for SetCid { - type Playlist = S::Playlist; type Cid = Set; + type Playlist = S::Playlist; + } + ///State transition - sets the `playlist` field to Set + pub struct SetPlaylist(PhantomData S>); + impl sealed::Sealed for SetPlaylist {} + impl State for SetPlaylist { + type Cid = S::Cid; + type Playlist = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `playlist` field - pub struct playlist(()); ///Marker type for the `cid` field pub struct cid(()); + ///Marker type for the `playlist` field + pub struct playlist(()); } } @@ -1019,8 +1037,8 @@ impl<'a, S: view_state::State> ViewBuilder<'a, S> { impl<'a, S> ViewBuilder<'a, S> where S: view_state::State, - S::Playlist: view_state::IsSet, S::Cid: view_state::IsSet, + S::Playlist: view_state::IsSet, { /// Build the final struct pub fn build(self) -> View<'a> { @@ -1038,7 +1056,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> View<'a> { @@ -1170,7 +1188,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for View<'a> { } if let Some(ref value) = self.alt { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) diff --git a/crates/jacquard-api/src/app_bsky/feed.rs b/crates/jacquard-api/src/app_bsky/feed.rs index 310b706db..bf3fdc4df 100644 --- a/crates/jacquard-api/src/app_bsky/feed.rs +++ b/crates/jacquard-api/src/app_bsky/feed.rs @@ -164,7 +164,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> BlockedAuthor<'a> { @@ -185,18 +185,22 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("blockedAuthor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("blockedAuthor"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("did")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("did") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -213,7 +217,9 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("viewer"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "viewer", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -226,14 +232,14 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("blockedPost"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("blockedPost"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("blocked"), - ::jacquard_common::smol_str::SmolStr::new_static("author") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("blocked"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("author") ], ), nullable: None, @@ -241,7 +247,9 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "author", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -250,7 +258,9 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("blocked"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "blocked", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -258,7 +268,9 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -279,31 +291,39 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("clickthroughAuthor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "clickthroughAuthor", + ), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("clickthroughEmbed"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "clickthroughEmbed", + ), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("clickthroughItem"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "clickthroughItem", + ), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("clickthroughReposter"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "clickthroughReposter", + ), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentModeUnspecified", ), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { @@ -311,24 +331,28 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("contentModeVideo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "contentModeVideo", + ), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("feedViewPost"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("feedViewPost"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("post")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("post") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "feedContext", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -349,14 +373,18 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("post"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "post", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#postView"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reason"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reason", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -367,14 +395,18 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reply"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reply", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#replyRef"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reqId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reqId", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -397,17 +429,17 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("generatorView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("generatorView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("cid"), - ::jacquard_common::smol_str::SmolStr::new_static("did"), - ::jacquard_common::smol_str::SmolStr::new_static("creator"), - ::jacquard_common::smol_str::SmolStr::new_static("displayName"), - ::jacquard_common::smol_str::SmolStr::new_static("indexedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("creator"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("displayName"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("indexedAt") ], ), nullable: None, @@ -415,7 +447,7 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "acceptsInteractions", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -425,7 +457,9 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("avatar"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "avatar", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -442,7 +476,9 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -459,7 +495,7 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentMode", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -476,7 +512,9 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("creator"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "creator", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -485,7 +523,7 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -502,7 +540,7 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "descriptionFacets", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -518,7 +556,9 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -535,7 +575,7 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "displayName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -552,7 +592,7 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "indexedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -571,7 +611,9 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("labels"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "labels", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -585,7 +627,7 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "likeCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -598,7 +640,9 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -615,7 +659,9 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("viewer"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "viewer", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -628,7 +674,9 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("generatorViewerState"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "generatorViewerState", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -637,7 +685,9 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("like"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "like", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -658,7 +708,7 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("interaction"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("interaction"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -667,7 +717,9 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("event"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "event", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -682,7 +734,7 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "feedContext", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -703,7 +755,9 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("item"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "item", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -720,7 +774,9 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reqId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reqId", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -743,49 +799,61 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("interactionLike"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "interactionLike", + ), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("interactionQuote"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "interactionQuote", + ), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("interactionReply"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "interactionReply", + ), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("interactionRepost"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "interactionRepost", + ), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("interactionSeen"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "interactionSeen", + ), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("interactionShare"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "interactionShare", + ), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("notFoundPost"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("notFoundPost"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("notFound") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("notFound") ], ), nullable: None, @@ -793,7 +861,9 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("notFound"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "notFound", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -801,7 +871,9 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -822,16 +894,16 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("postView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("postView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("cid"), - ::jacquard_common::smol_str::SmolStr::new_static("author"), - ::jacquard_common::smol_str::SmolStr::new_static("record"), - ::jacquard_common::smol_str::SmolStr::new_static("indexedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("record"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("indexedAt") ], ), nullable: None, @@ -839,7 +911,9 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "author", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -848,7 +922,7 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "bookmarkCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -861,7 +935,9 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -878,13 +954,17 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("debug"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "debug", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("embed"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "embed", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -898,7 +978,7 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "indexedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -917,7 +997,9 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("labels"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "labels", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -931,7 +1013,7 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "likeCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -944,7 +1026,7 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "quoteCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -957,13 +1039,15 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("record"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "record", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "replyCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -976,7 +1060,7 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "repostCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -989,7 +1073,7 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "threadgate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -1000,7 +1084,9 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -1017,7 +1103,9 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("viewer"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "viewer", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#viewerState"), @@ -1028,7 +1116,7 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reasonPin"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("reasonPin"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -1041,13 +1129,13 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reasonRepost"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("reasonRepost"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("by"), - ::jacquard_common::smol_str::SmolStr::new_static("indexedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("by"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("indexedAt") ], ), nullable: None, @@ -1055,7 +1143,7 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("by"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("by"), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -1064,7 +1152,9 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -1081,7 +1171,7 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "indexedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1100,7 +1190,9 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -1121,13 +1213,13 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("replyRef"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("replyRef"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("root"), - ::jacquard_common::smol_str::SmolStr::new_static("parent") + ::jacquard_common::deps::smol_str::SmolStr::new_static("root"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("parent") ], ), nullable: None, @@ -1135,7 +1227,7 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "grandparentAuthor", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -1146,7 +1238,9 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("parent"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "parent", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1158,7 +1252,9 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("root"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "root", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1174,30 +1270,34 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("requestLess"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("requestLess"), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("requestMore"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("requestMore"), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("skeletonFeedPost"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "skeletonFeedPost", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("post")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("post") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "feedContext", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1218,7 +1318,9 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("post"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "post", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -1235,7 +1337,9 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reason"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reason", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1250,7 +1354,9 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("skeletonReasonPin"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "skeletonReasonPin", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -1263,18 +1369,24 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("skeletonReasonRepost"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "skeletonReasonRepost", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("repost")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("repost") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("repost"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "repost", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -1295,7 +1407,7 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("threadContext"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("threadContext"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -1308,7 +1420,7 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "rootAuthorLike", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1331,18 +1443,22 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("threadViewPost"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("threadViewPost"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("post")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("post") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("parent"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "parent", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1354,14 +1470,18 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("post"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "post", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#postView"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("replies"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "replies", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1378,7 +1498,7 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "threadContext", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -1393,7 +1513,7 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("threadgateView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("threadgateView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -1402,7 +1522,9 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -1419,7 +1541,9 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("lists"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "lists", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -1433,13 +1557,17 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("record"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "record", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -1460,7 +1588,7 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("viewerState"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("viewerState"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -1473,7 +1601,7 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "bookmarked", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -1483,7 +1611,7 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "embeddingDisabled", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -1493,7 +1621,9 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("like"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "like", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -1510,7 +1640,9 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("pinned"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "pinned", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -1518,7 +1650,7 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "replyDisabled", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -1528,7 +1660,9 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("repost"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "repost", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -1545,7 +1679,7 @@ fn lexicon_doc_app_bsky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "threadMuted", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -1609,51 +1743,51 @@ pub mod blocked_post_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Blocked; type Author; type Uri; - type Blocked; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Blocked = Unset; type Author = Unset; type Uri = Unset; - type Blocked = Unset; + } + ///State transition - sets the `blocked` field to Set + pub struct SetBlocked(PhantomData S>); + impl sealed::Sealed for SetBlocked {} + impl State for SetBlocked { + type Blocked = Set; + type Author = S::Author; + type Uri = S::Uri; } ///State transition - sets the `author` field to Set pub struct SetAuthor(PhantomData S>); impl sealed::Sealed for SetAuthor {} impl State for SetAuthor { + type Blocked = S::Blocked; type Author = Set; type Uri = S::Uri; - type Blocked = S::Blocked; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { - type Author = S::Author; - type Uri = Set; type Blocked = S::Blocked; - } - ///State transition - sets the `blocked` field to Set - pub struct SetBlocked(PhantomData S>); - impl sealed::Sealed for SetBlocked {} - impl State for SetBlocked { type Author = S::Author; - type Uri = S::Uri; - type Blocked = Set; + type Uri = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `blocked` field + pub struct blocked(()); ///Marker type for the `author` field pub struct author(()); ///Marker type for the `uri` field pub struct uri(()); - ///Marker type for the `blocked` field - pub struct blocked(()); } } @@ -1746,9 +1880,9 @@ where impl<'a, S> BlockedPostBuilder<'a, S> where S: blocked_post_state::State, + S::Blocked: blocked_post_state::IsSet, S::Author: blocked_post_state::IsSet, S::Uri: blocked_post_state::IsSet, - S::Blocked: blocked_post_state::IsSet, { /// Build the final struct pub fn build(self) -> BlockedPost<'a> { @@ -1763,7 +1897,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> BlockedPost<'a> { @@ -2100,7 +2234,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> FeedViewPost<'a> { @@ -2234,105 +2368,105 @@ pub mod generator_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type IndexedAt; type Uri; - type DisplayName; type Did; type Cid; + type DisplayName; type Creator; + type IndexedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type IndexedAt = Unset; type Uri = Unset; - type DisplayName = Unset; type Did = Unset; type Cid = Unset; + type DisplayName = Unset; type Creator = Unset; - } - ///State transition - sets the `indexed_at` field to Set - pub struct SetIndexedAt(PhantomData S>); - impl sealed::Sealed for SetIndexedAt {} - impl State for SetIndexedAt { - type IndexedAt = Set; - type Uri = S::Uri; - type DisplayName = S::DisplayName; - type Did = S::Did; - type Cid = S::Cid; - type Creator = S::Creator; + type IndexedAt = Unset; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { - type IndexedAt = S::IndexedAt; type Uri = Set; - type DisplayName = S::DisplayName; type Did = S::Did; type Cid = S::Cid; + type DisplayName = S::DisplayName; type Creator = S::Creator; - } - ///State transition - sets the `display_name` field to Set - pub struct SetDisplayName(PhantomData S>); - impl sealed::Sealed for SetDisplayName {} - impl State for SetDisplayName { type IndexedAt = S::IndexedAt; - type Uri = S::Uri; - type DisplayName = Set; - type Did = S::Did; - type Cid = S::Cid; - type Creator = S::Creator; } ///State transition - sets the `did` field to Set pub struct SetDid(PhantomData S>); impl sealed::Sealed for SetDid {} impl State for SetDid { - type IndexedAt = S::IndexedAt; type Uri = S::Uri; - type DisplayName = S::DisplayName; type Did = Set; type Cid = S::Cid; + type DisplayName = S::DisplayName; type Creator = S::Creator; + type IndexedAt = S::IndexedAt; } ///State transition - sets the `cid` field to Set pub struct SetCid(PhantomData S>); impl sealed::Sealed for SetCid {} impl State for SetCid { - type IndexedAt = S::IndexedAt; type Uri = S::Uri; - type DisplayName = S::DisplayName; type Did = S::Did; type Cid = Set; + type DisplayName = S::DisplayName; + type Creator = S::Creator; + type IndexedAt = S::IndexedAt; + } + ///State transition - sets the `display_name` field to Set + pub struct SetDisplayName(PhantomData S>); + impl sealed::Sealed for SetDisplayName {} + impl State for SetDisplayName { + type Uri = S::Uri; + type Did = S::Did; + type Cid = S::Cid; + type DisplayName = Set; type Creator = S::Creator; + type IndexedAt = S::IndexedAt; } ///State transition - sets the `creator` field to Set pub struct SetCreator(PhantomData S>); impl sealed::Sealed for SetCreator {} impl State for SetCreator { - type IndexedAt = S::IndexedAt; type Uri = S::Uri; - type DisplayName = S::DisplayName; type Did = S::Did; type Cid = S::Cid; + type DisplayName = S::DisplayName; type Creator = Set; + type IndexedAt = S::IndexedAt; + } + ///State transition - sets the `indexed_at` field to Set + pub struct SetIndexedAt(PhantomData S>); + impl sealed::Sealed for SetIndexedAt {} + impl State for SetIndexedAt { + type Uri = S::Uri; + type Did = S::Did; + type Cid = S::Cid; + type DisplayName = S::DisplayName; + type Creator = S::Creator; + type IndexedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `indexed_at` field - pub struct indexed_at(()); ///Marker type for the `uri` field pub struct uri(()); - ///Marker type for the `display_name` field - pub struct display_name(()); ///Marker type for the `did` field pub struct did(()); ///Marker type for the `cid` field pub struct cid(()); + ///Marker type for the `display_name` field + pub struct display_name(()); ///Marker type for the `creator` field pub struct creator(()); + ///Marker type for the `indexed_at` field + pub struct indexed_at(()); } } @@ -2648,12 +2782,12 @@ impl<'a, S: generator_view_state::State> GeneratorViewBuilder<'a, S> { impl<'a, S> GeneratorViewBuilder<'a, S> where S: generator_view_state::State, - S::IndexedAt: generator_view_state::IsSet, S::Uri: generator_view_state::IsSet, - S::DisplayName: generator_view_state::IsSet, S::Did: generator_view_state::IsSet, S::Cid: generator_view_state::IsSet, + S::DisplayName: generator_view_state::IsSet, S::Creator: generator_view_state::IsSet, + S::IndexedAt: generator_view_state::IsSet, { /// Build the final struct pub fn build(self) -> GeneratorView<'a> { @@ -2679,7 +2813,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> GeneratorView<'a> { @@ -2824,7 +2958,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for GeneratorView<'a> { } if let Some(ref value) = self.description { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -3235,37 +3369,37 @@ pub mod not_found_post_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type NotFound; type Uri; + type NotFound; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type NotFound = Unset; type Uri = Unset; - } - ///State transition - sets the `not_found` field to Set - pub struct SetNotFound(PhantomData S>); - impl sealed::Sealed for SetNotFound {} - impl State for SetNotFound { - type NotFound = Set; - type Uri = S::Uri; + type NotFound = Unset; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { - type NotFound = S::NotFound; type Uri = Set; + type NotFound = S::NotFound; + } + ///State transition - sets the `not_found` field to Set + pub struct SetNotFound(PhantomData S>); + impl sealed::Sealed for SetNotFound {} + impl State for SetNotFound { + type Uri = S::Uri; + type NotFound = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `not_found` field - pub struct not_found(()); ///Marker type for the `uri` field pub struct uri(()); + ///Marker type for the `not_found` field + pub struct not_found(()); } } @@ -3338,8 +3472,8 @@ where impl<'a, S> NotFoundPostBuilder<'a, S> where S: not_found_post_state::State, - S::NotFound: not_found_post_state::IsSet, S::Uri: not_found_post_state::IsSet, + S::NotFound: not_found_post_state::IsSet, { /// Build the final struct pub fn build(self) -> NotFoundPost<'a> { @@ -3353,7 +3487,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> NotFoundPost<'a> { @@ -3441,85 +3575,85 @@ pub mod post_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Record; + type Cid; + type Author; type IndexedAt; type Uri; - type Author; - type Cid; + type Record; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Record = Unset; + type Cid = Unset; + type Author = Unset; type IndexedAt = Unset; type Uri = Unset; - type Author = Unset; - type Cid = Unset; + type Record = Unset; } - ///State transition - sets the `record` field to Set - pub struct SetRecord(PhantomData S>); - impl sealed::Sealed for SetRecord {} - impl State for SetRecord { - type Record = Set; + ///State transition - sets the `cid` field to Set + pub struct SetCid(PhantomData S>); + impl sealed::Sealed for SetCid {} + impl State for SetCid { + type Cid = Set; + type Author = S::Author; type IndexedAt = S::IndexedAt; type Uri = S::Uri; - type Author = S::Author; + type Record = S::Record; + } + ///State transition - sets the `author` field to Set + pub struct SetAuthor(PhantomData S>); + impl sealed::Sealed for SetAuthor {} + impl State for SetAuthor { type Cid = S::Cid; + type Author = Set; + type IndexedAt = S::IndexedAt; + type Uri = S::Uri; + type Record = S::Record; } ///State transition - sets the `indexed_at` field to Set pub struct SetIndexedAt(PhantomData S>); impl sealed::Sealed for SetIndexedAt {} impl State for SetIndexedAt { - type Record = S::Record; + type Cid = S::Cid; + type Author = S::Author; type IndexedAt = Set; type Uri = S::Uri; - type Author = S::Author; - type Cid = S::Cid; + type Record = S::Record; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { - type Record = S::Record; + type Cid = S::Cid; + type Author = S::Author; type IndexedAt = S::IndexedAt; type Uri = Set; - type Author = S::Author; - type Cid = S::Cid; - } - ///State transition - sets the `author` field to Set - pub struct SetAuthor(PhantomData S>); - impl sealed::Sealed for SetAuthor {} - impl State for SetAuthor { type Record = S::Record; - type IndexedAt = S::IndexedAt; - type Uri = S::Uri; - type Author = Set; - type Cid = S::Cid; } - ///State transition - sets the `cid` field to Set - pub struct SetCid(PhantomData S>); - impl sealed::Sealed for SetCid {} - impl State for SetCid { - type Record = S::Record; + ///State transition - sets the `record` field to Set + pub struct SetRecord(PhantomData S>); + impl sealed::Sealed for SetRecord {} + impl State for SetRecord { + type Cid = S::Cid; + type Author = S::Author; type IndexedAt = S::IndexedAt; type Uri = S::Uri; - type Author = S::Author; - type Cid = Set; + type Record = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `record` field - pub struct record(()); + ///Marker type for the `cid` field + pub struct cid(()); + ///Marker type for the `author` field + pub struct author(()); ///Marker type for the `indexed_at` field pub struct indexed_at(()); ///Marker type for the `uri` field pub struct uri(()); - ///Marker type for the `author` field - pub struct author(()); - ///Marker type for the `cid` field - pub struct cid(()); + ///Marker type for the `record` field + pub struct record(()); } } @@ -3832,11 +3966,11 @@ impl<'a, S: post_view_state::State> PostViewBuilder<'a, S> { impl<'a, S> PostViewBuilder<'a, S> where S: post_view_state::State, - S::Record: post_view_state::IsSet, + S::Cid: post_view_state::IsSet, + S::Author: post_view_state::IsSet, S::IndexedAt: post_view_state::IsSet, S::Uri: post_view_state::IsSet, - S::Author: post_view_state::IsSet, - S::Cid: post_view_state::IsSet, + S::Record: post_view_state::IsSet, { /// Build the final struct pub fn build(self) -> PostView<'a> { @@ -3863,7 +3997,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> PostView<'a> { @@ -4153,7 +4287,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ReasonRepost<'a> { @@ -4357,7 +4491,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ReplyRef<'a> { @@ -4621,7 +4755,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> SkeletonFeedPost<'a> { @@ -4825,7 +4959,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> SkeletonReasonRepost<'a> { @@ -5065,7 +5199,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ThreadViewPost<'a> { 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 20f6e8a6a..c1c8eac16 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 @@ -115,7 +115,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Feed<'a> { @@ -137,18 +137,22 @@ fn lexicon_doc_app_bsky_feed_describeFeedGenerator() -> ::jacquard_lexicon::lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("feed"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("feed"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("uri")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -169,7 +173,7 @@ fn lexicon_doc_app_bsky_feed_describeFeedGenerator() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("links"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("links"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -178,7 +182,7 @@ fn lexicon_doc_app_bsky_feed_describeFeedGenerator() -> ::jacquard_lexicon::lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "privacyPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -195,7 +199,7 @@ fn lexicon_doc_app_bsky_feed_describeFeedGenerator() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "termsOfService", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -216,7 +220,7 @@ fn lexicon_doc_app_bsky_feed_describeFeedGenerator() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcQuery(::jacquard_lexicon::lexicon::LexXrpcQuery { description: None, parameters: None, diff --git a/crates/jacquard-api/src/app_bsky/feed/generator.rs b/crates/jacquard-api/src/app_bsky/feed/generator.rs index 60b7b3d97..3daacf099 100644 --- a/crates/jacquard-api/src/app_bsky/feed/generator.rs +++ b/crates/jacquard-api/src/app_bsky/feed/generator.rs @@ -56,51 +56,51 @@ pub mod generator_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type Did; type DisplayName; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type Did = Unset; type DisplayName = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Did = S::Did; - type DisplayName = S::DisplayName; + type CreatedAt = Unset; } ///State transition - sets the `did` field to Set pub struct SetDid(PhantomData S>); impl sealed::Sealed for SetDid {} impl State for SetDid { - type CreatedAt = S::CreatedAt; type Did = Set; type DisplayName = S::DisplayName; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `display_name` field to Set pub struct SetDisplayName(PhantomData S>); impl sealed::Sealed for SetDisplayName {} impl State for SetDisplayName { - type CreatedAt = S::CreatedAt; type Did = S::Did; type DisplayName = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Did = S::Did; + type DisplayName = S::DisplayName; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `did` field pub struct did(()); ///Marker type for the `display_name` field pub struct display_name(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -317,9 +317,9 @@ impl<'a, S: generator_state::State> GeneratorBuilder<'a, S> { impl<'a, S> GeneratorBuilder<'a, S> where S: generator_state::State, - S::CreatedAt: generator_state::IsSet, S::Did: generator_state::IsSet, S::DisplayName: generator_state::IsSet, + S::CreatedAt: generator_state::IsSet, { /// Build the final struct pub fn build(self) -> Generator<'a> { @@ -340,7 +340,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Generator<'a> { @@ -541,7 +541,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Generator<'a> { } if let Some(ref value) = self.description { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -573,7 +573,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Generator<'a> { { let value = &self.display_name; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -604,7 +604,7 @@ fn lexicon_doc_app_bsky_feed_generator() -> ::jacquard_lexicon::lexicon::Lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -616,9 +616,9 @@ fn lexicon_doc_app_bsky_feed_generator() -> ::jacquard_lexicon::lexicon::Lexicon description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("did"), - ::jacquard_common::smol_str::SmolStr::new_static("displayName"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("displayName"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -626,7 +626,7 @@ fn lexicon_doc_app_bsky_feed_generator() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "acceptsInteractions", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -636,7 +636,9 @@ fn lexicon_doc_app_bsky_feed_generator() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("avatar"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "avatar", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -644,7 +646,7 @@ fn lexicon_doc_app_bsky_feed_generator() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentMode", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -661,7 +663,7 @@ fn lexicon_doc_app_bsky_feed_generator() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -680,7 +682,7 @@ fn lexicon_doc_app_bsky_feed_generator() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -697,7 +699,7 @@ fn lexicon_doc_app_bsky_feed_generator() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "descriptionFacets", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -713,7 +715,9 @@ fn lexicon_doc_app_bsky_feed_generator() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -730,7 +734,7 @@ fn lexicon_doc_app_bsky_feed_generator() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "displayName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -747,7 +751,9 @@ fn lexicon_doc_app_bsky_feed_generator() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("labels"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "labels", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: Some( ::jacquard_common::CowStr::new_static("Self-label values"), 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 eaa643f8d..40bfbcf14 100644 --- a/crates/jacquard-api/src/app_bsky/feed/get_likes.rs +++ b/crates/jacquard-api/src/app_bsky/feed/get_likes.rs @@ -33,51 +33,51 @@ pub mod like_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type IndexedAt; type CreatedAt; type Actor; - type IndexedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type IndexedAt = Unset; type CreatedAt = Unset; type Actor = Unset; - type IndexedAt = Unset; + } + ///State transition - sets the `indexed_at` field to Set + pub struct SetIndexedAt(PhantomData S>); + impl sealed::Sealed for SetIndexedAt {} + impl State for SetIndexedAt { + type IndexedAt = Set; + type CreatedAt = S::CreatedAt; + type Actor = S::Actor; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { + type IndexedAt = S::IndexedAt; type CreatedAt = Set; type Actor = S::Actor; - type IndexedAt = S::IndexedAt; } ///State transition - sets the `actor` field to Set pub struct SetActor(PhantomData S>); impl sealed::Sealed for SetActor {} impl State for SetActor { - type CreatedAt = S::CreatedAt; - type Actor = Set; type IndexedAt = S::IndexedAt; - } - ///State transition - sets the `indexed_at` field to Set - pub struct SetIndexedAt(PhantomData S>); - impl sealed::Sealed for SetIndexedAt {} - impl State for SetIndexedAt { type CreatedAt = S::CreatedAt; - type Actor = S::Actor; - type IndexedAt = Set; + type Actor = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `indexed_at` field + pub struct indexed_at(()); ///Marker type for the `created_at` field pub struct created_at(()); ///Marker type for the `actor` field pub struct actor(()); - ///Marker type for the `indexed_at` field - pub struct indexed_at(()); } } @@ -170,9 +170,9 @@ where impl<'a, S> LikeBuilder<'a, S> where S: like_state::State, + S::IndexedAt: like_state::IsSet, S::CreatedAt: like_state::IsSet, S::Actor: like_state::IsSet, - S::IndexedAt: like_state::IsSet, { /// Build the final struct pub fn build(self) -> Like<'a> { @@ -187,7 +187,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Like<'a> { @@ -211,14 +211,14 @@ fn lexicon_doc_app_bsky_feed_getLikes() -> ::jacquard_lexicon::lexicon::LexiconD defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("like"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("like"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("indexedAt"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt"), - ::jacquard_common::smol_str::SmolStr::new_static("actor") + ::jacquard_common::deps::smol_str::SmolStr::new_static("indexedAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("actor") ], ), nullable: None, @@ -226,7 +226,9 @@ fn lexicon_doc_app_bsky_feed_getLikes() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("actor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "actor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -235,7 +237,7 @@ fn lexicon_doc_app_bsky_feed_getLikes() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -254,7 +256,7 @@ fn lexicon_doc_app_bsky_feed_getLikes() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "indexedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -277,7 +279,7 @@ fn lexicon_doc_app_bsky_feed_getLikes() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcQuery(::jacquard_lexicon::lexicon::LexXrpcQuery { description: None, parameters: Some( @@ -285,14 +287,16 @@ fn lexicon_doc_app_bsky_feed_getLikes() -> ::jacquard_lexicon::lexicon::LexiconD description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri") ], ), properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -313,7 +317,9 @@ fn lexicon_doc_app_bsky_feed_getLikes() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cursor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cursor", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -328,7 +334,9 @@ fn lexicon_doc_app_bsky_feed_getLikes() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("limit"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "limit", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -339,7 +347,9 @@ fn lexicon_doc_app_bsky_feed_getLikes() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/app_bsky/feed/like.rs b/crates/jacquard-api/src/app_bsky/feed/like.rs index 0f43928cb..2fc1397f0 100644 --- a/crates/jacquard-api/src/app_bsky/feed/like.rs +++ b/crates/jacquard-api/src/app_bsky/feed/like.rs @@ -36,37 +36,37 @@ pub mod like_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type Subject; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type Subject = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Subject = S::Subject; + type CreatedAt = Unset; } ///State transition - sets the `subject` field to Set pub struct SetSubject(PhantomData S>); impl sealed::Sealed for SetSubject {} impl State for SetSubject { - type CreatedAt = S::CreatedAt; type Subject = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Subject = S::Subject; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `subject` field pub struct subject(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -159,8 +159,8 @@ impl<'a, S: like_state::State> LikeBuilder<'a, S> { impl<'a, S> LikeBuilder<'a, S> where S: like_state::State, - S::CreatedAt: like_state::IsSet, S::Subject: like_state::IsSet, + S::CreatedAt: like_state::IsSet, { /// Build the final struct pub fn build(self) -> Like<'a> { @@ -175,7 +175,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Like<'a> { @@ -275,7 +275,7 @@ fn lexicon_doc_app_bsky_feed_like() -> ::jacquard_lexicon::lexicon::LexiconDoc<' defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -287,8 +287,8 @@ fn lexicon_doc_app_bsky_feed_like() -> ::jacquard_lexicon::lexicon::LexiconDoc<' description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -296,7 +296,7 @@ fn lexicon_doc_app_bsky_feed_like() -> ::jacquard_lexicon::lexicon::LexiconDoc<' #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -315,7 +315,9 @@ fn lexicon_doc_app_bsky_feed_like() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -324,7 +326,9 @@ fn lexicon_doc_app_bsky_feed_like() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("via"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "via", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/app_bsky/feed/post.rs b/crates/jacquard-api/src/app_bsky/feed/post.rs index 9ca416a7b..b15a4d609 100644 --- a/crates/jacquard-api/src/app_bsky/feed/post.rs +++ b/crates/jacquard-api/src/app_bsky/feed/post.rs @@ -191,7 +191,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Entity<'a> { @@ -213,7 +213,7 @@ fn lexicon_doc_app_bsky_feed_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<' defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("entity"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("entity"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -222,9 +222,9 @@ fn lexicon_doc_app_bsky_feed_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<' ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("index"), - ::jacquard_common::smol_str::SmolStr::new_static("type"), - ::jacquard_common::smol_str::SmolStr::new_static("value") + ::jacquard_common::deps::smol_str::SmolStr::new_static("index"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("value") ], ), nullable: None, @@ -232,14 +232,18 @@ fn lexicon_doc_app_bsky_feed_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<' #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("index"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "index", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#textSlice"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "type", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -258,7 +262,9 @@ fn lexicon_doc_app_bsky_feed_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("value"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "value", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -277,7 +283,7 @@ fn lexicon_doc_app_bsky_feed_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -289,8 +295,8 @@ fn lexicon_doc_app_bsky_feed_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<' description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("text"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -298,7 +304,7 @@ fn lexicon_doc_app_bsky_feed_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<' #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -321,7 +327,9 @@ fn lexicon_doc_app_bsky_feed_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("embed"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "embed", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -335,7 +343,7 @@ fn lexicon_doc_app_bsky_feed_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "entities", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -353,7 +361,9 @@ fn lexicon_doc_app_bsky_feed_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("facets"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "facets", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -371,7 +381,9 @@ fn lexicon_doc_app_bsky_feed_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("labels"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "labels", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: Some( ::jacquard_common::CowStr::new_static( @@ -385,7 +397,9 @@ fn lexicon_doc_app_bsky_feed_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("langs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "langs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -411,14 +425,18 @@ fn lexicon_doc_app_bsky_feed_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reply"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reply", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#replyRef"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tags", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -442,7 +460,9 @@ fn lexicon_doc_app_bsky_feed_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -466,13 +486,13 @@ fn lexicon_doc_app_bsky_feed_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("replyRef"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("replyRef"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("root"), - ::jacquard_common::smol_str::SmolStr::new_static("parent") + ::jacquard_common::deps::smol_str::SmolStr::new_static("root"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("parent") ], ), nullable: None, @@ -480,7 +500,9 @@ fn lexicon_doc_app_bsky_feed_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<' #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("parent"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "parent", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -489,7 +511,9 @@ fn lexicon_doc_app_bsky_feed_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("root"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "root", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -502,7 +526,7 @@ fn lexicon_doc_app_bsky_feed_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("textSlice"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("textSlice"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -511,8 +535,8 @@ fn lexicon_doc_app_bsky_feed_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<' ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("start"), - ::jacquard_common::smol_str::SmolStr::new_static("end") + ::jacquard_common::deps::smol_str::SmolStr::new_static("start"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("end") ], ), nullable: None, @@ -520,7 +544,9 @@ fn lexicon_doc_app_bsky_feed_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<' #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("end"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "end", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -531,7 +557,9 @@ fn lexicon_doc_app_bsky_feed_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("start"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "start", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -622,37 +650,37 @@ pub mod post_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Text; type CreatedAt; + type Text; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Text = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `text` field to Set - pub struct SetText(PhantomData S>); - impl sealed::Sealed for SetText {} - impl State for SetText { - type Text = Set; - type CreatedAt = S::CreatedAt; + type Text = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Text = S::Text; type CreatedAt = Set; + type Text = S::Text; + } + ///State transition - sets the `text` field to Set + pub struct SetText(PhantomData S>); + impl sealed::Sealed for SetText {} + impl State for SetText { + type CreatedAt = S::CreatedAt; + type Text = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `text` field - pub struct text(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `text` field + pub struct text(()); } } @@ -869,8 +897,8 @@ where impl<'a, S> PostBuilder<'a, S> where S: post_state::State, - S::Text: post_state::IsSet, S::CreatedAt: post_state::IsSet, + S::Text: post_state::IsSet, { /// Build the final struct pub fn build(self) -> Post<'a> { @@ -891,7 +919,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Post<'a> { @@ -1049,7 +1077,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Post<'a> { { let value = &self.text; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -1097,37 +1125,37 @@ pub mod reply_ref_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Root; type Parent; + type Root; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Root = Unset; type Parent = Unset; - } - ///State transition - sets the `root` field to Set - pub struct SetRoot(PhantomData S>); - impl sealed::Sealed for SetRoot {} - impl State for SetRoot { - type Root = Set; - type Parent = S::Parent; + type Root = Unset; } ///State transition - sets the `parent` field to Set pub struct SetParent(PhantomData S>); impl sealed::Sealed for SetParent {} impl State for SetParent { - type Root = S::Root; type Parent = Set; + type Root = S::Root; + } + ///State transition - sets the `root` field to Set + pub struct SetRoot(PhantomData S>); + impl sealed::Sealed for SetRoot {} + impl State for SetRoot { + type Parent = S::Parent; + type Root = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `root` field - pub struct root(()); ///Marker type for the `parent` field pub struct parent(()); + ///Marker type for the `root` field + pub struct root(()); } } @@ -1200,8 +1228,8 @@ where impl<'a, S> ReplyRefBuilder<'a, S> where S: reply_ref_state::State, - S::Root: reply_ref_state::IsSet, S::Parent: reply_ref_state::IsSet, + S::Root: reply_ref_state::IsSet, { /// Build the final struct pub fn build(self) -> ReplyRef<'a> { @@ -1215,7 +1243,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ReplyRef<'a> { @@ -1271,37 +1299,37 @@ pub mod text_slice_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Start; type End; + type Start; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Start = Unset; type End = Unset; - } - ///State transition - sets the `start` field to Set - pub struct SetStart(PhantomData S>); - impl sealed::Sealed for SetStart {} - impl State for SetStart { - type Start = Set; - type End = S::End; + type Start = Unset; } ///State transition - sets the `end` field to Set pub struct SetEnd(PhantomData S>); impl sealed::Sealed for SetEnd {} impl State for SetEnd { - type Start = S::Start; type End = Set; + type Start = S::Start; + } + ///State transition - sets the `start` field to Set + pub struct SetStart(PhantomData S>); + impl sealed::Sealed for SetStart {} + impl State for SetStart { + type End = S::End; + type Start = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `start` field - pub struct start(()); ///Marker type for the `end` field pub struct end(()); + ///Marker type for the `start` field + pub struct start(()); } } @@ -1371,8 +1399,8 @@ where impl<'a, S> TextSliceBuilder<'a, S> where S: text_slice_state::State, - S::Start: text_slice_state::IsSet, S::End: text_slice_state::IsSet, + S::Start: text_slice_state::IsSet, { /// Build the final struct pub fn build(self) -> TextSlice<'a> { @@ -1386,7 +1414,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> TextSlice<'a> { diff --git a/crates/jacquard-api/src/app_bsky/feed/postgate.rs b/crates/jacquard-api/src/app_bsky/feed/postgate.rs index 3d1d3c77f..d0302eaec 100644 --- a/crates/jacquard-api/src/app_bsky/feed/postgate.rs +++ b/crates/jacquard-api/src/app_bsky/feed/postgate.rs @@ -30,7 +30,7 @@ fn lexicon_doc_app_bsky_feed_postgate() -> ::jacquard_lexicon::lexicon::LexiconD defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("disableRule"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("disableRule"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -47,7 +47,7 @@ fn lexicon_doc_app_bsky_feed_postgate() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -59,8 +59,8 @@ fn lexicon_doc_app_bsky_feed_postgate() -> ::jacquard_lexicon::lexicon::LexiconD description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("post"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("post"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -68,7 +68,7 @@ fn lexicon_doc_app_bsky_feed_postgate() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -87,7 +87,7 @@ fn lexicon_doc_app_bsky_feed_postgate() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "detachedEmbeddingUris", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -115,7 +115,7 @@ fn lexicon_doc_app_bsky_feed_postgate() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "embeddingRules", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -136,7 +136,9 @@ fn lexicon_doc_app_bsky_feed_postgate() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("post"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "post", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -384,7 +386,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Postgate<'a> { diff --git a/crates/jacquard-api/src/app_bsky/feed/repost.rs b/crates/jacquard-api/src/app_bsky/feed/repost.rs index 2325253e8..7cc991e76 100644 --- a/crates/jacquard-api/src/app_bsky/feed/repost.rs +++ b/crates/jacquard-api/src/app_bsky/feed/repost.rs @@ -175,7 +175,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Repost<'a> { @@ -277,7 +277,7 @@ fn lexicon_doc_app_bsky_feed_repost() -> ::jacquard_lexicon::lexicon::LexiconDoc defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -289,8 +289,8 @@ fn lexicon_doc_app_bsky_feed_repost() -> ::jacquard_lexicon::lexicon::LexiconDoc description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -298,7 +298,7 @@ fn lexicon_doc_app_bsky_feed_repost() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -317,7 +317,9 @@ fn lexicon_doc_app_bsky_feed_repost() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -326,7 +328,9 @@ fn lexicon_doc_app_bsky_feed_repost() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("via"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "via", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( 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 0a86e1dec..d4c00333a 100644 --- a/crates/jacquard-api/src/app_bsky/feed/send_interactions.rs +++ b/crates/jacquard-api/src/app_bsky/feed/send_interactions.rs @@ -139,7 +139,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> SendInteractions<'a> { diff --git a/crates/jacquard-api/src/app_bsky/feed/threadgate.rs b/crates/jacquard-api/src/app_bsky/feed/threadgate.rs index 1282b43a0..0c5c0580d 100644 --- a/crates/jacquard-api/src/app_bsky/feed/threadgate.rs +++ b/crates/jacquard-api/src/app_bsky/feed/threadgate.rs @@ -30,7 +30,7 @@ fn lexicon_doc_app_bsky_feed_threadgate() -> ::jacquard_lexicon::lexicon::Lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("followerRule"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("followerRule"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -47,7 +47,7 @@ fn lexicon_doc_app_bsky_feed_threadgate() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("followingRule"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("followingRule"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -64,7 +64,7 @@ fn lexicon_doc_app_bsky_feed_threadgate() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("listRule"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("listRule"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -72,14 +72,18 @@ fn lexicon_doc_app_bsky_feed_threadgate() -> ::jacquard_lexicon::lexicon::Lexico ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("list")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("list") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("list"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "list", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -100,7 +104,7 @@ fn lexicon_doc_app_bsky_feed_threadgate() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -112,8 +116,8 @@ fn lexicon_doc_app_bsky_feed_threadgate() -> ::jacquard_lexicon::lexicon::Lexico description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("post"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("post"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -121,7 +125,9 @@ fn lexicon_doc_app_bsky_feed_threadgate() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("allow"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "allow", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -143,7 +149,7 @@ fn lexicon_doc_app_bsky_feed_threadgate() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -162,7 +168,7 @@ fn lexicon_doc_app_bsky_feed_threadgate() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hiddenReplies", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -190,7 +196,9 @@ fn lexicon_doc_app_bsky_feed_threadgate() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("post"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "post", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -216,7 +224,7 @@ fn lexicon_doc_app_bsky_feed_threadgate() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("mentionRule"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("mentionRule"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -396,7 +404,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ListRule<'a> { @@ -620,7 +628,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Threadgate<'a> { diff --git a/crates/jacquard-api/src/app_bsky/graph.rs b/crates/jacquard-api/src/app_bsky/graph.rs index ffcc6d5ad..f904e1909 100644 --- a/crates/jacquard-api/src/app_bsky/graph.rs +++ b/crates/jacquard-api/src/app_bsky/graph.rs @@ -200,7 +200,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ListItemView<'a> { @@ -223,19 +223,19 @@ fn lexicon_doc_app_bsky_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("curatelist"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("curatelist"), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("listItemView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("listItemView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("subject") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject") ], ), nullable: None, @@ -243,7 +243,9 @@ fn lexicon_doc_app_bsky_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -252,7 +254,9 @@ fn lexicon_doc_app_bsky_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -273,7 +277,7 @@ fn lexicon_doc_app_bsky_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("listPurpose"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("listPurpose"), ::jacquard_lexicon::lexicon::LexUserType::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -288,17 +292,17 @@ fn lexicon_doc_app_bsky_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("listView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("listView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("cid"), - ::jacquard_common::smol_str::SmolStr::new_static("creator"), - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("purpose"), - ::jacquard_common::smol_str::SmolStr::new_static("indexedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("creator"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("purpose"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("indexedAt") ], ), nullable: None, @@ -306,7 +310,9 @@ fn lexicon_doc_app_bsky_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("avatar"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "avatar", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -323,7 +329,9 @@ fn lexicon_doc_app_bsky_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -340,7 +348,9 @@ fn lexicon_doc_app_bsky_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("creator"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "creator", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -349,7 +359,7 @@ fn lexicon_doc_app_bsky_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -366,7 +376,7 @@ fn lexicon_doc_app_bsky_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "descriptionFacets", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -382,7 +392,7 @@ fn lexicon_doc_app_bsky_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "indexedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -401,7 +411,9 @@ fn lexicon_doc_app_bsky_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("labels"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "labels", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -415,7 +427,7 @@ fn lexicon_doc_app_bsky_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "listItemCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -428,7 +440,9 @@ fn lexicon_doc_app_bsky_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -443,14 +457,18 @@ fn lexicon_doc_app_bsky_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("purpose"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "purpose", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#listPurpose"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -467,7 +485,9 @@ fn lexicon_doc_app_bsky_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("viewer"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "viewer", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -480,15 +500,15 @@ fn lexicon_doc_app_bsky_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("listViewBasic"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("listViewBasic"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("cid"), - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("purpose") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("purpose") ], ), nullable: None, @@ -496,7 +516,9 @@ fn lexicon_doc_app_bsky_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("avatar"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "avatar", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -513,7 +535,9 @@ fn lexicon_doc_app_bsky_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -530,7 +554,7 @@ fn lexicon_doc_app_bsky_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "indexedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -549,7 +573,9 @@ fn lexicon_doc_app_bsky_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("labels"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "labels", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -563,7 +589,7 @@ fn lexicon_doc_app_bsky_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "listItemCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -576,7 +602,9 @@ fn lexicon_doc_app_bsky_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -591,14 +619,18 @@ fn lexicon_doc_app_bsky_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("purpose"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "purpose", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#listPurpose"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -615,7 +647,9 @@ fn lexicon_doc_app_bsky_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("viewer"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "viewer", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -628,7 +662,9 @@ fn lexicon_doc_app_bsky_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("listViewerState"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "listViewerState", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -637,7 +673,9 @@ fn lexicon_doc_app_bsky_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("blocked"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "blocked", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -654,7 +692,9 @@ fn lexicon_doc_app_bsky_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("muted"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "muted", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -666,13 +706,13 @@ fn lexicon_doc_app_bsky_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("modlist"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("modlist"), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("notFoundActor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("notFoundActor"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -681,8 +721,8 @@ fn lexicon_doc_app_bsky_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("actor"), - ::jacquard_common::smol_str::SmolStr::new_static("notFound") + ::jacquard_common::deps::smol_str::SmolStr::new_static("actor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("notFound") ], ), nullable: None, @@ -690,7 +730,9 @@ fn lexicon_doc_app_bsky_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("actor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "actor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -707,7 +749,9 @@ fn lexicon_doc_app_bsky_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("notFound"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "notFound", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -719,13 +763,13 @@ fn lexicon_doc_app_bsky_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("referencelist"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("referencelist"), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("relationship"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("relationship"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -733,14 +777,16 @@ fn lexicon_doc_app_bsky_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("did")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("did") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "blockedBy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -763,7 +809,7 @@ fn lexicon_doc_app_bsky_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "blockedByList", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -786,7 +832,9 @@ fn lexicon_doc_app_bsky_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("blocking"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "blocking", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -807,7 +855,7 @@ fn lexicon_doc_app_bsky_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "blockingByList", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -830,7 +878,9 @@ fn lexicon_doc_app_bsky_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -847,7 +897,7 @@ fn lexicon_doc_app_bsky_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "followedBy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -870,7 +920,7 @@ fn lexicon_doc_app_bsky_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "following", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -897,16 +947,18 @@ fn lexicon_doc_app_bsky_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("starterPackView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "starterPackView", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("cid"), - ::jacquard_common::smol_str::SmolStr::new_static("record"), - ::jacquard_common::smol_str::SmolStr::new_static("creator"), - ::jacquard_common::smol_str::SmolStr::new_static("indexedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("record"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("creator"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("indexedAt") ], ), nullable: None, @@ -914,7 +966,9 @@ fn lexicon_doc_app_bsky_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -931,7 +985,9 @@ fn lexicon_doc_app_bsky_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("creator"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "creator", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -940,7 +996,9 @@ fn lexicon_doc_app_bsky_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("feeds"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "feeds", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -954,7 +1012,7 @@ fn lexicon_doc_app_bsky_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "indexedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -973,7 +1031,7 @@ fn lexicon_doc_app_bsky_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "joinedAllTimeCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -986,7 +1044,7 @@ fn lexicon_doc_app_bsky_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "joinedWeekCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -999,7 +1057,9 @@ fn lexicon_doc_app_bsky_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("labels"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "labels", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -1013,7 +1073,9 @@ fn lexicon_doc_app_bsky_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("list"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "list", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -1022,7 +1084,7 @@ fn lexicon_doc_app_bsky_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "listItemsSample", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -1038,13 +1100,17 @@ fn lexicon_doc_app_bsky_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("record"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "record", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -1065,16 +1131,18 @@ fn lexicon_doc_app_bsky_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("starterPackViewBasic"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "starterPackViewBasic", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("cid"), - ::jacquard_common::smol_str::SmolStr::new_static("record"), - ::jacquard_common::smol_str::SmolStr::new_static("creator"), - ::jacquard_common::smol_str::SmolStr::new_static("indexedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("record"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("creator"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("indexedAt") ], ), nullable: None, @@ -1082,7 +1150,9 @@ fn lexicon_doc_app_bsky_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -1099,7 +1169,9 @@ fn lexicon_doc_app_bsky_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("creator"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "creator", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -1108,7 +1180,7 @@ fn lexicon_doc_app_bsky_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "indexedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1127,7 +1199,7 @@ fn lexicon_doc_app_bsky_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "joinedAllTimeCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1140,7 +1212,7 @@ fn lexicon_doc_app_bsky_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "joinedWeekCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1153,7 +1225,9 @@ fn lexicon_doc_app_bsky_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("labels"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "labels", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -1167,7 +1241,7 @@ fn lexicon_doc_app_bsky_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "listItemCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1180,13 +1254,17 @@ fn lexicon_doc_app_bsky_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("record"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "record", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -1373,105 +1451,105 @@ pub mod list_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type IndexedAt; - type Creator; - type Uri; - type Name; type Purpose; + type Uri; type Cid; + type IndexedAt; + type Name; + type Creator; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type IndexedAt = Unset; - type Creator = Unset; - type Uri = Unset; - type Name = Unset; type Purpose = Unset; + type Uri = Unset; type Cid = Unset; + type IndexedAt = Unset; + type Name = Unset; + type Creator = Unset; } - ///State transition - sets the `indexed_at` field to Set - pub struct SetIndexedAt(PhantomData S>); - impl sealed::Sealed for SetIndexedAt {} - impl State for SetIndexedAt { - type IndexedAt = Set; - type Creator = S::Creator; + ///State transition - sets the `purpose` field to Set + pub struct SetPurpose(PhantomData S>); + impl sealed::Sealed for SetPurpose {} + impl State for SetPurpose { + type Purpose = Set; type Uri = S::Uri; - type Name = S::Name; - type Purpose = S::Purpose; type Cid = S::Cid; - } - ///State transition - sets the `creator` field to Set - pub struct SetCreator(PhantomData S>); - impl sealed::Sealed for SetCreator {} - impl State for SetCreator { type IndexedAt = S::IndexedAt; - type Creator = Set; - type Uri = S::Uri; type Name = S::Name; - type Purpose = S::Purpose; - type Cid = S::Cid; + type Creator = S::Creator; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { + type Purpose = S::Purpose; + type Uri = Set; + type Cid = S::Cid; type IndexedAt = S::IndexedAt; + type Name = S::Name; type Creator = S::Creator; - type Uri = Set; + } + ///State transition - sets the `cid` field to Set + pub struct SetCid(PhantomData S>); + impl sealed::Sealed for SetCid {} + impl State for SetCid { + type Purpose = S::Purpose; + type Uri = S::Uri; + type Cid = Set; + type IndexedAt = S::IndexedAt; type Name = S::Name; + type Creator = S::Creator; + } + ///State transition - sets the `indexed_at` field to Set + pub struct SetIndexedAt(PhantomData S>); + impl sealed::Sealed for SetIndexedAt {} + impl State for SetIndexedAt { type Purpose = S::Purpose; + type Uri = S::Uri; type Cid = S::Cid; + type IndexedAt = Set; + type Name = S::Name; + type Creator = S::Creator; } ///State transition - sets the `name` field to Set pub struct SetName(PhantomData S>); impl sealed::Sealed for SetName {} impl State for SetName { - type IndexedAt = S::IndexedAt; - type Creator = S::Creator; - type Uri = S::Uri; - type Name = Set; type Purpose = S::Purpose; + type Uri = S::Uri; type Cid = S::Cid; - } - ///State transition - sets the `purpose` field to Set - pub struct SetPurpose(PhantomData S>); - impl sealed::Sealed for SetPurpose {} - impl State for SetPurpose { type IndexedAt = S::IndexedAt; + type Name = Set; type Creator = S::Creator; + } + ///State transition - sets the `creator` field to Set + pub struct SetCreator(PhantomData S>); + impl sealed::Sealed for SetCreator {} + impl State for SetCreator { + type Purpose = S::Purpose; type Uri = S::Uri; - type Name = S::Name; - type Purpose = Set; type Cid = S::Cid; - } - ///State transition - sets the `cid` field to Set - pub struct SetCid(PhantomData S>); - impl sealed::Sealed for SetCid {} - impl State for SetCid { type IndexedAt = S::IndexedAt; - type Creator = S::Creator; - type Uri = S::Uri; type Name = S::Name; - type Purpose = S::Purpose; - type Cid = Set; + type Creator = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `indexed_at` field - pub struct indexed_at(()); - ///Marker type for the `creator` field - pub struct creator(()); - ///Marker type for the `uri` field - pub struct uri(()); - ///Marker type for the `name` field - pub struct name(()); ///Marker type for the `purpose` field pub struct purpose(()); + ///Marker type for the `uri` field + pub struct uri(()); ///Marker type for the `cid` field pub struct cid(()); + ///Marker type for the `indexed_at` field + pub struct indexed_at(()); + ///Marker type for the `name` field + pub struct name(()); + ///Marker type for the `creator` field + pub struct creator(()); } } @@ -1751,12 +1829,12 @@ impl<'a, S: list_view_state::State> ListViewBuilder<'a, S> { impl<'a, S> ListViewBuilder<'a, S> where S: list_view_state::State, - S::IndexedAt: list_view_state::IsSet, - S::Creator: list_view_state::IsSet, - S::Uri: list_view_state::IsSet, - S::Name: list_view_state::IsSet, S::Purpose: list_view_state::IsSet, + S::Uri: list_view_state::IsSet, S::Cid: list_view_state::IsSet, + S::IndexedAt: list_view_state::IsSet, + S::Name: list_view_state::IsSet, + S::Creator: list_view_state::IsSet, { /// Build the final struct pub fn build(self) -> ListView<'a> { @@ -1780,7 +1858,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ListView<'a> { @@ -1829,7 +1907,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ListView<'a> { } if let Some(ref value) = self.description { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -1932,66 +2010,66 @@ pub mod list_view_basic_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Uri; - type Name; type Cid; type Purpose; + type Name; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Uri = Unset; - type Name = Unset; type Cid = Unset; type Purpose = Unset; + type Name = Unset; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { type Uri = Set; - type Name = S::Name; - type Cid = S::Cid; - type Purpose = S::Purpose; - } - ///State transition - sets the `name` field to Set - pub struct SetName(PhantomData S>); - impl sealed::Sealed for SetName {} - impl State for SetName { - type Uri = S::Uri; - type Name = Set; type Cid = S::Cid; type Purpose = S::Purpose; + type Name = S::Name; } ///State transition - sets the `cid` field to Set pub struct SetCid(PhantomData S>); impl sealed::Sealed for SetCid {} impl State for SetCid { type Uri = S::Uri; - type Name = S::Name; type Cid = Set; type Purpose = S::Purpose; + type Name = S::Name; } ///State transition - sets the `purpose` field to Set pub struct SetPurpose(PhantomData S>); impl sealed::Sealed for SetPurpose {} impl State for SetPurpose { type Uri = S::Uri; - type Name = S::Name; type Cid = S::Cid; type Purpose = Set; + type Name = S::Name; + } + ///State transition - sets the `name` field to Set + pub struct SetName(PhantomData S>); + impl sealed::Sealed for SetName {} + impl State for SetName { + type Uri = S::Uri; + type Cid = S::Cid; + type Purpose = S::Purpose; + type Name = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `uri` field pub struct uri(()); - ///Marker type for the `name` field - pub struct name(()); ///Marker type for the `cid` field pub struct cid(()); ///Marker type for the `purpose` field pub struct purpose(()); + ///Marker type for the `name` field + pub struct name(()); } } @@ -2209,9 +2287,9 @@ impl<'a, S> ListViewBasicBuilder<'a, S> where S: list_view_basic_state::State, S::Uri: list_view_basic_state::IsSet, - S::Name: list_view_basic_state::IsSet, S::Cid: list_view_basic_state::IsSet, S::Purpose: list_view_basic_state::IsSet, + S::Name: list_view_basic_state::IsSet, { /// Build the final struct pub fn build(self) -> ListViewBasic<'a> { @@ -2232,7 +2310,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ListViewBasic<'a> { @@ -2506,7 +2584,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> NotFoundActor<'a> { @@ -2814,7 +2892,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Relationship<'a> { @@ -2899,85 +2977,85 @@ pub mod starter_pack_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Creator; + type IndexedAt; type Uri; type Cid; - type IndexedAt; type Record; - type Creator; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Creator = Unset; + type IndexedAt = Unset; type Uri = Unset; type Cid = Unset; - type IndexedAt = Unset; type Record = Unset; - type Creator = Unset; + } + ///State transition - sets the `creator` field to Set + pub struct SetCreator(PhantomData S>); + impl sealed::Sealed for SetCreator {} + impl State for SetCreator { + type Creator = Set; + type IndexedAt = S::IndexedAt; + type Uri = S::Uri; + type Cid = S::Cid; + type Record = S::Record; + } + ///State transition - sets the `indexed_at` field to Set + pub struct SetIndexedAt(PhantomData S>); + impl sealed::Sealed for SetIndexedAt {} + impl State for SetIndexedAt { + type Creator = S::Creator; + type IndexedAt = Set; + type Uri = S::Uri; + type Cid = S::Cid; + type Record = S::Record; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { + type Creator = S::Creator; + type IndexedAt = S::IndexedAt; type Uri = Set; type Cid = S::Cid; - type IndexedAt = S::IndexedAt; type Record = S::Record; - type Creator = S::Creator; } ///State transition - sets the `cid` field to Set pub struct SetCid(PhantomData S>); impl sealed::Sealed for SetCid {} impl State for SetCid { - type Uri = S::Uri; - type Cid = Set; - type IndexedAt = S::IndexedAt; - type Record = S::Record; type Creator = S::Creator; - } - ///State transition - sets the `indexed_at` field to Set - pub struct SetIndexedAt(PhantomData S>); - impl sealed::Sealed for SetIndexedAt {} - impl State for SetIndexedAt { + type IndexedAt = S::IndexedAt; type Uri = S::Uri; - type Cid = S::Cid; - type IndexedAt = Set; + type Cid = Set; type Record = S::Record; - type Creator = S::Creator; } ///State transition - sets the `record` field to Set pub struct SetRecord(PhantomData S>); impl sealed::Sealed for SetRecord {} impl State for SetRecord { - type Uri = S::Uri; - type Cid = S::Cid; - type IndexedAt = S::IndexedAt; - type Record = Set; type Creator = S::Creator; - } - ///State transition - sets the `creator` field to Set - pub struct SetCreator(PhantomData S>); - impl sealed::Sealed for SetCreator {} - impl State for SetCreator { + type IndexedAt = S::IndexedAt; type Uri = S::Uri; type Cid = S::Cid; - type IndexedAt = S::IndexedAt; - type Record = S::Record; - type Creator = Set; + type Record = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `creator` field + pub struct creator(()); + ///Marker type for the `indexed_at` field + pub struct indexed_at(()); ///Marker type for the `uri` field pub struct uri(()); ///Marker type for the `cid` field pub struct cid(()); - ///Marker type for the `indexed_at` field - pub struct indexed_at(()); ///Marker type for the `record` field pub struct record(()); - ///Marker type for the `creator` field - pub struct creator(()); } } @@ -3230,11 +3308,11 @@ where impl<'a, S> StarterPackViewBuilder<'a, S> where S: starter_pack_view_state::State, + S::Creator: starter_pack_view_state::IsSet, + S::IndexedAt: starter_pack_view_state::IsSet, S::Uri: starter_pack_view_state::IsSet, S::Cid: starter_pack_view_state::IsSet, - S::IndexedAt: starter_pack_view_state::IsSet, S::Record: starter_pack_view_state::IsSet, - S::Creator: starter_pack_view_state::IsSet, { /// Build the final struct pub fn build(self) -> StarterPackView<'a> { @@ -3257,7 +3335,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> StarterPackView<'a> { @@ -3383,85 +3461,85 @@ pub mod starter_pack_view_basic_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Creator; type Record; + type Uri; + type Creator; type IndexedAt; type Cid; - type Uri; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Creator = Unset; type Record = Unset; + type Uri = Unset; + type Creator = Unset; type IndexedAt = Unset; type Cid = Unset; - type Uri = Unset; - } - ///State transition - sets the `creator` field to Set - pub struct SetCreator(PhantomData S>); - impl sealed::Sealed for SetCreator {} - impl State for SetCreator { - type Creator = Set; - type Record = S::Record; - type IndexedAt = S::IndexedAt; - type Cid = S::Cid; - type Uri = S::Uri; } ///State transition - sets the `record` field to Set pub struct SetRecord(PhantomData S>); impl sealed::Sealed for SetRecord {} impl State for SetRecord { - type Creator = S::Creator; type Record = Set; + type Uri = S::Uri; + type Creator = S::Creator; type IndexedAt = S::IndexedAt; type Cid = S::Cid; + } + ///State transition - sets the `uri` field to Set + pub struct SetUri(PhantomData S>); + impl sealed::Sealed for SetUri {} + impl State for SetUri { + type Record = S::Record; + type Uri = Set; + type Creator = S::Creator; + type IndexedAt = S::IndexedAt; + type Cid = S::Cid; + } + ///State transition - sets the `creator` field to Set + pub struct SetCreator(PhantomData S>); + impl sealed::Sealed for SetCreator {} + impl State for SetCreator { + type Record = S::Record; type Uri = S::Uri; + type Creator = Set; + type IndexedAt = S::IndexedAt; + type Cid = S::Cid; } ///State transition - sets the `indexed_at` field to Set pub struct SetIndexedAt(PhantomData S>); impl sealed::Sealed for SetIndexedAt {} impl State for SetIndexedAt { - type Creator = S::Creator; type Record = S::Record; + type Uri = S::Uri; + type Creator = S::Creator; type IndexedAt = Set; type Cid = S::Cid; - type Uri = S::Uri; } ///State transition - sets the `cid` field to Set pub struct SetCid(PhantomData S>); impl sealed::Sealed for SetCid {} impl State for SetCid { - type Creator = S::Creator; type Record = S::Record; - type IndexedAt = S::IndexedAt; - type Cid = Set; type Uri = S::Uri; - } - ///State transition - sets the `uri` field to Set - pub struct SetUri(PhantomData S>); - impl sealed::Sealed for SetUri {} - impl State for SetUri { type Creator = S::Creator; - type Record = S::Record; type IndexedAt = S::IndexedAt; - type Cid = S::Cid; - type Uri = Set; + type Cid = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `creator` field - pub struct creator(()); ///Marker type for the `record` field pub struct record(()); + ///Marker type for the `uri` field + pub struct uri(()); + ///Marker type for the `creator` field + pub struct creator(()); ///Marker type for the `indexed_at` field pub struct indexed_at(()); ///Marker type for the `cid` field pub struct cid(()); - ///Marker type for the `uri` field - pub struct uri(()); } } @@ -3672,11 +3750,11 @@ where impl<'a, S> StarterPackViewBasicBuilder<'a, S> where S: starter_pack_view_basic_state::State, - S::Creator: starter_pack_view_basic_state::IsSet, S::Record: starter_pack_view_basic_state::IsSet, + S::Uri: starter_pack_view_basic_state::IsSet, + S::Creator: starter_pack_view_basic_state::IsSet, S::IndexedAt: starter_pack_view_basic_state::IsSet, S::Cid: starter_pack_view_basic_state::IsSet, - S::Uri: starter_pack_view_basic_state::IsSet, { /// Build the final struct pub fn build(self) -> StarterPackViewBasic<'a> { @@ -3697,7 +3775,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> StarterPackViewBasic<'a> { diff --git a/crates/jacquard-api/src/app_bsky/graph/block.rs b/crates/jacquard-api/src/app_bsky/graph/block.rs index 81bf46a8f..9c44ac296 100644 --- a/crates/jacquard-api/src/app_bsky/graph/block.rs +++ b/crates/jacquard-api/src/app_bsky/graph/block.rs @@ -152,7 +152,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Block<'a> { @@ -253,7 +253,7 @@ fn lexicon_doc_app_bsky_graph_block() -> ::jacquard_lexicon::lexicon::LexiconDoc defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -265,8 +265,8 @@ fn lexicon_doc_app_bsky_graph_block() -> ::jacquard_lexicon::lexicon::LexiconDoc description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -274,7 +274,7 @@ fn lexicon_doc_app_bsky_graph_block() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -293,7 +293,9 @@ fn lexicon_doc_app_bsky_graph_block() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/app_bsky/graph/follow.rs b/crates/jacquard-api/src/app_bsky/graph/follow.rs index 648570c26..efdf7cf16 100644 --- a/crates/jacquard-api/src/app_bsky/graph/follow.rs +++ b/crates/jacquard-api/src/app_bsky/graph/follow.rs @@ -175,7 +175,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Follow<'a> { @@ -277,7 +277,7 @@ fn lexicon_doc_app_bsky_graph_follow() -> ::jacquard_lexicon::lexicon::LexiconDo defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -289,8 +289,8 @@ fn lexicon_doc_app_bsky_graph_follow() -> ::jacquard_lexicon::lexicon::LexiconDo description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -298,7 +298,7 @@ fn lexicon_doc_app_bsky_graph_follow() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -317,7 +317,9 @@ fn lexicon_doc_app_bsky_graph_follow() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -334,7 +336,9 @@ fn lexicon_doc_app_bsky_graph_follow() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("via"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "via", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( 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 2940421d4..d12332a2a 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 @@ -140,7 +140,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ListWithMembership<'a> { @@ -165,7 +165,9 @@ fn lexicon_doc_app_bsky_graph_getListsWithMembership() -> ::jacquard_lexicon::le defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("listWithMembership"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "listWithMembership", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -173,14 +175,18 @@ fn lexicon_doc_app_bsky_graph_getListsWithMembership() -> ::jacquard_lexicon::le ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("list")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("list") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("list"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "list", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -189,7 +195,9 @@ fn lexicon_doc_app_bsky_graph_getListsWithMembership() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("listItem"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "listItem", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -202,7 +210,7 @@ fn lexicon_doc_app_bsky_graph_getListsWithMembership() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcQuery(::jacquard_lexicon::lexicon::LexXrpcQuery { description: None, parameters: Some( @@ -210,14 +218,16 @@ fn lexicon_doc_app_bsky_graph_getListsWithMembership() -> ::jacquard_lexicon::le description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("actor") + ::jacquard_common::deps::smol_str::SmolStr::new_static("actor") ], ), properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("actor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "actor", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -238,7 +248,9 @@ fn lexicon_doc_app_bsky_graph_getListsWithMembership() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cursor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cursor", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -253,7 +265,9 @@ fn lexicon_doc_app_bsky_graph_getListsWithMembership() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("limit"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "limit", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -264,7 +278,7 @@ fn lexicon_doc_app_bsky_graph_getListsWithMembership() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "purposes", ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::Array(::jacquard_lexicon::lexicon::LexPrimitiveArray { 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 4b40aa91d..f7da49476 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 @@ -368,7 +368,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> StarterPackWithMembership<'a> { @@ -393,7 +393,7 @@ fn lexicon_doc_app_bsky_graph_getStarterPacksWithMembership() -> ::jacquard_lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcQuery(::jacquard_lexicon::lexicon::LexXrpcQuery { description: None, parameters: Some( @@ -401,14 +401,16 @@ fn lexicon_doc_app_bsky_graph_getStarterPacksWithMembership() -> ::jacquard_lexi description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("actor") + ::jacquard_common::deps::smol_str::SmolStr::new_static("actor") ], ), properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("actor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "actor", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -429,7 +431,9 @@ fn lexicon_doc_app_bsky_graph_getStarterPacksWithMembership() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cursor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cursor", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -444,7 +448,9 @@ fn lexicon_doc_app_bsky_graph_getStarterPacksWithMembership() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("limit"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "limit", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -463,7 +469,7 @@ fn lexicon_doc_app_bsky_graph_getStarterPacksWithMembership() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "starterPackWithMembership", ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { @@ -474,7 +480,7 @@ fn lexicon_doc_app_bsky_graph_getStarterPacksWithMembership() -> ::jacquard_lexi ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("starterPack") + ::jacquard_common::deps::smol_str::SmolStr::new_static("starterPack") ], ), nullable: None, @@ -482,7 +488,9 @@ fn lexicon_doc_app_bsky_graph_getStarterPacksWithMembership() -> ::jacquard_lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("listItem"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "listItem", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -491,7 +499,7 @@ fn lexicon_doc_app_bsky_graph_getStarterPacksWithMembership() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "starterPack", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { diff --git a/crates/jacquard-api/src/app_bsky/graph/list.rs b/crates/jacquard-api/src/app_bsky/graph/list.rs index 1928e9253..dd2d142ae 100644 --- a/crates/jacquard-api/src/app_bsky/graph/list.rs +++ b/crates/jacquard-api/src/app_bsky/graph/list.rs @@ -51,49 +51,49 @@ pub mod list_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Purpose; type Name; + type Purpose; type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Purpose = Unset; type Name = Unset; + type Purpose = Unset; type CreatedAt = Unset; } - ///State transition - sets the `purpose` field to Set - pub struct SetPurpose(PhantomData S>); - impl sealed::Sealed for SetPurpose {} - impl State for SetPurpose { - type Purpose = Set; - type Name = S::Name; - type CreatedAt = S::CreatedAt; - } ///State transition - sets the `name` field to Set pub struct SetName(PhantomData S>); impl sealed::Sealed for SetName {} impl State for SetName { - type Purpose = S::Purpose; type Name = Set; + type Purpose = S::Purpose; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `purpose` field to Set + pub struct SetPurpose(PhantomData S>); + impl sealed::Sealed for SetPurpose {} + impl State for SetPurpose { + type Name = S::Name; + type Purpose = Set; type CreatedAt = S::CreatedAt; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Purpose = S::Purpose; type Name = S::Name; + type Purpose = S::Purpose; type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `purpose` field - pub struct purpose(()); ///Marker type for the `name` field pub struct name(()); + ///Marker type for the `purpose` field + pub struct purpose(()); ///Marker type for the `created_at` field pub struct created_at(()); } @@ -268,8 +268,8 @@ where impl<'a, S> ListBuilder<'a, S> where S: list_state::State, - S::Purpose: list_state::IsSet, S::Name: list_state::IsSet, + S::Purpose: list_state::IsSet, S::CreatedAt: list_state::IsSet, { /// Build the final struct @@ -289,7 +289,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> List<'a> { @@ -394,7 +394,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for List<'a> { } if let Some(ref value) = self.description { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -451,7 +451,7 @@ fn lexicon_doc_app_bsky_graph_list() -> ::jacquard_lexicon::lexicon::LexiconDoc< defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -463,9 +463,9 @@ fn lexicon_doc_app_bsky_graph_list() -> ::jacquard_lexicon::lexicon::LexiconDoc< description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("purpose"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("purpose"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -473,7 +473,9 @@ fn lexicon_doc_app_bsky_graph_list() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("avatar"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "avatar", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -481,7 +483,7 @@ fn lexicon_doc_app_bsky_graph_list() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -500,7 +502,7 @@ fn lexicon_doc_app_bsky_graph_list() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -517,7 +519,7 @@ fn lexicon_doc_app_bsky_graph_list() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "descriptionFacets", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -533,7 +535,9 @@ fn lexicon_doc_app_bsky_graph_list() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("labels"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "labels", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -543,7 +547,9 @@ fn lexicon_doc_app_bsky_graph_list() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -562,7 +568,9 @@ fn lexicon_doc_app_bsky_graph_list() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("purpose"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "purpose", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/app_bsky/graph/listblock.rs b/crates/jacquard-api/src/app_bsky/graph/listblock.rs index 84dfe126b..ee3cea633 100644 --- a/crates/jacquard-api/src/app_bsky/graph/listblock.rs +++ b/crates/jacquard-api/src/app_bsky/graph/listblock.rs @@ -152,7 +152,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Listblock<'a> { @@ -253,7 +253,7 @@ fn lexicon_doc_app_bsky_graph_listblock() -> ::jacquard_lexicon::lexicon::Lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -265,8 +265,8 @@ fn lexicon_doc_app_bsky_graph_listblock() -> ::jacquard_lexicon::lexicon::Lexico description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -274,7 +274,7 @@ fn lexicon_doc_app_bsky_graph_listblock() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -293,7 +293,9 @@ fn lexicon_doc_app_bsky_graph_listblock() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/app_bsky/graph/listitem.rs b/crates/jacquard-api/src/app_bsky/graph/listitem.rs index b6f37076b..31c6a1bf7 100644 --- a/crates/jacquard-api/src/app_bsky/graph/listitem.rs +++ b/crates/jacquard-api/src/app_bsky/graph/listitem.rs @@ -37,49 +37,49 @@ pub mod listitem_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type Subject; + type CreatedAt; type List; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type Subject = Unset; + type CreatedAt = Unset; type List = Unset; } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Subject = S::Subject; - type List = S::List; - } ///State transition - sets the `subject` field to Set pub struct SetSubject(PhantomData S>); impl sealed::Sealed for SetSubject {} impl State for SetSubject { - type CreatedAt = S::CreatedAt; type Subject = Set; + type CreatedAt = S::CreatedAt; + type List = S::List; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Subject = S::Subject; + type CreatedAt = Set; type List = S::List; } ///State transition - sets the `list` field to Set pub struct SetList(PhantomData S>); impl sealed::Sealed for SetList {} impl State for SetList { - type CreatedAt = S::CreatedAt; type Subject = S::Subject; + type CreatedAt = S::CreatedAt; type List = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `subject` field pub struct subject(()); + ///Marker type for the `created_at` field + pub struct created_at(()); ///Marker type for the `list` field pub struct list(()); } @@ -174,8 +174,8 @@ where impl<'a, S> ListitemBuilder<'a, S> where S: listitem_state::State, - S::CreatedAt: listitem_state::IsSet, S::Subject: listitem_state::IsSet, + S::CreatedAt: listitem_state::IsSet, S::List: listitem_state::IsSet, { /// Build the final struct @@ -191,7 +191,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Listitem<'a> { @@ -293,7 +293,7 @@ fn lexicon_doc_app_bsky_graph_listitem() -> ::jacquard_lexicon::lexicon::Lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -305,9 +305,9 @@ fn lexicon_doc_app_bsky_graph_listitem() -> ::jacquard_lexicon::lexicon::Lexicon description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("list"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("list"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -315,7 +315,7 @@ fn lexicon_doc_app_bsky_graph_listitem() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -334,7 +334,9 @@ fn lexicon_doc_app_bsky_graph_listitem() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("list"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "list", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -355,7 +357,9 @@ fn lexicon_doc_app_bsky_graph_listitem() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( 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 9b926021f..70e113b09 100644 --- a/crates/jacquard-api/src/app_bsky/graph/mute_actor.rs +++ b/crates/jacquard-api/src/app_bsky/graph/mute_actor.rs @@ -115,7 +115,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> MuteActor<'a> { 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 05a345d9d..2876341b9 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 @@ -115,7 +115,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> MuteActorList<'a> { 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 c44da1561..e909d7112 100644 --- a/crates/jacquard-api/src/app_bsky/graph/mute_thread.rs +++ b/crates/jacquard-api/src/app_bsky/graph/mute_thread.rs @@ -115,7 +115,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> MuteThread<'a> { diff --git a/crates/jacquard-api/src/app_bsky/graph/starterpack.rs b/crates/jacquard-api/src/app_bsky/graph/starterpack.rs index 5052ac7e8..52f91473b 100644 --- a/crates/jacquard-api/src/app_bsky/graph/starterpack.rs +++ b/crates/jacquard-api/src/app_bsky/graph/starterpack.rs @@ -115,7 +115,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> FeedItem<'a> { @@ -137,18 +137,22 @@ fn lexicon_doc_app_bsky_graph_starterpack() -> ::jacquard_lexicon::lexicon::Lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("feedItem"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("feedItem"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("uri")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -169,7 +173,7 @@ fn lexicon_doc_app_bsky_graph_starterpack() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -181,9 +185,9 @@ fn lexicon_doc_app_bsky_graph_starterpack() -> ::jacquard_lexicon::lexicon::Lexi description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("list"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("list"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -191,7 +195,7 @@ fn lexicon_doc_app_bsky_graph_starterpack() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -210,7 +214,7 @@ fn lexicon_doc_app_bsky_graph_starterpack() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -227,7 +231,7 @@ fn lexicon_doc_app_bsky_graph_starterpack() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "descriptionFacets", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -243,7 +247,9 @@ fn lexicon_doc_app_bsky_graph_starterpack() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("feeds"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "feeds", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -255,7 +261,9 @@ fn lexicon_doc_app_bsky_graph_starterpack() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("list"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "list", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -276,7 +284,9 @@ fn lexicon_doc_app_bsky_graph_starterpack() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -366,51 +376,51 @@ pub mod starterpack_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Name; - type CreatedAt; type List; + type CreatedAt; + type Name; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Name = Unset; - type CreatedAt = Unset; type List = Unset; + type CreatedAt = Unset; + type Name = Unset; } - ///State transition - sets the `name` field to Set - pub struct SetName(PhantomData S>); - impl sealed::Sealed for SetName {} - impl State for SetName { - type Name = Set; + ///State transition - sets the `list` field to Set + pub struct SetList(PhantomData S>); + impl sealed::Sealed for SetList {} + impl State for SetList { + type List = Set; type CreatedAt = S::CreatedAt; - type List = S::List; + type Name = S::Name; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Name = S::Name; - type CreatedAt = Set; type List = S::List; - } - ///State transition - sets the `list` field to Set - pub struct SetList(PhantomData S>); - impl sealed::Sealed for SetList {} - impl State for SetList { + type CreatedAt = Set; type Name = S::Name; + } + ///State transition - sets the `name` field to Set + pub struct SetName(PhantomData S>); + impl sealed::Sealed for SetName {} + impl State for SetName { + type List = S::List; type CreatedAt = S::CreatedAt; - type List = Set; + type Name = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `name` field - pub struct name(()); - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `list` field pub struct list(()); + ///Marker type for the `created_at` field + pub struct created_at(()); + ///Marker type for the `name` field + pub struct name(()); } } @@ -563,9 +573,9 @@ where impl<'a, S> StarterpackBuilder<'a, S> where S: starterpack_state::State, - S::Name: starterpack_state::IsSet, - S::CreatedAt: starterpack_state::IsSet, S::List: starterpack_state::IsSet, + S::CreatedAt: starterpack_state::IsSet, + S::Name: starterpack_state::IsSet, { /// Build the final struct pub fn build(self) -> Starterpack<'a> { @@ -583,7 +593,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Starterpack<'a> { @@ -687,7 +697,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Starterpack<'a> { } if let Some(ref value) = self.description { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -744,7 +754,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Starterpack<'a> { { let value = &self.name; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) 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 ecba3ec69..e2e7e31b6 100644 --- a/crates/jacquard-api/src/app_bsky/graph/unmute_actor.rs +++ b/crates/jacquard-api/src/app_bsky/graph/unmute_actor.rs @@ -115,7 +115,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> UnmuteActor<'a> { 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 9976e4709..df7e86294 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 @@ -115,7 +115,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> UnmuteActorList<'a> { 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 9ee777090..cf6ca383d 100644 --- a/crates/jacquard-api/src/app_bsky/graph/unmute_thread.rs +++ b/crates/jacquard-api/src/app_bsky/graph/unmute_thread.rs @@ -115,7 +115,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> UnmuteThread<'a> { diff --git a/crates/jacquard-api/src/app_bsky/graph/verification.rs b/crates/jacquard-api/src/app_bsky/graph/verification.rs index 845696978..cf3c78b83 100644 --- a/crates/jacquard-api/src/app_bsky/graph/verification.rs +++ b/crates/jacquard-api/src/app_bsky/graph/verification.rs @@ -41,67 +41,67 @@ pub mod verification_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type DisplayName; type Handle; - type Subject; + type DisplayName; type CreatedAt; + type Subject; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type DisplayName = Unset; type Handle = Unset; - type Subject = Unset; + type DisplayName = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `display_name` field to Set - pub struct SetDisplayName(PhantomData S>); - impl sealed::Sealed for SetDisplayName {} - impl State for SetDisplayName { - type DisplayName = Set; - type Handle = S::Handle; - type Subject = S::Subject; - type CreatedAt = S::CreatedAt; + type Subject = Unset; } ///State transition - sets the `handle` field to Set pub struct SetHandle(PhantomData S>); impl sealed::Sealed for SetHandle {} impl State for SetHandle { - type DisplayName = S::DisplayName; type Handle = Set; - type Subject = S::Subject; + type DisplayName = S::DisplayName; type CreatedAt = S::CreatedAt; + type Subject = S::Subject; } - ///State transition - sets the `subject` field to Set - pub struct SetSubject(PhantomData S>); - impl sealed::Sealed for SetSubject {} - impl State for SetSubject { - type DisplayName = S::DisplayName; + ///State transition - sets the `display_name` field to Set + pub struct SetDisplayName(PhantomData S>); + impl sealed::Sealed for SetDisplayName {} + impl State for SetDisplayName { type Handle = S::Handle; - type Subject = Set; + type DisplayName = Set; type CreatedAt = S::CreatedAt; + type Subject = S::Subject; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type DisplayName = S::DisplayName; type Handle = S::Handle; - type Subject = S::Subject; + type DisplayName = S::DisplayName; type CreatedAt = Set; + type Subject = S::Subject; + } + ///State transition - sets the `subject` field to Set + pub struct SetSubject(PhantomData S>); + impl sealed::Sealed for SetSubject {} + impl State for SetSubject { + type Handle = S::Handle; + type DisplayName = S::DisplayName; + type CreatedAt = S::CreatedAt; + type Subject = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `display_name` field - pub struct display_name(()); ///Marker type for the `handle` field pub struct handle(()); - ///Marker type for the `subject` field - pub struct subject(()); + ///Marker type for the `display_name` field + pub struct display_name(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `subject` field + pub struct subject(()); } } @@ -214,10 +214,10 @@ where impl<'a, S> VerificationBuilder<'a, S> where S: verification_state::State, - S::DisplayName: verification_state::IsSet, S::Handle: verification_state::IsSet, - S::Subject: verification_state::IsSet, + S::DisplayName: verification_state::IsSet, S::CreatedAt: verification_state::IsSet, + S::Subject: verification_state::IsSet, { /// Build the final struct pub fn build(self) -> Verification<'a> { @@ -233,7 +233,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Verification<'a> { @@ -336,7 +336,7 @@ fn lexicon_doc_app_bsky_graph_verification() -> ::jacquard_lexicon::lexicon::Lex defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -348,10 +348,10 @@ fn lexicon_doc_app_bsky_graph_verification() -> ::jacquard_lexicon::lexicon::Lex description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("handle"), - ::jacquard_common::smol_str::SmolStr::new_static("displayName"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("handle"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("displayName"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -359,7 +359,7 @@ fn lexicon_doc_app_bsky_graph_verification() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -382,7 +382,7 @@ fn lexicon_doc_app_bsky_graph_verification() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "displayName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -403,7 +403,9 @@ fn lexicon_doc_app_bsky_graph_verification() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("handle"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "handle", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -424,7 +426,9 @@ fn lexicon_doc_app_bsky_graph_verification() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/app_bsky/labeler.rs b/crates/jacquard-api/src/app_bsky/labeler.rs index 2d83f7b1c..91c4f8408 100644 --- a/crates/jacquard-api/src/app_bsky/labeler.rs +++ b/crates/jacquard-api/src/app_bsky/labeler.rs @@ -148,7 +148,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> LabelerPolicies<'a> { @@ -171,12 +171,14 @@ fn lexicon_doc_app_bsky_labeler_defs() -> ::jacquard_lexicon::lexicon::LexiconDo defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("labelerPolicies"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "labelerPolicies", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("labelValues") + ::jacquard_common::deps::smol_str::SmolStr::new_static("labelValues") ], ), nullable: None, @@ -184,7 +186,7 @@ fn lexicon_doc_app_bsky_labeler_defs() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "labelValueDefinitions", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -204,7 +206,7 @@ fn lexicon_doc_app_bsky_labeler_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "labelValues", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -228,15 +230,15 @@ fn lexicon_doc_app_bsky_labeler_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("labelerView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("labelerView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("cid"), - ::jacquard_common::smol_str::SmolStr::new_static("creator"), - ::jacquard_common::smol_str::SmolStr::new_static("indexedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("creator"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("indexedAt") ], ), nullable: None, @@ -244,7 +246,9 @@ fn lexicon_doc_app_bsky_labeler_defs() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -261,7 +265,9 @@ fn lexicon_doc_app_bsky_labeler_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("creator"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "creator", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -270,7 +276,7 @@ fn lexicon_doc_app_bsky_labeler_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "indexedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -289,7 +295,9 @@ fn lexicon_doc_app_bsky_labeler_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("labels"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "labels", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -303,7 +311,7 @@ fn lexicon_doc_app_bsky_labeler_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "likeCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -316,7 +324,9 @@ fn lexicon_doc_app_bsky_labeler_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -333,7 +343,9 @@ fn lexicon_doc_app_bsky_labeler_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("viewer"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "viewer", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -346,16 +358,18 @@ fn lexicon_doc_app_bsky_labeler_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("labelerViewDetailed"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "labelerViewDetailed", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("cid"), - ::jacquard_common::smol_str::SmolStr::new_static("creator"), - ::jacquard_common::smol_str::SmolStr::new_static("policies"), - ::jacquard_common::smol_str::SmolStr::new_static("indexedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("creator"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("policies"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("indexedAt") ], ), nullable: None, @@ -363,7 +377,9 @@ fn lexicon_doc_app_bsky_labeler_defs() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -380,7 +396,9 @@ fn lexicon_doc_app_bsky_labeler_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("creator"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "creator", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -389,7 +407,7 @@ fn lexicon_doc_app_bsky_labeler_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "indexedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -408,7 +426,9 @@ fn lexicon_doc_app_bsky_labeler_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("labels"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "labels", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -422,7 +442,7 @@ fn lexicon_doc_app_bsky_labeler_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "likeCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -435,7 +455,9 @@ fn lexicon_doc_app_bsky_labeler_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("policies"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "policies", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -444,7 +466,7 @@ fn lexicon_doc_app_bsky_labeler_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "reasonTypes", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -464,7 +486,7 @@ fn lexicon_doc_app_bsky_labeler_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjectCollections", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -492,7 +514,7 @@ fn lexicon_doc_app_bsky_labeler_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjectTypes", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -512,7 +534,9 @@ fn lexicon_doc_app_bsky_labeler_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -529,7 +553,9 @@ fn lexicon_doc_app_bsky_labeler_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("viewer"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "viewer", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -542,7 +568,9 @@ fn lexicon_doc_app_bsky_labeler_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("labelerViewerState"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "labelerViewerState", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -551,7 +579,9 @@ fn lexicon_doc_app_bsky_labeler_defs() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("like"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "like", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -632,67 +662,67 @@ pub mod labeler_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Creator; + type IndexedAt; type Cid; type Uri; - type IndexedAt; + type Creator; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Creator = Unset; + type IndexedAt = Unset; type Cid = Unset; type Uri = Unset; - type IndexedAt = Unset; + type Creator = Unset; } - ///State transition - sets the `creator` field to Set - pub struct SetCreator(PhantomData S>); - impl sealed::Sealed for SetCreator {} - impl State for SetCreator { - type Creator = Set; + ///State transition - sets the `indexed_at` field to Set + pub struct SetIndexedAt(PhantomData S>); + impl sealed::Sealed for SetIndexedAt {} + impl State for SetIndexedAt { + type IndexedAt = Set; type Cid = S::Cid; type Uri = S::Uri; - type IndexedAt = S::IndexedAt; + type Creator = S::Creator; } ///State transition - sets the `cid` field to Set pub struct SetCid(PhantomData S>); impl sealed::Sealed for SetCid {} impl State for SetCid { - type Creator = S::Creator; + type IndexedAt = S::IndexedAt; type Cid = Set; type Uri = S::Uri; - type IndexedAt = S::IndexedAt; + type Creator = S::Creator; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { - type Creator = S::Creator; + type IndexedAt = S::IndexedAt; type Cid = S::Cid; type Uri = Set; - type IndexedAt = S::IndexedAt; - } - ///State transition - sets the `indexed_at` field to Set - pub struct SetIndexedAt(PhantomData S>); - impl sealed::Sealed for SetIndexedAt {} - impl State for SetIndexedAt { type Creator = S::Creator; + } + ///State transition - sets the `creator` field to Set + pub struct SetCreator(PhantomData S>); + impl sealed::Sealed for SetCreator {} + impl State for SetCreator { + type IndexedAt = S::IndexedAt; type Cid = S::Cid; type Uri = S::Uri; - type IndexedAt = Set; + type Creator = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `creator` field - pub struct creator(()); + ///Marker type for the `indexed_at` field + pub struct indexed_at(()); ///Marker type for the `cid` field pub struct cid(()); ///Marker type for the `uri` field pub struct uri(()); - ///Marker type for the `indexed_at` field - pub struct indexed_at(()); + ///Marker type for the `creator` field + pub struct creator(()); } } @@ -859,10 +889,10 @@ impl<'a, S: labeler_view_state::State> LabelerViewBuilder<'a, S> { impl<'a, S> LabelerViewBuilder<'a, S> where S: labeler_view_state::State, - S::Creator: labeler_view_state::IsSet, + S::IndexedAt: labeler_view_state::IsSet, S::Cid: labeler_view_state::IsSet, S::Uri: labeler_view_state::IsSet, - S::IndexedAt: labeler_view_state::IsSet, + S::Creator: labeler_view_state::IsSet, { /// Build the final struct pub fn build(self) -> LabelerView<'a> { @@ -881,7 +911,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> LabelerView<'a> { @@ -986,9 +1016,9 @@ pub mod labeler_view_detailed_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Cid; - type Uri; type Creator; type Policies; + type Uri; type IndexedAt; } /// Empty state - all required fields are unset @@ -996,9 +1026,9 @@ pub mod labeler_view_detailed_state { impl sealed::Sealed for Empty {} impl State for Empty { type Cid = Unset; - type Uri = Unset; type Creator = Unset; type Policies = Unset; + type Uri = Unset; type IndexedAt = Unset; } ///State transition - sets the `cid` field to Set @@ -1006,19 +1036,9 @@ pub mod labeler_view_detailed_state { impl sealed::Sealed for SetCid {} impl State for SetCid { type Cid = Set; - type Uri = S::Uri; - type Creator = S::Creator; - type Policies = S::Policies; - type IndexedAt = S::IndexedAt; - } - ///State transition - sets the `uri` field to Set - pub struct SetUri(PhantomData S>); - impl sealed::Sealed for SetUri {} - impl State for SetUri { - type Cid = S::Cid; - type Uri = Set; type Creator = S::Creator; type Policies = S::Policies; + type Uri = S::Uri; type IndexedAt = S::IndexedAt; } ///State transition - sets the `creator` field to Set @@ -1026,9 +1046,9 @@ pub mod labeler_view_detailed_state { impl sealed::Sealed for SetCreator {} impl State for SetCreator { type Cid = S::Cid; - type Uri = S::Uri; type Creator = Set; type Policies = S::Policies; + type Uri = S::Uri; type IndexedAt = S::IndexedAt; } ///State transition - sets the `policies` field to Set @@ -1036,9 +1056,19 @@ pub mod labeler_view_detailed_state { impl sealed::Sealed for SetPolicies {} impl State for SetPolicies { type Cid = S::Cid; - type Uri = S::Uri; type Creator = S::Creator; type Policies = Set; + type Uri = S::Uri; + type IndexedAt = S::IndexedAt; + } + ///State transition - sets the `uri` field to Set + pub struct SetUri(PhantomData S>); + impl sealed::Sealed for SetUri {} + impl State for SetUri { + type Cid = S::Cid; + type Creator = S::Creator; + type Policies = S::Policies; + type Uri = Set; type IndexedAt = S::IndexedAt; } ///State transition - sets the `indexed_at` field to Set @@ -1046,9 +1076,9 @@ pub mod labeler_view_detailed_state { impl sealed::Sealed for SetIndexedAt {} impl State for SetIndexedAt { type Cid = S::Cid; - type Uri = S::Uri; type Creator = S::Creator; type Policies = S::Policies; + type Uri = S::Uri; type IndexedAt = Set; } /// Marker types for field names @@ -1056,12 +1086,12 @@ pub mod labeler_view_detailed_state { pub mod members { ///Marker type for the `cid` field pub struct cid(()); - ///Marker type for the `uri` field - pub struct uri(()); ///Marker type for the `creator` field pub struct creator(()); ///Marker type for the `policies` field pub struct policies(()); + ///Marker type for the `uri` field + pub struct uri(()); ///Marker type for the `indexed_at` field pub struct indexed_at(()); } @@ -1323,9 +1353,9 @@ impl<'a, S> LabelerViewDetailedBuilder<'a, S> where S: labeler_view_detailed_state::State, S::Cid: labeler_view_detailed_state::IsSet, - S::Uri: labeler_view_detailed_state::IsSet, S::Creator: labeler_view_detailed_state::IsSet, S::Policies: labeler_view_detailed_state::IsSet, + S::Uri: labeler_view_detailed_state::IsSet, S::IndexedAt: labeler_view_detailed_state::IsSet, { /// Build the final struct @@ -1349,7 +1379,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> LabelerViewDetailed<'a> { diff --git a/crates/jacquard-api/src/app_bsky/labeler/service.rs b/crates/jacquard-api/src/app_bsky/labeler/service.rs index ae1bb2ff1..4246da2a2 100644 --- a/crates/jacquard-api/src/app_bsky/labeler/service.rs +++ b/crates/jacquard-api/src/app_bsky/labeler/service.rs @@ -256,7 +256,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Service<'a> { @@ -361,7 +361,7 @@ fn lexicon_doc_app_bsky_labeler_service() -> ::jacquard_lexicon::lexicon::Lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -373,8 +373,8 @@ fn lexicon_doc_app_bsky_labeler_service() -> ::jacquard_lexicon::lexicon::Lexico description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("policies"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("policies"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -382,7 +382,7 @@ fn lexicon_doc_app_bsky_labeler_service() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -401,7 +401,9 @@ fn lexicon_doc_app_bsky_labeler_service() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("labels"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "labels", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -411,7 +413,7 @@ fn lexicon_doc_app_bsky_labeler_service() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "policies", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -422,7 +424,7 @@ fn lexicon_doc_app_bsky_labeler_service() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "reasonTypes", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -442,7 +444,7 @@ fn lexicon_doc_app_bsky_labeler_service() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjectCollections", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -470,7 +472,7 @@ fn lexicon_doc_app_bsky_labeler_service() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjectTypes", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { diff --git a/crates/jacquard-api/src/app_bsky/notification.rs b/crates/jacquard-api/src/app_bsky/notification.rs index 39f84989d..3f1a23c43 100644 --- a/crates/jacquard-api/src/app_bsky/notification.rs +++ b/crates/jacquard-api/src/app_bsky/notification.rs @@ -43,37 +43,37 @@ pub mod activity_subscription_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Reply; type Post; + type Reply; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Reply = Unset; type Post = Unset; - } - ///State transition - sets the `reply` field to Set - pub struct SetReply(PhantomData S>); - impl sealed::Sealed for SetReply {} - impl State for SetReply { - type Reply = Set; - type Post = S::Post; + type Reply = Unset; } ///State transition - sets the `post` field to Set pub struct SetPost(PhantomData S>); impl sealed::Sealed for SetPost {} impl State for SetPost { - type Reply = S::Reply; type Post = Set; + type Reply = S::Reply; + } + ///State transition - sets the `reply` field to Set + pub struct SetReply(PhantomData S>); + impl sealed::Sealed for SetReply {} + impl State for SetReply { + type Post = S::Post; + type Reply = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `reply` field - pub struct reply(()); ///Marker type for the `post` field pub struct post(()); + ///Marker type for the `reply` field + pub struct reply(()); } } @@ -143,8 +143,8 @@ where impl<'a, S> ActivitySubscriptionBuilder<'a, S> where S: activity_subscription_state::State, - S::Reply: activity_subscription_state::IsSet, S::Post: activity_subscription_state::IsSet, + S::Reply: activity_subscription_state::IsSet, { /// Build the final struct pub fn build(self) -> ActivitySubscription<'a> { @@ -158,7 +158,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ActivitySubscription<'a> { @@ -181,13 +181,15 @@ fn lexicon_doc_app_bsky_notification_defs() -> ::jacquard_lexicon::lexicon::Lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("activitySubscription"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "activitySubscription", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("post"), - ::jacquard_common::smol_str::SmolStr::new_static("reply") + ::jacquard_common::deps::smol_str::SmolStr::new_static("post"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("reply") ], ), nullable: None, @@ -195,7 +197,9 @@ fn lexicon_doc_app_bsky_notification_defs() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("post"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "post", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -203,7 +207,9 @@ fn lexicon_doc_app_bsky_notification_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reply"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reply", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -215,13 +221,13 @@ fn lexicon_doc_app_bsky_notification_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("chatPreference"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("chatPreference"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("include"), - ::jacquard_common::smol_str::SmolStr::new_static("push") + ::jacquard_common::deps::smol_str::SmolStr::new_static("include"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("push") ], ), nullable: None, @@ -229,7 +235,9 @@ fn lexicon_doc_app_bsky_notification_defs() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("include"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "include", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -244,7 +252,9 @@ fn lexicon_doc_app_bsky_notification_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("push"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "push", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -256,14 +266,16 @@ fn lexicon_doc_app_bsky_notification_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("filterablePreference"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "filterablePreference", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("include"), - ::jacquard_common::smol_str::SmolStr::new_static("list"), - ::jacquard_common::smol_str::SmolStr::new_static("push") + ::jacquard_common::deps::smol_str::SmolStr::new_static("include"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("list"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("push") ], ), nullable: None, @@ -271,7 +283,9 @@ fn lexicon_doc_app_bsky_notification_defs() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("include"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "include", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -286,7 +300,9 @@ fn lexicon_doc_app_bsky_notification_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("list"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "list", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -294,7 +310,9 @@ fn lexicon_doc_app_bsky_notification_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("push"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "push", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -306,13 +324,13 @@ fn lexicon_doc_app_bsky_notification_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("preference"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("preference"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("list"), - ::jacquard_common::smol_str::SmolStr::new_static("push") + ::jacquard_common::deps::smol_str::SmolStr::new_static("list"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("push") ], ), nullable: None, @@ -320,7 +338,9 @@ fn lexicon_doc_app_bsky_notification_defs() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("list"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "list", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -328,7 +348,9 @@ fn lexicon_doc_app_bsky_notification_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("push"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "push", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -340,24 +362,24 @@ fn lexicon_doc_app_bsky_notification_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("preferences"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("preferences"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("chat"), - ::jacquard_common::smol_str::SmolStr::new_static("follow"), - ::jacquard_common::smol_str::SmolStr::new_static("like"), - ::jacquard_common::smol_str::SmolStr::new_static("likeViaRepost"), - ::jacquard_common::smol_str::SmolStr::new_static("mention"), - ::jacquard_common::smol_str::SmolStr::new_static("quote"), - ::jacquard_common::smol_str::SmolStr::new_static("reply"), - ::jacquard_common::smol_str::SmolStr::new_static("repost"), - ::jacquard_common::smol_str::SmolStr::new_static("repostViaRepost"), - ::jacquard_common::smol_str::SmolStr::new_static("starterpackJoined"), - ::jacquard_common::smol_str::SmolStr::new_static("subscribedPost"), - ::jacquard_common::smol_str::SmolStr::new_static("unverified"), - ::jacquard_common::smol_str::SmolStr::new_static("verified") + ::jacquard_common::deps::smol_str::SmolStr::new_static("chat"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("follow"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("like"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("likeViaRepost"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("mention"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("quote"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("reply"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("repost"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("repostViaRepost"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("starterpackJoined"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("subscribedPost"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("unverified"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("verified") ], ), nullable: None, @@ -365,7 +387,9 @@ fn lexicon_doc_app_bsky_notification_defs() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("chat"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "chat", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -374,7 +398,9 @@ fn lexicon_doc_app_bsky_notification_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("follow"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "follow", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -383,7 +409,9 @@ fn lexicon_doc_app_bsky_notification_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("like"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "like", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -392,7 +420,7 @@ fn lexicon_doc_app_bsky_notification_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "likeViaRepost", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -403,7 +431,9 @@ fn lexicon_doc_app_bsky_notification_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("mention"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "mention", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -412,7 +442,9 @@ fn lexicon_doc_app_bsky_notification_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("quote"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "quote", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -421,7 +453,9 @@ fn lexicon_doc_app_bsky_notification_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reply"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reply", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -430,7 +464,9 @@ fn lexicon_doc_app_bsky_notification_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("repost"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "repost", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -439,7 +475,7 @@ fn lexicon_doc_app_bsky_notification_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "repostViaRepost", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -450,7 +486,7 @@ fn lexicon_doc_app_bsky_notification_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "starterpackJoined", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -459,7 +495,7 @@ fn lexicon_doc_app_bsky_notification_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subscribedPost", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -468,7 +504,7 @@ fn lexicon_doc_app_bsky_notification_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "unverified", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -477,7 +513,9 @@ fn lexicon_doc_app_bsky_notification_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("verified"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "verified", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#preference"), @@ -488,7 +526,7 @@ fn lexicon_doc_app_bsky_notification_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("recordDeleted"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("recordDeleted"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -501,7 +539,7 @@ fn lexicon_doc_app_bsky_notification_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjectActivitySubscription", ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { @@ -512,8 +550,8 @@ fn lexicon_doc_app_bsky_notification_defs() -> ::jacquard_lexicon::lexicon::Lexi ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("activitySubscription") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("activitySubscription") ], ), nullable: None, @@ -521,7 +559,7 @@ fn lexicon_doc_app_bsky_notification_defs() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "activitySubscription", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -532,7 +570,9 @@ fn lexicon_doc_app_bsky_notification_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -719,7 +759,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ChatPreference<'a> { @@ -866,51 +906,51 @@ pub mod filterable_preference_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Push; type Include; type List; - type Push; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Push = Unset; type Include = Unset; type List = Unset; - type Push = Unset; + } + ///State transition - sets the `push` field to Set + pub struct SetPush(PhantomData S>); + impl sealed::Sealed for SetPush {} + impl State for SetPush { + type Push = Set; + type Include = S::Include; + type List = S::List; } ///State transition - sets the `include` field to Set pub struct SetInclude(PhantomData S>); impl sealed::Sealed for SetInclude {} impl State for SetInclude { + type Push = S::Push; type Include = Set; type List = S::List; - type Push = S::Push; } ///State transition - sets the `list` field to Set pub struct SetList(PhantomData S>); impl sealed::Sealed for SetList {} impl State for SetList { - type Include = S::Include; - type List = Set; type Push = S::Push; - } - ///State transition - sets the `push` field to Set - pub struct SetPush(PhantomData S>); - impl sealed::Sealed for SetPush {} - impl State for SetPush { type Include = S::Include; - type List = S::List; - type Push = Set; + type List = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `push` field + pub struct push(()); ///Marker type for the `include` field pub struct include(()); ///Marker type for the `list` field pub struct list(()); - ///Marker type for the `push` field - pub struct push(()); } } @@ -1003,9 +1043,9 @@ where impl<'a, S> FilterablePreferenceBuilder<'a, S> where S: filterable_preference_state::State, + S::Push: filterable_preference_state::IsSet, S::Include: filterable_preference_state::IsSet, S::List: filterable_preference_state::IsSet, - S::Push: filterable_preference_state::IsSet, { /// Build the final struct pub fn build(self) -> FilterablePreference<'a> { @@ -1020,7 +1060,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> FilterablePreference<'a> { @@ -1281,7 +1321,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Preference<'a> { @@ -1360,301 +1400,301 @@ pub mod preferences_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type LikeViaRepost; - type Mention; - type Verified; - type StarterpackJoined; + type Like; + type Reply; type Repost; + type Follow; + type Mention; type RepostViaRepost; type SubscribedPost; type Unverified; - type Reply; - type Like; + type Verified; type Chat; + type LikeViaRepost; type Quote; - type Follow; + type StarterpackJoined; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type LikeViaRepost = Unset; - type Mention = Unset; - type Verified = Unset; - type StarterpackJoined = Unset; + type Like = Unset; + type Reply = Unset; type Repost = Unset; + type Follow = Unset; + type Mention = Unset; type RepostViaRepost = Unset; type SubscribedPost = Unset; type Unverified = Unset; - type Reply = Unset; - type Like = Unset; + type Verified = Unset; type Chat = Unset; + type LikeViaRepost = Unset; type Quote = Unset; - type Follow = Unset; + type StarterpackJoined = Unset; } - ///State transition - sets the `like_via_repost` field to Set - pub struct SetLikeViaRepost(PhantomData S>); - impl sealed::Sealed for SetLikeViaRepost {} - impl State for SetLikeViaRepost { - type LikeViaRepost = Set; - type Mention = S::Mention; - type Verified = S::Verified; - type StarterpackJoined = S::StarterpackJoined; + ///State transition - sets the `like` field to Set + pub struct SetLike(PhantomData S>); + impl sealed::Sealed for SetLike {} + impl State for SetLike { + type Like = Set; + type Reply = S::Reply; type Repost = S::Repost; + type Follow = S::Follow; + type Mention = S::Mention; type RepostViaRepost = S::RepostViaRepost; type SubscribedPost = S::SubscribedPost; type Unverified = S::Unverified; - type Reply = S::Reply; - type Like = S::Like; + type Verified = S::Verified; type Chat = S::Chat; - type Quote = S::Quote; - type Follow = S::Follow; - } - ///State transition - sets the `mention` field to Set - pub struct SetMention(PhantomData S>); - impl sealed::Sealed for SetMention {} - impl State for SetMention { type LikeViaRepost = S::LikeViaRepost; - type Mention = Set; - type Verified = S::Verified; + type Quote = S::Quote; type StarterpackJoined = S::StarterpackJoined; + } + ///State transition - sets the `reply` field to Set + pub struct SetReply(PhantomData S>); + impl sealed::Sealed for SetReply {} + impl State for SetReply { + type Like = S::Like; + type Reply = Set; type Repost = S::Repost; + type Follow = S::Follow; + type Mention = S::Mention; type RepostViaRepost = S::RepostViaRepost; type SubscribedPost = S::SubscribedPost; type Unverified = S::Unverified; - type Reply = S::Reply; - type Like = S::Like; + type Verified = S::Verified; type Chat = S::Chat; + type LikeViaRepost = S::LikeViaRepost; type Quote = S::Quote; - type Follow = S::Follow; + type StarterpackJoined = S::StarterpackJoined; } - ///State transition - sets the `verified` field to Set - pub struct SetVerified(PhantomData S>); - impl sealed::Sealed for SetVerified {} - impl State for SetVerified { - type LikeViaRepost = S::LikeViaRepost; + ///State transition - sets the `repost` field to Set + pub struct SetRepost(PhantomData S>); + impl sealed::Sealed for SetRepost {} + impl State for SetRepost { + type Like = S::Like; + type Reply = S::Reply; + type Repost = Set; + type Follow = S::Follow; type Mention = S::Mention; - type Verified = Set; - type StarterpackJoined = S::StarterpackJoined; - type Repost = S::Repost; type RepostViaRepost = S::RepostViaRepost; type SubscribedPost = S::SubscribedPost; type Unverified = S::Unverified; - type Reply = S::Reply; - type Like = S::Like; + type Verified = S::Verified; type Chat = S::Chat; + type LikeViaRepost = S::LikeViaRepost; type Quote = S::Quote; - type Follow = S::Follow; + type StarterpackJoined = S::StarterpackJoined; } - ///State transition - sets the `starterpack_joined` field to Set - pub struct SetStarterpackJoined(PhantomData S>); - impl sealed::Sealed for SetStarterpackJoined {} - impl State for SetStarterpackJoined { - type LikeViaRepost = S::LikeViaRepost; - type Mention = S::Mention; - type Verified = S::Verified; - type StarterpackJoined = Set; + ///State transition - sets the `follow` field to Set + pub struct SetFollow(PhantomData S>); + impl sealed::Sealed for SetFollow {} + impl State for SetFollow { + type Like = S::Like; + type Reply = S::Reply; type Repost = S::Repost; + type Follow = Set; + type Mention = S::Mention; type RepostViaRepost = S::RepostViaRepost; type SubscribedPost = S::SubscribedPost; type Unverified = S::Unverified; - type Reply = S::Reply; - type Like = S::Like; + type Verified = S::Verified; type Chat = S::Chat; - type Quote = S::Quote; - type Follow = S::Follow; - } - ///State transition - sets the `repost` field to Set - pub struct SetRepost(PhantomData S>); - impl sealed::Sealed for SetRepost {} - impl State for SetRepost { type LikeViaRepost = S::LikeViaRepost; - type Mention = S::Mention; - type Verified = S::Verified; + type Quote = S::Quote; type StarterpackJoined = S::StarterpackJoined; - type Repost = Set; + } + ///State transition - sets the `mention` field to Set + pub struct SetMention(PhantomData S>); + impl sealed::Sealed for SetMention {} + impl State for SetMention { + type Like = S::Like; + type Reply = S::Reply; + type Repost = S::Repost; + type Follow = S::Follow; + type Mention = Set; type RepostViaRepost = S::RepostViaRepost; type SubscribedPost = S::SubscribedPost; type Unverified = S::Unverified; - type Reply = S::Reply; - type Like = S::Like; + type Verified = S::Verified; type Chat = S::Chat; + type LikeViaRepost = S::LikeViaRepost; type Quote = S::Quote; - type Follow = S::Follow; + type StarterpackJoined = S::StarterpackJoined; } ///State transition - sets the `repost_via_repost` field to Set pub struct SetRepostViaRepost(PhantomData S>); impl sealed::Sealed for SetRepostViaRepost {} impl State for SetRepostViaRepost { - type LikeViaRepost = S::LikeViaRepost; - type Mention = S::Mention; - type Verified = S::Verified; - type StarterpackJoined = S::StarterpackJoined; + type Like = S::Like; + type Reply = S::Reply; type Repost = S::Repost; + type Follow = S::Follow; + type Mention = S::Mention; type RepostViaRepost = Set; type SubscribedPost = S::SubscribedPost; type Unverified = S::Unverified; - type Reply = S::Reply; - type Like = S::Like; + type Verified = S::Verified; type Chat = S::Chat; + type LikeViaRepost = S::LikeViaRepost; type Quote = S::Quote; - type Follow = S::Follow; + type StarterpackJoined = S::StarterpackJoined; } ///State transition - sets the `subscribed_post` field to Set pub struct SetSubscribedPost(PhantomData S>); impl sealed::Sealed for SetSubscribedPost {} impl State for SetSubscribedPost { - type LikeViaRepost = S::LikeViaRepost; - type Mention = S::Mention; - type Verified = S::Verified; - type StarterpackJoined = S::StarterpackJoined; + type Like = S::Like; + type Reply = S::Reply; type Repost = S::Repost; + type Follow = S::Follow; + type Mention = S::Mention; type RepostViaRepost = S::RepostViaRepost; type SubscribedPost = Set; type Unverified = S::Unverified; - type Reply = S::Reply; - type Like = S::Like; + type Verified = S::Verified; type Chat = S::Chat; + type LikeViaRepost = S::LikeViaRepost; type Quote = S::Quote; - type Follow = S::Follow; + type StarterpackJoined = S::StarterpackJoined; } ///State transition - sets the `unverified` field to Set pub struct SetUnverified(PhantomData S>); impl sealed::Sealed for SetUnverified {} impl State for SetUnverified { - type LikeViaRepost = S::LikeViaRepost; - type Mention = S::Mention; - type Verified = S::Verified; - type StarterpackJoined = S::StarterpackJoined; + type Like = S::Like; + type Reply = S::Reply; type Repost = S::Repost; + type Follow = S::Follow; + type Mention = S::Mention; type RepostViaRepost = S::RepostViaRepost; type SubscribedPost = S::SubscribedPost; type Unverified = Set; - type Reply = S::Reply; - type Like = S::Like; + type Verified = S::Verified; type Chat = S::Chat; - type Quote = S::Quote; - type Follow = S::Follow; - } - ///State transition - sets the `reply` field to Set - pub struct SetReply(PhantomData S>); - impl sealed::Sealed for SetReply {} - impl State for SetReply { type LikeViaRepost = S::LikeViaRepost; - type Mention = S::Mention; - type Verified = S::Verified; + type Quote = S::Quote; type StarterpackJoined = S::StarterpackJoined; - type Repost = S::Repost; - type RepostViaRepost = S::RepostViaRepost; - type SubscribedPost = S::SubscribedPost; - type Unverified = S::Unverified; - type Reply = Set; + } + ///State transition - sets the `verified` field to Set + pub struct SetVerified(PhantomData S>); + impl sealed::Sealed for SetVerified {} + impl State for SetVerified { type Like = S::Like; - type Chat = S::Chat; - type Quote = S::Quote; + type Reply = S::Reply; + type Repost = S::Repost; type Follow = S::Follow; - } - ///State transition - sets the `like` field to Set - pub struct SetLike(PhantomData S>); - impl sealed::Sealed for SetLike {} - impl State for SetLike { - type LikeViaRepost = S::LikeViaRepost; type Mention = S::Mention; - type Verified = S::Verified; - type StarterpackJoined = S::StarterpackJoined; - type Repost = S::Repost; type RepostViaRepost = S::RepostViaRepost; type SubscribedPost = S::SubscribedPost; type Unverified = S::Unverified; - type Reply = S::Reply; - type Like = Set; + type Verified = Set; type Chat = S::Chat; + type LikeViaRepost = S::LikeViaRepost; type Quote = S::Quote; - type Follow = S::Follow; + type StarterpackJoined = S::StarterpackJoined; } ///State transition - sets the `chat` field to Set pub struct SetChat(PhantomData S>); impl sealed::Sealed for SetChat {} impl State for SetChat { - type LikeViaRepost = S::LikeViaRepost; + type Like = S::Like; + type Reply = S::Reply; + type Repost = S::Repost; + type Follow = S::Follow; type Mention = S::Mention; + type RepostViaRepost = S::RepostViaRepost; + type SubscribedPost = S::SubscribedPost; + type Unverified = S::Unverified; type Verified = S::Verified; + type Chat = Set; + type LikeViaRepost = S::LikeViaRepost; + type Quote = S::Quote; type StarterpackJoined = S::StarterpackJoined; + } + ///State transition - sets the `like_via_repost` field to Set + pub struct SetLikeViaRepost(PhantomData S>); + impl sealed::Sealed for SetLikeViaRepost {} + impl State for SetLikeViaRepost { + type Like = S::Like; + type Reply = S::Reply; type Repost = S::Repost; + type Follow = S::Follow; + type Mention = S::Mention; type RepostViaRepost = S::RepostViaRepost; type SubscribedPost = S::SubscribedPost; type Unverified = S::Unverified; - type Reply = S::Reply; - type Like = S::Like; - type Chat = Set; + type Verified = S::Verified; + type Chat = S::Chat; + type LikeViaRepost = Set; type Quote = S::Quote; - type Follow = S::Follow; + type StarterpackJoined = S::StarterpackJoined; } ///State transition - sets the `quote` field to Set pub struct SetQuote(PhantomData S>); impl sealed::Sealed for SetQuote {} impl State for SetQuote { - type LikeViaRepost = S::LikeViaRepost; - type Mention = S::Mention; - type Verified = S::Verified; - type StarterpackJoined = S::StarterpackJoined; + type Like = S::Like; + type Reply = S::Reply; type Repost = S::Repost; + type Follow = S::Follow; + type Mention = S::Mention; type RepostViaRepost = S::RepostViaRepost; type SubscribedPost = S::SubscribedPost; type Unverified = S::Unverified; - type Reply = S::Reply; - type Like = S::Like; + type Verified = S::Verified; type Chat = S::Chat; - type Quote = Set; - type Follow = S::Follow; - } - ///State transition - sets the `follow` field to Set - pub struct SetFollow(PhantomData S>); - impl sealed::Sealed for SetFollow {} - impl State for SetFollow { type LikeViaRepost = S::LikeViaRepost; - type Mention = S::Mention; - type Verified = S::Verified; + type Quote = Set; type StarterpackJoined = S::StarterpackJoined; + } + ///State transition - sets the `starterpack_joined` field to Set + pub struct SetStarterpackJoined(PhantomData S>); + impl sealed::Sealed for SetStarterpackJoined {} + impl State for SetStarterpackJoined { + type Like = S::Like; + type Reply = S::Reply; type Repost = S::Repost; + type Follow = S::Follow; + type Mention = S::Mention; type RepostViaRepost = S::RepostViaRepost; type SubscribedPost = S::SubscribedPost; type Unverified = S::Unverified; - type Reply = S::Reply; - type Like = S::Like; + type Verified = S::Verified; type Chat = S::Chat; + type LikeViaRepost = S::LikeViaRepost; type Quote = S::Quote; - type Follow = Set; + type StarterpackJoined = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `like_via_repost` field - pub struct like_via_repost(()); - ///Marker type for the `mention` field - pub struct mention(()); - ///Marker type for the `verified` field - pub struct verified(()); - ///Marker type for the `starterpack_joined` field - pub struct starterpack_joined(()); + ///Marker type for the `like` field + pub struct like(()); + ///Marker type for the `reply` field + pub struct reply(()); ///Marker type for the `repost` field pub struct repost(()); + ///Marker type for the `follow` field + pub struct follow(()); + ///Marker type for the `mention` field + pub struct mention(()); ///Marker type for the `repost_via_repost` field pub struct repost_via_repost(()); ///Marker type for the `subscribed_post` field pub struct subscribed_post(()); ///Marker type for the `unverified` field pub struct unverified(()); - ///Marker type for the `reply` field - pub struct reply(()); - ///Marker type for the `like` field - pub struct like(()); + ///Marker type for the `verified` field + pub struct verified(()); ///Marker type for the `chat` field pub struct chat(()); + ///Marker type for the `like_via_repost` field + pub struct like_via_repost(()); ///Marker type for the `quote` field pub struct quote(()); - ///Marker type for the `follow` field - pub struct follow(()); + ///Marker type for the `starterpack_joined` field + pub struct starterpack_joined(()); } } @@ -1961,19 +2001,19 @@ where impl<'a, S> PreferencesBuilder<'a, S> where S: preferences_state::State, - S::LikeViaRepost: preferences_state::IsSet, - S::Mention: preferences_state::IsSet, - S::Verified: preferences_state::IsSet, - S::StarterpackJoined: preferences_state::IsSet, + S::Like: preferences_state::IsSet, + S::Reply: preferences_state::IsSet, S::Repost: preferences_state::IsSet, + S::Follow: preferences_state::IsSet, + S::Mention: preferences_state::IsSet, S::RepostViaRepost: preferences_state::IsSet, S::SubscribedPost: preferences_state::IsSet, S::Unverified: preferences_state::IsSet, - S::Reply: preferences_state::IsSet, - S::Like: preferences_state::IsSet, + S::Verified: preferences_state::IsSet, S::Chat: preferences_state::IsSet, + S::LikeViaRepost: preferences_state::IsSet, S::Quote: preferences_state::IsSet, - S::Follow: preferences_state::IsSet, + S::StarterpackJoined: preferences_state::IsSet, { /// Build the final struct pub fn build(self) -> Preferences<'a> { @@ -1998,7 +2038,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Preferences<'a> { @@ -2229,7 +2269,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> SubjectActivitySubscription<'a> { diff --git a/crates/jacquard-api/src/app_bsky/notification/declaration.rs b/crates/jacquard-api/src/app_bsky/notification/declaration.rs index de804a7bb..37ef3463b 100644 --- a/crates/jacquard-api/src/app_bsky/notification/declaration.rs +++ b/crates/jacquard-api/src/app_bsky/notification/declaration.rs @@ -115,7 +115,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Declaration<'a> { @@ -315,7 +315,7 @@ fn lexicon_doc_app_bsky_notification_declaration() -> ::jacquard_lexicon::lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -327,7 +327,7 @@ fn lexicon_doc_app_bsky_notification_declaration() -> ::jacquard_lexicon::lexico description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("allowSubscriptions") + ::jacquard_common::deps::smol_str::SmolStr::new_static("allowSubscriptions") ], ), nullable: None, @@ -335,7 +335,7 @@ fn lexicon_doc_app_bsky_notification_declaration() -> ::jacquard_lexicon::lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "allowSubscriptions", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { 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 3fe8512f6..b9b846ca3 100644 --- a/crates/jacquard-api/src/app_bsky/notification/list_notifications.rs +++ b/crates/jacquard-api/src/app_bsky/notification/list_notifications.rs @@ -271,127 +271,127 @@ pub mod notification_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Reason; - type IndexedAt; type Cid; - type Uri; - type IsRead; - type Author; type Record; + type Reason; + type Author; + type IsRead; + type Uri; + type IndexedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Reason = Unset; - type IndexedAt = Unset; type Cid = Unset; - type Uri = Unset; - type IsRead = Unset; - type Author = Unset; type Record = Unset; - } - ///State transition - sets the `reason` field to Set - pub struct SetReason(PhantomData S>); - impl sealed::Sealed for SetReason {} - impl State for SetReason { - type Reason = Set; - type IndexedAt = S::IndexedAt; - type Cid = S::Cid; - type Uri = S::Uri; - type IsRead = S::IsRead; - type Author = S::Author; - type Record = S::Record; - } - ///State transition - sets the `indexed_at` field to Set - pub struct SetIndexedAt(PhantomData S>); - impl sealed::Sealed for SetIndexedAt {} - impl State for SetIndexedAt { - type Reason = S::Reason; - type IndexedAt = Set; - type Cid = S::Cid; - type Uri = S::Uri; - type IsRead = S::IsRead; - type Author = S::Author; - type Record = S::Record; + type Reason = Unset; + type Author = Unset; + type IsRead = Unset; + type Uri = Unset; + type IndexedAt = Unset; } ///State transition - sets the `cid` field to Set pub struct SetCid(PhantomData S>); impl sealed::Sealed for SetCid {} impl State for SetCid { - type Reason = S::Reason; - type IndexedAt = S::IndexedAt; type Cid = Set; - type Uri = S::Uri; - type IsRead = S::IsRead; - type Author = S::Author; type Record = S::Record; - } - ///State transition - sets the `uri` field to Set - pub struct SetUri(PhantomData S>); - impl sealed::Sealed for SetUri {} - impl State for SetUri { type Reason = S::Reason; - type IndexedAt = S::IndexedAt; - type Cid = S::Cid; - type Uri = Set; - type IsRead = S::IsRead; type Author = S::Author; - type Record = S::Record; + type IsRead = S::IsRead; + type Uri = S::Uri; + type IndexedAt = S::IndexedAt; } - ///State transition - sets the `is_read` field to Set - pub struct SetIsRead(PhantomData S>); - impl sealed::Sealed for SetIsRead {} - impl State for SetIsRead { + ///State transition - sets the `record` field to Set + pub struct SetRecord(PhantomData S>); + impl sealed::Sealed for SetRecord {} + impl State for SetRecord { + type Cid = S::Cid; + type Record = Set; type Reason = S::Reason; + type Author = S::Author; + type IsRead = S::IsRead; + type Uri = S::Uri; type IndexedAt = S::IndexedAt; + } + ///State transition - sets the `reason` field to Set + pub struct SetReason(PhantomData S>); + impl sealed::Sealed for SetReason {} + impl State for SetReason { type Cid = S::Cid; - type Uri = S::Uri; - type IsRead = Set; - type Author = S::Author; type Record = S::Record; + type Reason = Set; + type Author = S::Author; + type IsRead = S::IsRead; + type Uri = S::Uri; + type IndexedAt = S::IndexedAt; } ///State transition - sets the `author` field to Set pub struct SetAuthor(PhantomData S>); impl sealed::Sealed for SetAuthor {} impl State for SetAuthor { + type Cid = S::Cid; + type Record = S::Record; type Reason = S::Reason; + type Author = Set; + type IsRead = S::IsRead; + type Uri = S::Uri; type IndexedAt = S::IndexedAt; + } + ///State transition - sets the `is_read` field to Set + pub struct SetIsRead(PhantomData S>); + impl sealed::Sealed for SetIsRead {} + impl State for SetIsRead { type Cid = S::Cid; - type Uri = S::Uri; - type IsRead = S::IsRead; - type Author = Set; type Record = S::Record; - } - ///State transition - sets the `record` field to Set - pub struct SetRecord(PhantomData S>); - impl sealed::Sealed for SetRecord {} - impl State for SetRecord { type Reason = S::Reason; + type Author = S::Author; + type IsRead = Set; + type Uri = S::Uri; type IndexedAt = S::IndexedAt; + } + ///State transition - sets the `uri` field to Set + pub struct SetUri(PhantomData S>); + impl sealed::Sealed for SetUri {} + impl State for SetUri { type Cid = S::Cid; - type Uri = S::Uri; + type Record = S::Record; + type Reason = S::Reason; + type Author = S::Author; type IsRead = S::IsRead; + type Uri = Set; + type IndexedAt = S::IndexedAt; + } + ///State transition - sets the `indexed_at` field to Set + pub struct SetIndexedAt(PhantomData S>); + impl sealed::Sealed for SetIndexedAt {} + impl State for SetIndexedAt { + type Cid = S::Cid; + type Record = S::Record; + type Reason = S::Reason; type Author = S::Author; - type Record = Set; + type IsRead = S::IsRead; + type Uri = S::Uri; + type IndexedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `reason` field - pub struct reason(()); - ///Marker type for the `indexed_at` field - pub struct indexed_at(()); ///Marker type for the `cid` field pub struct cid(()); - ///Marker type for the `uri` field - pub struct uri(()); - ///Marker type for the `is_read` field - pub struct is_read(()); - ///Marker type for the `author` field - pub struct author(()); ///Marker type for the `record` field pub struct record(()); + ///Marker type for the `reason` field + pub struct reason(()); + ///Marker type for the `author` field + pub struct author(()); + ///Marker type for the `is_read` field + pub struct is_read(()); + ///Marker type for the `uri` field + pub struct uri(()); + ///Marker type for the `indexed_at` field + pub struct indexed_at(()); } } @@ -614,13 +614,13 @@ where impl<'a, S> NotificationBuilder<'a, S> where S: notification_state::State, - S::Reason: notification_state::IsSet, - S::IndexedAt: notification_state::IsSet, S::Cid: notification_state::IsSet, - S::Uri: notification_state::IsSet, - S::IsRead: notification_state::IsSet, - S::Author: notification_state::IsSet, S::Record: notification_state::IsSet, + S::Reason: notification_state::IsSet, + S::Author: notification_state::IsSet, + S::IsRead: notification_state::IsSet, + S::Uri: notification_state::IsSet, + S::IndexedAt: notification_state::IsSet, { /// Build the final struct pub fn build(self) -> Notification<'a> { @@ -641,7 +641,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Notification<'a> { @@ -819,7 +819,7 @@ fn lexicon_doc_app_bsky_notification_listNotifications() -> ::jacquard_lexicon:: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcQuery(::jacquard_lexicon::lexicon::LexXrpcQuery { description: None, parameters: Some( @@ -830,7 +830,9 @@ fn lexicon_doc_app_bsky_notification_listNotifications() -> ::jacquard_lexicon:: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cursor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cursor", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -845,7 +847,9 @@ fn lexicon_doc_app_bsky_notification_listNotifications() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("limit"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "limit", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -856,7 +860,7 @@ fn lexicon_doc_app_bsky_notification_listNotifications() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "priority", ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -866,7 +870,9 @@ fn lexicon_doc_app_bsky_notification_listNotifications() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reasons"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reasons", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::Array(::jacquard_lexicon::lexicon::LexPrimitiveArray { description: None, items: ::jacquard_lexicon::lexicon::LexPrimitiveArrayItem::String(::jacquard_lexicon::lexicon::LexString { @@ -890,7 +896,9 @@ fn lexicon_doc_app_bsky_notification_listNotifications() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("seenAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "seenAt", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -915,18 +923,18 @@ fn lexicon_doc_app_bsky_notification_listNotifications() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("notification"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("notification"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("cid"), - ::jacquard_common::smol_str::SmolStr::new_static("author"), - ::jacquard_common::smol_str::SmolStr::new_static("reason"), - ::jacquard_common::smol_str::SmolStr::new_static("record"), - ::jacquard_common::smol_str::SmolStr::new_static("isRead"), - ::jacquard_common::smol_str::SmolStr::new_static("indexedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("reason"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("record"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("isRead"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("indexedAt") ], ), nullable: None, @@ -934,7 +942,9 @@ fn lexicon_doc_app_bsky_notification_listNotifications() -> ::jacquard_lexicon:: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "author", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -943,7 +953,9 @@ fn lexicon_doc_app_bsky_notification_listNotifications() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -960,7 +972,7 @@ fn lexicon_doc_app_bsky_notification_listNotifications() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "indexedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -979,7 +991,9 @@ fn lexicon_doc_app_bsky_notification_listNotifications() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("isRead"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "isRead", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -987,7 +1001,9 @@ fn lexicon_doc_app_bsky_notification_listNotifications() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("labels"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "labels", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -1001,7 +1017,9 @@ fn lexicon_doc_app_bsky_notification_listNotifications() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reason"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reason", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1020,7 +1038,7 @@ fn lexicon_doc_app_bsky_notification_listNotifications() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "reasonSubject", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1039,13 +1057,17 @@ fn lexicon_doc_app_bsky_notification_listNotifications() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("record"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "record", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( 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 7e167a99e..ec2bd0ee2 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 @@ -163,7 +163,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> PutActivitySubscription<'a> { 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 dbaebf8a1..421c318ef 100644 --- a/crates/jacquard-api/src/app_bsky/notification/put_preferences.rs +++ b/crates/jacquard-api/src/app_bsky/notification/put_preferences.rs @@ -112,7 +112,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> PutPreferences<'a> { 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 3a44eef4f..7b76397d7 100644 --- a/crates/jacquard-api/src/app_bsky/notification/register_push.rs +++ b/crates/jacquard-api/src/app_bsky/notification/register_push.rs @@ -40,67 +40,67 @@ pub mod register_push_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Token; - type AppId; type ServiceDid; + type Token; type Platform; + type AppId; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Token = Unset; - type AppId = Unset; type ServiceDid = Unset; + type Token = Unset; type Platform = Unset; - } - ///State transition - sets the `token` field to Set - pub struct SetToken(PhantomData S>); - impl sealed::Sealed for SetToken {} - impl State for SetToken { - type Token = Set; - type AppId = S::AppId; - type ServiceDid = S::ServiceDid; - type Platform = S::Platform; - } - ///State transition - sets the `app_id` field to Set - pub struct SetAppId(PhantomData S>); - impl sealed::Sealed for SetAppId {} - impl State for SetAppId { - type Token = S::Token; - type AppId = Set; - type ServiceDid = S::ServiceDid; - type Platform = S::Platform; + type AppId = Unset; } ///State transition - sets the `service_did` field to Set pub struct SetServiceDid(PhantomData S>); impl sealed::Sealed for SetServiceDid {} impl State for SetServiceDid { + type ServiceDid = Set; type Token = S::Token; + type Platform = S::Platform; type AppId = S::AppId; - type ServiceDid = Set; + } + ///State transition - sets the `token` field to Set + pub struct SetToken(PhantomData S>); + impl sealed::Sealed for SetToken {} + impl State for SetToken { + type ServiceDid = S::ServiceDid; + type Token = Set; type Platform = S::Platform; + type AppId = S::AppId; } ///State transition - sets the `platform` field to Set pub struct SetPlatform(PhantomData S>); impl sealed::Sealed for SetPlatform {} impl State for SetPlatform { + type ServiceDid = S::ServiceDid; type Token = S::Token; + type Platform = Set; type AppId = S::AppId; + } + ///State transition - sets the `app_id` field to Set + pub struct SetAppId(PhantomData S>); + impl sealed::Sealed for SetAppId {} + impl State for SetAppId { type ServiceDid = S::ServiceDid; - type Platform = Set; + type Token = S::Token; + type Platform = S::Platform; + type AppId = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `token` field - pub struct token(()); - ///Marker type for the `app_id` field - pub struct app_id(()); ///Marker type for the `service_did` field pub struct service_did(()); + ///Marker type for the `token` field + pub struct token(()); ///Marker type for the `platform` field pub struct platform(()); + ///Marker type for the `app_id` field + pub struct app_id(()); } } @@ -227,10 +227,10 @@ where impl<'a, S> RegisterPushBuilder<'a, S> where S: register_push_state::State, - S::Token: register_push_state::IsSet, - S::AppId: register_push_state::IsSet, S::ServiceDid: register_push_state::IsSet, + S::Token: register_push_state::IsSet, S::Platform: register_push_state::IsSet, + S::AppId: register_push_state::IsSet, { /// Build the final struct pub fn build(self) -> RegisterPush<'a> { @@ -247,7 +247,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> RegisterPush<'a> { 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 9e2458926..b3b139d48 100644 --- a/crates/jacquard-api/src/app_bsky/notification/unregister_push.rs +++ b/crates/jacquard-api/src/app_bsky/notification/unregister_push.rs @@ -37,67 +37,67 @@ pub mod unregister_push_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type AppId; - type Token; - type ServiceDid; type Platform; + type ServiceDid; + type Token; + type AppId; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type AppId = Unset; - type Token = Unset; - type ServiceDid = Unset; type Platform = Unset; + type ServiceDid = Unset; + type Token = Unset; + type AppId = Unset; } - ///State transition - sets the `app_id` field to Set - pub struct SetAppId(PhantomData S>); - impl sealed::Sealed for SetAppId {} - impl State for SetAppId { - type AppId = Set; - type Token = S::Token; + ///State transition - sets the `platform` field to Set + pub struct SetPlatform(PhantomData S>); + impl sealed::Sealed for SetPlatform {} + impl State for SetPlatform { + type Platform = Set; type ServiceDid = S::ServiceDid; - type Platform = S::Platform; - } - ///State transition - sets the `token` field to Set - pub struct SetToken(PhantomData S>); - impl sealed::Sealed for SetToken {} - impl State for SetToken { + type Token = S::Token; type AppId = S::AppId; - type Token = Set; - type ServiceDid = S::ServiceDid; - type Platform = S::Platform; } ///State transition - sets the `service_did` field to Set pub struct SetServiceDid(PhantomData S>); impl sealed::Sealed for SetServiceDid {} impl State for SetServiceDid { - type AppId = S::AppId; - type Token = S::Token; - type ServiceDid = Set; type Platform = S::Platform; + type ServiceDid = Set; + type Token = S::Token; + type AppId = S::AppId; } - ///State transition - sets the `platform` field to Set - pub struct SetPlatform(PhantomData S>); - impl sealed::Sealed for SetPlatform {} - impl State for SetPlatform { + ///State transition - sets the `token` field to Set + pub struct SetToken(PhantomData S>); + impl sealed::Sealed for SetToken {} + impl State for SetToken { + type Platform = S::Platform; + type ServiceDid = S::ServiceDid; + type Token = Set; type AppId = S::AppId; - type Token = S::Token; + } + ///State transition - sets the `app_id` field to Set + pub struct SetAppId(PhantomData S>); + impl sealed::Sealed for SetAppId {} + impl State for SetAppId { + type Platform = S::Platform; type ServiceDid = S::ServiceDid; - type Platform = Set; + type Token = S::Token; + type AppId = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `app_id` field - pub struct app_id(()); - ///Marker type for the `token` field - pub struct token(()); - ///Marker type for the `service_did` field - pub struct service_did(()); ///Marker type for the `platform` field pub struct platform(()); + ///Marker type for the `service_did` field + pub struct service_did(()); + ///Marker type for the `token` field + pub struct token(()); + ///Marker type for the `app_id` field + pub struct app_id(()); } } @@ -210,10 +210,10 @@ where impl<'a, S> UnregisterPushBuilder<'a, S> where S: unregister_push_state::State, - S::AppId: unregister_push_state::IsSet, - S::Token: unregister_push_state::IsSet, - S::ServiceDid: unregister_push_state::IsSet, S::Platform: unregister_push_state::IsSet, + S::ServiceDid: unregister_push_state::IsSet, + S::Token: unregister_push_state::IsSet, + S::AppId: unregister_push_state::IsSet, { /// Build the final struct pub fn build(self) -> UnregisterPush<'a> { @@ -229,7 +229,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> UnregisterPush<'a> { 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 fca5f8905..0bdab3083 100644 --- a/crates/jacquard-api/src/app_bsky/notification/update_seen.rs +++ b/crates/jacquard-api/src/app_bsky/notification/update_seen.rs @@ -114,7 +114,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> UpdateSeen<'a> { diff --git a/crates/jacquard-api/src/app_bsky/richtext/facet.rs b/crates/jacquard-api/src/app_bsky/richtext/facet.rs index a23e047f0..274b78278 100644 --- a/crates/jacquard-api/src/app_bsky/richtext/facet.rs +++ b/crates/jacquard-api/src/app_bsky/richtext/facet.rs @@ -147,7 +147,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ByteSlice<'a> { @@ -170,7 +170,7 @@ fn lexicon_doc_app_bsky_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("byteSlice"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("byteSlice"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -179,8 +179,8 @@ fn lexicon_doc_app_bsky_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexicon ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("byteStart"), - ::jacquard_common::smol_str::SmolStr::new_static("byteEnd") + ::jacquard_common::deps::smol_str::SmolStr::new_static("byteStart"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("byteEnd") ], ), nullable: None, @@ -188,7 +188,9 @@ fn lexicon_doc_app_bsky_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("byteEnd"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "byteEnd", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -199,7 +201,7 @@ fn lexicon_doc_app_bsky_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "byteStart", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -216,7 +218,7 @@ fn lexicon_doc_app_bsky_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("link"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("link"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -224,14 +226,18 @@ fn lexicon_doc_app_bsky_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexicon ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("uri")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -252,7 +258,7 @@ fn lexicon_doc_app_bsky_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -261,8 +267,8 @@ fn lexicon_doc_app_bsky_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexicon ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("index"), - ::jacquard_common::smol_str::SmolStr::new_static("features") + ::jacquard_common::deps::smol_str::SmolStr::new_static("index"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("features") ], ), nullable: None, @@ -270,7 +276,9 @@ fn lexicon_doc_app_bsky_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("features"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "features", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -287,7 +295,9 @@ fn lexicon_doc_app_bsky_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("index"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "index", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#byteSlice"), @@ -298,7 +308,7 @@ fn lexicon_doc_app_bsky_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("mention"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("mention"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -306,14 +316,18 @@ fn lexicon_doc_app_bsky_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexicon ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("did")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("did") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -334,7 +348,7 @@ fn lexicon_doc_app_bsky_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tag"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("tag"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -342,14 +356,18 @@ fn lexicon_doc_app_bsky_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexicon ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("tag")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("tag") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tag"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tag", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -524,7 +542,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Link<'a> { @@ -581,37 +599,37 @@ pub mod facet_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Index; type Features; + type Index; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Index = Unset; type Features = Unset; - } - ///State transition - sets the `index` field to Set - pub struct SetIndex(PhantomData S>); - impl sealed::Sealed for SetIndex {} - impl State for SetIndex { - type Index = Set; - type Features = S::Features; + type Index = Unset; } ///State transition - sets the `features` field to Set pub struct SetFeatures(PhantomData S>); impl sealed::Sealed for SetFeatures {} impl State for SetFeatures { - type Index = S::Index; type Features = Set; + type Index = S::Index; + } + ///State transition - sets the `index` field to Set + pub struct SetIndex(PhantomData S>); + impl sealed::Sealed for SetIndex {} + impl State for SetIndex { + type Features = S::Features; + type Index = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `index` field - pub struct index(()); ///Marker type for the `features` field pub struct features(()); + ///Marker type for the `index` field + pub struct index(()); } } @@ -684,8 +702,8 @@ where impl<'a, S> FacetBuilder<'a, S> where S: facet_state::State, - S::Index: facet_state::IsSet, S::Features: facet_state::IsSet, + S::Index: facet_state::IsSet, { /// Build the final struct pub fn build(self) -> Facet<'a> { @@ -699,7 +717,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Facet<'a> { @@ -860,7 +878,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Mention<'a> { @@ -935,7 +953,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Tag<'a> { { let value = &self.tag; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) diff --git a/crates/jacquard-api/src/app_bsky/unspecced.rs b/crates/jacquard-api/src/app_bsky/unspecced.rs index 0c55b3631..958332cbd 100644 --- a/crates/jacquard-api/src/app_bsky/unspecced.rs +++ b/crates/jacquard-api/src/app_bsky/unspecced.rs @@ -83,51 +83,51 @@ pub mod age_assurance_event_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type AttemptId; type Status; type CreatedAt; - type AttemptId; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type AttemptId = Unset; type Status = Unset; type CreatedAt = Unset; - type AttemptId = Unset; + } + ///State transition - sets the `attempt_id` field to Set + pub struct SetAttemptId(PhantomData S>); + impl sealed::Sealed for SetAttemptId {} + impl State for SetAttemptId { + type AttemptId = Set; + type Status = S::Status; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `status` field to Set pub struct SetStatus(PhantomData S>); impl sealed::Sealed for SetStatus {} impl State for SetStatus { + type AttemptId = S::AttemptId; type Status = Set; type CreatedAt = S::CreatedAt; - type AttemptId = S::AttemptId; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Status = S::Status; - type CreatedAt = Set; type AttemptId = S::AttemptId; - } - ///State transition - sets the `attempt_id` field to Set - pub struct SetAttemptId(PhantomData S>); - impl sealed::Sealed for SetAttemptId {} - impl State for SetAttemptId { type Status = S::Status; - type CreatedAt = S::CreatedAt; - type AttemptId = Set; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `attempt_id` field + pub struct attempt_id(()); ///Marker type for the `status` field pub struct status(()); ///Marker type for the `created_at` field pub struct created_at(()); - ///Marker type for the `attempt_id` field - pub struct attempt_id(()); } } @@ -311,9 +311,9 @@ where impl<'a, S> AgeAssuranceEventBuilder<'a, S> where S: age_assurance_event_state::State, + S::AttemptId: age_assurance_event_state::IsSet, S::Status: age_assurance_event_state::IsSet, S::CreatedAt: age_assurance_event_state::IsSet, - S::AttemptId: age_assurance_event_state::IsSet, { /// Build the final struct pub fn build(self) -> AgeAssuranceEvent<'a> { @@ -333,7 +333,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> AgeAssuranceEvent<'a> { @@ -458,7 +458,9 @@ fn lexicon_doc_app_bsky_unspecced_defs() -> ::jacquard_lexicon::lexicon::Lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("ageAssuranceEvent"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "ageAssuranceEvent", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -467,9 +469,9 @@ fn lexicon_doc_app_bsky_unspecced_defs() -> ::jacquard_lexicon::lexicon::Lexicon ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("createdAt"), - ::jacquard_common::smol_str::SmolStr::new_static("status"), - ::jacquard_common::smol_str::SmolStr::new_static("attemptId") + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("status"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("attemptId") ], ), nullable: None, @@ -477,7 +479,7 @@ fn lexicon_doc_app_bsky_unspecced_defs() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "attemptId", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -498,7 +500,7 @@ fn lexicon_doc_app_bsky_unspecced_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "completeIp", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -519,7 +521,7 @@ fn lexicon_doc_app_bsky_unspecced_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "completeUa", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -540,7 +542,7 @@ fn lexicon_doc_app_bsky_unspecced_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -563,7 +565,9 @@ fn lexicon_doc_app_bsky_unspecced_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("email"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "email", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -582,7 +586,9 @@ fn lexicon_doc_app_bsky_unspecced_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("initIp"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "initIp", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -601,7 +607,9 @@ fn lexicon_doc_app_bsky_unspecced_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("initUa"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "initUa", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -620,7 +628,9 @@ fn lexicon_doc_app_bsky_unspecced_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("status"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "status", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -643,7 +653,9 @@ fn lexicon_doc_app_bsky_unspecced_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("ageAssuranceState"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "ageAssuranceState", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -651,14 +663,16 @@ fn lexicon_doc_app_bsky_unspecced_defs() -> ::jacquard_lexicon::lexicon::Lexicon ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("status")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("status") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "lastInitiatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -681,7 +695,9 @@ fn lexicon_doc_app_bsky_unspecced_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("status"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "status", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -704,18 +720,24 @@ fn lexicon_doc_app_bsky_unspecced_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("skeletonSearchActor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "skeletonSearchActor", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("did")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("did") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -736,18 +758,24 @@ fn lexicon_doc_app_bsky_unspecced_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("skeletonSearchPost"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "skeletonSearchPost", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("uri")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -768,20 +796,24 @@ fn lexicon_doc_app_bsky_unspecced_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "skeletonSearchStarterPack", ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("uri")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -802,17 +834,17 @@ fn lexicon_doc_app_bsky_unspecced_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("skeletonTrend"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("skeletonTrend"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("topic"), - ::jacquard_common::smol_str::SmolStr::new_static("displayName"), - ::jacquard_common::smol_str::SmolStr::new_static("link"), - ::jacquard_common::smol_str::SmolStr::new_static("startedAt"), - ::jacquard_common::smol_str::SmolStr::new_static("postCount"), - ::jacquard_common::smol_str::SmolStr::new_static("dids") + ::jacquard_common::deps::smol_str::SmolStr::new_static("topic"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("displayName"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("link"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("startedAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("postCount"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("dids") ], ), nullable: None, @@ -820,7 +852,9 @@ fn lexicon_doc_app_bsky_unspecced_defs() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("category"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "category", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -835,7 +869,9 @@ fn lexicon_doc_app_bsky_unspecced_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("dids"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "dids", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::String(::jacquard_lexicon::lexicon::LexString { @@ -857,7 +893,7 @@ fn lexicon_doc_app_bsky_unspecced_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "displayName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -874,7 +910,9 @@ fn lexicon_doc_app_bsky_unspecced_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("link"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "link", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -889,7 +927,7 @@ fn lexicon_doc_app_bsky_unspecced_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "postCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -902,7 +940,7 @@ fn lexicon_doc_app_bsky_unspecced_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "startedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -921,7 +959,9 @@ fn lexicon_doc_app_bsky_unspecced_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("status"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "status", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -936,7 +976,9 @@ fn lexicon_doc_app_bsky_unspecced_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("topic"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "topic", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -955,18 +997,24 @@ fn lexicon_doc_app_bsky_unspecced_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("threadItemBlocked"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "threadItemBlocked", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("author")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("author") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "author", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -979,7 +1027,7 @@ fn lexicon_doc_app_bsky_unspecced_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "threadItemNoUnauthenticated", ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { @@ -994,7 +1042,9 @@ fn lexicon_doc_app_bsky_unspecced_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("threadItemNotFound"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "threadItemNotFound", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -1007,17 +1057,17 @@ fn lexicon_doc_app_bsky_unspecced_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("threadItemPost"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("threadItemPost"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("post"), - ::jacquard_common::smol_str::SmolStr::new_static("moreParents"), - ::jacquard_common::smol_str::SmolStr::new_static("moreReplies"), - ::jacquard_common::smol_str::SmolStr::new_static("opThread"), - ::jacquard_common::smol_str::SmolStr::new_static("hiddenByThreadgate"), - ::jacquard_common::smol_str::SmolStr::new_static("mutedByViewer") + ::jacquard_common::deps::smol_str::SmolStr::new_static("post"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("moreParents"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("moreReplies"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("opThread"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("hiddenByThreadgate"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("mutedByViewer") ], ), nullable: None, @@ -1025,7 +1075,7 @@ fn lexicon_doc_app_bsky_unspecced_defs() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hiddenByThreadgate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -1035,7 +1085,7 @@ fn lexicon_doc_app_bsky_unspecced_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "moreParents", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -1045,7 +1095,7 @@ fn lexicon_doc_app_bsky_unspecced_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "moreReplies", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1058,7 +1108,7 @@ fn lexicon_doc_app_bsky_unspecced_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mutedByViewer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -1068,7 +1118,9 @@ fn lexicon_doc_app_bsky_unspecced_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("opThread"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "opThread", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -1076,7 +1128,9 @@ fn lexicon_doc_app_bsky_unspecced_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("post"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "post", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -1089,17 +1143,17 @@ fn lexicon_doc_app_bsky_unspecced_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("trendView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("trendView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("topic"), - ::jacquard_common::smol_str::SmolStr::new_static("displayName"), - ::jacquard_common::smol_str::SmolStr::new_static("link"), - ::jacquard_common::smol_str::SmolStr::new_static("startedAt"), - ::jacquard_common::smol_str::SmolStr::new_static("postCount"), - ::jacquard_common::smol_str::SmolStr::new_static("actors") + ::jacquard_common::deps::smol_str::SmolStr::new_static("topic"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("displayName"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("link"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("startedAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("postCount"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("actors") ], ), nullable: None, @@ -1107,7 +1161,9 @@ fn lexicon_doc_app_bsky_unspecced_defs() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("actors"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "actors", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -1121,7 +1177,9 @@ fn lexicon_doc_app_bsky_unspecced_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("category"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "category", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -1136,7 +1194,7 @@ fn lexicon_doc_app_bsky_unspecced_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "displayName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1153,7 +1211,9 @@ fn lexicon_doc_app_bsky_unspecced_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("link"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "link", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -1168,7 +1228,7 @@ fn lexicon_doc_app_bsky_unspecced_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "postCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1181,7 +1241,7 @@ fn lexicon_doc_app_bsky_unspecced_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "startedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1200,7 +1260,9 @@ fn lexicon_doc_app_bsky_unspecced_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("status"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "status", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -1215,7 +1277,9 @@ fn lexicon_doc_app_bsky_unspecced_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("topic"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "topic", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -1234,13 +1298,13 @@ fn lexicon_doc_app_bsky_unspecced_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("trendingTopic"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("trendingTopic"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("topic"), - ::jacquard_common::smol_str::SmolStr::new_static("link") + ::jacquard_common::deps::smol_str::SmolStr::new_static("topic"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("link") ], ), nullable: None, @@ -1248,7 +1312,7 @@ fn lexicon_doc_app_bsky_unspecced_defs() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1265,7 +1329,7 @@ fn lexicon_doc_app_bsky_unspecced_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "displayName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1282,7 +1346,9 @@ fn lexicon_doc_app_bsky_unspecced_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("link"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "link", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -1297,7 +1363,9 @@ fn lexicon_doc_app_bsky_unspecced_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("topic"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "topic", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -1587,7 +1655,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> SkeletonSearchActor<'a> { @@ -1725,7 +1793,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> SkeletonSearchPost<'a> { @@ -1874,7 +1942,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> SkeletonSearchStarterPack<'a> { @@ -1942,105 +2010,105 @@ pub mod skeleton_trend_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Link; - type StartedAt; type Topic; - type DisplayName; + type StartedAt; type PostCount; type Dids; + type Link; + type DisplayName; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Link = Unset; - type StartedAt = Unset; type Topic = Unset; - type DisplayName = Unset; + type StartedAt = Unset; type PostCount = Unset; type Dids = Unset; + type Link = Unset; + type DisplayName = Unset; } - ///State transition - sets the `link` field to Set - pub struct SetLink(PhantomData S>); - impl sealed::Sealed for SetLink {} - impl State for SetLink { - type Link = Set; + ///State transition - sets the `topic` field to Set + pub struct SetTopic(PhantomData S>); + impl sealed::Sealed for SetTopic {} + impl State for SetTopic { + type Topic = Set; type StartedAt = S::StartedAt; - type Topic = S::Topic; - type DisplayName = S::DisplayName; type PostCount = S::PostCount; type Dids = S::Dids; + type Link = S::Link; + type DisplayName = S::DisplayName; } ///State transition - sets the `started_at` field to Set pub struct SetStartedAt(PhantomData S>); impl sealed::Sealed for SetStartedAt {} impl State for SetStartedAt { - type Link = S::Link; - type StartedAt = Set; type Topic = S::Topic; - type DisplayName = S::DisplayName; + type StartedAt = Set; type PostCount = S::PostCount; type Dids = S::Dids; - } - ///State transition - sets the `topic` field to Set - pub struct SetTopic(PhantomData S>); - impl sealed::Sealed for SetTopic {} - impl State for SetTopic { type Link = S::Link; - type StartedAt = S::StartedAt; - type Topic = Set; type DisplayName = S::DisplayName; - type PostCount = S::PostCount; - type Dids = S::Dids; - } - ///State transition - sets the `display_name` field to Set - pub struct SetDisplayName(PhantomData S>); - impl sealed::Sealed for SetDisplayName {} - impl State for SetDisplayName { - type Link = S::Link; - type StartedAt = S::StartedAt; - type Topic = S::Topic; - type DisplayName = Set; - type PostCount = S::PostCount; - type Dids = S::Dids; } ///State transition - sets the `post_count` field to Set pub struct SetPostCount(PhantomData S>); impl sealed::Sealed for SetPostCount {} impl State for SetPostCount { - type Link = S::Link; - type StartedAt = S::StartedAt; type Topic = S::Topic; - type DisplayName = S::DisplayName; + type StartedAt = S::StartedAt; type PostCount = Set; type Dids = S::Dids; + type Link = S::Link; + type DisplayName = S::DisplayName; } ///State transition - sets the `dids` field to Set pub struct SetDids(PhantomData S>); impl sealed::Sealed for SetDids {} impl State for SetDids { - type Link = S::Link; + type Topic = S::Topic; type StartedAt = S::StartedAt; + type PostCount = S::PostCount; + type Dids = Set; + type Link = S::Link; + type DisplayName = S::DisplayName; + } + ///State transition - sets the `link` field to Set + pub struct SetLink(PhantomData S>); + impl sealed::Sealed for SetLink {} + impl State for SetLink { type Topic = S::Topic; + type StartedAt = S::StartedAt; + type PostCount = S::PostCount; + type Dids = S::Dids; + type Link = Set; type DisplayName = S::DisplayName; + } + ///State transition - sets the `display_name` field to Set + pub struct SetDisplayName(PhantomData S>); + impl sealed::Sealed for SetDisplayName {} + impl State for SetDisplayName { + type Topic = S::Topic; + type StartedAt = S::StartedAt; type PostCount = S::PostCount; - type Dids = Set; + type Dids = S::Dids; + type Link = S::Link; + type DisplayName = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `link` field - pub struct link(()); - ///Marker type for the `started_at` field - pub struct started_at(()); ///Marker type for the `topic` field pub struct topic(()); - ///Marker type for the `display_name` field - pub struct display_name(()); + ///Marker type for the `started_at` field + pub struct started_at(()); ///Marker type for the `post_count` field pub struct post_count(()); ///Marker type for the `dids` field pub struct dids(()); + ///Marker type for the `link` field + pub struct link(()); + ///Marker type for the `display_name` field + pub struct display_name(()); } } @@ -2224,12 +2292,12 @@ where impl<'a, S> SkeletonTrendBuilder<'a, S> where S: skeleton_trend_state::State, - S::Link: skeleton_trend_state::IsSet, - S::StartedAt: skeleton_trend_state::IsSet, S::Topic: skeleton_trend_state::IsSet, - S::DisplayName: skeleton_trend_state::IsSet, + S::StartedAt: skeleton_trend_state::IsSet, S::PostCount: skeleton_trend_state::IsSet, S::Dids: skeleton_trend_state::IsSet, + S::Link: skeleton_trend_state::IsSet, + S::DisplayName: skeleton_trend_state::IsSet, { /// Build the final struct pub fn build(self) -> SkeletonTrend<'a> { @@ -2249,7 +2317,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> SkeletonTrend<'a> { @@ -2477,7 +2545,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ThreadItemBlocked<'a> { @@ -2601,105 +2669,105 @@ pub mod thread_item_post_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type OpThread; + type MutedByViewer; type Post; - type MoreParents; type HiddenByThreadgate; - type MutedByViewer; + type OpThread; type MoreReplies; + type MoreParents; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type OpThread = Unset; + type MutedByViewer = Unset; type Post = Unset; - type MoreParents = Unset; type HiddenByThreadgate = Unset; - type MutedByViewer = Unset; + type OpThread = Unset; type MoreReplies = Unset; + type MoreParents = Unset; } - ///State transition - sets the `op_thread` field to Set - pub struct SetOpThread(PhantomData S>); - impl sealed::Sealed for SetOpThread {} - impl State for SetOpThread { - type OpThread = Set; + ///State transition - sets the `muted_by_viewer` field to Set + pub struct SetMutedByViewer(PhantomData S>); + impl sealed::Sealed for SetMutedByViewer {} + impl State for SetMutedByViewer { + type MutedByViewer = Set; type Post = S::Post; - type MoreParents = S::MoreParents; type HiddenByThreadgate = S::HiddenByThreadgate; - type MutedByViewer = S::MutedByViewer; + type OpThread = S::OpThread; type MoreReplies = S::MoreReplies; + type MoreParents = S::MoreParents; } ///State transition - sets the `post` field to Set pub struct SetPost(PhantomData S>); impl sealed::Sealed for SetPost {} impl State for SetPost { - type OpThread = S::OpThread; + type MutedByViewer = S::MutedByViewer; type Post = Set; - type MoreParents = S::MoreParents; type HiddenByThreadgate = S::HiddenByThreadgate; - type MutedByViewer = S::MutedByViewer; - type MoreReplies = S::MoreReplies; - } - ///State transition - sets the `more_parents` field to Set - pub struct SetMoreParents(PhantomData S>); - impl sealed::Sealed for SetMoreParents {} - impl State for SetMoreParents { type OpThread = S::OpThread; - type Post = S::Post; - type MoreParents = Set; - type HiddenByThreadgate = S::HiddenByThreadgate; - type MutedByViewer = S::MutedByViewer; type MoreReplies = S::MoreReplies; + type MoreParents = S::MoreParents; } ///State transition - sets the `hidden_by_threadgate` field to Set pub struct SetHiddenByThreadgate(PhantomData S>); impl sealed::Sealed for SetHiddenByThreadgate {} impl State for SetHiddenByThreadgate { - type OpThread = S::OpThread; + type MutedByViewer = S::MutedByViewer; type Post = S::Post; - type MoreParents = S::MoreParents; type HiddenByThreadgate = Set; - type MutedByViewer = S::MutedByViewer; + type OpThread = S::OpThread; type MoreReplies = S::MoreReplies; + type MoreParents = S::MoreParents; } - ///State transition - sets the `muted_by_viewer` field to Set - pub struct SetMutedByViewer(PhantomData S>); - impl sealed::Sealed for SetMutedByViewer {} - impl State for SetMutedByViewer { - type OpThread = S::OpThread; + ///State transition - sets the `op_thread` field to Set + pub struct SetOpThread(PhantomData S>); + impl sealed::Sealed for SetOpThread {} + impl State for SetOpThread { + type MutedByViewer = S::MutedByViewer; type Post = S::Post; - type MoreParents = S::MoreParents; type HiddenByThreadgate = S::HiddenByThreadgate; - type MutedByViewer = Set; + type OpThread = Set; type MoreReplies = S::MoreReplies; + type MoreParents = S::MoreParents; } ///State transition - sets the `more_replies` field to Set pub struct SetMoreReplies(PhantomData S>); impl sealed::Sealed for SetMoreReplies {} impl State for SetMoreReplies { - type OpThread = S::OpThread; + type MutedByViewer = S::MutedByViewer; type Post = S::Post; - type MoreParents = S::MoreParents; type HiddenByThreadgate = S::HiddenByThreadgate; - type MutedByViewer = S::MutedByViewer; + type OpThread = S::OpThread; type MoreReplies = Set; + type MoreParents = S::MoreParents; + } + ///State transition - sets the `more_parents` field to Set + pub struct SetMoreParents(PhantomData S>); + impl sealed::Sealed for SetMoreParents {} + impl State for SetMoreParents { + type MutedByViewer = S::MutedByViewer; + type Post = S::Post; + type HiddenByThreadgate = S::HiddenByThreadgate; + type OpThread = S::OpThread; + type MoreReplies = S::MoreReplies; + type MoreParents = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `op_thread` field - pub struct op_thread(()); + ///Marker type for the `muted_by_viewer` field + pub struct muted_by_viewer(()); ///Marker type for the `post` field pub struct post(()); - ///Marker type for the `more_parents` field - pub struct more_parents(()); ///Marker type for the `hidden_by_threadgate` field pub struct hidden_by_threadgate(()); - ///Marker type for the `muted_by_viewer` field - pub struct muted_by_viewer(()); + ///Marker type for the `op_thread` field + pub struct op_thread(()); ///Marker type for the `more_replies` field pub struct more_replies(()); + ///Marker type for the `more_parents` field + pub struct more_parents(()); } } @@ -2852,12 +2920,12 @@ where impl<'a, S> ThreadItemPostBuilder<'a, S> where S: thread_item_post_state::State, - S::OpThread: thread_item_post_state::IsSet, + S::MutedByViewer: thread_item_post_state::IsSet, S::Post: thread_item_post_state::IsSet, - S::MoreParents: thread_item_post_state::IsSet, S::HiddenByThreadgate: thread_item_post_state::IsSet, - S::MutedByViewer: thread_item_post_state::IsSet, + S::OpThread: thread_item_post_state::IsSet, S::MoreReplies: thread_item_post_state::IsSet, + S::MoreParents: thread_item_post_state::IsSet, { /// Build the final struct pub fn build(self) -> ThreadItemPost<'a> { @@ -2875,7 +2943,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ThreadItemPost<'a> { @@ -2948,95 +3016,95 @@ pub mod trend_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Topic; + type Actors; type DisplayName; type Link; type PostCount; type StartedAt; - type Actors; + type Topic; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Topic = Unset; + type Actors = Unset; type DisplayName = Unset; type Link = Unset; type PostCount = Unset; type StartedAt = Unset; - type Actors = Unset; + type Topic = Unset; } - ///State transition - sets the `topic` field to Set - pub struct SetTopic(PhantomData S>); - impl sealed::Sealed for SetTopic {} - impl State for SetTopic { - type Topic = Set; + ///State transition - sets the `actors` field to Set + pub struct SetActors(PhantomData S>); + impl sealed::Sealed for SetActors {} + impl State for SetActors { + type Actors = Set; type DisplayName = S::DisplayName; type Link = S::Link; type PostCount = S::PostCount; type StartedAt = S::StartedAt; - type Actors = S::Actors; + type Topic = S::Topic; } ///State transition - sets the `display_name` field to Set pub struct SetDisplayName(PhantomData S>); impl sealed::Sealed for SetDisplayName {} impl State for SetDisplayName { - type Topic = S::Topic; + type Actors = S::Actors; type DisplayName = Set; type Link = S::Link; type PostCount = S::PostCount; type StartedAt = S::StartedAt; - type Actors = S::Actors; + type Topic = S::Topic; } ///State transition - sets the `link` field to Set pub struct SetLink(PhantomData S>); impl sealed::Sealed for SetLink {} impl State for SetLink { - type Topic = S::Topic; + type Actors = S::Actors; type DisplayName = S::DisplayName; type Link = Set; type PostCount = S::PostCount; type StartedAt = S::StartedAt; - type Actors = S::Actors; + type Topic = S::Topic; } ///State transition - sets the `post_count` field to Set pub struct SetPostCount(PhantomData S>); impl sealed::Sealed for SetPostCount {} impl State for SetPostCount { - type Topic = S::Topic; + type Actors = S::Actors; type DisplayName = S::DisplayName; type Link = S::Link; type PostCount = Set; type StartedAt = S::StartedAt; - type Actors = S::Actors; + type Topic = S::Topic; } ///State transition - sets the `started_at` field to Set pub struct SetStartedAt(PhantomData S>); impl sealed::Sealed for SetStartedAt {} impl State for SetStartedAt { - type Topic = S::Topic; + type Actors = S::Actors; type DisplayName = S::DisplayName; type Link = S::Link; type PostCount = S::PostCount; type StartedAt = Set; - type Actors = S::Actors; - } - ///State transition - sets the `actors` field to Set - pub struct SetActors(PhantomData S>); - impl sealed::Sealed for SetActors {} - impl State for SetActors { type Topic = S::Topic; + } + ///State transition - sets the `topic` field to Set + pub struct SetTopic(PhantomData S>); + impl sealed::Sealed for SetTopic {} + impl State for SetTopic { + type Actors = S::Actors; type DisplayName = S::DisplayName; type Link = S::Link; type PostCount = S::PostCount; type StartedAt = S::StartedAt; - type Actors = Set; + type Topic = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `topic` field - pub struct topic(()); + ///Marker type for the `actors` field + pub struct actors(()); ///Marker type for the `display_name` field pub struct display_name(()); ///Marker type for the `link` field @@ -3045,8 +3113,8 @@ pub mod trend_view_state { pub struct post_count(()); ///Marker type for the `started_at` field pub struct started_at(()); - ///Marker type for the `actors` field - pub struct actors(()); + ///Marker type for the `topic` field + pub struct topic(()); } } @@ -3230,12 +3298,12 @@ where impl<'a, S> TrendViewBuilder<'a, S> where S: trend_view_state::State, - S::Topic: trend_view_state::IsSet, + S::Actors: trend_view_state::IsSet, S::DisplayName: trend_view_state::IsSet, S::Link: trend_view_state::IsSet, S::PostCount: trend_view_state::IsSet, S::StartedAt: trend_view_state::IsSet, - S::Actors: trend_view_state::IsSet, + S::Topic: trend_view_state::IsSet, { /// Build the final struct pub fn build(self) -> TrendView<'a> { @@ -3255,7 +3323,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> TrendView<'a> { 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 1cb09d3a4..939db0b03 100644 --- a/crates/jacquard-api/src/app_bsky/unspecced/get_config.rs +++ b/crates/jacquard-api/src/app_bsky/unspecced/get_config.rs @@ -33,37 +33,37 @@ pub mod live_now_config_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Did; type Domains; + type Did; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Did = Unset; type Domains = Unset; - } - ///State transition - sets the `did` field to Set - pub struct SetDid(PhantomData S>); - impl sealed::Sealed for SetDid {} - impl State for SetDid { - type Did = Set; - type Domains = S::Domains; + type Did = Unset; } ///State transition - sets the `domains` field to Set pub struct SetDomains(PhantomData S>); impl sealed::Sealed for SetDomains {} impl State for SetDomains { - type Did = S::Did; type Domains = Set; + type Did = S::Did; + } + ///State transition - sets the `did` field to Set + pub struct SetDid(PhantomData S>); + impl sealed::Sealed for SetDid {} + impl State for SetDid { + type Domains = S::Domains; + type Did = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `did` field - pub struct did(()); ///Marker type for the `domains` field pub struct domains(()); + ///Marker type for the `did` field + pub struct did(()); } } @@ -136,8 +136,8 @@ where impl<'a, S> LiveNowConfigBuilder<'a, S> where S: live_now_config_state::State, - S::Did: live_now_config_state::IsSet, S::Domains: live_now_config_state::IsSet, + S::Did: live_now_config_state::IsSet, { /// Build the final struct pub fn build(self) -> LiveNowConfig<'a> { @@ -151,7 +151,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> LiveNowConfig<'a> { @@ -174,13 +174,13 @@ fn lexicon_doc_app_bsky_unspecced_getConfig() -> ::jacquard_lexicon::lexicon::Le defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("liveNowConfig"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("liveNowConfig"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("did"), - ::jacquard_common::smol_str::SmolStr::new_static("domains") + ::jacquard_common::deps::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("domains") ], ), nullable: None, @@ -188,7 +188,9 @@ fn lexicon_doc_app_bsky_unspecced_getConfig() -> ::jacquard_lexicon::lexicon::Le #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -205,7 +207,9 @@ fn lexicon_doc_app_bsky_unspecced_getConfig() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("domains"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "domains", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::String(::jacquard_lexicon::lexicon::LexString { @@ -229,7 +233,7 @@ fn lexicon_doc_app_bsky_unspecced_getConfig() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcQuery(::jacquard_lexicon::lexicon::LexXrpcQuery { description: None, parameters: None, 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 ffd303295..0902e6525 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 @@ -189,51 +189,51 @@ pub mod thread_item_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Uri; - type Depth; type Value; + type Depth; + type Uri; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Uri = Unset; - type Depth = Unset; type Value = Unset; + type Depth = Unset; + type Uri = Unset; } - ///State transition - sets the `uri` field to Set - pub struct SetUri(PhantomData S>); - impl sealed::Sealed for SetUri {} - impl State for SetUri { - type Uri = Set; + ///State transition - sets the `value` field to Set + pub struct SetValue(PhantomData S>); + impl sealed::Sealed for SetValue {} + impl State for SetValue { + type Value = Set; type Depth = S::Depth; - type Value = S::Value; + type Uri = S::Uri; } ///State transition - sets the `depth` field to Set pub struct SetDepth(PhantomData S>); impl sealed::Sealed for SetDepth {} impl State for SetDepth { - type Uri = S::Uri; - type Depth = Set; type Value = S::Value; - } - ///State transition - sets the `value` field to Set - pub struct SetValue(PhantomData S>); - impl sealed::Sealed for SetValue {} - impl State for SetValue { + type Depth = Set; type Uri = S::Uri; + } + ///State transition - sets the `uri` field to Set + pub struct SetUri(PhantomData S>); + impl sealed::Sealed for SetUri {} + impl State for SetUri { + type Value = S::Value; type Depth = S::Depth; - type Value = Set; + type Uri = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `uri` field - pub struct uri(()); - ///Marker type for the `depth` field - pub struct depth(()); ///Marker type for the `value` field pub struct value(()); + ///Marker type for the `depth` field + pub struct depth(()); + ///Marker type for the `uri` field + pub struct uri(()); } } @@ -326,9 +326,9 @@ where impl<'a, S> ThreadItemBuilder<'a, S> where S: thread_item_state::State, - S::Uri: thread_item_state::IsSet, - S::Depth: thread_item_state::IsSet, S::Value: thread_item_state::IsSet, + S::Depth: thread_item_state::IsSet, + S::Uri: thread_item_state::IsSet, { /// Build the final struct pub fn build(self) -> ThreadItem<'a> { @@ -343,7 +343,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ThreadItem<'a> { @@ -369,7 +369,7 @@ fn lexicon_doc_app_bsky_unspecced_getPostThreadOtherV2() -> ::jacquard_lexicon:: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcQuery(::jacquard_lexicon::lexicon::LexXrpcQuery { description: None, parameters: Some( @@ -377,14 +377,16 @@ fn lexicon_doc_app_bsky_unspecced_getPostThreadOtherV2() -> ::jacquard_lexicon:: description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("anchor") + ::jacquard_common::deps::smol_str::SmolStr::new_static("anchor") ], ), properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("anchor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "anchor", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -413,14 +415,14 @@ fn lexicon_doc_app_bsky_unspecced_getPostThreadOtherV2() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("threadItem"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("threadItem"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("depth"), - ::jacquard_common::smol_str::SmolStr::new_static("value") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("depth"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("value") ], ), nullable: None, @@ -428,7 +430,9 @@ fn lexicon_doc_app_bsky_unspecced_getPostThreadOtherV2() -> ::jacquard_lexicon:: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("depth"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "depth", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -439,7 +443,9 @@ fn lexicon_doc_app_bsky_unspecced_getPostThreadOtherV2() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -456,7 +462,9 @@ fn lexicon_doc_app_bsky_unspecced_getPostThreadOtherV2() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("value"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "value", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ 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 254db2193..ab49a1f61 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 @@ -265,51 +265,51 @@ pub mod thread_item_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Depth; type Value; type Uri; - type Depth; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Depth = Unset; type Value = Unset; type Uri = Unset; - type Depth = Unset; + } + ///State transition - sets the `depth` field to Set + pub struct SetDepth(PhantomData S>); + impl sealed::Sealed for SetDepth {} + impl State for SetDepth { + type Depth = Set; + type Value = S::Value; + type Uri = S::Uri; } ///State transition - sets the `value` field to Set pub struct SetValue(PhantomData S>); impl sealed::Sealed for SetValue {} impl State for SetValue { + type Depth = S::Depth; type Value = Set; type Uri = S::Uri; - type Depth = S::Depth; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { - type Value = S::Value; - type Uri = Set; type Depth = S::Depth; - } - ///State transition - sets the `depth` field to Set - pub struct SetDepth(PhantomData S>); - impl sealed::Sealed for SetDepth {} - impl State for SetDepth { type Value = S::Value; - type Uri = S::Uri; - type Depth = Set; + type Uri = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `depth` field + pub struct depth(()); ///Marker type for the `value` field pub struct value(()); ///Marker type for the `uri` field pub struct uri(()); - ///Marker type for the `depth` field - pub struct depth(()); } } @@ -402,9 +402,9 @@ where impl<'a, S> ThreadItemBuilder<'a, S> where S: thread_item_state::State, + S::Depth: thread_item_state::IsSet, S::Value: thread_item_state::IsSet, S::Uri: thread_item_state::IsSet, - S::Depth: thread_item_state::IsSet, { /// Build the final struct pub fn build(self) -> ThreadItem<'a> { @@ -419,7 +419,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ThreadItem<'a> { @@ -468,7 +468,7 @@ fn lexicon_doc_app_bsky_unspecced_getPostThreadV2() -> ::jacquard_lexicon::lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcQuery(::jacquard_lexicon::lexicon::LexXrpcQuery { description: None, parameters: Some( @@ -476,14 +476,16 @@ fn lexicon_doc_app_bsky_unspecced_getPostThreadV2() -> ::jacquard_lexicon::lexic description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("anchor") + ::jacquard_common::deps::smol_str::SmolStr::new_static("anchor") ], ), properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("above"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "above", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -491,7 +493,9 @@ fn lexicon_doc_app_bsky_unspecced_getPostThreadV2() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("anchor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "anchor", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -512,7 +516,9 @@ fn lexicon_doc_app_bsky_unspecced_getPostThreadV2() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("below"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "below", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -523,7 +529,7 @@ fn lexicon_doc_app_bsky_unspecced_getPostThreadV2() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "branchingFactor", ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -536,7 +542,9 @@ fn lexicon_doc_app_bsky_unspecced_getPostThreadV2() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sort"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sort", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -563,14 +571,14 @@ fn lexicon_doc_app_bsky_unspecced_getPostThreadV2() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("threadItem"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("threadItem"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("depth"), - ::jacquard_common::smol_str::SmolStr::new_static("value") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("depth"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("value") ], ), nullable: None, @@ -578,7 +586,9 @@ fn lexicon_doc_app_bsky_unspecced_getPostThreadV2() -> ::jacquard_lexicon::lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("depth"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "depth", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -589,7 +599,9 @@ fn lexicon_doc_app_bsky_unspecced_getPostThreadV2() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -606,7 +618,9 @@ fn lexicon_doc_app_bsky_unspecced_getPostThreadV2() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("value"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "value", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ 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 4f6a7f74b..664a904d8 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 @@ -244,7 +244,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Suggestion<'a> { @@ -360,7 +360,7 @@ fn lexicon_doc_app_bsky_unspecced_getTaggedSuggestions() -> ::jacquard_lexicon:: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcQuery(::jacquard_lexicon::lexicon::LexXrpcQuery { description: None, parameters: Some( @@ -379,14 +379,14 @@ fn lexicon_doc_app_bsky_unspecced_getTaggedSuggestions() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("suggestion"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("suggestion"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("tag"), - ::jacquard_common::smol_str::SmolStr::new_static("subjectType"), - ::jacquard_common::smol_str::SmolStr::new_static("subject") + ::jacquard_common::deps::smol_str::SmolStr::new_static("tag"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("subjectType"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject") ], ), nullable: None, @@ -394,7 +394,9 @@ fn lexicon_doc_app_bsky_unspecced_getTaggedSuggestions() -> ::jacquard_lexicon:: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -411,7 +413,7 @@ fn lexicon_doc_app_bsky_unspecced_getTaggedSuggestions() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjectType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -428,7 +430,9 @@ fn lexicon_doc_app_bsky_unspecced_getTaggedSuggestions() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tag"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tag", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, diff --git a/crates/jacquard-api/src/app_bsky/video.rs b/crates/jacquard-api/src/app_bsky/video.rs index 3df153f98..c9ee952d9 100644 --- a/crates/jacquard-api/src/app_bsky/video.rs +++ b/crates/jacquard-api/src/app_bsky/video.rs @@ -52,51 +52,51 @@ pub mod job_status_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Did; - type State; type JobId; + type State; + type Did; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Did = Unset; - type State = Unset; type JobId = Unset; + type State = Unset; + type Did = Unset; } - ///State transition - sets the `did` field to Set - pub struct SetDid(PhantomData S>); - impl sealed::Sealed for SetDid {} - impl State for SetDid { - type Did = Set; + ///State transition - sets the `job_id` field to Set + pub struct SetJobId(PhantomData S>); + impl sealed::Sealed for SetJobId {} + impl State for SetJobId { + type JobId = Set; type State = S::State; - type JobId = S::JobId; + type Did = S::Did; } ///State transition - sets the `state` field to Set pub struct SetState(PhantomData S>); impl sealed::Sealed for SetState {} impl State for SetState { - type Did = S::Did; - type State = Set; type JobId = S::JobId; - } - ///State transition - sets the `job_id` field to Set - pub struct SetJobId(PhantomData S>); - impl sealed::Sealed for SetJobId {} - impl State for SetJobId { + type State = Set; type Did = S::Did; + } + ///State transition - sets the `did` field to Set + pub struct SetDid(PhantomData S>); + impl sealed::Sealed for SetDid {} + impl State for SetDid { + type JobId = S::JobId; type State = S::State; - type JobId = Set; + type Did = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `did` field - pub struct did(()); - ///Marker type for the `state` field - pub struct state(()); ///Marker type for the `job_id` field pub struct job_id(()); + ///Marker type for the `state` field + pub struct state(()); + ///Marker type for the `did` field + pub struct did(()); } } @@ -257,9 +257,9 @@ where impl<'a, S> JobStatusBuilder<'a, S> where S: job_status_state::State, - S::Did: job_status_state::IsSet, - S::State: job_status_state::IsSet, S::JobId: job_status_state::IsSet, + S::State: job_status_state::IsSet, + S::Did: job_status_state::IsSet, { /// Build the final struct pub fn build(self) -> JobStatus<'a> { @@ -278,7 +278,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> JobStatus<'a> { @@ -395,14 +395,14 @@ fn lexicon_doc_app_bsky_video_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("jobStatus"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("jobStatus"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("jobId"), - ::jacquard_common::smol_str::SmolStr::new_static("did"), - ::jacquard_common::smol_str::SmolStr::new_static("state") + ::jacquard_common::deps::smol_str::SmolStr::new_static("jobId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("state") ], ), nullable: None, @@ -410,7 +410,9 @@ fn lexicon_doc_app_bsky_video_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("blob"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "blob", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -418,7 +420,9 @@ fn lexicon_doc_app_bsky_video_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -435,7 +439,9 @@ fn lexicon_doc_app_bsky_video_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("error"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "error", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -450,7 +456,9 @@ fn lexicon_doc_app_bsky_video_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("jobId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "jobId", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -465,7 +473,9 @@ fn lexicon_doc_app_bsky_video_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("message"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "message", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -480,7 +490,9 @@ fn lexicon_doc_app_bsky_video_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("progress"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "progress", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -491,7 +503,9 @@ fn lexicon_doc_app_bsky_video_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("state"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "state", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/app_bsky/video/upload_video.rs b/crates/jacquard-api/src/app_bsky/video/upload_video.rs index 2c029af20..44f2b0e3c 100644 --- a/crates/jacquard-api/src/app_bsky/video/upload_video.rs +++ b/crates/jacquard-api/src/app_bsky/video/upload_video.rs @@ -16,7 +16,7 @@ )] #[serde(rename_all = "camelCase")] pub struct UploadVideo { - pub body: bytes::Bytes, + pub body: jacquard_common::deps::bytes::Bytes, } #[jacquard_derive::lexicon] @@ -62,7 +62,7 @@ impl jacquard_common::xrpc::XrpcRequest for UploadVideo { { Ok( Box::new(Self { - body: bytes::Bytes::copy_from_slice(body), + body: jacquard_common::deps::bytes::Bytes::copy_from_slice(body), }), ) } diff --git a/crates/jacquard-api/src/app_certified.rs b/crates/jacquard-api/src/app_certified.rs index 2742fc26a..744b78f0d 100644 --- a/crates/jacquard-api/src/app_certified.rs +++ b/crates/jacquard-api/src/app_certified.rs @@ -121,7 +121,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Did<'a> { @@ -141,7 +141,7 @@ fn lexicon_doc_app_certified_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("did"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -149,14 +149,18 @@ fn lexicon_doc_app_certified_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("did")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("did") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/app_certified/actor/organization.rs b/crates/jacquard-api/src/app_certified/actor/organization.rs index d6fdfd8bf..644be35f7 100644 --- a/crates/jacquard-api/src/app_certified/actor/organization.rs +++ b/crates/jacquard-api/src/app_certified/actor/organization.rs @@ -223,7 +223,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Organization<'a> { @@ -339,7 +339,7 @@ fn lexicon_doc_app_certified_actor_organization() -> ::jacquard_lexicon::lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -351,7 +351,7 @@ fn lexicon_doc_app_certified_actor_organization() -> ::jacquard_lexicon::lexicon description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -359,7 +359,7 @@ fn lexicon_doc_app_certified_actor_organization() -> ::jacquard_lexicon::lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -382,7 +382,7 @@ fn lexicon_doc_app_certified_actor_organization() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "foundedDate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -405,7 +405,7 @@ fn lexicon_doc_app_certified_actor_organization() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "location", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -416,7 +416,7 @@ fn lexicon_doc_app_certified_actor_organization() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "organizationType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -442,7 +442,9 @@ fn lexicon_doc_app_certified_actor_organization() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("urls"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "urls", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -463,20 +465,24 @@ fn lexicon_doc_app_certified_actor_organization() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("urlItem"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("urlItem"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static("A labeled URL reference."), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("url")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("url") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("label"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "label", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -495,7 +501,9 @@ fn lexicon_doc_app_certified_actor_organization() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("The URL."), @@ -656,7 +664,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> UrlItem<'a> { @@ -695,7 +703,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for UrlItem<'a> { } if let Some(ref value) = self.label { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -727,7 +735,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for UrlItem<'a> { { let value = &self.url; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) diff --git a/crates/jacquard-api/src/app_certified/actor/profile.rs b/crates/jacquard-api/src/app_certified/actor/profile.rs index 6e9f75946..4510d46bd 100644 --- a/crates/jacquard-api/src/app_certified/actor/profile.rs +++ b/crates/jacquard-api/src/app_certified/actor/profile.rs @@ -251,7 +251,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Profile<'a> { @@ -394,7 +394,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Profile<'a> { } if let Some(ref value) = self.description { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -424,7 +424,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Profile<'a> { } if let Some(ref value) = self.display_name { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -454,7 +454,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Profile<'a> { } if let Some(ref value) = self.pronouns { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -485,7 +485,7 @@ fn lexicon_doc_app_certified_actor_profile() -> ::jacquard_lexicon::lexicon::Lex defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -497,7 +497,7 @@ fn lexicon_doc_app_certified_actor_profile() -> ::jacquard_lexicon::lexicon::Lex description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -505,7 +505,9 @@ fn lexicon_doc_app_certified_actor_profile() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("avatar"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "avatar", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: Some( ::jacquard_common::CowStr::new_static( @@ -520,7 +522,9 @@ fn lexicon_doc_app_certified_actor_profile() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("banner"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "banner", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: Some( ::jacquard_common::CowStr::new_static( @@ -535,7 +539,7 @@ fn lexicon_doc_app_certified_actor_profile() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -558,7 +562,7 @@ fn lexicon_doc_app_certified_actor_profile() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -579,7 +583,7 @@ fn lexicon_doc_app_certified_actor_profile() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "displayName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -600,7 +604,7 @@ fn lexicon_doc_app_certified_actor_profile() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "pronouns", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -621,7 +625,9 @@ fn lexicon_doc_app_certified_actor_profile() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("website"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "website", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Account website URL"), diff --git a/crates/jacquard-api/src/app_certified/badge/award.rs b/crates/jacquard-api/src/app_certified/badge/award.rs index 68cbf90a9..0d484cfb8 100644 --- a/crates/jacquard-api/src/app_certified/badge/award.rs +++ b/crates/jacquard-api/src/app_certified/badge/award.rs @@ -46,51 +46,51 @@ pub mod award_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Badge; type Subject; type CreatedAt; - type Badge; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Badge = Unset; type Subject = Unset; type CreatedAt = Unset; - type Badge = Unset; + } + ///State transition - sets the `badge` field to Set + pub struct SetBadge(PhantomData S>); + impl sealed::Sealed for SetBadge {} + impl State for SetBadge { + type Badge = Set; + type Subject = S::Subject; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `subject` field to Set pub struct SetSubject(PhantomData S>); impl sealed::Sealed for SetSubject {} impl State for SetSubject { + type Badge = S::Badge; type Subject = Set; type CreatedAt = S::CreatedAt; - type Badge = S::Badge; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Subject = S::Subject; - type CreatedAt = Set; type Badge = S::Badge; - } - ///State transition - sets the `badge` field to Set - pub struct SetBadge(PhantomData S>); - impl sealed::Sealed for SetBadge {} - impl State for SetBadge { type Subject = S::Subject; - type CreatedAt = S::CreatedAt; - type Badge = Set; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `badge` field + pub struct badge(()); ///Marker type for the `subject` field pub struct subject(()); ///Marker type for the `created_at` field pub struct created_at(()); - ///Marker type for the `badge` field - pub struct badge(()); } } @@ -220,9 +220,9 @@ impl<'a, S: award_state::State> AwardBuilder<'a, S> { impl<'a, S> AwardBuilder<'a, S> where S: award_state::State, + S::Badge: award_state::IsSet, S::Subject: award_state::IsSet, S::CreatedAt: award_state::IsSet, - S::Badge: award_state::IsSet, { /// Build the final struct pub fn build(self) -> Award<'a> { @@ -239,7 +239,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Award<'a> { @@ -386,7 +386,7 @@ fn lexicon_doc_app_certified_badge_award() -> ::jacquard_lexicon::lexicon::Lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -398,9 +398,9 @@ fn lexicon_doc_app_certified_badge_award() -> ::jacquard_lexicon::lexicon::Lexic description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("badge"), - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("badge"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -408,7 +408,9 @@ fn lexicon_doc_app_certified_badge_award() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("badge"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "badge", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -417,7 +419,7 @@ fn lexicon_doc_app_certified_badge_award() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -440,7 +442,9 @@ fn lexicon_doc_app_certified_badge_award() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("note"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "note", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -459,7 +463,9 @@ fn lexicon_doc_app_certified_badge_award() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: Some( ::jacquard_common::CowStr::new_static( @@ -474,7 +480,9 @@ fn lexicon_doc_app_certified_badge_award() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/app_certified/badge/definition.rs b/crates/jacquard-api/src/app_certified/badge/definition.rs index 6f28c5473..3fd90445d 100644 --- a/crates/jacquard-api/src/app_certified/badge/definition.rs +++ b/crates/jacquard-api/src/app_certified/badge/definition.rs @@ -49,65 +49,65 @@ pub mod definition_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Title; - type BadgeType; type Icon; + type BadgeType; + type Title; type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Title = Unset; - type BadgeType = Unset; type Icon = Unset; + type BadgeType = Unset; + type Title = Unset; type CreatedAt = Unset; } - ///State transition - sets the `title` field to Set - pub struct SetTitle(PhantomData S>); - impl sealed::Sealed for SetTitle {} - impl State for SetTitle { - type Title = Set; + ///State transition - sets the `icon` field to Set + pub struct SetIcon(PhantomData S>); + impl sealed::Sealed for SetIcon {} + impl State for SetIcon { + type Icon = Set; type BadgeType = S::BadgeType; - type Icon = S::Icon; + type Title = S::Title; type CreatedAt = S::CreatedAt; } ///State transition - sets the `badge_type` field to Set pub struct SetBadgeType(PhantomData S>); impl sealed::Sealed for SetBadgeType {} impl State for SetBadgeType { - type Title = S::Title; - type BadgeType = Set; type Icon = S::Icon; + type BadgeType = Set; + type Title = S::Title; type CreatedAt = S::CreatedAt; } - ///State transition - sets the `icon` field to Set - pub struct SetIcon(PhantomData S>); - impl sealed::Sealed for SetIcon {} - impl State for SetIcon { - type Title = S::Title; + ///State transition - sets the `title` field to Set + pub struct SetTitle(PhantomData S>); + impl sealed::Sealed for SetTitle {} + impl State for SetTitle { + type Icon = S::Icon; type BadgeType = S::BadgeType; - type Icon = Set; + type Title = Set; type CreatedAt = S::CreatedAt; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Title = S::Title; - type BadgeType = S::BadgeType; type Icon = S::Icon; + type BadgeType = S::BadgeType; + type Title = S::Title; type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `title` field - pub struct title(()); - ///Marker type for the `badge_type` field - pub struct badge_type(()); ///Marker type for the `icon` field pub struct icon(()); + ///Marker type for the `badge_type` field + pub struct badge_type(()); + ///Marker type for the `title` field + pub struct title(()); ///Marker type for the `created_at` field pub struct created_at(()); } @@ -262,9 +262,9 @@ where impl<'a, S> DefinitionBuilder<'a, S> where S: definition_state::State, - S::Title: definition_state::IsSet, - S::BadgeType: definition_state::IsSet, S::Icon: definition_state::IsSet, + S::BadgeType: definition_state::IsSet, + S::Title: definition_state::IsSet, S::CreatedAt: definition_state::IsSet, { /// Build the final struct @@ -283,7 +283,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Definition<'a> { @@ -412,7 +412,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Definition<'a> { } if let Some(ref value) = self.description { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -456,7 +456,7 @@ fn lexicon_doc_app_certified_badge_definition() -> ::jacquard_lexicon::lexicon:: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -468,10 +468,10 @@ fn lexicon_doc_app_certified_badge_definition() -> ::jacquard_lexicon::lexicon:: description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("badgeType"), - ::jacquard_common::smol_str::SmolStr::new_static("icon"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("badgeType"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("icon"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -479,7 +479,7 @@ fn lexicon_doc_app_certified_badge_definition() -> ::jacquard_lexicon::lexicon:: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "allowedIssuers", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -499,7 +499,7 @@ fn lexicon_doc_app_certified_badge_definition() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "badgeType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -520,7 +520,7 @@ fn lexicon_doc_app_certified_badge_definition() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -543,7 +543,7 @@ fn lexicon_doc_app_certified_badge_definition() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -564,7 +564,9 @@ fn lexicon_doc_app_certified_badge_definition() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("icon"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "icon", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -572,7 +574,9 @@ fn lexicon_doc_app_certified_badge_definition() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/app_certified/badge/response.rs b/crates/jacquard-api/src/app_certified/badge/response.rs index 938f420a1..c6c27504c 100644 --- a/crates/jacquard-api/src/app_certified/badge/response.rs +++ b/crates/jacquard-api/src/app_certified/badge/response.rs @@ -42,51 +42,51 @@ pub mod response_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Response; type BadgeAward; type CreatedAt; - type Response; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Response = Unset; type BadgeAward = Unset; type CreatedAt = Unset; - type Response = Unset; + } + ///State transition - sets the `response` field to Set + pub struct SetResponse(PhantomData S>); + impl sealed::Sealed for SetResponse {} + impl State for SetResponse { + type Response = Set; + type BadgeAward = S::BadgeAward; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `badge_award` field to Set pub struct SetBadgeAward(PhantomData S>); impl sealed::Sealed for SetBadgeAward {} impl State for SetBadgeAward { + type Response = S::Response; type BadgeAward = Set; type CreatedAt = S::CreatedAt; - type Response = S::Response; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type BadgeAward = S::BadgeAward; - type CreatedAt = Set; type Response = S::Response; - } - ///State transition - sets the `response` field to Set - pub struct SetResponse(PhantomData S>); - impl sealed::Sealed for SetResponse {} - impl State for SetResponse { type BadgeAward = S::BadgeAward; - type CreatedAt = S::CreatedAt; - type Response = Set; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `response` field + pub struct response(()); ///Marker type for the `badge_award` field pub struct badge_award(()); ///Marker type for the `created_at` field pub struct created_at(()); - ///Marker type for the `response` field - pub struct response(()); } } @@ -196,9 +196,9 @@ impl<'a, S: response_state::State> ResponseBuilder<'a, S> { impl<'a, S> ResponseBuilder<'a, S> where S: response_state::State, + S::Response: response_state::IsSet, S::BadgeAward: response_state::IsSet, S::CreatedAt: response_state::IsSet, - S::Response: response_state::IsSet, { /// Build the final struct pub fn build(self) -> Response<'a> { @@ -214,7 +214,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Response<'a> { @@ -418,7 +418,7 @@ fn lexicon_doc_app_certified_badge_response() -> ::jacquard_lexicon::lexicon::Le defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -430,9 +430,9 @@ fn lexicon_doc_app_certified_badge_response() -> ::jacquard_lexicon::lexicon::Le description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("badgeAward"), - ::jacquard_common::smol_str::SmolStr::new_static("response"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("badgeAward"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("response"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -440,7 +440,7 @@ fn lexicon_doc_app_certified_badge_response() -> ::jacquard_lexicon::lexicon::Le #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "badgeAward", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -451,7 +451,7 @@ fn lexicon_doc_app_certified_badge_response() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -474,7 +474,7 @@ fn lexicon_doc_app_certified_badge_response() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "response", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -495,7 +495,9 @@ fn lexicon_doc_app_certified_badge_response() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("weight"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "weight", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/app_certified/location.rs b/crates/jacquard-api/src/app_certified/location.rs index 9775efcfb..02d73396f 100644 --- a/crates/jacquard-api/src/app_certified/location.rs +++ b/crates/jacquard-api/src/app_certified/location.rs @@ -52,85 +52,85 @@ pub mod location_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type LpVersion; - type Location; + type LocationType; type Srs; type CreatedAt; - type LocationType; + type LpVersion; + type Location; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type LpVersion = Unset; - type Location = Unset; + type LocationType = Unset; type Srs = Unset; type CreatedAt = Unset; - type LocationType = Unset; + type LpVersion = Unset; + type Location = Unset; } - ///State transition - sets the `lp_version` field to Set - pub struct SetLpVersion(PhantomData S>); - impl sealed::Sealed for SetLpVersion {} - impl State for SetLpVersion { - type LpVersion = Set; - type Location = S::Location; + ///State transition - sets the `location_type` field to Set + pub struct SetLocationType(PhantomData S>); + impl sealed::Sealed for SetLocationType {} + impl State for SetLocationType { + type LocationType = Set; type Srs = S::Srs; type CreatedAt = S::CreatedAt; - type LocationType = S::LocationType; - } - ///State transition - sets the `location` field to Set - pub struct SetLocation(PhantomData S>); - impl sealed::Sealed for SetLocation {} - impl State for SetLocation { type LpVersion = S::LpVersion; - type Location = Set; - type Srs = S::Srs; - type CreatedAt = S::CreatedAt; - type LocationType = S::LocationType; + type Location = S::Location; } ///State transition - sets the `srs` field to Set pub struct SetSrs(PhantomData S>); impl sealed::Sealed for SetSrs {} impl State for SetSrs { - type LpVersion = S::LpVersion; - type Location = S::Location; + type LocationType = S::LocationType; type Srs = Set; type CreatedAt = S::CreatedAt; - type LocationType = S::LocationType; + type LpVersion = S::LpVersion; + type Location = S::Location; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type LpVersion = S::LpVersion; - type Location = S::Location; + type LocationType = S::LocationType; type Srs = S::Srs; type CreatedAt = Set; - type LocationType = S::LocationType; - } - ///State transition - sets the `location_type` field to Set - pub struct SetLocationType(PhantomData S>); - impl sealed::Sealed for SetLocationType {} - impl State for SetLocationType { type LpVersion = S::LpVersion; type Location = S::Location; + } + ///State transition - sets the `lp_version` field to Set + pub struct SetLpVersion(PhantomData S>); + impl sealed::Sealed for SetLpVersion {} + impl State for SetLpVersion { + type LocationType = S::LocationType; + type Srs = S::Srs; + type CreatedAt = S::CreatedAt; + type LpVersion = Set; + type Location = S::Location; + } + ///State transition - sets the `location` field to Set + pub struct SetLocation(PhantomData S>); + impl sealed::Sealed for SetLocation {} + impl State for SetLocation { + type LocationType = S::LocationType; type Srs = S::Srs; type CreatedAt = S::CreatedAt; - type LocationType = Set; + type LpVersion = S::LpVersion; + type Location = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `lp_version` field - pub struct lp_version(()); - ///Marker type for the `location` field - pub struct location(()); + ///Marker type for the `location_type` field + pub struct location_type(()); ///Marker type for the `srs` field pub struct srs(()); ///Marker type for the `created_at` field pub struct created_at(()); - ///Marker type for the `location_type` field - pub struct location_type(()); + ///Marker type for the `lp_version` field + pub struct lp_version(()); + ///Marker type for the `location` field + pub struct location(()); } } @@ -300,11 +300,11 @@ where impl<'a, S> LocationBuilder<'a, S> where S: location_state::State, - S::LpVersion: location_state::IsSet, - S::Location: location_state::IsSet, + S::LocationType: location_state::IsSet, S::Srs: location_state::IsSet, S::CreatedAt: location_state::IsSet, - S::LocationType: location_state::IsSet, + S::LpVersion: location_state::IsSet, + S::Location: location_state::IsSet, { /// Build the final struct pub fn build(self) -> Location<'a> { @@ -323,7 +323,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Location<'a> { @@ -574,7 +574,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Location<'a> { } if let Some(ref value) = self.description { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -630,7 +630,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Location<'a> { } if let Some(ref value) = self.name { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -674,7 +674,7 @@ fn lexicon_doc_app_certified_location() -> ::jacquard_lexicon::lexicon::LexiconD defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static("A location reference"), @@ -684,11 +684,11 @@ fn lexicon_doc_app_certified_location() -> ::jacquard_lexicon::lexicon::LexiconD description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("lpVersion"), - ::jacquard_common::smol_str::SmolStr::new_static("srs"), - ::jacquard_common::smol_str::SmolStr::new_static("locationType"), - ::jacquard_common::smol_str::SmolStr::new_static("location"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("lpVersion"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("srs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("locationType"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("location"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -696,7 +696,7 @@ fn lexicon_doc_app_certified_location() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -719,7 +719,7 @@ fn lexicon_doc_app_certified_location() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -740,7 +740,7 @@ fn lexicon_doc_app_certified_location() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "location", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -758,7 +758,7 @@ fn lexicon_doc_app_certified_location() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "locationType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -779,7 +779,7 @@ fn lexicon_doc_app_certified_location() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "lpVersion", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -800,7 +800,9 @@ fn lexicon_doc_app_certified_location() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -819,7 +821,9 @@ fn lexicon_doc_app_certified_location() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("srs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "srs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -845,7 +849,7 @@ fn lexicon_doc_app_certified_location() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("string"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("string"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -853,14 +857,18 @@ fn lexicon_doc_app_certified_location() -> ::jacquard_lexicon::lexicon::LexiconD ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("string")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("string") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("string"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "string", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -935,7 +943,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for LocationString<'a> { { let value = &self.string; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) diff --git a/crates/jacquard-api/src/app_chronosky.rs b/crates/jacquard-api/src/app_chronosky.rs new file mode 100644 index 000000000..891e2fee3 --- /dev/null +++ b/crates/jacquard-api/src/app_chronosky.rs @@ -0,0 +1,8 @@ +// @generated by jacquard-lexicon. DO NOT EDIT. +// +// This file was automatically generated from Lexicon schemas. +// Any manual changes will be overwritten on the next regeneration. + +pub mod media; +pub mod plan; +pub mod schedule; \ No newline at end of file diff --git a/crates/jacquard-api/src/app_chronosky/media.rs b/crates/jacquard-api/src/app_chronosky/media.rs new file mode 100644 index 000000000..1130d2d31 --- /dev/null +++ b/crates/jacquard-api/src/app_chronosky/media.rs @@ -0,0 +1,7 @@ +// @generated by jacquard-lexicon. DO NOT EDIT. +// +// This file was automatically generated from Lexicon schemas. +// Any manual changes will be overwritten on the next regeneration. + +pub mod get_blob; +pub mod upload_blob; \ No newline at end of file diff --git a/crates/jacquard-api/src/app_chronosky/media/get_blob.rs b/crates/jacquard-api/src/app_chronosky/media/get_blob.rs new file mode 100644 index 000000000..650b783b2 --- /dev/null +++ b/crates/jacquard-api/src/app_chronosky/media/get_blob.rs @@ -0,0 +1,210 @@ +// @generated by jacquard-lexicon. DO NOT EDIT. +// +// Lexicon: app.chronosky.media.getBlob +// +// This file was automatically generated from Lexicon schemas. +// Any manual changes will be overwritten on the next regeneration. + +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct GetBlob<'a> { + #[serde(borrow)] + pub cid: jacquard_common::CowStr<'a>, +} + +pub mod get_blob_state { + + pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + #[allow(unused)] + use ::core::marker::PhantomData; + mod sealed { + pub trait Sealed {} + } + /// State trait tracking which required fields have been set + pub trait State: sealed::Sealed { + type Cid; + } + /// Empty state - all required fields are unset + pub struct Empty(()); + impl sealed::Sealed for Empty {} + impl State for Empty { + type Cid = Unset; + } + ///State transition - sets the `cid` field to Set + pub struct SetCid(PhantomData S>); + impl sealed::Sealed for SetCid {} + impl State for SetCid { + type Cid = Set; + } + /// Marker types for field names + #[allow(non_camel_case_types)] + pub mod members { + ///Marker type for the `cid` field + pub struct cid(()); + } +} + +/// Builder for constructing an instance of this type +pub struct GetBlobBuilder<'a, S: get_blob_state::State> { + _phantom_state: ::core::marker::PhantomData S>, + __unsafe_private_named: (::core::option::Option>,), + _phantom: ::core::marker::PhantomData<&'a ()>, +} + +impl<'a> GetBlob<'a> { + /// Create a new builder for this type + pub fn new() -> GetBlobBuilder<'a, get_blob_state::Empty> { + GetBlobBuilder::new() + } +} + +impl<'a> GetBlobBuilder<'a, get_blob_state::Empty> { + /// Create a new builder with all fields unset + pub fn new() -> Self { + GetBlobBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: (None,), + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> GetBlobBuilder<'a, S> +where + S: get_blob_state::State, + S::Cid: get_blob_state::IsUnset, +{ + /// Set the `cid` field (required) + pub fn cid( + mut self, + value: impl Into>, + ) -> GetBlobBuilder<'a, get_blob_state::SetCid> { + self.__unsafe_private_named.0 = ::core::option::Option::Some(value.into()); + GetBlobBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> GetBlobBuilder<'a, S> +where + S: get_blob_state::State, + S::Cid: get_blob_state::IsSet, +{ + /// Build the final struct + pub fn build(self) -> GetBlob<'a> { + GetBlob { + cid: self.__unsafe_private_named.0.unwrap(), + } + } +} + +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct GetBlobOutput { + pub body: jacquard_common::deps::bytes::Bytes, +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + thiserror::Error, + miette::Diagnostic, + jacquard_derive::IntoStatic +)] +#[serde(tag = "error", content = "message")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum GetBlobError<'a> { + /// The requested blob was not found. + #[serde(rename = "BlobNotFound")] + BlobNotFound(std::option::Option>), + /// Invalid CID format or missing parameters. + #[serde(rename = "InvalidRequest")] + InvalidRequest(std::option::Option>), +} + +impl core::fmt::Display for GetBlobError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + match self { + Self::BlobNotFound(msg) => { + write!(f, "BlobNotFound")?; + if let Some(msg) = msg { + write!(f, ": {}", msg)?; + } + Ok(()) + } + Self::InvalidRequest(msg) => { + write!(f, "InvalidRequest")?; + if let Some(msg) = msg { + write!(f, ": {}", msg)?; + } + Ok(()) + } + Self::Unknown(err) => write!(f, "Unknown error: {:?}", err), + } + } +} + +/// Response type for +///app.chronosky.media.getBlob +pub struct GetBlobResponse; +impl jacquard_common::xrpc::XrpcResp for GetBlobResponse { + const NSID: &'static str = "app.chronosky.media.getBlob"; + const ENCODING: &'static str = "*/*"; + type Output<'de> = GetBlobOutput; + type Err<'de> = GetBlobError<'de>; + fn encode_output( + output: &Self::Output<'_>, + ) -> Result, jacquard_common::xrpc::EncodeError> { + Ok(output.body.to_vec()) + } + fn decode_output<'de>( + body: &'de [u8], + ) -> Result, jacquard_common::error::DecodeError> + where + Self::Output<'de>: serde::Deserialize<'de>, + { + Ok(GetBlobOutput { + body: jacquard_common::deps::bytes::Bytes::copy_from_slice(body), + }) + } +} + +impl<'a> jacquard_common::xrpc::XrpcRequest for GetBlob<'a> { + const NSID: &'static str = "app.chronosky.media.getBlob"; + const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Query; + type Response = GetBlobResponse; +} + +/// Endpoint type for +///app.chronosky.media.getBlob +pub struct GetBlobRequest; +impl jacquard_common::xrpc::XrpcEndpoint for GetBlobRequest { + const PATH: &'static str = "/xrpc/app.chronosky.media.getBlob"; + const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Query; + type Request<'de> = GetBlob<'de>; + type Response = GetBlobResponse; +} \ 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 new file mode 100644 index 000000000..93165c60c --- /dev/null +++ b/crates/jacquard-api/src/app_chronosky/media/upload_blob.rs @@ -0,0 +1,144 @@ +// @generated by jacquard-lexicon. DO NOT EDIT. +// +// Lexicon: app.chronosky.media.uploadBlob +// +// This file was automatically generated from Lexicon schemas. +// Any manual changes will be overwritten on the next regeneration. + +/// Binary image data. Supported formats: JPEG, PNG, WebP, GIF. Maximum size: 1MB (1,000,000 bytes). +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct UploadBlob { + pub body: jacquard_common::deps::bytes::Bytes, +} + +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct UploadBlobOutput<'a> { + /// Blob reference object that can be used in post embeds (app.bsky.embed.images). + #[serde(borrow)] + pub blob: jacquard_common::types::blob::BlobRef<'a>, +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + thiserror::Error, + miette::Diagnostic, + jacquard_derive::IntoStatic +)] +#[serde(tag = "error", content = "message")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum UploadBlobError<'a> { + #[serde(rename = "InvalidContentType")] + InvalidContentType(std::option::Option>), + #[serde(rename = "BlobTooLarge")] + BlobTooLarge(std::option::Option>), + #[serde(rename = "UploadFailed")] + UploadFailed(std::option::Option>), + #[serde(rename = "NoActiveSession")] + NoActiveSession(std::option::Option>), +} + +impl core::fmt::Display for UploadBlobError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + match self { + Self::InvalidContentType(msg) => { + write!(f, "InvalidContentType")?; + if let Some(msg) = msg { + write!(f, ": {}", msg)?; + } + Ok(()) + } + Self::BlobTooLarge(msg) => { + write!(f, "BlobTooLarge")?; + if let Some(msg) = msg { + write!(f, ": {}", msg)?; + } + Ok(()) + } + Self::UploadFailed(msg) => { + write!(f, "UploadFailed")?; + if let Some(msg) = msg { + write!(f, ": {}", msg)?; + } + Ok(()) + } + Self::NoActiveSession(msg) => { + write!(f, "NoActiveSession")?; + if let Some(msg) = msg { + write!(f, ": {}", msg)?; + } + Ok(()) + } + Self::Unknown(err) => write!(f, "Unknown error: {:?}", err), + } + } +} + +/// Response type for +///app.chronosky.media.uploadBlob +pub struct UploadBlobResponse; +impl jacquard_common::xrpc::XrpcResp for UploadBlobResponse { + const NSID: &'static str = "app.chronosky.media.uploadBlob"; + const ENCODING: &'static str = "application/json"; + type Output<'de> = UploadBlobOutput<'de>; + type Err<'de> = UploadBlobError<'de>; +} + +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", + ); + type Response = UploadBlobResponse; + fn encode_body(&self) -> Result, jacquard_common::xrpc::EncodeError> { + Ok(self.body.to_vec()) + } + fn decode_body<'de>( + body: &'de [u8], + ) -> Result, jacquard_common::error::DecodeError> + where + Self: serde::Deserialize<'de>, + { + Ok( + Box::new(Self { + body: jacquard_common::deps::bytes::Bytes::copy_from_slice(body), + }), + ) + } +} + +/// Endpoint type for +///app.chronosky.media.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", + ); + type Request<'de> = 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 new file mode 100644 index 000000000..e17ddf594 --- /dev/null +++ b/crates/jacquard-api/src/app_chronosky/plan.rs @@ -0,0 +1,9 @@ +// @generated by jacquard-lexicon. DO NOT EDIT. +// +// This file was automatically generated from Lexicon schemas. +// Any manual changes will be overwritten on the next regeneration. + +pub mod get_assignment; +pub mod get_usage; +pub mod list_assignments; +pub mod redeem_ticket; \ No newline at end of file diff --git a/crates/jacquard-api/src/app_chronosky/plan/get_assignment.rs b/crates/jacquard-api/src/app_chronosky/plan/get_assignment.rs new file mode 100644 index 000000000..e16300baf --- /dev/null +++ b/crates/jacquard-api/src/app_chronosky/plan/get_assignment.rs @@ -0,0 +1,1029 @@ +// @generated by jacquard-lexicon. DO NOT EDIT. +// +// Lexicon: app.chronosky.plan.getAssignment +// +// This file was automatically generated from Lexicon schemas. +// Any manual changes will be overwritten on the next regeneration. + +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic, + Default +)] +#[serde(rename_all = "camelCase")] +pub struct GetAssignmentOutput<'a> { + /// Active plan assignment (null if no active plan) + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub assignment: std::option::Option< + crate::app_chronosky::plan::get_assignment::PlanAssignment<'a>, + >, + /// Response message + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub message: std::option::Option>, +} + +/// XRPC request marker type +#[derive( + Debug, + Clone, + Copy, + PartialEq, + Eq, + serde::Serialize, + serde::Deserialize, + jacquard_derive::IntoStatic +)] +pub struct GetAssignment; +/// Response type for +///app.chronosky.plan.getAssignment +pub struct GetAssignmentResponse; +impl jacquard_common::xrpc::XrpcResp for GetAssignmentResponse { + const NSID: &'static str = "app.chronosky.plan.getAssignment"; + const ENCODING: &'static str = "application/json"; + type Output<'de> = GetAssignmentOutput<'de>; + type Err<'de> = jacquard_common::xrpc::GenericError<'de>; +} + +impl jacquard_common::xrpc::XrpcRequest for GetAssignment { + const NSID: &'static str = "app.chronosky.plan.getAssignment"; + const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Query; + type Response = GetAssignmentResponse; +} + +/// Endpoint type for +///app.chronosky.plan.getAssignment +pub struct GetAssignmentRequest; +impl jacquard_common::xrpc::XrpcEndpoint for GetAssignmentRequest { + const PATH: &'static str = "/xrpc/app.chronosky.plan.getAssignment"; + const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Query; + type Request<'de> = GetAssignment; + type Response = GetAssignmentResponse; +} + +/// Plan assignment details. +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct PlanAssignment<'a> { + /// Plan activation timestamp + pub activated_at: jacquard_common::types::string::Datetime, + /// Plan expiration timestamp + pub expires_at: jacquard_common::types::string::Datetime, + /// Plan assignment ID + #[serde(borrow)] + pub id: jacquard_common::CowStr<'a>, + #[serde(borrow)] + pub plan: crate::app_chronosky::plan::get_assignment::PlanInfo<'a>, + /// Plan ID + #[serde(borrow)] + pub plan_id: jacquard_common::CowStr<'a>, + /// Plan assignment status + #[serde(borrow)] + pub status: jacquard_common::CowStr<'a>, + /// Ticket information (if redeemed from ticket) + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub ticket: std::option::Option< + crate::app_chronosky::plan::get_assignment::TicketInfo<'a>, + >, +} + +pub mod plan_assignment_state { + + pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + #[allow(unused)] + use ::core::marker::PhantomData; + mod sealed { + pub trait Sealed {} + } + /// State trait tracking which required fields have been set + pub trait State: sealed::Sealed { + type Plan; + type Status; + type Id; + type PlanId; + type ExpiresAt; + type ActivatedAt; + } + /// Empty state - all required fields are unset + pub struct Empty(()); + impl sealed::Sealed for Empty {} + impl State for Empty { + type Plan = Unset; + type Status = Unset; + type Id = Unset; + type PlanId = Unset; + type ExpiresAt = Unset; + type ActivatedAt = Unset; + } + ///State transition - sets the `plan` field to Set + pub struct SetPlan(PhantomData S>); + impl sealed::Sealed for SetPlan {} + impl State for SetPlan { + type Plan = Set; + type Status = S::Status; + type Id = S::Id; + type PlanId = S::PlanId; + type ExpiresAt = S::ExpiresAt; + type ActivatedAt = S::ActivatedAt; + } + ///State transition - sets the `status` field to Set + pub struct SetStatus(PhantomData S>); + impl sealed::Sealed for SetStatus {} + impl State for SetStatus { + type Plan = S::Plan; + type Status = Set; + type Id = S::Id; + type PlanId = S::PlanId; + type ExpiresAt = S::ExpiresAt; + type ActivatedAt = S::ActivatedAt; + } + ///State transition - sets the `id` field to Set + pub struct SetId(PhantomData S>); + impl sealed::Sealed for SetId {} + impl State for SetId { + type Plan = S::Plan; + type Status = S::Status; + type Id = Set; + type PlanId = S::PlanId; + type ExpiresAt = S::ExpiresAt; + type ActivatedAt = S::ActivatedAt; + } + ///State transition - sets the `plan_id` field to Set + pub struct SetPlanId(PhantomData S>); + impl sealed::Sealed for SetPlanId {} + impl State for SetPlanId { + type Plan = S::Plan; + type Status = S::Status; + type Id = S::Id; + type PlanId = Set; + type ExpiresAt = S::ExpiresAt; + type ActivatedAt = S::ActivatedAt; + } + ///State transition - sets the `expires_at` field to Set + pub struct SetExpiresAt(PhantomData S>); + impl sealed::Sealed for SetExpiresAt {} + impl State for SetExpiresAt { + type Plan = S::Plan; + type Status = S::Status; + type Id = S::Id; + type PlanId = S::PlanId; + type ExpiresAt = Set; + type ActivatedAt = S::ActivatedAt; + } + ///State transition - sets the `activated_at` field to Set + pub struct SetActivatedAt(PhantomData S>); + impl sealed::Sealed for SetActivatedAt {} + impl State for SetActivatedAt { + type Plan = S::Plan; + type Status = S::Status; + type Id = S::Id; + type PlanId = S::PlanId; + type ExpiresAt = S::ExpiresAt; + type ActivatedAt = Set; + } + /// Marker types for field names + #[allow(non_camel_case_types)] + pub mod members { + ///Marker type for the `plan` field + pub struct plan(()); + ///Marker type for the `status` field + pub struct status(()); + ///Marker type for the `id` field + pub struct id(()); + ///Marker type for the `plan_id` field + pub struct plan_id(()); + ///Marker type for the `expires_at` field + pub struct expires_at(()); + ///Marker type for the `activated_at` field + pub struct activated_at(()); + } +} + +/// Builder for constructing an instance of this type +pub struct PlanAssignmentBuilder<'a, S: plan_assignment_state::State> { + _phantom_state: ::core::marker::PhantomData S>, + __unsafe_private_named: ( + ::core::option::Option, + ::core::option::Option, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option< + crate::app_chronosky::plan::get_assignment::TicketInfo<'a>, + >, + ), + _phantom: ::core::marker::PhantomData<&'a ()>, +} + +impl<'a> PlanAssignment<'a> { + /// Create a new builder for this type + pub fn new() -> PlanAssignmentBuilder<'a, plan_assignment_state::Empty> { + PlanAssignmentBuilder::new() + } +} + +impl<'a> PlanAssignmentBuilder<'a, plan_assignment_state::Empty> { + /// Create a new builder with all fields unset + pub fn new() -> Self { + PlanAssignmentBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: (None, None, None, None, None, None, None), + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> PlanAssignmentBuilder<'a, S> +where + S: plan_assignment_state::State, + S::ActivatedAt: plan_assignment_state::IsUnset, +{ + /// Set the `activatedAt` field (required) + pub fn activated_at( + mut self, + value: impl Into, + ) -> PlanAssignmentBuilder<'a, plan_assignment_state::SetActivatedAt> { + self.__unsafe_private_named.0 = ::core::option::Option::Some(value.into()); + PlanAssignmentBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> PlanAssignmentBuilder<'a, S> +where + S: plan_assignment_state::State, + S::ExpiresAt: plan_assignment_state::IsUnset, +{ + /// Set the `expiresAt` field (required) + pub fn expires_at( + mut self, + value: impl Into, + ) -> PlanAssignmentBuilder<'a, plan_assignment_state::SetExpiresAt> { + self.__unsafe_private_named.1 = ::core::option::Option::Some(value.into()); + PlanAssignmentBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> PlanAssignmentBuilder<'a, S> +where + S: plan_assignment_state::State, + S::Id: plan_assignment_state::IsUnset, +{ + /// Set the `id` field (required) + pub fn id( + mut self, + value: impl Into>, + ) -> PlanAssignmentBuilder<'a, plan_assignment_state::SetId> { + self.__unsafe_private_named.2 = ::core::option::Option::Some(value.into()); + PlanAssignmentBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> PlanAssignmentBuilder<'a, S> +where + S: plan_assignment_state::State, + S::Plan: plan_assignment_state::IsUnset, +{ + /// Set the `plan` field (required) + pub fn plan( + mut self, + value: impl Into>, + ) -> PlanAssignmentBuilder<'a, plan_assignment_state::SetPlan> { + self.__unsafe_private_named.3 = ::core::option::Option::Some(value.into()); + PlanAssignmentBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> PlanAssignmentBuilder<'a, S> +where + S: plan_assignment_state::State, + S::PlanId: plan_assignment_state::IsUnset, +{ + /// Set the `planId` field (required) + pub fn plan_id( + mut self, + value: impl Into>, + ) -> PlanAssignmentBuilder<'a, plan_assignment_state::SetPlanId> { + self.__unsafe_private_named.4 = ::core::option::Option::Some(value.into()); + PlanAssignmentBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> PlanAssignmentBuilder<'a, S> +where + S: plan_assignment_state::State, + S::Status: plan_assignment_state::IsUnset, +{ + /// Set the `status` field (required) + pub fn status( + mut self, + value: impl Into>, + ) -> PlanAssignmentBuilder<'a, plan_assignment_state::SetStatus> { + self.__unsafe_private_named.5 = ::core::option::Option::Some(value.into()); + PlanAssignmentBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S: plan_assignment_state::State> PlanAssignmentBuilder<'a, S> { + /// Set the `ticket` field (optional) + pub fn ticket( + mut self, + value: impl Into< + Option>, + >, + ) -> Self { + self.__unsafe_private_named.6 = value.into(); + self + } + /// Set the `ticket` field to an Option value (optional) + pub fn maybe_ticket( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.6 = value; + self + } +} + +impl<'a, S> PlanAssignmentBuilder<'a, S> +where + S: plan_assignment_state::State, + S::Plan: plan_assignment_state::IsSet, + S::Status: plan_assignment_state::IsSet, + S::Id: plan_assignment_state::IsSet, + S::PlanId: plan_assignment_state::IsSet, + S::ExpiresAt: plan_assignment_state::IsSet, + S::ActivatedAt: plan_assignment_state::IsSet, +{ + /// Build the final struct + pub fn build(self) -> PlanAssignment<'a> { + PlanAssignment { + activated_at: self.__unsafe_private_named.0.unwrap(), + expires_at: self.__unsafe_private_named.1.unwrap(), + id: self.__unsafe_private_named.2.unwrap(), + plan: self.__unsafe_private_named.3.unwrap(), + plan_id: self.__unsafe_private_named.4.unwrap(), + status: self.__unsafe_private_named.5.unwrap(), + ticket: self.__unsafe_private_named.6, + extra_data: Default::default(), + } + } + /// Build the final struct with custom extra_data + pub fn build_with_data( + self, + extra_data: std::collections::BTreeMap< + jacquard_common::deps::smol_str::SmolStr, + jacquard_common::types::value::Data<'a>, + >, + ) -> PlanAssignment<'a> { + PlanAssignment { + activated_at: self.__unsafe_private_named.0.unwrap(), + expires_at: self.__unsafe_private_named.1.unwrap(), + id: self.__unsafe_private_named.2.unwrap(), + plan: self.__unsafe_private_named.3.unwrap(), + plan_id: self.__unsafe_private_named.4.unwrap(), + status: self.__unsafe_private_named.5.unwrap(), + ticket: self.__unsafe_private_named.6, + extra_data: Some(extra_data), + } + } +} + +fn lexicon_doc_app_chronosky_plan_getAssignment() -> ::jacquard_lexicon::lexicon::LexiconDoc< + 'static, +> { + ::jacquard_lexicon::lexicon::LexiconDoc { + lexicon: ::jacquard_lexicon::lexicon::Lexicon::Lexicon1, + id: ::jacquard_common::CowStr::new_static("app.chronosky.plan.getAssignment"), + revision: None, + description: None, + defs: { + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), + ::jacquard_lexicon::lexicon::LexUserType::XrpcQuery(::jacquard_lexicon::lexicon::LexXrpcQuery { + description: None, + parameters: None, + output: None, + errors: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static("planAssignment"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static("Plan assignment details."), + ), + required: Some( + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("planId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("plan"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("activatedAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("expiresAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("status") + ], + ), + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "activatedAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Plan activation timestamp", + ), + ), + format: Some( + ::jacquard_lexicon::lexicon::LexStringFormat::Datetime, + ), + default: None, + min_length: None, + max_length: Some(100usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "expiresAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Plan expiration timestamp", + ), + ), + format: Some( + ::jacquard_lexicon::lexicon::LexStringFormat::Datetime, + ), + default: None, + min_length: None, + max_length: Some(100usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static("Plan assignment ID"), + ), + format: None, + default: None, + min_length: None, + max_length: Some(100usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "plan", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static("#planInfo"), + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "planId", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static("Plan ID"), + ), + format: None, + default: None, + min_length: None, + max_length: Some(100usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "status", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Plan assignment status", + ), + ), + format: None, + default: None, + min_length: None, + max_length: Some(20usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "ticket", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static("#ticketInfo"), + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static("planInfo"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static("Plan information."), + ), + required: Some( + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("name") + ], + ), + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "description", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static("Plan description"), + ), + format: None, + default: None, + min_length: None, + max_length: Some(1000usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static("Plan ID"), + ), + format: None, + default: None, + min_length: None, + max_length: Some(100usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "maxConcurrentPosts", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { + description: None, + default: None, + minimum: None, + maximum: None, + r#enum: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "maxImagesPerPost", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { + description: None, + default: None, + minimum: None, + maximum: None, + r#enum: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "maxPostsPerDay", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { + description: None, + default: None, + minimum: None, + maximum: None, + r#enum: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "maxScheduleDays", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { + description: None, + default: None, + minimum: None, + maximum: None, + r#enum: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "maxThreadPosts", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { + description: None, + default: None, + minimum: None, + maximum: None, + r#enum: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "minScheduleInterval", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { + description: None, + default: None, + minimum: None, + maximum: None, + r#enum: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static("Plan name"), + ), + format: None, + default: None, + min_length: None, + max_length: Some(200usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static("ticketInfo"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static("Ticket information."), + ), + required: Some( + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("code") + ], + ), + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "code", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static("Ticket code"), + ), + format: None, + default: None, + min_length: None, + max_length: Some(100usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static("Ticket ID"), + ), + format: None, + default: None, + min_length: None, + max_length: Some(100usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map + }, + }), + ); + map + }, + } +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for PlanAssignment<'a> { + fn nsid() -> &'static str { + "app.chronosky.plan.getAssignment" + } + fn def_name() -> &'static str { + "planAssignment" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_app_chronosky_plan_getAssignment() + } + fn validate( + &self, + ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + { + let value = &self.id; + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 100usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "id", + ), + max: 100usize, + actual: ::len(value.as_ref()), + }); + } + } + { + let value = &self.plan_id; + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 100usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "plan_id", + ), + max: 100usize, + actual: ::len(value.as_ref()), + }); + } + } + { + let value = &self.status; + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 20usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "status", + ), + max: 20usize, + actual: ::len(value.as_ref()), + }); + } + } + Ok(()) + } +} + +/// Plan information. +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic, + Default +)] +#[serde(rename_all = "camelCase")] +pub struct PlanInfo<'a> { + /// Plan description + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub description: std::option::Option>, + /// Plan ID + #[serde(borrow)] + pub id: jacquard_common::CowStr<'a>, + /// Maximum concurrent posts + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub max_concurrent_posts: std::option::Option, + /// Maximum images per post + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub max_images_per_post: std::option::Option, + /// Maximum posts per day + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub max_posts_per_day: std::option::Option, + /// Maximum days to schedule in advance + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub max_schedule_days: std::option::Option, + /// Maximum posts per thread + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub max_thread_posts: std::option::Option, + /// Minimum interval between posts (minutes) + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub min_schedule_interval: std::option::Option, + /// Plan name + #[serde(borrow)] + pub name: jacquard_common::CowStr<'a>, +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for PlanInfo<'a> { + fn nsid() -> &'static str { + "app.chronosky.plan.getAssignment" + } + fn def_name() -> &'static str { + "planInfo" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_app_chronosky_plan_getAssignment() + } + fn validate( + &self, + ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + if let Some(ref value) = self.description { + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 1000usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "description", + ), + max: 1000usize, + actual: ::len(value.as_ref()), + }); + } + } + { + let value = &self.id; + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 100usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "id", + ), + max: 100usize, + actual: ::len(value.as_ref()), + }); + } + } + { + let value = &self.name; + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 200usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "name", + ), + max: 200usize, + actual: ::len(value.as_ref()), + }); + } + } + Ok(()) + } +} + +/// Ticket information. +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic, + Default +)] +#[serde(rename_all = "camelCase")] +pub struct TicketInfo<'a> { + /// Ticket code + #[serde(borrow)] + pub code: jacquard_common::CowStr<'a>, + /// Ticket ID + #[serde(borrow)] + pub id: jacquard_common::CowStr<'a>, +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for TicketInfo<'a> { + fn nsid() -> &'static str { + "app.chronosky.plan.getAssignment" + } + fn def_name() -> &'static str { + "ticketInfo" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_app_chronosky_plan_getAssignment() + } + fn validate( + &self, + ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + { + let value = &self.code; + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 100usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "code", + ), + max: 100usize, + actual: ::len(value.as_ref()), + }); + } + } + { + let value = &self.id; + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 100usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "id", + ), + max: 100usize, + actual: ::len(value.as_ref()), + }); + } + } + Ok(()) + } +} \ 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 new file mode 100644 index 000000000..1c9c5f1bc --- /dev/null +++ b/crates/jacquard-api/src/app_chronosky/plan/get_usage.rs @@ -0,0 +1,1704 @@ +// @generated by jacquard-lexicon. DO NOT EDIT. +// +// Lexicon: app.chronosky.plan.getUsage +// +// This file was automatically generated from Lexicon schemas. +// Any manual changes will be overwritten on the next regeneration. + +/// Current plan information. +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct CurrentPlan<'a> { + /// Localized plan display names + #[serde(borrow)] + pub display_name: jacquard_common::types::value::Data<'a>, + /// Plan ID + #[serde(borrow)] + pub id: jacquard_common::CowStr<'a>, + /// Whether the plan is currently active + pub is_active: bool, + /// Internal plan name + #[serde(borrow)] + pub name: jacquard_common::CowStr<'a>, + /// Plan tier (FREE, BASIC, STANDARD, PREMIUM) + #[serde(borrow)] + pub tier: jacquard_common::CowStr<'a>, + /// Plan expiration date (ISO 8601) + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub valid_until: std::option::Option, +} + +pub mod current_plan_state { + + pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + #[allow(unused)] + use ::core::marker::PhantomData; + mod sealed { + pub trait Sealed {} + } + /// State trait tracking which required fields have been set + pub trait State: sealed::Sealed { + type Name; + type Id; + type IsActive; + type DisplayName; + type Tier; + } + /// Empty state - all required fields are unset + pub struct Empty(()); + impl sealed::Sealed for Empty {} + impl State for Empty { + type Name = Unset; + type Id = Unset; + type IsActive = Unset; + type DisplayName = Unset; + type Tier = Unset; + } + ///State transition - sets the `name` field to Set + pub struct SetName(PhantomData S>); + impl sealed::Sealed for SetName {} + impl State for SetName { + type Name = Set; + type Id = S::Id; + type IsActive = S::IsActive; + type DisplayName = S::DisplayName; + type Tier = S::Tier; + } + ///State transition - sets the `id` field to Set + pub struct SetId(PhantomData S>); + impl sealed::Sealed for SetId {} + impl State for SetId { + type Name = S::Name; + type Id = Set; + type IsActive = S::IsActive; + type DisplayName = S::DisplayName; + type Tier = S::Tier; + } + ///State transition - sets the `is_active` field to Set + pub struct SetIsActive(PhantomData S>); + impl sealed::Sealed for SetIsActive {} + impl State for SetIsActive { + type Name = S::Name; + type Id = S::Id; + type IsActive = Set; + type DisplayName = S::DisplayName; + type Tier = S::Tier; + } + ///State transition - sets the `display_name` field to Set + pub struct SetDisplayName(PhantomData S>); + impl sealed::Sealed for SetDisplayName {} + impl State for SetDisplayName { + type Name = S::Name; + type Id = S::Id; + type IsActive = S::IsActive; + type DisplayName = Set; + type Tier = S::Tier; + } + ///State transition - sets the `tier` field to Set + pub struct SetTier(PhantomData S>); + impl sealed::Sealed for SetTier {} + impl State for SetTier { + type Name = S::Name; + type Id = S::Id; + type IsActive = S::IsActive; + type DisplayName = S::DisplayName; + type Tier = Set; + } + /// Marker types for field names + #[allow(non_camel_case_types)] + pub mod members { + ///Marker type for the `name` field + pub struct name(()); + ///Marker type for the `id` field + pub struct id(()); + ///Marker type for the `is_active` field + pub struct is_active(()); + ///Marker type for the `display_name` field + pub struct display_name(()); + ///Marker type for the `tier` field + pub struct tier(()); + } +} + +/// Builder for constructing an instance of this type +pub struct CurrentPlanBuilder<'a, S: current_plan_state::State> { + _phantom_state: ::core::marker::PhantomData S>, + __unsafe_private_named: ( + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option, + ), + _phantom: ::core::marker::PhantomData<&'a ()>, +} + +impl<'a> CurrentPlan<'a> { + /// Create a new builder for this type + pub fn new() -> CurrentPlanBuilder<'a, current_plan_state::Empty> { + CurrentPlanBuilder::new() + } +} + +impl<'a> CurrentPlanBuilder<'a, current_plan_state::Empty> { + /// Create a new builder with all fields unset + pub fn new() -> Self { + CurrentPlanBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: (None, None, None, None, None, None), + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> CurrentPlanBuilder<'a, S> +where + S: current_plan_state::State, + S::DisplayName: current_plan_state::IsUnset, +{ + /// Set the `displayName` field (required) + pub fn display_name( + mut self, + value: impl Into>, + ) -> CurrentPlanBuilder<'a, current_plan_state::SetDisplayName> { + self.__unsafe_private_named.0 = ::core::option::Option::Some(value.into()); + CurrentPlanBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> CurrentPlanBuilder<'a, S> +where + S: current_plan_state::State, + S::Id: current_plan_state::IsUnset, +{ + /// Set the `id` field (required) + pub fn id( + mut self, + value: impl Into>, + ) -> CurrentPlanBuilder<'a, current_plan_state::SetId> { + self.__unsafe_private_named.1 = ::core::option::Option::Some(value.into()); + CurrentPlanBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> CurrentPlanBuilder<'a, S> +where + S: current_plan_state::State, + S::IsActive: current_plan_state::IsUnset, +{ + /// Set the `isActive` field (required) + pub fn is_active( + mut self, + value: impl Into, + ) -> CurrentPlanBuilder<'a, current_plan_state::SetIsActive> { + self.__unsafe_private_named.2 = ::core::option::Option::Some(value.into()); + CurrentPlanBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> CurrentPlanBuilder<'a, S> +where + S: current_plan_state::State, + S::Name: current_plan_state::IsUnset, +{ + /// Set the `name` field (required) + pub fn name( + mut self, + value: impl Into>, + ) -> CurrentPlanBuilder<'a, current_plan_state::SetName> { + self.__unsafe_private_named.3 = ::core::option::Option::Some(value.into()); + CurrentPlanBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> CurrentPlanBuilder<'a, S> +where + S: current_plan_state::State, + S::Tier: current_plan_state::IsUnset, +{ + /// Set the `tier` field (required) + pub fn tier( + mut self, + value: impl Into>, + ) -> CurrentPlanBuilder<'a, current_plan_state::SetTier> { + self.__unsafe_private_named.4 = ::core::option::Option::Some(value.into()); + CurrentPlanBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S: current_plan_state::State> CurrentPlanBuilder<'a, S> { + /// Set the `validUntil` field (optional) + pub fn valid_until( + mut self, + value: impl Into>, + ) -> Self { + self.__unsafe_private_named.5 = value.into(); + self + } + /// Set the `validUntil` field to an Option value (optional) + pub fn maybe_valid_until( + mut self, + value: Option, + ) -> Self { + self.__unsafe_private_named.5 = value; + self + } +} + +impl<'a, S> CurrentPlanBuilder<'a, S> +where + S: current_plan_state::State, + S::Name: current_plan_state::IsSet, + S::Id: current_plan_state::IsSet, + S::IsActive: current_plan_state::IsSet, + S::DisplayName: current_plan_state::IsSet, + S::Tier: current_plan_state::IsSet, +{ + /// Build the final struct + pub fn build(self) -> CurrentPlan<'a> { + CurrentPlan { + display_name: self.__unsafe_private_named.0.unwrap(), + id: self.__unsafe_private_named.1.unwrap(), + is_active: self.__unsafe_private_named.2.unwrap(), + name: self.__unsafe_private_named.3.unwrap(), + tier: self.__unsafe_private_named.4.unwrap(), + valid_until: self.__unsafe_private_named.5, + extra_data: Default::default(), + } + } + /// Build the final struct with custom extra_data + pub fn build_with_data( + self, + extra_data: std::collections::BTreeMap< + jacquard_common::deps::smol_str::SmolStr, + jacquard_common::types::value::Data<'a>, + >, + ) -> CurrentPlan<'a> { + CurrentPlan { + display_name: self.__unsafe_private_named.0.unwrap(), + id: self.__unsafe_private_named.1.unwrap(), + is_active: self.__unsafe_private_named.2.unwrap(), + name: self.__unsafe_private_named.3.unwrap(), + tier: self.__unsafe_private_named.4.unwrap(), + valid_until: self.__unsafe_private_named.5, + extra_data: Some(extra_data), + } + } +} + +fn lexicon_doc_app_chronosky_plan_getUsage() -> ::jacquard_lexicon::lexicon::LexiconDoc< + 'static, +> { + ::jacquard_lexicon::lexicon::LexiconDoc { + lexicon: ::jacquard_lexicon::lexicon::Lexicon::Lexicon1, + id: ::jacquard_common::CowStr::new_static("app.chronosky.plan.getUsage"), + revision: None, + description: None, + defs: { + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static("currentPlan"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static( + "Current plan information.", + ), + ), + required: Some( + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("tier"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("displayName"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("isActive") + ], + ), + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "displayName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { + description: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static("Plan ID"), + ), + format: None, + default: None, + min_length: None, + max_length: Some(100usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "isActive", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static("Internal plan name"), + ), + format: None, + default: None, + min_length: None, + max_length: Some(200usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tier", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Plan tier (FREE, BASIC, STANDARD, PREMIUM)", + ), + ), + format: None, + default: None, + min_length: None, + max_length: Some(50usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "validUntil", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Plan expiration date (ISO 8601)", + ), + ), + format: Some( + ::jacquard_lexicon::lexicon::LexStringFormat::Datetime, + ), + default: None, + min_length: None, + max_length: Some(100usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), + ::jacquard_lexicon::lexicon::LexUserType::XrpcQuery(::jacquard_lexicon::lexicon::LexXrpcQuery { + description: None, + parameters: None, + output: None, + errors: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static("planLimits"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static("Plan limits."), + ), + required: Some( + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("monthlyPostsLimit"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("pendingPostsLimit"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("maxScheduleDays"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("scheduleIntervalMinutes"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("maxImagesPerPost"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("threadPostsLimit") + ], + ), + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "markdownSupport", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "maxImageSizeMb", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { + description: None, + default: None, + minimum: None, + maximum: None, + r#enum: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "maxImagesPerPost", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { + description: None, + default: None, + minimum: None, + maximum: None, + r#enum: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "maxScheduleDays", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { + description: None, + default: None, + minimum: None, + maximum: None, + r#enum: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "maxVideoSizeMb", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { + description: None, + default: None, + minimum: None, + maximum: None, + r#enum: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "monthlyPostsLimit", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { + description: None, + default: None, + minimum: None, + maximum: None, + r#enum: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "pendingPostsLimit", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { + description: None, + default: None, + minimum: None, + maximum: None, + r#enum: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "scheduleIntervalMinutes", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { + description: None, + default: None, + minimum: None, + maximum: None, + r#enum: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "threadPosts", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "threadPostsLimit", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { + description: None, + default: None, + minimum: None, + maximum: None, + r#enum: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "videoProcessingMinutesMonthly", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { + description: None, + default: None, + minimum: None, + maximum: None, + r#enum: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "videoUpload", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static("usageStats"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static("Usage statistics."), + ), + required: Some( + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("pendingPostsCount"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("monthlyPostsCount"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("monthlyPeriodStart"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("monthlyPeriodEnd"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("lastUpdated") + ], + ), + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "apiRequestsThisHour", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { + description: None, + default: None, + minimum: None, + maximum: None, + r#enum: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "lastUpdated", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Last time usage was updated (ISO 8601)", + ), + ), + format: Some( + ::jacquard_lexicon::lexicon::LexStringFormat::Datetime, + ), + default: None, + min_length: None, + max_length: Some(100usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "monthlyPeriodEnd", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "End of current monthly period (ISO 8601)", + ), + ), + format: Some( + ::jacquard_lexicon::lexicon::LexStringFormat::Datetime, + ), + default: None, + min_length: None, + max_length: Some(100usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "monthlyPeriodStart", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Start of current monthly period (ISO 8601)", + ), + ), + format: Some( + ::jacquard_lexicon::lexicon::LexStringFormat::Datetime, + ), + default: None, + min_length: None, + max_length: Some(100usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "monthlyPostsCount", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { + description: None, + default: None, + minimum: None, + maximum: None, + r#enum: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "pendingPostsCount", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { + description: None, + default: None, + minimum: None, + maximum: None, + r#enum: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "storageUsedMb", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { + description: None, + default: None, + minimum: None, + maximum: None, + r#enum: None, + r#const: None, + }), + ); + map + }, + }), + ); + map + }, + } +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for CurrentPlan<'a> { + fn nsid() -> &'static str { + "app.chronosky.plan.getUsage" + } + fn def_name() -> &'static str { + "currentPlan" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_app_chronosky_plan_getUsage() + } + fn validate( + &self, + ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + { + let value = &self.id; + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 100usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "id", + ), + max: 100usize, + actual: ::len(value.as_ref()), + }); + } + } + { + let value = &self.name; + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 200usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "name", + ), + max: 200usize, + actual: ::len(value.as_ref()), + }); + } + } + { + let value = &self.tier; + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 50usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "tier", + ), + max: 50usize, + actual: ::len(value.as_ref()), + }); + } + } + Ok(()) + } +} + +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct GetUsageOutput<'a> { + #[serde(borrow)] + pub current_plan: crate::app_chronosky::plan::get_usage::CurrentPlan<'a>, + #[serde(borrow)] + pub limits: crate::app_chronosky::plan::get_usage::PlanLimits<'a>, + #[serde(borrow)] + pub usage: crate::app_chronosky::plan::get_usage::UsageStats<'a>, +} + +/// XRPC request marker type +#[derive( + Debug, + Clone, + Copy, + PartialEq, + Eq, + serde::Serialize, + serde::Deserialize, + jacquard_derive::IntoStatic +)] +pub struct GetUsage; +/// Response type for +///app.chronosky.plan.getUsage +pub struct GetUsageResponse; +impl jacquard_common::xrpc::XrpcResp for GetUsageResponse { + const NSID: &'static str = "app.chronosky.plan.getUsage"; + const ENCODING: &'static str = "application/json"; + type Output<'de> = GetUsageOutput<'de>; + type Err<'de> = jacquard_common::xrpc::GenericError<'de>; +} + +impl jacquard_common::xrpc::XrpcRequest for GetUsage { + const NSID: &'static str = "app.chronosky.plan.getUsage"; + const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Query; + type Response = GetUsageResponse; +} + +/// Endpoint type for +///app.chronosky.plan.getUsage +pub struct GetUsageRequest; +impl jacquard_common::xrpc::XrpcEndpoint for GetUsageRequest { + const PATH: &'static str = "/xrpc/app.chronosky.plan.getUsage"; + const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Query; + type Request<'de> = GetUsage; + type Response = GetUsageResponse; +} + +/// Plan limits. +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct PlanLimits<'a> { + /// Whether markdown formatting is supported + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub markdown_support: std::option::Option, + /// Maximum image size (MB) + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub max_image_size_mb: std::option::Option, + /// Maximum images per post + pub max_images_per_post: i64, + /// Maximum days in advance to schedule + pub max_schedule_days: i64, + /// Maximum video size (MB) + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub max_video_size_mb: std::option::Option, + /// Maximum posts per month + pub monthly_posts_limit: i64, + /// Maximum concurrent pending posts + pub pending_posts_limit: i64, + /// Minimum interval between scheduled posts (minutes) + pub schedule_interval_minutes: i64, + /// Whether thread posts are enabled + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub thread_posts: std::option::Option, + /// Maximum posts per thread + pub thread_posts_limit: i64, + /// Monthly video processing minutes + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub video_processing_minutes_monthly: std::option::Option, + /// Whether video uploads are enabled + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub video_upload: std::option::Option, +} + +pub mod plan_limits_state { + + pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + #[allow(unused)] + use ::core::marker::PhantomData; + mod sealed { + pub trait Sealed {} + } + /// State trait tracking which required fields have been set + pub trait State: sealed::Sealed { + type MonthlyPostsLimit; + type MaxScheduleDays; + type PendingPostsLimit; + type ScheduleIntervalMinutes; + type MaxImagesPerPost; + type ThreadPostsLimit; + } + /// Empty state - all required fields are unset + pub struct Empty(()); + impl sealed::Sealed for Empty {} + impl State for Empty { + type MonthlyPostsLimit = Unset; + type MaxScheduleDays = Unset; + type PendingPostsLimit = Unset; + type ScheduleIntervalMinutes = Unset; + type MaxImagesPerPost = Unset; + type ThreadPostsLimit = Unset; + } + ///State transition - sets the `monthly_posts_limit` field to Set + pub struct SetMonthlyPostsLimit(PhantomData S>); + impl sealed::Sealed for SetMonthlyPostsLimit {} + impl State for SetMonthlyPostsLimit { + type MonthlyPostsLimit = Set; + type MaxScheduleDays = S::MaxScheduleDays; + type PendingPostsLimit = S::PendingPostsLimit; + type ScheduleIntervalMinutes = S::ScheduleIntervalMinutes; + type MaxImagesPerPost = S::MaxImagesPerPost; + type ThreadPostsLimit = S::ThreadPostsLimit; + } + ///State transition - sets the `max_schedule_days` field to Set + pub struct SetMaxScheduleDays(PhantomData S>); + impl sealed::Sealed for SetMaxScheduleDays {} + impl State for SetMaxScheduleDays { + type MonthlyPostsLimit = S::MonthlyPostsLimit; + type MaxScheduleDays = Set; + type PendingPostsLimit = S::PendingPostsLimit; + type ScheduleIntervalMinutes = S::ScheduleIntervalMinutes; + type MaxImagesPerPost = S::MaxImagesPerPost; + type ThreadPostsLimit = S::ThreadPostsLimit; + } + ///State transition - sets the `pending_posts_limit` field to Set + pub struct SetPendingPostsLimit(PhantomData S>); + impl sealed::Sealed for SetPendingPostsLimit {} + impl State for SetPendingPostsLimit { + type MonthlyPostsLimit = S::MonthlyPostsLimit; + type MaxScheduleDays = S::MaxScheduleDays; + type PendingPostsLimit = Set; + type ScheduleIntervalMinutes = S::ScheduleIntervalMinutes; + type MaxImagesPerPost = S::MaxImagesPerPost; + type ThreadPostsLimit = S::ThreadPostsLimit; + } + ///State transition - sets the `schedule_interval_minutes` field to Set + pub struct SetScheduleIntervalMinutes(PhantomData S>); + impl sealed::Sealed for SetScheduleIntervalMinutes {} + impl State for SetScheduleIntervalMinutes { + type MonthlyPostsLimit = S::MonthlyPostsLimit; + type MaxScheduleDays = S::MaxScheduleDays; + type PendingPostsLimit = S::PendingPostsLimit; + type ScheduleIntervalMinutes = Set; + type MaxImagesPerPost = S::MaxImagesPerPost; + type ThreadPostsLimit = S::ThreadPostsLimit; + } + ///State transition - sets the `max_images_per_post` field to Set + pub struct SetMaxImagesPerPost(PhantomData S>); + impl sealed::Sealed for SetMaxImagesPerPost {} + impl State for SetMaxImagesPerPost { + type MonthlyPostsLimit = S::MonthlyPostsLimit; + type MaxScheduleDays = S::MaxScheduleDays; + type PendingPostsLimit = S::PendingPostsLimit; + type ScheduleIntervalMinutes = S::ScheduleIntervalMinutes; + type MaxImagesPerPost = Set; + type ThreadPostsLimit = S::ThreadPostsLimit; + } + ///State transition - sets the `thread_posts_limit` field to Set + pub struct SetThreadPostsLimit(PhantomData S>); + impl sealed::Sealed for SetThreadPostsLimit {} + impl State for SetThreadPostsLimit { + type MonthlyPostsLimit = S::MonthlyPostsLimit; + type MaxScheduleDays = S::MaxScheduleDays; + type PendingPostsLimit = S::PendingPostsLimit; + type ScheduleIntervalMinutes = S::ScheduleIntervalMinutes; + type MaxImagesPerPost = S::MaxImagesPerPost; + type ThreadPostsLimit = Set; + } + /// Marker types for field names + #[allow(non_camel_case_types)] + pub mod members { + ///Marker type for the `monthly_posts_limit` field + pub struct monthly_posts_limit(()); + ///Marker type for the `max_schedule_days` field + pub struct max_schedule_days(()); + ///Marker type for the `pending_posts_limit` field + pub struct pending_posts_limit(()); + ///Marker type for the `schedule_interval_minutes` field + pub struct schedule_interval_minutes(()); + ///Marker type for the `max_images_per_post` field + pub struct max_images_per_post(()); + ///Marker type for the `thread_posts_limit` field + pub struct thread_posts_limit(()); + } +} + +/// Builder for constructing an instance of this type +pub struct PlanLimitsBuilder<'a, S: plan_limits_state::State> { + _phantom_state: ::core::marker::PhantomData S>, + __unsafe_private_named: ( + ::core::option::Option, + ::core::option::Option, + ::core::option::Option, + ::core::option::Option, + ::core::option::Option, + ::core::option::Option, + ::core::option::Option, + ::core::option::Option, + ::core::option::Option, + ::core::option::Option, + ::core::option::Option, + ::core::option::Option, + ), + _phantom: ::core::marker::PhantomData<&'a ()>, +} + +impl<'a> PlanLimits<'a> { + /// Create a new builder for this type + pub fn new() -> PlanLimitsBuilder<'a, plan_limits_state::Empty> { + PlanLimitsBuilder::new() + } +} + +impl<'a> PlanLimitsBuilder<'a, plan_limits_state::Empty> { + /// Create a new builder with all fields unset + pub fn new() -> Self { + PlanLimitsBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: ( + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + ), + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S: plan_limits_state::State> PlanLimitsBuilder<'a, S> { + /// Set the `markdownSupport` field (optional) + pub fn markdown_support(mut self, value: impl Into>) -> Self { + self.__unsafe_private_named.0 = value.into(); + self + } + /// Set the `markdownSupport` field to an Option value (optional) + pub fn maybe_markdown_support(mut self, value: Option) -> Self { + self.__unsafe_private_named.0 = value; + self + } +} + +impl<'a, S: plan_limits_state::State> PlanLimitsBuilder<'a, S> { + /// Set the `maxImageSizeMb` field (optional) + pub fn max_image_size_mb(mut self, value: impl Into>) -> Self { + self.__unsafe_private_named.1 = value.into(); + self + } + /// Set the `maxImageSizeMb` field to an Option value (optional) + pub fn maybe_max_image_size_mb(mut self, value: Option) -> Self { + self.__unsafe_private_named.1 = value; + self + } +} + +impl<'a, S> PlanLimitsBuilder<'a, S> +where + S: plan_limits_state::State, + S::MaxImagesPerPost: plan_limits_state::IsUnset, +{ + /// Set the `maxImagesPerPost` field (required) + pub fn max_images_per_post( + mut self, + value: impl Into, + ) -> PlanLimitsBuilder<'a, plan_limits_state::SetMaxImagesPerPost> { + self.__unsafe_private_named.2 = ::core::option::Option::Some(value.into()); + PlanLimitsBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> PlanLimitsBuilder<'a, S> +where + S: plan_limits_state::State, + S::MaxScheduleDays: plan_limits_state::IsUnset, +{ + /// Set the `maxScheduleDays` field (required) + pub fn max_schedule_days( + mut self, + value: impl Into, + ) -> PlanLimitsBuilder<'a, plan_limits_state::SetMaxScheduleDays> { + self.__unsafe_private_named.3 = ::core::option::Option::Some(value.into()); + PlanLimitsBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S: plan_limits_state::State> PlanLimitsBuilder<'a, S> { + /// Set the `maxVideoSizeMb` field (optional) + pub fn max_video_size_mb(mut self, value: impl Into>) -> Self { + self.__unsafe_private_named.4 = value.into(); + self + } + /// Set the `maxVideoSizeMb` field to an Option value (optional) + pub fn maybe_max_video_size_mb(mut self, value: Option) -> Self { + self.__unsafe_private_named.4 = value; + self + } +} + +impl<'a, S> PlanLimitsBuilder<'a, S> +where + S: plan_limits_state::State, + S::MonthlyPostsLimit: plan_limits_state::IsUnset, +{ + /// Set the `monthlyPostsLimit` field (required) + pub fn monthly_posts_limit( + mut self, + value: impl Into, + ) -> PlanLimitsBuilder<'a, plan_limits_state::SetMonthlyPostsLimit> { + self.__unsafe_private_named.5 = ::core::option::Option::Some(value.into()); + PlanLimitsBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> PlanLimitsBuilder<'a, S> +where + S: plan_limits_state::State, + S::PendingPostsLimit: plan_limits_state::IsUnset, +{ + /// Set the `pendingPostsLimit` field (required) + pub fn pending_posts_limit( + mut self, + value: impl Into, + ) -> PlanLimitsBuilder<'a, plan_limits_state::SetPendingPostsLimit> { + self.__unsafe_private_named.6 = ::core::option::Option::Some(value.into()); + PlanLimitsBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> PlanLimitsBuilder<'a, S> +where + S: plan_limits_state::State, + S::ScheduleIntervalMinutes: plan_limits_state::IsUnset, +{ + /// Set the `scheduleIntervalMinutes` field (required) + pub fn schedule_interval_minutes( + mut self, + value: impl Into, + ) -> PlanLimitsBuilder<'a, plan_limits_state::SetScheduleIntervalMinutes> { + self.__unsafe_private_named.7 = ::core::option::Option::Some(value.into()); + PlanLimitsBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S: plan_limits_state::State> PlanLimitsBuilder<'a, S> { + /// Set the `threadPosts` field (optional) + pub fn thread_posts(mut self, value: impl Into>) -> Self { + self.__unsafe_private_named.8 = value.into(); + self + } + /// Set the `threadPosts` field to an Option value (optional) + pub fn maybe_thread_posts(mut self, value: Option) -> Self { + self.__unsafe_private_named.8 = value; + self + } +} + +impl<'a, S> PlanLimitsBuilder<'a, S> +where + S: plan_limits_state::State, + S::ThreadPostsLimit: plan_limits_state::IsUnset, +{ + /// Set the `threadPostsLimit` field (required) + pub fn thread_posts_limit( + mut self, + value: impl Into, + ) -> PlanLimitsBuilder<'a, plan_limits_state::SetThreadPostsLimit> { + self.__unsafe_private_named.9 = ::core::option::Option::Some(value.into()); + PlanLimitsBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S: plan_limits_state::State> PlanLimitsBuilder<'a, S> { + /// Set the `videoProcessingMinutesMonthly` field (optional) + pub fn video_processing_minutes_monthly( + mut self, + value: impl Into>, + ) -> Self { + self.__unsafe_private_named.10 = value.into(); + self + } + /// Set the `videoProcessingMinutesMonthly` field to an Option value (optional) + pub fn maybe_video_processing_minutes_monthly(mut self, value: Option) -> Self { + self.__unsafe_private_named.10 = value; + self + } +} + +impl<'a, S: plan_limits_state::State> PlanLimitsBuilder<'a, S> { + /// Set the `videoUpload` field (optional) + pub fn video_upload(mut self, value: impl Into>) -> Self { + self.__unsafe_private_named.11 = value.into(); + self + } + /// Set the `videoUpload` field to an Option value (optional) + pub fn maybe_video_upload(mut self, value: Option) -> Self { + self.__unsafe_private_named.11 = value; + self + } +} + +impl<'a, S> PlanLimitsBuilder<'a, S> +where + S: plan_limits_state::State, + S::MonthlyPostsLimit: plan_limits_state::IsSet, + S::MaxScheduleDays: plan_limits_state::IsSet, + S::PendingPostsLimit: plan_limits_state::IsSet, + S::ScheduleIntervalMinutes: plan_limits_state::IsSet, + S::MaxImagesPerPost: plan_limits_state::IsSet, + S::ThreadPostsLimit: plan_limits_state::IsSet, +{ + /// Build the final struct + pub fn build(self) -> PlanLimits<'a> { + PlanLimits { + markdown_support: self.__unsafe_private_named.0, + max_image_size_mb: self.__unsafe_private_named.1, + max_images_per_post: self.__unsafe_private_named.2.unwrap(), + max_schedule_days: self.__unsafe_private_named.3.unwrap(), + max_video_size_mb: self.__unsafe_private_named.4, + monthly_posts_limit: self.__unsafe_private_named.5.unwrap(), + pending_posts_limit: self.__unsafe_private_named.6.unwrap(), + schedule_interval_minutes: self.__unsafe_private_named.7.unwrap(), + thread_posts: self.__unsafe_private_named.8, + thread_posts_limit: self.__unsafe_private_named.9.unwrap(), + video_processing_minutes_monthly: self.__unsafe_private_named.10, + video_upload: self.__unsafe_private_named.11, + extra_data: Default::default(), + } + } + /// Build the final struct with custom extra_data + pub fn build_with_data( + self, + extra_data: std::collections::BTreeMap< + jacquard_common::deps::smol_str::SmolStr, + jacquard_common::types::value::Data<'a>, + >, + ) -> PlanLimits<'a> { + PlanLimits { + markdown_support: self.__unsafe_private_named.0, + max_image_size_mb: self.__unsafe_private_named.1, + max_images_per_post: self.__unsafe_private_named.2.unwrap(), + max_schedule_days: self.__unsafe_private_named.3.unwrap(), + max_video_size_mb: self.__unsafe_private_named.4, + monthly_posts_limit: self.__unsafe_private_named.5.unwrap(), + pending_posts_limit: self.__unsafe_private_named.6.unwrap(), + schedule_interval_minutes: self.__unsafe_private_named.7.unwrap(), + thread_posts: self.__unsafe_private_named.8, + thread_posts_limit: self.__unsafe_private_named.9.unwrap(), + video_processing_minutes_monthly: self.__unsafe_private_named.10, + video_upload: self.__unsafe_private_named.11, + extra_data: Some(extra_data), + } + } +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for PlanLimits<'a> { + fn nsid() -> &'static str { + "app.chronosky.plan.getUsage" + } + fn def_name() -> &'static str { + "planLimits" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_app_chronosky_plan_getUsage() + } + fn validate( + &self, + ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} + +/// Usage statistics. +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct UsageStats<'a> { + /// API requests in current hour + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub api_requests_this_hour: std::option::Option, + /// Last time usage was updated (ISO 8601) + pub last_updated: jacquard_common::types::string::Datetime, + /// End of current monthly period (ISO 8601) + pub monthly_period_end: jacquard_common::types::string::Datetime, + /// Start of current monthly period (ISO 8601) + pub monthly_period_start: jacquard_common::types::string::Datetime, + /// Number of posts this month + pub monthly_posts_count: i64, + /// Current number of pending posts + pub pending_posts_count: i64, + /// Storage used (MB) + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub storage_used_mb: std::option::Option, +} + +pub mod usage_stats_state { + + pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + #[allow(unused)] + use ::core::marker::PhantomData; + mod sealed { + pub trait Sealed {} + } + /// State trait tracking which required fields have been set + pub trait State: sealed::Sealed { + type MonthlyPeriodEnd; + type PendingPostsCount; + type MonthlyPeriodStart; + type MonthlyPostsCount; + type LastUpdated; + } + /// Empty state - all required fields are unset + pub struct Empty(()); + impl sealed::Sealed for Empty {} + impl State for Empty { + type MonthlyPeriodEnd = Unset; + type PendingPostsCount = Unset; + type MonthlyPeriodStart = Unset; + type MonthlyPostsCount = Unset; + type LastUpdated = Unset; + } + ///State transition - sets the `monthly_period_end` field to Set + pub struct SetMonthlyPeriodEnd(PhantomData S>); + impl sealed::Sealed for SetMonthlyPeriodEnd {} + impl State for SetMonthlyPeriodEnd { + type MonthlyPeriodEnd = Set; + type PendingPostsCount = S::PendingPostsCount; + type MonthlyPeriodStart = S::MonthlyPeriodStart; + type MonthlyPostsCount = S::MonthlyPostsCount; + type LastUpdated = S::LastUpdated; + } + ///State transition - sets the `pending_posts_count` field to Set + pub struct SetPendingPostsCount(PhantomData S>); + impl sealed::Sealed for SetPendingPostsCount {} + impl State for SetPendingPostsCount { + type MonthlyPeriodEnd = S::MonthlyPeriodEnd; + type PendingPostsCount = Set; + type MonthlyPeriodStart = S::MonthlyPeriodStart; + type MonthlyPostsCount = S::MonthlyPostsCount; + type LastUpdated = S::LastUpdated; + } + ///State transition - sets the `monthly_period_start` field to Set + pub struct SetMonthlyPeriodStart(PhantomData S>); + impl sealed::Sealed for SetMonthlyPeriodStart {} + impl State for SetMonthlyPeriodStart { + type MonthlyPeriodEnd = S::MonthlyPeriodEnd; + type PendingPostsCount = S::PendingPostsCount; + type MonthlyPeriodStart = Set; + type MonthlyPostsCount = S::MonthlyPostsCount; + type LastUpdated = S::LastUpdated; + } + ///State transition - sets the `monthly_posts_count` field to Set + pub struct SetMonthlyPostsCount(PhantomData S>); + impl sealed::Sealed for SetMonthlyPostsCount {} + impl State for SetMonthlyPostsCount { + type MonthlyPeriodEnd = S::MonthlyPeriodEnd; + type PendingPostsCount = S::PendingPostsCount; + type MonthlyPeriodStart = S::MonthlyPeriodStart; + type MonthlyPostsCount = Set; + type LastUpdated = S::LastUpdated; + } + ///State transition - sets the `last_updated` field to Set + pub struct SetLastUpdated(PhantomData S>); + impl sealed::Sealed for SetLastUpdated {} + impl State for SetLastUpdated { + type MonthlyPeriodEnd = S::MonthlyPeriodEnd; + type PendingPostsCount = S::PendingPostsCount; + type MonthlyPeriodStart = S::MonthlyPeriodStart; + type MonthlyPostsCount = S::MonthlyPostsCount; + type LastUpdated = Set; + } + /// Marker types for field names + #[allow(non_camel_case_types)] + pub mod members { + ///Marker type for the `monthly_period_end` field + pub struct monthly_period_end(()); + ///Marker type for the `pending_posts_count` field + pub struct pending_posts_count(()); + ///Marker type for the `monthly_period_start` field + pub struct monthly_period_start(()); + ///Marker type for the `monthly_posts_count` field + pub struct monthly_posts_count(()); + ///Marker type for the `last_updated` field + pub struct last_updated(()); + } +} + +/// Builder for constructing an instance of this type +pub struct UsageStatsBuilder<'a, S: usage_stats_state::State> { + _phantom_state: ::core::marker::PhantomData S>, + __unsafe_private_named: ( + ::core::option::Option, + ::core::option::Option, + ::core::option::Option, + ::core::option::Option, + ::core::option::Option, + ::core::option::Option, + ::core::option::Option, + ), + _phantom: ::core::marker::PhantomData<&'a ()>, +} + +impl<'a> UsageStats<'a> { + /// Create a new builder for this type + pub fn new() -> UsageStatsBuilder<'a, usage_stats_state::Empty> { + UsageStatsBuilder::new() + } +} + +impl<'a> UsageStatsBuilder<'a, usage_stats_state::Empty> { + /// Create a new builder with all fields unset + pub fn new() -> Self { + UsageStatsBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: (None, None, None, None, None, None, None), + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S: usage_stats_state::State> UsageStatsBuilder<'a, S> { + /// Set the `apiRequestsThisHour` field (optional) + pub fn api_requests_this_hour(mut self, value: impl Into>) -> Self { + self.__unsafe_private_named.0 = value.into(); + self + } + /// Set the `apiRequestsThisHour` field to an Option value (optional) + pub fn maybe_api_requests_this_hour(mut self, value: Option) -> Self { + self.__unsafe_private_named.0 = value; + self + } +} + +impl<'a, S> UsageStatsBuilder<'a, S> +where + S: usage_stats_state::State, + S::LastUpdated: usage_stats_state::IsUnset, +{ + /// Set the `lastUpdated` field (required) + pub fn last_updated( + mut self, + value: impl Into, + ) -> UsageStatsBuilder<'a, usage_stats_state::SetLastUpdated> { + self.__unsafe_private_named.1 = ::core::option::Option::Some(value.into()); + UsageStatsBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> UsageStatsBuilder<'a, S> +where + S: usage_stats_state::State, + S::MonthlyPeriodEnd: usage_stats_state::IsUnset, +{ + /// Set the `monthlyPeriodEnd` field (required) + pub fn monthly_period_end( + mut self, + value: impl Into, + ) -> UsageStatsBuilder<'a, usage_stats_state::SetMonthlyPeriodEnd> { + self.__unsafe_private_named.2 = ::core::option::Option::Some(value.into()); + UsageStatsBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> UsageStatsBuilder<'a, S> +where + S: usage_stats_state::State, + S::MonthlyPeriodStart: usage_stats_state::IsUnset, +{ + /// Set the `monthlyPeriodStart` field (required) + pub fn monthly_period_start( + mut self, + value: impl Into, + ) -> UsageStatsBuilder<'a, usage_stats_state::SetMonthlyPeriodStart> { + self.__unsafe_private_named.3 = ::core::option::Option::Some(value.into()); + UsageStatsBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> UsageStatsBuilder<'a, S> +where + S: usage_stats_state::State, + S::MonthlyPostsCount: usage_stats_state::IsUnset, +{ + /// Set the `monthlyPostsCount` field (required) + pub fn monthly_posts_count( + mut self, + value: impl Into, + ) -> UsageStatsBuilder<'a, usage_stats_state::SetMonthlyPostsCount> { + self.__unsafe_private_named.4 = ::core::option::Option::Some(value.into()); + UsageStatsBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> UsageStatsBuilder<'a, S> +where + S: usage_stats_state::State, + S::PendingPostsCount: usage_stats_state::IsUnset, +{ + /// Set the `pendingPostsCount` field (required) + pub fn pending_posts_count( + mut self, + value: impl Into, + ) -> UsageStatsBuilder<'a, usage_stats_state::SetPendingPostsCount> { + self.__unsafe_private_named.5 = ::core::option::Option::Some(value.into()); + UsageStatsBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S: usage_stats_state::State> UsageStatsBuilder<'a, S> { + /// Set the `storageUsedMb` field (optional) + pub fn storage_used_mb(mut self, value: impl Into>) -> Self { + self.__unsafe_private_named.6 = value.into(); + self + } + /// Set the `storageUsedMb` field to an Option value (optional) + pub fn maybe_storage_used_mb(mut self, value: Option) -> Self { + self.__unsafe_private_named.6 = value; + self + } +} + +impl<'a, S> UsageStatsBuilder<'a, S> +where + S: usage_stats_state::State, + S::MonthlyPeriodEnd: usage_stats_state::IsSet, + S::PendingPostsCount: usage_stats_state::IsSet, + S::MonthlyPeriodStart: usage_stats_state::IsSet, + S::MonthlyPostsCount: usage_stats_state::IsSet, + S::LastUpdated: usage_stats_state::IsSet, +{ + /// Build the final struct + pub fn build(self) -> UsageStats<'a> { + UsageStats { + api_requests_this_hour: self.__unsafe_private_named.0, + last_updated: self.__unsafe_private_named.1.unwrap(), + monthly_period_end: self.__unsafe_private_named.2.unwrap(), + monthly_period_start: self.__unsafe_private_named.3.unwrap(), + monthly_posts_count: self.__unsafe_private_named.4.unwrap(), + pending_posts_count: self.__unsafe_private_named.5.unwrap(), + storage_used_mb: self.__unsafe_private_named.6, + extra_data: Default::default(), + } + } + /// Build the final struct with custom extra_data + pub fn build_with_data( + self, + extra_data: std::collections::BTreeMap< + jacquard_common::deps::smol_str::SmolStr, + jacquard_common::types::value::Data<'a>, + >, + ) -> UsageStats<'a> { + UsageStats { + api_requests_this_hour: self.__unsafe_private_named.0, + last_updated: self.__unsafe_private_named.1.unwrap(), + monthly_period_end: self.__unsafe_private_named.2.unwrap(), + monthly_period_start: self.__unsafe_private_named.3.unwrap(), + monthly_posts_count: self.__unsafe_private_named.4.unwrap(), + pending_posts_count: self.__unsafe_private_named.5.unwrap(), + storage_used_mb: self.__unsafe_private_named.6, + extra_data: Some(extra_data), + } + } +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for UsageStats<'a> { + fn nsid() -> &'static str { + "app.chronosky.plan.getUsage" + } + fn def_name() -> &'static str { + "usageStats" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_app_chronosky_plan_getUsage() + } + fn validate( + &self, + ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} \ 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 new file mode 100644 index 000000000..5f01c005a --- /dev/null +++ b/crates/jacquard-api/src/app_chronosky/plan/list_assignments.rs @@ -0,0 +1,61 @@ +// @generated by jacquard-lexicon. DO NOT EDIT. +// +// Lexicon: app.chronosky.plan.listAssignments +// +// This file was automatically generated from Lexicon schemas. +// Any manual changes will be overwritten on the next regeneration. + +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct ListAssignmentsOutput<'a> { + /// List of plan assignments + #[serde(borrow)] + pub assignments: Vec>, +} + +/// XRPC request marker type +#[derive( + Debug, + Clone, + Copy, + PartialEq, + Eq, + serde::Serialize, + serde::Deserialize, + jacquard_derive::IntoStatic +)] +pub struct ListAssignments; +/// Response type for +///app.chronosky.plan.listAssignments +pub struct ListAssignmentsResponse; +impl jacquard_common::xrpc::XrpcResp for ListAssignmentsResponse { + const NSID: &'static str = "app.chronosky.plan.listAssignments"; + const ENCODING: &'static str = "application/json"; + type Output<'de> = ListAssignmentsOutput<'de>; + type Err<'de> = jacquard_common::xrpc::GenericError<'de>; +} + +impl jacquard_common::xrpc::XrpcRequest for ListAssignments { + const NSID: &'static str = "app.chronosky.plan.listAssignments"; + const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Query; + type Response = ListAssignmentsResponse; +} + +/// Endpoint type for +///app.chronosky.plan.listAssignments +pub struct ListAssignmentsRequest; +impl jacquard_common::xrpc::XrpcEndpoint for ListAssignmentsRequest { + const PATH: &'static str = "/xrpc/app.chronosky.plan.listAssignments"; + const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Query; + type Request<'de> = 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 new file mode 100644 index 000000000..1b0bebf73 --- /dev/null +++ b/crates/jacquard-api/src/app_chronosky/plan/redeem_ticket.rs @@ -0,0 +1,666 @@ +// @generated by jacquard-lexicon. DO NOT EDIT. +// +// Lexicon: app.chronosky.plan.redeemTicket +// +// This file was automatically generated from Lexicon schemas. +// Any manual changes will be overwritten on the next regeneration. + +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic, + Default +)] +#[serde(rename_all = "camelCase")] +pub struct RedeemTicket<'a> { + /// Ticket redemption code + #[serde(borrow)] + pub code: jacquard_common::CowStr<'a>, +} + +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct RedeemTicketOutput<'a> { + #[serde(borrow)] + pub assignment: crate::app_chronosky::plan::redeem_ticket::RedeemedAssignment<'a>, + /// Success message + #[serde(borrow)] + pub message: jacquard_common::CowStr<'a>, +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + thiserror::Error, + miette::Diagnostic, + jacquard_derive::IntoStatic +)] +#[serde(tag = "error", content = "message")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RedeemTicketError<'a> { + /// Ticket code not found + #[serde(rename = "TicketNotFound")] + TicketNotFound(std::option::Option>), + /// Ticket has already been redeemed + #[serde(rename = "TicketAlreadyRedeemed")] + TicketAlreadyRedeemed(std::option::Option>), + /// Ticket has expired + #[serde(rename = "TicketExpired")] + TicketExpired(std::option::Option>), +} + +impl core::fmt::Display for RedeemTicketError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + match self { + Self::TicketNotFound(msg) => { + write!(f, "TicketNotFound")?; + if let Some(msg) = msg { + write!(f, ": {}", msg)?; + } + Ok(()) + } + Self::TicketAlreadyRedeemed(msg) => { + write!(f, "TicketAlreadyRedeemed")?; + if let Some(msg) = msg { + write!(f, ": {}", msg)?; + } + Ok(()) + } + Self::TicketExpired(msg) => { + write!(f, "TicketExpired")?; + if let Some(msg) = msg { + write!(f, ": {}", msg)?; + } + Ok(()) + } + Self::Unknown(err) => write!(f, "Unknown error: {:?}", err), + } + } +} + +/// Response type for +///app.chronosky.plan.redeemTicket +pub struct RedeemTicketResponse; +impl jacquard_common::xrpc::XrpcResp for RedeemTicketResponse { + const NSID: &'static str = "app.chronosky.plan.redeemTicket"; + const ENCODING: &'static str = "application/json"; + type Output<'de> = RedeemTicketOutput<'de>; + type Err<'de> = RedeemTicketError<'de>; +} + +impl<'a> jacquard_common::xrpc::XrpcRequest for RedeemTicket<'a> { + const NSID: &'static str = "app.chronosky.plan.redeemTicket"; + const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( + "application/json", + ); + type Response = RedeemTicketResponse; +} + +/// Endpoint type for +///app.chronosky.plan.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", + ); + type Request<'de> = RedeemTicket<'de>; + type Response = RedeemTicketResponse; +} + +/// Redeemed plan assignment. +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct RedeemedAssignment<'a> { + /// Plan activation timestamp + pub activated_at: jacquard_common::types::string::Datetime, + /// Plan expiration timestamp + pub expires_at: jacquard_common::types::string::Datetime, + /// Plan assignment ID + #[serde(borrow)] + pub id: jacquard_common::CowStr<'a>, + /// Plan ID + #[serde(borrow)] + pub plan_id: jacquard_common::CowStr<'a>, + /// Plan assignment status + #[serde(borrow)] + pub status: jacquard_common::CowStr<'a>, +} + +pub mod redeemed_assignment_state { + + pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + #[allow(unused)] + use ::core::marker::PhantomData; + mod sealed { + pub trait Sealed {} + } + /// State trait tracking which required fields have been set + pub trait State: sealed::Sealed { + type Id; + type ActivatedAt; + type Status; + type ExpiresAt; + type PlanId; + } + /// Empty state - all required fields are unset + pub struct Empty(()); + impl sealed::Sealed for Empty {} + impl State for Empty { + type Id = Unset; + type ActivatedAt = Unset; + type Status = Unset; + type ExpiresAt = Unset; + type PlanId = Unset; + } + ///State transition - sets the `id` field to Set + pub struct SetId(PhantomData S>); + impl sealed::Sealed for SetId {} + impl State for SetId { + type Id = Set; + type ActivatedAt = S::ActivatedAt; + type Status = S::Status; + type ExpiresAt = S::ExpiresAt; + type PlanId = S::PlanId; + } + ///State transition - sets the `activated_at` field to Set + pub struct SetActivatedAt(PhantomData S>); + impl sealed::Sealed for SetActivatedAt {} + impl State for SetActivatedAt { + type Id = S::Id; + type ActivatedAt = Set; + type Status = S::Status; + type ExpiresAt = S::ExpiresAt; + type PlanId = S::PlanId; + } + ///State transition - sets the `status` field to Set + pub struct SetStatus(PhantomData S>); + impl sealed::Sealed for SetStatus {} + impl State for SetStatus { + type Id = S::Id; + type ActivatedAt = S::ActivatedAt; + type Status = Set; + type ExpiresAt = S::ExpiresAt; + type PlanId = S::PlanId; + } + ///State transition - sets the `expires_at` field to Set + pub struct SetExpiresAt(PhantomData S>); + impl sealed::Sealed for SetExpiresAt {} + impl State for SetExpiresAt { + type Id = S::Id; + type ActivatedAt = S::ActivatedAt; + type Status = S::Status; + type ExpiresAt = Set; + type PlanId = S::PlanId; + } + ///State transition - sets the `plan_id` field to Set + pub struct SetPlanId(PhantomData S>); + impl sealed::Sealed for SetPlanId {} + impl State for SetPlanId { + type Id = S::Id; + type ActivatedAt = S::ActivatedAt; + type Status = S::Status; + type ExpiresAt = S::ExpiresAt; + type PlanId = Set; + } + /// Marker types for field names + #[allow(non_camel_case_types)] + pub mod members { + ///Marker type for the `id` field + pub struct id(()); + ///Marker type for the `activated_at` field + pub struct activated_at(()); + ///Marker type for the `status` field + pub struct status(()); + ///Marker type for the `expires_at` field + pub struct expires_at(()); + ///Marker type for the `plan_id` field + pub struct plan_id(()); + } +} + +/// Builder for constructing an instance of this type +pub struct RedeemedAssignmentBuilder<'a, S: redeemed_assignment_state::State> { + _phantom_state: ::core::marker::PhantomData S>, + __unsafe_private_named: ( + ::core::option::Option, + ::core::option::Option, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ), + _phantom: ::core::marker::PhantomData<&'a ()>, +} + +impl<'a> RedeemedAssignment<'a> { + /// Create a new builder for this type + pub fn new() -> RedeemedAssignmentBuilder<'a, redeemed_assignment_state::Empty> { + RedeemedAssignmentBuilder::new() + } +} + +impl<'a> RedeemedAssignmentBuilder<'a, redeemed_assignment_state::Empty> { + /// Create a new builder with all fields unset + pub fn new() -> Self { + RedeemedAssignmentBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: (None, None, None, None, None), + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> RedeemedAssignmentBuilder<'a, S> +where + S: redeemed_assignment_state::State, + S::ActivatedAt: redeemed_assignment_state::IsUnset, +{ + /// Set the `activatedAt` field (required) + pub fn activated_at( + mut self, + value: impl Into, + ) -> RedeemedAssignmentBuilder<'a, redeemed_assignment_state::SetActivatedAt> { + self.__unsafe_private_named.0 = ::core::option::Option::Some(value.into()); + RedeemedAssignmentBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> RedeemedAssignmentBuilder<'a, S> +where + S: redeemed_assignment_state::State, + S::ExpiresAt: redeemed_assignment_state::IsUnset, +{ + /// Set the `expiresAt` field (required) + pub fn expires_at( + mut self, + value: impl Into, + ) -> RedeemedAssignmentBuilder<'a, redeemed_assignment_state::SetExpiresAt> { + self.__unsafe_private_named.1 = ::core::option::Option::Some(value.into()); + RedeemedAssignmentBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> RedeemedAssignmentBuilder<'a, S> +where + S: redeemed_assignment_state::State, + S::Id: redeemed_assignment_state::IsUnset, +{ + /// Set the `id` field (required) + pub fn id( + mut self, + value: impl Into>, + ) -> RedeemedAssignmentBuilder<'a, redeemed_assignment_state::SetId> { + self.__unsafe_private_named.2 = ::core::option::Option::Some(value.into()); + RedeemedAssignmentBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> RedeemedAssignmentBuilder<'a, S> +where + S: redeemed_assignment_state::State, + S::PlanId: redeemed_assignment_state::IsUnset, +{ + /// Set the `planId` field (required) + pub fn plan_id( + mut self, + value: impl Into>, + ) -> RedeemedAssignmentBuilder<'a, redeemed_assignment_state::SetPlanId> { + self.__unsafe_private_named.3 = ::core::option::Option::Some(value.into()); + RedeemedAssignmentBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> RedeemedAssignmentBuilder<'a, S> +where + S: redeemed_assignment_state::State, + S::Status: redeemed_assignment_state::IsUnset, +{ + /// Set the `status` field (required) + pub fn status( + mut self, + value: impl Into>, + ) -> RedeemedAssignmentBuilder<'a, redeemed_assignment_state::SetStatus> { + self.__unsafe_private_named.4 = ::core::option::Option::Some(value.into()); + RedeemedAssignmentBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> RedeemedAssignmentBuilder<'a, S> +where + S: redeemed_assignment_state::State, + S::Id: redeemed_assignment_state::IsSet, + S::ActivatedAt: redeemed_assignment_state::IsSet, + S::Status: redeemed_assignment_state::IsSet, + S::ExpiresAt: redeemed_assignment_state::IsSet, + S::PlanId: redeemed_assignment_state::IsSet, +{ + /// Build the final struct + pub fn build(self) -> RedeemedAssignment<'a> { + RedeemedAssignment { + activated_at: self.__unsafe_private_named.0.unwrap(), + expires_at: self.__unsafe_private_named.1.unwrap(), + id: self.__unsafe_private_named.2.unwrap(), + plan_id: self.__unsafe_private_named.3.unwrap(), + status: self.__unsafe_private_named.4.unwrap(), + extra_data: Default::default(), + } + } + /// Build the final struct with custom extra_data + pub fn build_with_data( + self, + extra_data: std::collections::BTreeMap< + jacquard_common::deps::smol_str::SmolStr, + jacquard_common::types::value::Data<'a>, + >, + ) -> RedeemedAssignment<'a> { + RedeemedAssignment { + activated_at: self.__unsafe_private_named.0.unwrap(), + expires_at: self.__unsafe_private_named.1.unwrap(), + id: self.__unsafe_private_named.2.unwrap(), + plan_id: self.__unsafe_private_named.3.unwrap(), + status: self.__unsafe_private_named.4.unwrap(), + extra_data: Some(extra_data), + } + } +} + +fn lexicon_doc_app_chronosky_plan_redeemTicket() -> ::jacquard_lexicon::lexicon::LexiconDoc< + 'static, +> { + ::jacquard_lexicon::lexicon::LexiconDoc { + lexicon: ::jacquard_lexicon::lexicon::Lexicon::Lexicon1, + id: ::jacquard_common::CowStr::new_static("app.chronosky.plan.redeemTicket"), + revision: None, + description: None, + defs: { + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), + ::jacquard_lexicon::lexicon::LexUserType::XrpcProcedure(::jacquard_lexicon::lexicon::LexXrpcProcedure { + description: None, + parameters: None, + input: Some(::jacquard_lexicon::lexicon::LexXrpcBody { + description: None, + encoding: ::jacquard_common::CowStr::new_static( + "application/json", + ), + schema: Some( + ::jacquard_lexicon::lexicon::LexXrpcBodySchema::Object(::jacquard_lexicon::lexicon::LexObject { + description: None, + required: Some( + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("code") + ], + ), + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "code", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Ticket redemption code", + ), + ), + format: None, + default: None, + min_length: Some(1usize), + max_length: Some(100usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map + }, + }), + ), + }), + output: None, + errors: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "redeemedAssignment", + ), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static( + "Redeemed plan assignment.", + ), + ), + required: Some( + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("planId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("activatedAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("expiresAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("status") + ], + ), + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "activatedAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Plan activation timestamp", + ), + ), + format: Some( + ::jacquard_lexicon::lexicon::LexStringFormat::Datetime, + ), + default: None, + min_length: None, + max_length: Some(100usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "expiresAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Plan expiration timestamp", + ), + ), + format: Some( + ::jacquard_lexicon::lexicon::LexStringFormat::Datetime, + ), + default: None, + min_length: None, + max_length: Some(100usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static("Plan assignment ID"), + ), + format: None, + default: None, + min_length: None, + max_length: Some(100usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "planId", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static("Plan ID"), + ), + format: None, + default: None, + min_length: None, + max_length: Some(100usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "status", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Plan assignment status", + ), + ), + format: None, + default: None, + min_length: None, + max_length: Some(20usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map + }, + }), + ); + map + }, + } +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for RedeemedAssignment<'a> { + fn nsid() -> &'static str { + "app.chronosky.plan.redeemTicket" + } + fn def_name() -> &'static str { + "redeemedAssignment" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_app_chronosky_plan_redeemTicket() + } + fn validate( + &self, + ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + { + let value = &self.id; + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 100usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "id", + ), + max: 100usize, + actual: ::len(value.as_ref()), + }); + } + } + { + let value = &self.plan_id; + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 100usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "plan_id", + ), + max: 100usize, + actual: ::len(value.as_ref()), + }); + } + } + { + let value = &self.status; + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 20usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "status", + ), + max: 20usize, + actual: ::len(value.as_ref()), + }); + } + } + Ok(()) + } +} \ 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 new file mode 100644 index 000000000..289cdc4ed --- /dev/null +++ b/crates/jacquard-api/src/app_chronosky/schedule.rs @@ -0,0 +1,11 @@ +// @generated by jacquard-lexicon. DO NOT EDIT. +// +// This file was automatically generated from Lexicon schemas. +// Any manual changes will be overwritten on the next regeneration. + +pub mod create_post; +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 diff --git a/crates/jacquard-api/src/app_chronosky/schedule/create_post.rs b/crates/jacquard-api/src/app_chronosky/schedule/create_post.rs new file mode 100644 index 000000000..bda7eaccc --- /dev/null +++ b/crates/jacquard-api/src/app_chronosky/schedule/create_post.rs @@ -0,0 +1,738 @@ +// @generated by jacquard-lexicon. DO NOT EDIT. +// +// Lexicon: app.chronosky.schedule.createPost +// +// This file was automatically generated from Lexicon schemas. +// Any manual changes will be overwritten on the next regeneration. + +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct CreatePost<'a> { + /// Whether to disable quote posts + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub disable_quote_posts: std::option::Option, + /// Chronosky-internal scheduled post ID of the parent post (for scheduling threads or replies). Not an AT Protocol URI or Record Key. + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub parent_post_id: std::option::Option>, + /// Array of posts to schedule (1 element = single post, multiple = thread) + #[serde(borrow)] + pub posts: Vec>, + /// Scheduled publish time + pub scheduled_at: jacquard_common::types::string::Datetime, + /// Thread gate rules to control who can reply + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub threadgate_rules: std::option::Option>>, +} + +pub mod create_post_state { + + pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + #[allow(unused)] + use ::core::marker::PhantomData; + mod sealed { + pub trait Sealed {} + } + /// State trait tracking which required fields have been set + pub trait State: sealed::Sealed { + type ScheduledAt; + type Posts; + } + /// Empty state - all required fields are unset + pub struct Empty(()); + impl sealed::Sealed for Empty {} + impl State for Empty { + type ScheduledAt = Unset; + type Posts = Unset; + } + ///State transition - sets the `scheduled_at` field to Set + pub struct SetScheduledAt(PhantomData S>); + impl sealed::Sealed for SetScheduledAt {} + impl State for SetScheduledAt { + type ScheduledAt = Set; + type Posts = S::Posts; + } + ///State transition - sets the `posts` field to Set + pub struct SetPosts(PhantomData S>); + impl sealed::Sealed for SetPosts {} + impl State for SetPosts { + type ScheduledAt = S::ScheduledAt; + type Posts = Set; + } + /// Marker types for field names + #[allow(non_camel_case_types)] + pub mod members { + ///Marker type for the `scheduled_at` field + pub struct scheduled_at(()); + ///Marker type for the `posts` field + pub struct posts(()); + } +} + +/// Builder for constructing an instance of this type +pub struct CreatePostBuilder<'a, S: create_post_state::State> { + _phantom_state: ::core::marker::PhantomData S>, + __unsafe_private_named: ( + ::core::option::Option, + ::core::option::Option>, + ::core::option::Option< + Vec>, + >, + ::core::option::Option, + ::core::option::Option>>, + ), + _phantom: ::core::marker::PhantomData<&'a ()>, +} + +impl<'a> CreatePost<'a> { + /// Create a new builder for this type + pub fn new() -> CreatePostBuilder<'a, create_post_state::Empty> { + CreatePostBuilder::new() + } +} + +impl<'a> CreatePostBuilder<'a, create_post_state::Empty> { + /// Create a new builder with all fields unset + pub fn new() -> Self { + CreatePostBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: (None, None, None, None, None), + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S: create_post_state::State> CreatePostBuilder<'a, S> { + /// Set the `disableQuotePosts` field (optional) + pub fn disable_quote_posts(mut self, value: impl Into>) -> Self { + self.__unsafe_private_named.0 = value.into(); + self + } + /// Set the `disableQuotePosts` field to an Option value (optional) + pub fn maybe_disable_quote_posts(mut self, value: Option) -> Self { + self.__unsafe_private_named.0 = value; + self + } +} + +impl<'a, S: create_post_state::State> CreatePostBuilder<'a, S> { + /// Set the `parentPostId` field (optional) + pub fn parent_post_id( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.1 = value.into(); + self + } + /// Set the `parentPostId` field to an Option value (optional) + pub fn maybe_parent_post_id( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.1 = value; + self + } +} + +impl<'a, S> CreatePostBuilder<'a, S> +where + S: create_post_state::State, + S::Posts: create_post_state::IsUnset, +{ + /// Set the `posts` field (required) + pub fn posts( + mut self, + value: impl Into< + Vec>, + >, + ) -> CreatePostBuilder<'a, create_post_state::SetPosts> { + self.__unsafe_private_named.2 = ::core::option::Option::Some(value.into()); + CreatePostBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> CreatePostBuilder<'a, S> +where + S: create_post_state::State, + S::ScheduledAt: create_post_state::IsUnset, +{ + /// Set the `scheduledAt` field (required) + pub fn scheduled_at( + mut self, + value: impl Into, + ) -> CreatePostBuilder<'a, create_post_state::SetScheduledAt> { + self.__unsafe_private_named.3 = ::core::option::Option::Some(value.into()); + CreatePostBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S: create_post_state::State> CreatePostBuilder<'a, S> { + /// Set the `threadgateRules` field (optional) + pub fn threadgate_rules( + mut self, + value: impl Into>>>, + ) -> Self { + self.__unsafe_private_named.4 = value.into(); + self + } + /// Set the `threadgateRules` field to an Option value (optional) + pub fn maybe_threadgate_rules( + mut self, + value: Option>>, + ) -> Self { + self.__unsafe_private_named.4 = value; + self + } +} + +impl<'a, S> CreatePostBuilder<'a, S> +where + S: create_post_state::State, + S::ScheduledAt: create_post_state::IsSet, + S::Posts: create_post_state::IsSet, +{ + /// Build the final struct + pub fn build(self) -> CreatePost<'a> { + CreatePost { + disable_quote_posts: self.__unsafe_private_named.0, + parent_post_id: self.__unsafe_private_named.1, + posts: self.__unsafe_private_named.2.unwrap(), + scheduled_at: self.__unsafe_private_named.3.unwrap(), + threadgate_rules: self.__unsafe_private_named.4, + extra_data: Default::default(), + } + } + /// Build the final struct with custom extra_data + pub fn build_with_data( + self, + extra_data: std::collections::BTreeMap< + jacquard_common::deps::smol_str::SmolStr, + jacquard_common::types::value::Data<'a>, + >, + ) -> CreatePost<'a> { + CreatePost { + disable_quote_posts: self.__unsafe_private_named.0, + parent_post_id: self.__unsafe_private_named.1, + posts: self.__unsafe_private_named.2.unwrap(), + scheduled_at: self.__unsafe_private_named.3.unwrap(), + threadgate_rules: self.__unsafe_private_named.4, + extra_data: Some(extra_data), + } + } +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum CreatePostThreadgateRulesItem<'a> { + #[serde(rename = "app.bsky.feed.threadgate#mentionRule")] + ThreadgateMentionRule(Box>), + #[serde(rename = "app.bsky.feed.threadgate#followerRule")] + ThreadgateFollowerRule(Box>), + #[serde(rename = "app.bsky.feed.threadgate#followingRule")] + ThreadgateFollowingRule(Box>), + #[serde(rename = "app.bsky.feed.threadgate#listRule")] + ThreadgateListRule(Box>), +} + +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct CreatePostOutput<'a> { + /// Chronosky schedule ID (parent post ID for threads) + #[serde(borrow)] + pub id: jacquard_common::CowStr<'a>, + /// Number of posts created (1 for single post, N for thread) + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub post_count: std::option::Option, + pub scheduled_at: jacquard_common::types::string::Datetime, +} + +/// Response type for +///app.chronosky.schedule.createPost +pub struct CreatePostResponse; +impl jacquard_common::xrpc::XrpcResp for CreatePostResponse { + const NSID: &'static str = "app.chronosky.schedule.createPost"; + const ENCODING: &'static str = "application/json"; + type Output<'de> = CreatePostOutput<'de>; + type Err<'de> = jacquard_common::xrpc::GenericError<'de>; +} + +impl<'a> jacquard_common::xrpc::XrpcRequest for CreatePost<'a> { + const NSID: &'static str = "app.chronosky.schedule.createPost"; + const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( + "application/json", + ); + type Response = CreatePostResponse; +} + +/// Endpoint type for +///app.chronosky.schedule.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", + ); + type Request<'de> = CreatePost<'de>; + type Response = CreatePostResponse; +} + +/// Individual post input for thread scheduling. +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic, + Default +)] +#[serde(rename_all = "camelCase")] +pub struct ThreadPostInput<'a> { + /// Post creation timestamp (optional) + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub created_at: std::option::Option, + /// Embedded content (images, external links, records). + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub embed: std::option::Option>, + /// Rich text facets (mentions, links, tags) + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub facets: std::option::Option>>, + /// Self-applied content labels for content warnings (AT Protocol standard). + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub labels: std::option::Option>, + /// Language codes (ISO 639-1) + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub langs: std::option::Option>, + /// Post text content + #[serde(borrow)] + pub text: jacquard_common::CowStr<'a>, +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ThreadPostInputEmbed<'a> { + #[serde(rename = "app.bsky.embed.images")] + Images(Box>), + #[serde(rename = "app.bsky.embed.external")] + External(Box>), + #[serde(rename = "app.bsky.embed.record")] + Record(Box>), + #[serde(rename = "app.bsky.embed.video")] + Video(Box>), + #[serde(rename = "app.bsky.embed.recordWithMedia")] + RecordWithMedia(Box>), +} + +fn lexicon_doc_app_chronosky_schedule_createPost() -> ::jacquard_lexicon::lexicon::LexiconDoc< + 'static, +> { + ::jacquard_lexicon::lexicon::LexiconDoc { + lexicon: ::jacquard_lexicon::lexicon::Lexicon::Lexicon1, + id: ::jacquard_common::CowStr::new_static("app.chronosky.schedule.createPost"), + revision: None, + description: None, + defs: { + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), + ::jacquard_lexicon::lexicon::LexUserType::XrpcProcedure(::jacquard_lexicon::lexicon::LexXrpcProcedure { + description: None, + parameters: None, + input: Some(::jacquard_lexicon::lexicon::LexXrpcBody { + description: None, + encoding: ::jacquard_common::CowStr::new_static( + "application/json", + ), + schema: Some( + ::jacquard_lexicon::lexicon::LexXrpcBodySchema::Object(::jacquard_lexicon::lexicon::LexObject { + description: None, + required: Some( + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("posts"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("scheduledAt") + ], + ), + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "disableQuotePosts", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "parentPostId", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Chronosky-internal scheduled post ID of the parent post (for scheduling threads or replies). Not an AT Protocol URI or Record Key.", + ), + ), + format: None, + default: None, + min_length: None, + max_length: Some(100usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "posts", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { + description: Some( + ::jacquard_common::CowStr::new_static( + "Array of posts to schedule (1 element = single post, multiple = thread)", + ), + ), + items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "#threadPostInput", + ), + }), + min_length: Some(1usize), + max_length: Some(25usize), + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "scheduledAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Scheduled publish time", + ), + ), + format: Some( + ::jacquard_lexicon::lexicon::LexStringFormat::Datetime, + ), + default: None, + min_length: None, + max_length: Some(100usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "threadgateRules", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { + description: Some( + ::jacquard_common::CowStr::new_static( + "Thread gate rules to control who can reply", + ), + ), + items: ::jacquard_lexicon::lexicon::LexArrayItem::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("app.bsky.feed.threadgate#mentionRule"), + ::jacquard_common::CowStr::new_static("app.bsky.feed.threadgate#followerRule"), + ::jacquard_common::CowStr::new_static("app.bsky.feed.threadgate#followingRule"), + ::jacquard_common::CowStr::new_static("app.bsky.feed.threadgate#listRule") + ], + closed: None, + }), + min_length: None, + max_length: Some(5usize), + }), + ); + map + }, + }), + ), + }), + output: None, + errors: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "threadPostInput", + ), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static( + "Individual post input for thread scheduling.", + ), + ), + required: Some( + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("text") + ], + ), + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "createdAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Post creation timestamp (optional)", + ), + ), + format: Some( + ::jacquard_lexicon::lexicon::LexStringFormat::Datetime, + ), + default: None, + min_length: None, + max_length: Some(100usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "embed", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: Some( + ::jacquard_common::CowStr::new_static( + "Embedded content (images, external links, records).", + ), + ), + refs: vec![ + ::jacquard_common::CowStr::new_static("app.bsky.embed.images"), + ::jacquard_common::CowStr::new_static("app.bsky.embed.external"), + ::jacquard_common::CowStr::new_static("app.bsky.embed.record"), + ::jacquard_common::CowStr::new_static("app.bsky.embed.video"), + ::jacquard_common::CowStr::new_static("app.bsky.embed.recordWithMedia") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "facets", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { + description: Some( + ::jacquard_common::CowStr::new_static( + "Rich text facets (mentions, links, tags)", + ), + ), + items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "app.bsky.richtext.facet", + ), + }), + min_length: None, + max_length: Some(50usize), + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "labels", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "com.atproto.label.defs#selfLabels", + ), + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "langs", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { + description: Some( + ::jacquard_common::CowStr::new_static( + "Language codes (ISO 639-1)", + ), + ), + items: ::jacquard_lexicon::lexicon::LexArrayItem::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: Some( + ::jacquard_lexicon::lexicon::LexStringFormat::Language, + ), + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + min_length: None, + max_length: Some(3usize), + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static("Post text content"), + ), + format: None, + default: None, + min_length: None, + max_length: Some(3000usize), + min_graphemes: None, + max_graphemes: Some(300usize), + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map + }, + }), + ); + map + }, + } +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ThreadPostInput<'a> { + fn nsid() -> &'static str { + "app.chronosky.schedule.createPost" + } + fn def_name() -> &'static str { + "threadPostInput" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_app_chronosky_schedule_createPost() + } + fn validate( + &self, + ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + if let Some(ref value) = self.facets { + #[allow(unused_comparisons)] + if value.len() > 50usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "facets", + ), + max: 50usize, + actual: value.len(), + }); + } + } + if let Some(ref value) = self.langs { + #[allow(unused_comparisons)] + if value.len() > 3usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "langs", + ), + max: 3usize, + actual: value.len(), + }); + } + } + { + let value = &self.text; + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 3000usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "text", + ), + max: 3000usize, + actual: ::len(value.as_ref()), + }); + } + } + { + let value = &self.text; + { + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( + value.as_ref(), + true, + ) + .count(); + if count > 300usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxGraphemes { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "text", + ), + max: 300usize, + actual: count, + }); + } + } + } + Ok(()) + } +} \ 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 new file mode 100644 index 000000000..16c3432c8 --- /dev/null +++ b/crates/jacquard-api/src/app_chronosky/schedule/delete_post.rs @@ -0,0 +1,113 @@ +// @generated by jacquard-lexicon. DO NOT EDIT. +// +// Lexicon: app.chronosky.schedule.deletePost +// +// This file was automatically generated from Lexicon schemas. +// Any manual changes will be overwritten on the next regeneration. + +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic, + Default +)] +#[serde(rename_all = "camelCase")] +pub struct DeletePost<'a> { + /// Post ID to delete. + #[serde(borrow)] + pub id: jacquard_common::CowStr<'a>, +} + +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct DeletePostOutput<'a> { + /// Deletion success flag. + pub success: bool, +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + thiserror::Error, + miette::Diagnostic, + jacquard_derive::IntoStatic +)] +#[serde(tag = "error", content = "message")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum DeletePostError<'a> { + #[serde(rename = "PostNotFound")] + PostNotFound(std::option::Option>), + #[serde(rename = "PostNotPending")] + PostNotPending(std::option::Option>), +} + +impl core::fmt::Display for DeletePostError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + match self { + Self::PostNotFound(msg) => { + write!(f, "PostNotFound")?; + if let Some(msg) = msg { + write!(f, ": {}", msg)?; + } + Ok(()) + } + Self::PostNotPending(msg) => { + write!(f, "PostNotPending")?; + if let Some(msg) = msg { + write!(f, ": {}", msg)?; + } + Ok(()) + } + Self::Unknown(err) => write!(f, "Unknown error: {:?}", err), + } + } +} + +/// Response type for +///app.chronosky.schedule.deletePost +pub struct DeletePostResponse; +impl jacquard_common::xrpc::XrpcResp for DeletePostResponse { + const NSID: &'static str = "app.chronosky.schedule.deletePost"; + const ENCODING: &'static str = "application/json"; + type Output<'de> = DeletePostOutput<'de>; + type Err<'de> = DeletePostError<'de>; +} + +impl<'a> jacquard_common::xrpc::XrpcRequest for DeletePost<'a> { + const NSID: &'static str = "app.chronosky.schedule.deletePost"; + const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( + "application/json", + ); + type Response = DeletePostResponse; +} + +/// Endpoint type for +///app.chronosky.schedule.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", + ); + type Request<'de> = DeletePost<'de>; + 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 new file mode 100644 index 000000000..b60db1e80 --- /dev/null +++ b/crates/jacquard-api/src/app_chronosky/schedule/get_post.rs @@ -0,0 +1,186 @@ +// @generated by jacquard-lexicon. DO NOT EDIT. +// +// Lexicon: app.chronosky.schedule.getPost +// +// This file was automatically generated from Lexicon schemas. +// Any manual changes will be overwritten on the next regeneration. + +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct GetPost<'a> { + #[serde(borrow)] + pub id: jacquard_common::CowStr<'a>, +} + +pub mod get_post_state { + + pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + #[allow(unused)] + use ::core::marker::PhantomData; + mod sealed { + pub trait Sealed {} + } + /// State trait tracking which required fields have been set + pub trait State: sealed::Sealed { + type Id; + } + /// Empty state - all required fields are unset + pub struct Empty(()); + impl sealed::Sealed for Empty {} + impl State for Empty { + type Id = Unset; + } + ///State transition - sets the `id` field to Set + pub struct SetId(PhantomData S>); + impl sealed::Sealed for SetId {} + impl State for SetId { + type Id = Set; + } + /// Marker types for field names + #[allow(non_camel_case_types)] + pub mod members { + ///Marker type for the `id` field + pub struct id(()); + } +} + +/// Builder for constructing an instance of this type +pub struct GetPostBuilder<'a, S: get_post_state::State> { + _phantom_state: ::core::marker::PhantomData S>, + __unsafe_private_named: (::core::option::Option>,), + _phantom: ::core::marker::PhantomData<&'a ()>, +} + +impl<'a> GetPost<'a> { + /// Create a new builder for this type + pub fn new() -> GetPostBuilder<'a, get_post_state::Empty> { + GetPostBuilder::new() + } +} + +impl<'a> GetPostBuilder<'a, get_post_state::Empty> { + /// Create a new builder with all fields unset + pub fn new() -> Self { + GetPostBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: (None,), + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> GetPostBuilder<'a, S> +where + S: get_post_state::State, + S::Id: get_post_state::IsUnset, +{ + /// Set the `id` field (required) + pub fn id( + mut self, + value: impl Into>, + ) -> GetPostBuilder<'a, get_post_state::SetId> { + self.__unsafe_private_named.0 = ::core::option::Option::Some(value.into()); + GetPostBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> GetPostBuilder<'a, S> +where + S: get_post_state::State, + S::Id: get_post_state::IsSet, +{ + /// Build the final struct + pub fn build(self) -> GetPost<'a> { + GetPost { + id: self.__unsafe_private_named.0.unwrap(), + } + } +} + +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct GetPostOutput<'a> { + #[serde(borrow)] + pub post: crate::app_chronosky::schedule::list_posts::ScheduledPost<'a>, +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + thiserror::Error, + miette::Diagnostic, + jacquard_derive::IntoStatic +)] +#[serde(tag = "error", content = "message")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum GetPostError<'a> { + #[serde(rename = "PostNotFound")] + PostNotFound(std::option::Option>), +} + +impl core::fmt::Display for GetPostError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + match self { + Self::PostNotFound(msg) => { + write!(f, "PostNotFound")?; + if let Some(msg) = msg { + write!(f, ": {}", msg)?; + } + Ok(()) + } + Self::Unknown(err) => write!(f, "Unknown error: {:?}", err), + } + } +} + +/// Response type for +///app.chronosky.schedule.getPost +pub struct GetPostResponse; +impl jacquard_common::xrpc::XrpcResp for GetPostResponse { + const NSID: &'static str = "app.chronosky.schedule.getPost"; + const ENCODING: &'static str = "application/json"; + type Output<'de> = GetPostOutput<'de>; + type Err<'de> = GetPostError<'de>; +} + +impl<'a> jacquard_common::xrpc::XrpcRequest for GetPost<'a> { + const NSID: &'static str = "app.chronosky.schedule.getPost"; + const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Query; + type Response = GetPostResponse; +} + +/// Endpoint type for +///app.chronosky.schedule.getPost +pub struct GetPostRequest; +impl jacquard_common::xrpc::XrpcEndpoint for GetPostRequest { + const PATH: &'static str = "/xrpc/app.chronosky.schedule.getPost"; + const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Query; + type Request<'de> = GetPost<'de>; + type Response = GetPostResponse; +} \ 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 new file mode 100644 index 000000000..e8d93cf3e --- /dev/null +++ b/crates/jacquard-api/src/app_chronosky/schedule/list_posts.rs @@ -0,0 +1,2751 @@ +// @generated by jacquard-lexicon. DO NOT EDIT. +// +// Lexicon: app.chronosky.schedule.listPosts +// +// This file was automatically generated from Lexicon schemas. +// Any manual changes will be overwritten on the next regeneration. + +/// Image embed view with CID references. Similar to app.bsky.embed.images#view but includes cid on each image. +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct ImageView<'a> { + /// List of image views with CID references. + #[serde(borrow)] + pub images: Vec>, +} + +pub mod image_view_state { + + pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + #[allow(unused)] + use ::core::marker::PhantomData; + mod sealed { + pub trait Sealed {} + } + /// State trait tracking which required fields have been set + pub trait State: sealed::Sealed { + type Images; + } + /// Empty state - all required fields are unset + pub struct Empty(()); + impl sealed::Sealed for Empty {} + impl State for Empty { + type Images = Unset; + } + ///State transition - sets the `images` field to Set + pub struct SetImages(PhantomData S>); + impl sealed::Sealed for SetImages {} + impl State for SetImages { + type Images = Set; + } + /// Marker types for field names + #[allow(non_camel_case_types)] + pub mod members { + ///Marker type for the `images` field + pub struct images(()); + } +} + +/// Builder for constructing an instance of this type +pub struct ImageViewBuilder<'a, S: image_view_state::State> { + _phantom_state: ::core::marker::PhantomData S>, + __unsafe_private_named: ( + ::core::option::Option< + Vec>, + >, + ), + _phantom: ::core::marker::PhantomData<&'a ()>, +} + +impl<'a> ImageView<'a> { + /// Create a new builder for this type + pub fn new() -> ImageViewBuilder<'a, image_view_state::Empty> { + ImageViewBuilder::new() + } +} + +impl<'a> ImageViewBuilder<'a, image_view_state::Empty> { + /// Create a new builder with all fields unset + pub fn new() -> Self { + ImageViewBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: (None,), + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> ImageViewBuilder<'a, S> +where + S: image_view_state::State, + S::Images: image_view_state::IsUnset, +{ + /// Set the `images` field (required) + pub fn images( + mut self, + value: impl Into< + Vec>, + >, + ) -> ImageViewBuilder<'a, image_view_state::SetImages> { + self.__unsafe_private_named.0 = ::core::option::Option::Some(value.into()); + ImageViewBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> ImageViewBuilder<'a, S> +where + S: image_view_state::State, + S::Images: image_view_state::IsSet, +{ + /// Build the final struct + pub fn build(self) -> ImageView<'a> { + ImageView { + images: self.__unsafe_private_named.0.unwrap(), + extra_data: Default::default(), + } + } + /// Build the final struct with custom extra_data + pub fn build_with_data( + self, + extra_data: std::collections::BTreeMap< + jacquard_common::deps::smol_str::SmolStr, + jacquard_common::types::value::Data<'a>, + >, + ) -> ImageView<'a> { + ImageView { + images: self.__unsafe_private_named.0.unwrap(), + extra_data: Some(extra_data), + } + } +} + +fn lexicon_doc_app_chronosky_schedule_listPosts() -> ::jacquard_lexicon::lexicon::LexiconDoc< + 'static, +> { + ::jacquard_lexicon::lexicon::LexiconDoc { + lexicon: ::jacquard_lexicon::lexicon::Lexicon::Lexicon1, + id: ::jacquard_common::CowStr::new_static("app.chronosky.schedule.listPosts"), + revision: None, + description: None, + defs: { + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static("imageView"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static( + "Image embed view with CID references. Similar to app.bsky.embed.images#view but includes cid on each image.", + ), + ), + required: Some( + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("images") + ], + ), + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "images", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { + description: Some( + ::jacquard_common::CowStr::new_static( + "List of image views with CID references.", + ), + ), + items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "#imageViewImage", + ), + }), + min_length: None, + max_length: Some(4usize), + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static("imageViewImage"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static( + "Image view with CID for referencing in updatePost. Extends app.bsky.embed.images#viewImage with cid field.", + ), + ), + required: Some( + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("thumb"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("fullsize"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("alt") + ], + ), + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "alt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Alt text for the image.", + ), + ), + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "CID of the image blob. Use this value with updatePost#imagesEmbed to reference this image without re-uploading.", + ), + ), + format: None, + default: None, + min_length: None, + max_length: Some(200usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "fullsize", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Full-size URL for the image.", + ), + ), + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "thumb", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Thumbnail URL for the image.", + ), + ), + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), + ::jacquard_lexicon::lexicon::LexUserType::XrpcQuery(::jacquard_lexicon::lexicon::LexXrpcQuery { + description: None, + parameters: Some( + ::jacquard_lexicon::lexicon::LexXrpcQueryParameter::Params(::jacquard_lexicon::lexicon::LexXrpcParameters { + description: None, + required: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "limit", + ), + ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { + description: None, + default: None, + minimum: None, + maximum: None, + r#enum: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "page", + ), + ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { + description: None, + default: None, + minimum: None, + maximum: None, + r#enum: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "status", + ), + ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Filter by post status.", + ), + ), + format: None, + default: None, + min_length: None, + max_length: Some(20usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map + }, + }), + ), + output: None, + errors: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static("pagination"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static("Pagination information."), + ), + required: Some( + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("page"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("limit"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("total"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("totalPages") + ], + ), + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "limit", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { + description: None, + default: None, + minimum: Some(1i64), + maximum: None, + r#enum: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "page", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { + description: None, + default: None, + minimum: Some(1i64), + maximum: None, + r#enum: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "total", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { + description: None, + default: None, + minimum: Some(0i64), + maximum: None, + r#enum: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "totalPages", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { + description: None, + default: None, + minimum: Some(0i64), + maximum: None, + r#enum: None, + r#const: None, + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static("scheduledPost"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static( + "Scheduled post object with AT Protocol standard fields.", + ), + ), + required: Some( + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("userId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("scheduledAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("status"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("updatedAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("retryCount"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("langs") + ], + ), + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "atRkey", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "AT Protocol record key. Present after successful execution.", + ), + ), + format: None, + default: None, + min_length: None, + max_length: Some(100usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "atUri", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "AT Protocol post URI (at://did:plc:.../app.bsky.feed.post/...). Present after successful execution.", + ), + ), + format: None, + default: None, + min_length: None, + max_length: Some(500usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "children", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { + description: Some( + ::jacquard_common::CowStr::new_static( + "Child posts in thread. Only present for parent posts with children.", + ), + ), + items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "#scheduledPost", + ), + }), + min_length: None, + max_length: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "createdAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Post creation datetime (ISO 8601).", + ), + ), + format: Some( + ::jacquard_lexicon::lexicon::LexStringFormat::Datetime, + ), + default: None, + min_length: None, + max_length: Some(100usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "embed", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: Some( + ::jacquard_common::CowStr::new_static( + "Embedded content such as images, external links, or quoted posts. For image embeds, returned as #imageView with thumb/fullsize URLs and CID references.", + ), + ), + refs: vec![ + ::jacquard_common::CowStr::new_static("app.bsky.embed.images"), + ::jacquard_common::CowStr::new_static("#imageView"), + ::jacquard_common::CowStr::new_static("app.bsky.embed.external"), + ::jacquard_common::CowStr::new_static("app.bsky.embed.record"), + ::jacquard_common::CowStr::new_static("app.bsky.embed.video"), + ::jacquard_common::CowStr::new_static("app.bsky.embed.recordWithMedia") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "errorMsg", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Error message if execution failed. Present only when status is FAILED.", + ), + ), + format: None, + default: None, + min_length: None, + max_length: Some(2000usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "executedAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Execution completion datetime (ISO 8601). Present only when status is COMPLETED or FAILED.", + ), + ), + format: Some( + ::jacquard_lexicon::lexicon::LexStringFormat::Datetime, + ), + default: None, + min_length: None, + max_length: Some(100usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "facets", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { + description: Some( + ::jacquard_common::CowStr::new_static( + "Rich text facets for mentions, links, and hashtags (app.bsky.richtext.facet).", + ), + ), + items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "app.bsky.richtext.facet", + ), + }), + min_length: None, + max_length: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static("Post ID."), + ), + format: None, + default: None, + min_length: None, + max_length: Some(100usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "labels", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "com.atproto.label.defs#selfLabels", + ), + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "langs", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { + description: Some( + ::jacquard_common::CowStr::new_static( + "Language codes for post content (app.bsky.feed.post#langs). ISO 639-1 or 639-3 codes.", + ), + ), + items: ::jacquard_lexicon::lexicon::LexArrayItem::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: Some( + ::jacquard_lexicon::lexicon::LexStringFormat::Language, + ), + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + min_length: None, + max_length: Some(3usize), + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "parentPostId", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Parent post ID for thread posts. Null for root posts.", + ), + ), + format: None, + default: None, + min_length: None, + max_length: Some(100usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "postgateCid", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "CID for postgate record. Present after successful execution with postgate settings.", + ), + ), + format: None, + default: None, + min_length: None, + max_length: Some(100usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "postgateDisableEmbedding", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "postgateUri", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "AT Protocol URI for postgate record. Present after successful execution with postgate settings.", + ), + ), + format: None, + default: None, + min_length: None, + max_length: Some(500usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "retryCount", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { + description: None, + default: None, + minimum: Some(0i64), + maximum: None, + r#enum: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "scheduledAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Scheduled publication datetime (ISO 8601).", + ), + ), + format: Some( + ::jacquard_lexicon::lexicon::LexStringFormat::Datetime, + ), + default: None, + min_length: None, + max_length: Some(100usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "status", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static("Post status."), + ), + format: None, + default: None, + min_length: None, + max_length: Some(20usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Post content text (app.bsky.feed.post#text). May be empty if embeds are present.", + ), + ), + format: None, + default: None, + min_length: None, + max_length: Some(3000usize), + min_graphemes: None, + max_graphemes: Some(300usize), + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "threadDepth", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { + description: None, + default: None, + minimum: Some(0i64), + maximum: None, + r#enum: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "threadPosition", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { + description: None, + default: None, + minimum: Some(0i64), + maximum: None, + r#enum: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "threadgateCid", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "CID for threadgate record. Present after successful execution with threadgate rules.", + ), + ), + format: None, + default: None, + min_length: None, + max_length: Some(100usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "threadgateRules", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { + description: Some( + ::jacquard_common::CowStr::new_static( + "Reply restriction rules (app.bsky.feed.threadgate). Defines who can reply to this post.", + ), + ), + items: ::jacquard_lexicon::lexicon::LexArrayItem::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("app.bsky.feed.threadgate#mentionRule"), + ::jacquard_common::CowStr::new_static("app.bsky.feed.threadgate#followerRule"), + ::jacquard_common::CowStr::new_static("app.bsky.feed.threadgate#followingRule"), + ::jacquard_common::CowStr::new_static("app.bsky.feed.threadgate#listRule") + ], + closed: None, + }), + min_length: None, + max_length: Some(5usize), + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "threadgateUri", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "AT Protocol URI for threadgate record. Present after successful execution with threadgate rules.", + ), + ), + format: None, + default: None, + min_length: None, + max_length: Some(500usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "updatedAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Post last update datetime (ISO 8601).", + ), + ), + format: Some( + ::jacquard_lexicon::lexicon::LexStringFormat::Datetime, + ), + default: None, + min_length: None, + max_length: Some(100usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "userId", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "User ID who created this post.", + ), + ), + format: None, + default: None, + min_length: None, + max_length: Some(200usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map + }, + }), + ); + map + }, + } +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ImageView<'a> { + fn nsid() -> &'static str { + "app.chronosky.schedule.listPosts" + } + fn def_name() -> &'static str { + "imageView" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_app_chronosky_schedule_listPosts() + } + fn validate( + &self, + ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + { + let value = &self.images; + #[allow(unused_comparisons)] + if value.len() > 4usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "images", + ), + max: 4usize, + actual: value.len(), + }); + } + } + Ok(()) + } +} + +/// Image view with CID for referencing in updatePost. Extends app.bsky.embed.images#viewImage with cid field. +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic, + Default +)] +#[serde(rename_all = "camelCase")] +pub struct ImageViewImage<'a> { + /// Alt text for the image. + #[serde(borrow)] + pub alt: jacquard_common::CowStr<'a>, + /// CID of the image blob. Use this value with updatePost#imagesEmbed to reference this image without re-uploading. + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub cid: std::option::Option>, + /// Full-size URL for the image. + #[serde(borrow)] + pub fullsize: jacquard_common::CowStr<'a>, + /// Thumbnail URL for the image. + #[serde(borrow)] + pub thumb: jacquard_common::CowStr<'a>, +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ImageViewImage<'a> { + fn nsid() -> &'static str { + "app.chronosky.schedule.listPosts" + } + fn def_name() -> &'static str { + "imageViewImage" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_app_chronosky_schedule_listPosts() + } + fn validate( + &self, + ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + if let Some(ref value) = self.cid { + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 200usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "cid", + ), + max: 200usize, + actual: ::len(value.as_ref()), + }); + } + } + Ok(()) + } +} + +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct ListPosts<'a> { + ///(default: 20, min: 1, max: 100) + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub limit: std::option::Option, + ///(default: 1, min: 1) + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub page: std::option::Option, + ///(max length: 20) + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub status: std::option::Option>, +} + +pub mod list_posts_state { + + pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + #[allow(unused)] + use ::core::marker::PhantomData; + mod sealed { + pub trait Sealed {} + } + /// State trait tracking which required fields have been set + pub trait State: sealed::Sealed {} + /// Empty state - all required fields are unset + pub struct Empty(()); + impl sealed::Sealed for Empty {} + impl State for Empty {} + /// Marker types for field names + #[allow(non_camel_case_types)] + pub mod members {} +} + +/// Builder for constructing an instance of this type +pub struct ListPostsBuilder<'a, S: list_posts_state::State> { + _phantom_state: ::core::marker::PhantomData S>, + __unsafe_private_named: ( + ::core::option::Option, + ::core::option::Option, + ::core::option::Option>, + ), + _phantom: ::core::marker::PhantomData<&'a ()>, +} + +impl<'a> ListPosts<'a> { + /// Create a new builder for this type + pub fn new() -> ListPostsBuilder<'a, list_posts_state::Empty> { + ListPostsBuilder::new() + } +} + +impl<'a> ListPostsBuilder<'a, list_posts_state::Empty> { + /// Create a new builder with all fields unset + pub fn new() -> Self { + ListPostsBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: (None, None, None), + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S: list_posts_state::State> ListPostsBuilder<'a, S> { + /// Set the `limit` field (optional) + pub fn limit(mut self, value: impl Into>) -> Self { + self.__unsafe_private_named.0 = value.into(); + self + } + /// Set the `limit` field to an Option value (optional) + pub fn maybe_limit(mut self, value: Option) -> Self { + self.__unsafe_private_named.0 = value; + self + } +} + +impl<'a, S: list_posts_state::State> ListPostsBuilder<'a, S> { + /// Set the `page` field (optional) + pub fn page(mut self, value: impl Into>) -> Self { + self.__unsafe_private_named.1 = value.into(); + self + } + /// Set the `page` field to an Option value (optional) + pub fn maybe_page(mut self, value: Option) -> Self { + self.__unsafe_private_named.1 = value; + self + } +} + +impl<'a, S: list_posts_state::State> ListPostsBuilder<'a, S> { + /// Set the `status` field (optional) + pub fn status( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.2 = value.into(); + self + } + /// Set the `status` field to an Option value (optional) + pub fn maybe_status(mut self, value: Option>) -> Self { + self.__unsafe_private_named.2 = value; + self + } +} + +impl<'a, S> ListPostsBuilder<'a, S> +where + S: list_posts_state::State, +{ + /// Build the final struct + pub fn build(self) -> ListPosts<'a> { + ListPosts { + limit: self.__unsafe_private_named.0, + page: self.__unsafe_private_named.1, + status: self.__unsafe_private_named.2, + } + } +} + +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct ListPostsOutput<'a> { + #[serde(borrow)] + pub pagination: crate::app_chronosky::schedule::list_posts::Pagination<'a>, + #[serde(borrow)] + pub posts: Vec>, +} + +/// Response type for +///app.chronosky.schedule.listPosts +pub struct ListPostsResponse; +impl jacquard_common::xrpc::XrpcResp for ListPostsResponse { + const NSID: &'static str = "app.chronosky.schedule.listPosts"; + const ENCODING: &'static str = "application/json"; + type Output<'de> = ListPostsOutput<'de>; + type Err<'de> = jacquard_common::xrpc::GenericError<'de>; +} + +impl<'a> jacquard_common::xrpc::XrpcRequest for ListPosts<'a> { + const NSID: &'static str = "app.chronosky.schedule.listPosts"; + const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Query; + type Response = ListPostsResponse; +} + +/// Endpoint type for +///app.chronosky.schedule.listPosts +pub struct ListPostsRequest; +impl jacquard_common::xrpc::XrpcEndpoint for ListPostsRequest { + const PATH: &'static str = "/xrpc/app.chronosky.schedule.listPosts"; + const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Query; + type Request<'de> = ListPosts<'de>; + type Response = ListPostsResponse; +} + +/// Pagination information. +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct Pagination<'a> { + /// Posts per page. + pub limit: i64, + /// Current page number. + pub page: i64, + /// Total number of posts. + pub total: i64, + /// Total number of pages. + pub total_pages: i64, +} + +pub mod pagination_state { + + pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + #[allow(unused)] + use ::core::marker::PhantomData; + mod sealed { + pub trait Sealed {} + } + /// State trait tracking which required fields have been set + pub trait State: sealed::Sealed { + type Page; + type TotalPages; + type Total; + type Limit; + } + /// Empty state - all required fields are unset + pub struct Empty(()); + impl sealed::Sealed for Empty {} + impl State for Empty { + type Page = Unset; + type TotalPages = Unset; + type Total = Unset; + type Limit = Unset; + } + ///State transition - sets the `page` field to Set + pub struct SetPage(PhantomData S>); + impl sealed::Sealed for SetPage {} + impl State for SetPage { + type Page = Set; + type TotalPages = S::TotalPages; + type Total = S::Total; + type Limit = S::Limit; + } + ///State transition - sets the `total_pages` field to Set + pub struct SetTotalPages(PhantomData S>); + impl sealed::Sealed for SetTotalPages {} + impl State for SetTotalPages { + type Page = S::Page; + type TotalPages = Set; + type Total = S::Total; + type Limit = S::Limit; + } + ///State transition - sets the `total` field to Set + pub struct SetTotal(PhantomData S>); + impl sealed::Sealed for SetTotal {} + impl State for SetTotal { + type Page = S::Page; + type TotalPages = S::TotalPages; + type Total = Set; + type Limit = S::Limit; + } + ///State transition - sets the `limit` field to Set + pub struct SetLimit(PhantomData S>); + impl sealed::Sealed for SetLimit {} + impl State for SetLimit { + type Page = S::Page; + type TotalPages = S::TotalPages; + type Total = S::Total; + type Limit = Set; + } + /// Marker types for field names + #[allow(non_camel_case_types)] + pub mod members { + ///Marker type for the `page` field + pub struct page(()); + ///Marker type for the `total_pages` field + pub struct total_pages(()); + ///Marker type for the `total` field + pub struct total(()); + ///Marker type for the `limit` field + pub struct limit(()); + } +} + +/// Builder for constructing an instance of this type +pub struct PaginationBuilder<'a, S: pagination_state::State> { + _phantom_state: ::core::marker::PhantomData S>, + __unsafe_private_named: ( + ::core::option::Option, + ::core::option::Option, + ::core::option::Option, + ::core::option::Option, + ), + _phantom: ::core::marker::PhantomData<&'a ()>, +} + +impl<'a> Pagination<'a> { + /// Create a new builder for this type + pub fn new() -> PaginationBuilder<'a, pagination_state::Empty> { + PaginationBuilder::new() + } +} + +impl<'a> PaginationBuilder<'a, pagination_state::Empty> { + /// Create a new builder with all fields unset + pub fn new() -> Self { + PaginationBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: (None, None, None, None), + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> PaginationBuilder<'a, S> +where + S: pagination_state::State, + S::Limit: pagination_state::IsUnset, +{ + /// Set the `limit` field (required) + pub fn limit( + mut self, + value: impl Into, + ) -> PaginationBuilder<'a, pagination_state::SetLimit> { + self.__unsafe_private_named.0 = ::core::option::Option::Some(value.into()); + PaginationBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> PaginationBuilder<'a, S> +where + S: pagination_state::State, + S::Page: pagination_state::IsUnset, +{ + /// Set the `page` field (required) + pub fn page( + mut self, + value: impl Into, + ) -> PaginationBuilder<'a, pagination_state::SetPage> { + self.__unsafe_private_named.1 = ::core::option::Option::Some(value.into()); + PaginationBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> PaginationBuilder<'a, S> +where + S: pagination_state::State, + S::Total: pagination_state::IsUnset, +{ + /// Set the `total` field (required) + pub fn total( + mut self, + value: impl Into, + ) -> PaginationBuilder<'a, pagination_state::SetTotal> { + self.__unsafe_private_named.2 = ::core::option::Option::Some(value.into()); + PaginationBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> PaginationBuilder<'a, S> +where + S: pagination_state::State, + S::TotalPages: pagination_state::IsUnset, +{ + /// Set the `totalPages` field (required) + pub fn total_pages( + mut self, + value: impl Into, + ) -> PaginationBuilder<'a, pagination_state::SetTotalPages> { + self.__unsafe_private_named.3 = ::core::option::Option::Some(value.into()); + PaginationBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> PaginationBuilder<'a, S> +where + S: pagination_state::State, + S::Page: pagination_state::IsSet, + S::TotalPages: pagination_state::IsSet, + S::Total: pagination_state::IsSet, + S::Limit: pagination_state::IsSet, +{ + /// Build the final struct + pub fn build(self) -> Pagination<'a> { + Pagination { + limit: self.__unsafe_private_named.0.unwrap(), + page: self.__unsafe_private_named.1.unwrap(), + total: self.__unsafe_private_named.2.unwrap(), + total_pages: self.__unsafe_private_named.3.unwrap(), + extra_data: Default::default(), + } + } + /// Build the final struct with custom extra_data + pub fn build_with_data( + self, + extra_data: std::collections::BTreeMap< + jacquard_common::deps::smol_str::SmolStr, + jacquard_common::types::value::Data<'a>, + >, + ) -> Pagination<'a> { + Pagination { + limit: self.__unsafe_private_named.0.unwrap(), + page: self.__unsafe_private_named.1.unwrap(), + total: self.__unsafe_private_named.2.unwrap(), + total_pages: self.__unsafe_private_named.3.unwrap(), + extra_data: Some(extra_data), + } + } +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Pagination<'a> { + fn nsid() -> &'static str { + "app.chronosky.schedule.listPosts" + } + fn def_name() -> &'static str { + "pagination" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_app_chronosky_schedule_listPosts() + } + fn validate( + &self, + ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + { + let value = &self.limit; + if *value < 1i64 { + return Err(::jacquard_lexicon::validation::ConstraintError::Minimum { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "limit", + ), + min: 1i64, + actual: *value, + }); + } + } + { + let value = &self.page; + if *value < 1i64 { + return Err(::jacquard_lexicon::validation::ConstraintError::Minimum { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "page", + ), + min: 1i64, + actual: *value, + }); + } + } + { + let value = &self.total; + if *value < 0i64 { + return Err(::jacquard_lexicon::validation::ConstraintError::Minimum { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "total", + ), + min: 0i64, + actual: *value, + }); + } + } + { + let value = &self.total_pages; + if *value < 0i64 { + return Err(::jacquard_lexicon::validation::ConstraintError::Minimum { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "total_pages", + ), + min: 0i64, + actual: *value, + }); + } + } + Ok(()) + } +} + +/// Scheduled post object with AT Protocol standard fields. +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct ScheduledPost<'a> { + /// AT Protocol record key. Present after successful execution. + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub at_rkey: std::option::Option>, + /// AT Protocol post URI (at://did:plc:.../app.bsky.feed.post/...). Present after successful execution. + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub at_uri: std::option::Option>, + /// Child posts in thread. Only present for parent posts with children. + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub children: std::option::Option< + Vec>, + >, + /// Post creation datetime (ISO 8601). + pub created_at: jacquard_common::types::string::Datetime, + /// Embedded content such as images, external links, or quoted posts. For image embeds, returned as #imageView with thumb/fullsize URLs and CID references. + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub embed: std::option::Option>, + /// Error message if execution failed. Present only when status is FAILED. + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub error_msg: std::option::Option>, + /// Execution completion datetime (ISO 8601). Present only when status is COMPLETED or FAILED. + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub executed_at: std::option::Option, + /// Rich text facets for mentions, links, and hashtags (app.bsky.richtext.facet). + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub facets: std::option::Option>>, + /// Post ID. + #[serde(borrow)] + pub id: jacquard_common::CowStr<'a>, + /// Self-applied content labels for content warnings (AT Protocol standard). + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub labels: std::option::Option>, + /// Language codes for post content (app.bsky.feed.post#langs). ISO 639-1 or 639-3 codes. + pub langs: Vec, + /// Parent post ID for thread posts. Null for root posts. + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub parent_post_id: std::option::Option>, + /// CID for postgate record. Present after successful execution with postgate settings. + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub postgate_cid: std::option::Option>, + /// Whether to disable quote posts and embeds for this post (app.bsky.feed.postgate). + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub postgate_disable_embedding: std::option::Option, + /// AT Protocol URI for postgate record. Present after successful execution with postgate settings. + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub postgate_uri: std::option::Option>, + /// Number of execution retry attempts. + pub retry_count: i64, + /// Scheduled publication datetime (ISO 8601). + pub scheduled_at: jacquard_common::types::string::Datetime, + /// Post status. + #[serde(borrow)] + pub status: jacquard_common::CowStr<'a>, + /// Post content text (app.bsky.feed.post#text). May be empty if embeds are present. + #[serde(borrow)] + pub text: jacquard_common::CowStr<'a>, + /// Thread depth level (0 for root post, 1 for direct reply, etc.). + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub thread_depth: std::option::Option, + /// Position in thread (0-indexed). 0 for parent post, 1+ for children. + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub thread_position: std::option::Option, + /// CID for threadgate record. Present after successful execution with threadgate rules. + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub threadgate_cid: std::option::Option>, + /// Reply restriction rules (app.bsky.feed.threadgate). Defines who can reply to this post. + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub threadgate_rules: std::option::Option>>, + /// AT Protocol URI for threadgate record. Present after successful execution with threadgate rules. + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub threadgate_uri: std::option::Option>, + /// Post last update datetime (ISO 8601). + pub updated_at: jacquard_common::types::string::Datetime, + /// User ID who created this post. + #[serde(borrow)] + pub user_id: jacquard_common::CowStr<'a>, +} + +pub mod scheduled_post_state { + + pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + #[allow(unused)] + use ::core::marker::PhantomData; + mod sealed { + pub trait Sealed {} + } + /// State trait tracking which required fields have been set + pub trait State: sealed::Sealed { + type ScheduledAt; + type Status; + type Id; + type UpdatedAt; + type Text; + type Langs; + type CreatedAt; + type RetryCount; + type UserId; + } + /// Empty state - all required fields are unset + pub struct Empty(()); + impl sealed::Sealed for Empty {} + impl State for Empty { + type ScheduledAt = Unset; + type Status = Unset; + type Id = Unset; + type UpdatedAt = Unset; + type Text = Unset; + type Langs = Unset; + type CreatedAt = Unset; + type RetryCount = Unset; + type UserId = Unset; + } + ///State transition - sets the `scheduled_at` field to Set + pub struct SetScheduledAt(PhantomData S>); + impl sealed::Sealed for SetScheduledAt {} + impl State for SetScheduledAt { + type ScheduledAt = Set; + type Status = S::Status; + type Id = S::Id; + type UpdatedAt = S::UpdatedAt; + type Text = S::Text; + type Langs = S::Langs; + type CreatedAt = S::CreatedAt; + type RetryCount = S::RetryCount; + type UserId = S::UserId; + } + ///State transition - sets the `status` field to Set + pub struct SetStatus(PhantomData S>); + impl sealed::Sealed for SetStatus {} + impl State for SetStatus { + type ScheduledAt = S::ScheduledAt; + type Status = Set; + type Id = S::Id; + type UpdatedAt = S::UpdatedAt; + type Text = S::Text; + type Langs = S::Langs; + type CreatedAt = S::CreatedAt; + type RetryCount = S::RetryCount; + type UserId = S::UserId; + } + ///State transition - sets the `id` field to Set + pub struct SetId(PhantomData S>); + impl sealed::Sealed for SetId {} + impl State for SetId { + type ScheduledAt = S::ScheduledAt; + type Status = S::Status; + type Id = Set; + type UpdatedAt = S::UpdatedAt; + type Text = S::Text; + type Langs = S::Langs; + type CreatedAt = S::CreatedAt; + type RetryCount = S::RetryCount; + type UserId = S::UserId; + } + ///State transition - sets the `updated_at` field to Set + pub struct SetUpdatedAt(PhantomData S>); + impl sealed::Sealed for SetUpdatedAt {} + impl State for SetUpdatedAt { + type ScheduledAt = S::ScheduledAt; + type Status = S::Status; + type Id = S::Id; + type UpdatedAt = Set; + type Text = S::Text; + type Langs = S::Langs; + type CreatedAt = S::CreatedAt; + type RetryCount = S::RetryCount; + type UserId = S::UserId; + } + ///State transition - sets the `text` field to Set + pub struct SetText(PhantomData S>); + impl sealed::Sealed for SetText {} + impl State for SetText { + type ScheduledAt = S::ScheduledAt; + type Status = S::Status; + type Id = S::Id; + type UpdatedAt = S::UpdatedAt; + type Text = Set; + type Langs = S::Langs; + type CreatedAt = S::CreatedAt; + type RetryCount = S::RetryCount; + type UserId = S::UserId; + } + ///State transition - sets the `langs` field to Set + pub struct SetLangs(PhantomData S>); + impl sealed::Sealed for SetLangs {} + impl State for SetLangs { + type ScheduledAt = S::ScheduledAt; + type Status = S::Status; + type Id = S::Id; + type UpdatedAt = S::UpdatedAt; + type Text = S::Text; + type Langs = Set; + type CreatedAt = S::CreatedAt; + type RetryCount = S::RetryCount; + type UserId = S::UserId; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type ScheduledAt = S::ScheduledAt; + type Status = S::Status; + type Id = S::Id; + type UpdatedAt = S::UpdatedAt; + type Text = S::Text; + type Langs = S::Langs; + type CreatedAt = Set; + type RetryCount = S::RetryCount; + type UserId = S::UserId; + } + ///State transition - sets the `retry_count` field to Set + pub struct SetRetryCount(PhantomData S>); + impl sealed::Sealed for SetRetryCount {} + impl State for SetRetryCount { + type ScheduledAt = S::ScheduledAt; + type Status = S::Status; + type Id = S::Id; + type UpdatedAt = S::UpdatedAt; + type Text = S::Text; + type Langs = S::Langs; + type CreatedAt = S::CreatedAt; + type RetryCount = Set; + type UserId = S::UserId; + } + ///State transition - sets the `user_id` field to Set + pub struct SetUserId(PhantomData S>); + impl sealed::Sealed for SetUserId {} + impl State for SetUserId { + type ScheduledAt = S::ScheduledAt; + type Status = S::Status; + type Id = S::Id; + type UpdatedAt = S::UpdatedAt; + type Text = S::Text; + type Langs = S::Langs; + type CreatedAt = S::CreatedAt; + type RetryCount = S::RetryCount; + type UserId = Set; + } + /// Marker types for field names + #[allow(non_camel_case_types)] + pub mod members { + ///Marker type for the `scheduled_at` field + pub struct scheduled_at(()); + ///Marker type for the `status` field + pub struct status(()); + ///Marker type for the `id` field + pub struct id(()); + ///Marker type for the `updated_at` field + pub struct updated_at(()); + ///Marker type for the `text` field + pub struct text(()); + ///Marker type for the `langs` field + pub struct langs(()); + ///Marker type for the `created_at` field + pub struct created_at(()); + ///Marker type for the `retry_count` field + pub struct retry_count(()); + ///Marker type for the `user_id` field + pub struct user_id(()); + } +} + +/// Builder for constructing an instance of this type +pub struct ScheduledPostBuilder<'a, S: scheduled_post_state::State> { + _phantom_state: ::core::marker::PhantomData S>, + __unsafe_private_named: ( + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option< + Vec>, + >, + ::core::option::Option, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option, + ::core::option::Option>>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option, + ::core::option::Option>, + ::core::option::Option, + ::core::option::Option, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option, + ::core::option::Option, + ::core::option::Option>, + ::core::option::Option>>, + ::core::option::Option>, + ::core::option::Option, + ::core::option::Option>, + ), + _phantom: ::core::marker::PhantomData<&'a ()>, +} + +impl<'a> ScheduledPost<'a> { + /// Create a new builder for this type + pub fn new() -> ScheduledPostBuilder<'a, scheduled_post_state::Empty> { + ScheduledPostBuilder::new() + } +} + +impl<'a> ScheduledPostBuilder<'a, scheduled_post_state::Empty> { + /// Create a new builder with all fields unset + pub fn new() -> Self { + ScheduledPostBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: ( + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + ), + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S: scheduled_post_state::State> ScheduledPostBuilder<'a, S> { + /// Set the `atRkey` field (optional) + pub fn at_rkey( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.0 = value.into(); + self + } + /// Set the `atRkey` field to an Option value (optional) + pub fn maybe_at_rkey(mut self, value: Option>) -> Self { + self.__unsafe_private_named.0 = value; + self + } +} + +impl<'a, S: scheduled_post_state::State> ScheduledPostBuilder<'a, S> { + /// Set the `atUri` field (optional) + pub fn at_uri( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.1 = value.into(); + self + } + /// Set the `atUri` field to an Option value (optional) + pub fn maybe_at_uri(mut self, value: Option>) -> Self { + self.__unsafe_private_named.1 = value; + self + } +} + +impl<'a, S: scheduled_post_state::State> ScheduledPostBuilder<'a, S> { + /// Set the `children` field (optional) + pub fn children( + mut self, + value: impl Into< + Option>>, + >, + ) -> Self { + self.__unsafe_private_named.2 = value.into(); + self + } + /// Set the `children` field to an Option value (optional) + pub fn maybe_children( + mut self, + value: Option>>, + ) -> Self { + self.__unsafe_private_named.2 = value; + self + } +} + +impl<'a, S> ScheduledPostBuilder<'a, S> +where + S: scheduled_post_state::State, + S::CreatedAt: scheduled_post_state::IsUnset, +{ + /// Set the `createdAt` field (required) + pub fn created_at( + mut self, + value: impl Into, + ) -> ScheduledPostBuilder<'a, scheduled_post_state::SetCreatedAt> { + self.__unsafe_private_named.3 = ::core::option::Option::Some(value.into()); + ScheduledPostBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S: scheduled_post_state::State> ScheduledPostBuilder<'a, S> { + /// Set the `embed` field (optional) + pub fn embed(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.4 = value.into(); + self + } + /// Set the `embed` field to an Option value (optional) + pub fn maybe_embed(mut self, value: Option>) -> Self { + self.__unsafe_private_named.4 = value; + self + } +} + +impl<'a, S: scheduled_post_state::State> ScheduledPostBuilder<'a, S> { + /// Set the `errorMsg` field (optional) + pub fn error_msg( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.5 = value.into(); + self + } + /// Set the `errorMsg` field to an Option value (optional) + pub fn maybe_error_msg( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.5 = value; + self + } +} + +impl<'a, S: scheduled_post_state::State> ScheduledPostBuilder<'a, S> { + /// Set the `executedAt` field (optional) + pub fn executed_at( + mut self, + value: impl Into>, + ) -> Self { + self.__unsafe_private_named.6 = value.into(); + self + } + /// Set the `executedAt` field to an Option value (optional) + pub fn maybe_executed_at( + mut self, + value: Option, + ) -> Self { + self.__unsafe_private_named.6 = value; + self + } +} + +impl<'a, S: scheduled_post_state::State> ScheduledPostBuilder<'a, S> { + /// Set the `facets` field (optional) + pub fn facets( + mut self, + value: impl Into>>>, + ) -> Self { + self.__unsafe_private_named.7 = value.into(); + self + } + /// Set the `facets` field to an Option value (optional) + pub fn maybe_facets( + mut self, + value: Option>>, + ) -> Self { + self.__unsafe_private_named.7 = value; + self + } +} + +impl<'a, S> ScheduledPostBuilder<'a, S> +where + S: scheduled_post_state::State, + S::Id: scheduled_post_state::IsUnset, +{ + /// Set the `id` field (required) + pub fn id( + mut self, + value: impl Into>, + ) -> ScheduledPostBuilder<'a, scheduled_post_state::SetId> { + self.__unsafe_private_named.8 = ::core::option::Option::Some(value.into()); + ScheduledPostBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S: scheduled_post_state::State> ScheduledPostBuilder<'a, S> { + /// Set the `labels` field (optional) + pub fn labels( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.9 = value.into(); + self + } + /// Set the `labels` field to an Option value (optional) + pub fn maybe_labels( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.9 = value; + self + } +} + +impl<'a, S> ScheduledPostBuilder<'a, S> +where + S: scheduled_post_state::State, + S::Langs: scheduled_post_state::IsUnset, +{ + /// Set the `langs` field (required) + pub fn langs( + mut self, + value: impl Into>, + ) -> ScheduledPostBuilder<'a, scheduled_post_state::SetLangs> { + self.__unsafe_private_named.10 = ::core::option::Option::Some(value.into()); + ScheduledPostBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S: scheduled_post_state::State> ScheduledPostBuilder<'a, S> { + /// Set the `parentPostId` field (optional) + pub fn parent_post_id( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.11 = value.into(); + self + } + /// Set the `parentPostId` field to an Option value (optional) + pub fn maybe_parent_post_id( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.11 = value; + self + } +} + +impl<'a, S: scheduled_post_state::State> ScheduledPostBuilder<'a, S> { + /// Set the `postgateCid` field (optional) + pub fn postgate_cid( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.12 = value.into(); + self + } + /// Set the `postgateCid` field to an Option value (optional) + pub fn maybe_postgate_cid( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.12 = value; + self + } +} + +impl<'a, S: scheduled_post_state::State> ScheduledPostBuilder<'a, S> { + /// Set the `postgateDisableEmbedding` field (optional) + pub fn postgate_disable_embedding(mut self, value: impl Into>) -> Self { + self.__unsafe_private_named.13 = value.into(); + self + } + /// Set the `postgateDisableEmbedding` field to an Option value (optional) + pub fn maybe_postgate_disable_embedding(mut self, value: Option) -> Self { + self.__unsafe_private_named.13 = value; + self + } +} + +impl<'a, S: scheduled_post_state::State> ScheduledPostBuilder<'a, S> { + /// Set the `postgateUri` field (optional) + pub fn postgate_uri( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.14 = value.into(); + self + } + /// Set the `postgateUri` field to an Option value (optional) + pub fn maybe_postgate_uri( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.14 = value; + self + } +} + +impl<'a, S> ScheduledPostBuilder<'a, S> +where + S: scheduled_post_state::State, + S::RetryCount: scheduled_post_state::IsUnset, +{ + /// Set the `retryCount` field (required) + pub fn retry_count( + mut self, + value: impl Into, + ) -> ScheduledPostBuilder<'a, scheduled_post_state::SetRetryCount> { + self.__unsafe_private_named.15 = ::core::option::Option::Some(value.into()); + ScheduledPostBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> ScheduledPostBuilder<'a, S> +where + S: scheduled_post_state::State, + S::ScheduledAt: scheduled_post_state::IsUnset, +{ + /// Set the `scheduledAt` field (required) + pub fn scheduled_at( + mut self, + value: impl Into, + ) -> ScheduledPostBuilder<'a, scheduled_post_state::SetScheduledAt> { + self.__unsafe_private_named.16 = ::core::option::Option::Some(value.into()); + ScheduledPostBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> ScheduledPostBuilder<'a, S> +where + S: scheduled_post_state::State, + S::Status: scheduled_post_state::IsUnset, +{ + /// Set the `status` field (required) + pub fn status( + mut self, + value: impl Into>, + ) -> ScheduledPostBuilder<'a, scheduled_post_state::SetStatus> { + self.__unsafe_private_named.17 = ::core::option::Option::Some(value.into()); + ScheduledPostBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> ScheduledPostBuilder<'a, S> +where + S: scheduled_post_state::State, + S::Text: scheduled_post_state::IsUnset, +{ + /// Set the `text` field (required) + pub fn text( + mut self, + value: impl Into>, + ) -> ScheduledPostBuilder<'a, scheduled_post_state::SetText> { + self.__unsafe_private_named.18 = ::core::option::Option::Some(value.into()); + ScheduledPostBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S: scheduled_post_state::State> ScheduledPostBuilder<'a, S> { + /// Set the `threadDepth` field (optional) + pub fn thread_depth(mut self, value: impl Into>) -> Self { + self.__unsafe_private_named.19 = value.into(); + self + } + /// Set the `threadDepth` field to an Option value (optional) + pub fn maybe_thread_depth(mut self, value: Option) -> Self { + self.__unsafe_private_named.19 = value; + self + } +} + +impl<'a, S: scheduled_post_state::State> ScheduledPostBuilder<'a, S> { + /// Set the `threadPosition` field (optional) + pub fn thread_position(mut self, value: impl Into>) -> Self { + self.__unsafe_private_named.20 = value.into(); + self + } + /// Set the `threadPosition` field to an Option value (optional) + pub fn maybe_thread_position(mut self, value: Option) -> Self { + self.__unsafe_private_named.20 = value; + self + } +} + +impl<'a, S: scheduled_post_state::State> ScheduledPostBuilder<'a, S> { + /// Set the `threadgateCid` field (optional) + pub fn threadgate_cid( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.21 = value.into(); + self + } + /// Set the `threadgateCid` field to an Option value (optional) + pub fn maybe_threadgate_cid( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.21 = value; + self + } +} + +impl<'a, S: scheduled_post_state::State> ScheduledPostBuilder<'a, S> { + /// Set the `threadgateRules` field (optional) + pub fn threadgate_rules( + mut self, + value: impl Into>>>, + ) -> Self { + self.__unsafe_private_named.22 = value.into(); + self + } + /// Set the `threadgateRules` field to an Option value (optional) + pub fn maybe_threadgate_rules( + mut self, + value: Option>>, + ) -> Self { + self.__unsafe_private_named.22 = value; + self + } +} + +impl<'a, S: scheduled_post_state::State> ScheduledPostBuilder<'a, S> { + /// Set the `threadgateUri` field (optional) + pub fn threadgate_uri( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.23 = value.into(); + self + } + /// Set the `threadgateUri` field to an Option value (optional) + pub fn maybe_threadgate_uri( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.23 = value; + self + } +} + +impl<'a, S> ScheduledPostBuilder<'a, S> +where + S: scheduled_post_state::State, + S::UpdatedAt: scheduled_post_state::IsUnset, +{ + /// Set the `updatedAt` field (required) + pub fn updated_at( + mut self, + value: impl Into, + ) -> ScheduledPostBuilder<'a, scheduled_post_state::SetUpdatedAt> { + self.__unsafe_private_named.24 = ::core::option::Option::Some(value.into()); + ScheduledPostBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> ScheduledPostBuilder<'a, S> +where + S: scheduled_post_state::State, + S::UserId: scheduled_post_state::IsUnset, +{ + /// Set the `userId` field (required) + pub fn user_id( + mut self, + value: impl Into>, + ) -> ScheduledPostBuilder<'a, scheduled_post_state::SetUserId> { + self.__unsafe_private_named.25 = ::core::option::Option::Some(value.into()); + ScheduledPostBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> ScheduledPostBuilder<'a, S> +where + S: scheduled_post_state::State, + S::ScheduledAt: scheduled_post_state::IsSet, + S::Status: scheduled_post_state::IsSet, + S::Id: scheduled_post_state::IsSet, + S::UpdatedAt: scheduled_post_state::IsSet, + S::Text: scheduled_post_state::IsSet, + S::Langs: scheduled_post_state::IsSet, + S::CreatedAt: scheduled_post_state::IsSet, + S::RetryCount: scheduled_post_state::IsSet, + S::UserId: scheduled_post_state::IsSet, +{ + /// Build the final struct + pub fn build(self) -> ScheduledPost<'a> { + ScheduledPost { + at_rkey: self.__unsafe_private_named.0, + at_uri: self.__unsafe_private_named.1, + children: self.__unsafe_private_named.2, + created_at: self.__unsafe_private_named.3.unwrap(), + embed: self.__unsafe_private_named.4, + error_msg: self.__unsafe_private_named.5, + executed_at: self.__unsafe_private_named.6, + facets: self.__unsafe_private_named.7, + id: self.__unsafe_private_named.8.unwrap(), + labels: self.__unsafe_private_named.9, + langs: self.__unsafe_private_named.10.unwrap(), + parent_post_id: self.__unsafe_private_named.11, + postgate_cid: self.__unsafe_private_named.12, + postgate_disable_embedding: self.__unsafe_private_named.13, + postgate_uri: self.__unsafe_private_named.14, + retry_count: self.__unsafe_private_named.15.unwrap(), + scheduled_at: self.__unsafe_private_named.16.unwrap(), + status: self.__unsafe_private_named.17.unwrap(), + text: self.__unsafe_private_named.18.unwrap(), + thread_depth: self.__unsafe_private_named.19, + thread_position: self.__unsafe_private_named.20, + threadgate_cid: self.__unsafe_private_named.21, + threadgate_rules: self.__unsafe_private_named.22, + threadgate_uri: self.__unsafe_private_named.23, + updated_at: self.__unsafe_private_named.24.unwrap(), + user_id: self.__unsafe_private_named.25.unwrap(), + extra_data: Default::default(), + } + } + /// Build the final struct with custom extra_data + pub fn build_with_data( + self, + extra_data: std::collections::BTreeMap< + jacquard_common::deps::smol_str::SmolStr, + jacquard_common::types::value::Data<'a>, + >, + ) -> ScheduledPost<'a> { + ScheduledPost { + at_rkey: self.__unsafe_private_named.0, + at_uri: self.__unsafe_private_named.1, + children: self.__unsafe_private_named.2, + created_at: self.__unsafe_private_named.3.unwrap(), + embed: self.__unsafe_private_named.4, + error_msg: self.__unsafe_private_named.5, + executed_at: self.__unsafe_private_named.6, + facets: self.__unsafe_private_named.7, + id: self.__unsafe_private_named.8.unwrap(), + labels: self.__unsafe_private_named.9, + langs: self.__unsafe_private_named.10.unwrap(), + parent_post_id: self.__unsafe_private_named.11, + postgate_cid: self.__unsafe_private_named.12, + postgate_disable_embedding: self.__unsafe_private_named.13, + postgate_uri: self.__unsafe_private_named.14, + retry_count: self.__unsafe_private_named.15.unwrap(), + scheduled_at: self.__unsafe_private_named.16.unwrap(), + status: self.__unsafe_private_named.17.unwrap(), + text: self.__unsafe_private_named.18.unwrap(), + thread_depth: self.__unsafe_private_named.19, + thread_position: self.__unsafe_private_named.20, + threadgate_cid: self.__unsafe_private_named.21, + threadgate_rules: self.__unsafe_private_named.22, + threadgate_uri: self.__unsafe_private_named.23, + updated_at: self.__unsafe_private_named.24.unwrap(), + user_id: self.__unsafe_private_named.25.unwrap(), + extra_data: Some(extra_data), + } + } +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ScheduledPostEmbed<'a> { + #[serde(rename = "app.bsky.embed.images")] + Images(Box>), + #[serde(rename = "app.chronosky.schedule.listPosts#imageView")] + ImageView(Box>), + #[serde(rename = "app.bsky.embed.external")] + External(Box>), + #[serde(rename = "app.bsky.embed.record")] + Record(Box>), + #[serde(rename = "app.bsky.embed.video")] + Video(Box>), + #[serde(rename = "app.bsky.embed.recordWithMedia")] + RecordWithMedia(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ScheduledPostThreadgateRulesItem<'a> { + #[serde(rename = "app.bsky.feed.threadgate#mentionRule")] + ThreadgateMentionRule(Box>), + #[serde(rename = "app.bsky.feed.threadgate#followerRule")] + ThreadgateFollowerRule(Box>), + #[serde(rename = "app.bsky.feed.threadgate#followingRule")] + ThreadgateFollowingRule(Box>), + #[serde(rename = "app.bsky.feed.threadgate#listRule")] + ThreadgateListRule(Box>), +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ScheduledPost<'a> { + fn nsid() -> &'static str { + "app.chronosky.schedule.listPosts" + } + fn def_name() -> &'static str { + "scheduledPost" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_app_chronosky_schedule_listPosts() + } + fn validate( + &self, + ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + if let Some(ref value) = self.at_rkey { + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 100usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "at_rkey", + ), + max: 100usize, + actual: ::len(value.as_ref()), + }); + } + } + if let Some(ref value) = self.at_uri { + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 500usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "at_uri", + ), + max: 500usize, + actual: ::len(value.as_ref()), + }); + } + } + if let Some(ref value) = self.error_msg { + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 2000usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "error_msg", + ), + max: 2000usize, + actual: ::len(value.as_ref()), + }); + } + } + { + let value = &self.id; + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 100usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "id", + ), + max: 100usize, + actual: ::len(value.as_ref()), + }); + } + } + { + let value = &self.langs; + #[allow(unused_comparisons)] + if value.len() > 3usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "langs", + ), + max: 3usize, + actual: value.len(), + }); + } + } + if let Some(ref value) = self.parent_post_id { + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 100usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "parent_post_id", + ), + max: 100usize, + actual: ::len(value.as_ref()), + }); + } + } + if let Some(ref value) = self.postgate_cid { + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 100usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "postgate_cid", + ), + max: 100usize, + actual: ::len(value.as_ref()), + }); + } + } + if let Some(ref value) = self.postgate_uri { + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 500usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "postgate_uri", + ), + max: 500usize, + actual: ::len(value.as_ref()), + }); + } + } + { + let value = &self.retry_count; + if *value < 0i64 { + return Err(::jacquard_lexicon::validation::ConstraintError::Minimum { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "retry_count", + ), + min: 0i64, + actual: *value, + }); + } + } + { + let value = &self.status; + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 20usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "status", + ), + max: 20usize, + actual: ::len(value.as_ref()), + }); + } + } + { + let value = &self.text; + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 3000usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "text", + ), + max: 3000usize, + actual: ::len(value.as_ref()), + }); + } + } + { + let value = &self.text; + { + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( + value.as_ref(), + true, + ) + .count(); + if count > 300usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxGraphemes { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "text", + ), + max: 300usize, + actual: count, + }); + } + } + } + if let Some(ref value) = self.thread_depth { + if *value < 0i64 { + return Err(::jacquard_lexicon::validation::ConstraintError::Minimum { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "thread_depth", + ), + min: 0i64, + actual: *value, + }); + } + } + if let Some(ref value) = self.thread_position { + if *value < 0i64 { + return Err(::jacquard_lexicon::validation::ConstraintError::Minimum { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "thread_position", + ), + min: 0i64, + actual: *value, + }); + } + } + if let Some(ref value) = self.threadgate_cid { + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 100usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "threadgate_cid", + ), + max: 100usize, + actual: ::len(value.as_ref()), + }); + } + } + if let Some(ref value) = self.threadgate_rules { + #[allow(unused_comparisons)] + if value.len() > 5usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "threadgate_rules", + ), + max: 5usize, + actual: value.len(), + }); + } + } + if let Some(ref value) = self.threadgate_uri { + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 500usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "threadgate_uri", + ), + max: 500usize, + actual: ::len(value.as_ref()), + }); + } + } + { + let value = &self.user_id; + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 200usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "user_id", + ), + max: 200usize, + actual: ::len(value.as_ref()), + }); + } + } + Ok(()) + } +} \ 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 new file mode 100644 index 000000000..193889e92 --- /dev/null +++ b/crates/jacquard-api/src/app_chronosky/schedule/retry_failed_posts.rs @@ -0,0 +1,65 @@ +// @generated by jacquard-lexicon. DO NOT EDIT. +// +// Lexicon: app.chronosky.schedule.retryFailedPosts +// +// This file was automatically generated from Lexicon schemas. +// Any manual changes will be overwritten on the next regeneration. + +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic, + Default +)] +#[serde(rename_all = "camelCase")] +pub struct RetryFailedPosts<'a> {} +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct RetryFailedPostsOutput<'a> { + /// Number of posts that were retried + pub retried_count: i64, +} + +/// Response type for +///app.chronosky.schedule.retryFailedPosts +pub struct RetryFailedPostsResponse; +impl jacquard_common::xrpc::XrpcResp for RetryFailedPostsResponse { + const NSID: &'static str = "app.chronosky.schedule.retryFailedPosts"; + const ENCODING: &'static str = "application/json"; + type Output<'de> = RetryFailedPostsOutput<'de>; + type Err<'de> = jacquard_common::xrpc::GenericError<'de>; +} + +impl<'a> jacquard_common::xrpc::XrpcRequest for RetryFailedPosts<'a> { + const NSID: &'static str = "app.chronosky.schedule.retryFailedPosts"; + const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( + "application/json", + ); + type Response = RetryFailedPostsResponse; +} + +/// Endpoint type for +///app.chronosky.schedule.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", + ); + type Request<'de> = RetryFailedPosts<'de>; + 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 new file mode 100644 index 000000000..2e4a9b17a --- /dev/null +++ b/crates/jacquard-api/src/app_chronosky/schedule/update_post.rs @@ -0,0 +1,755 @@ +// @generated by jacquard-lexicon. DO NOT EDIT. +// +// Lexicon: app.chronosky.schedule.updatePost +// +// This file was automatically generated from Lexicon schemas. +// Any manual changes will be overwritten on the next regeneration. + +/// Image reference that supports both new blob uploads and existing image CID references. +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic, + Default +)] +#[serde(rename_all = "camelCase")] +pub struct ImageRef<'a> { + /// Alt text for the image. + #[serde(borrow)] + pub alt: jacquard_common::CowStr<'a>, + /// CID of an image blob. Can reference an existing image in the post or a newly uploaded image via media.uploadBlob. + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub cid: std::option::Option>, + /// New image blob (for newly uploaded images). + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub image: std::option::Option>, +} + +fn lexicon_doc_app_chronosky_schedule_updatePost() -> ::jacquard_lexicon::lexicon::LexiconDoc< + 'static, +> { + ::jacquard_lexicon::lexicon::LexiconDoc { + lexicon: ::jacquard_lexicon::lexicon::Lexicon::Lexicon1, + id: ::jacquard_common::CowStr::new_static("app.chronosky.schedule.updatePost"), + revision: None, + description: None, + defs: { + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static("imageRef"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static( + "Image reference that supports both new blob uploads and existing image CID references.", + ), + ), + required: Some( + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("alt") + ], + ), + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "alt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Alt text for the image.", + ), + ), + format: None, + default: None, + min_length: None, + max_length: Some(1000usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "CID of an image blob. Can reference an existing image in the post or a newly uploaded image via media.uploadBlob.", + ), + ), + format: None, + default: None, + min_length: None, + max_length: Some(200usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { + description: None, + accept: None, + max_size: None, + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static("imagesEmbed"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static( + "Images embed that supports CID references for existing images.", + ), + ), + required: Some( + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("images") + ], + ), + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "images", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { + description: None, + items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static("#imageRef"), + }), + min_length: None, + max_length: Some(4usize), + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), + ::jacquard_lexicon::lexicon::LexUserType::XrpcProcedure(::jacquard_lexicon::lexicon::LexXrpcProcedure { + description: None, + parameters: None, + input: Some(::jacquard_lexicon::lexicon::LexXrpcBody { + description: None, + encoding: ::jacquard_common::CowStr::new_static( + "application/json", + ), + schema: Some( + ::jacquard_lexicon::lexicon::LexXrpcBodySchema::Object(::jacquard_lexicon::lexicon::LexObject { + description: None, + required: Some( + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("id") + ], + ), + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "disableQuotePosts", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "embed", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: Some( + ::jacquard_common::CowStr::new_static( + "Embedded content (images, external links, records). Use #imagesEmbed to reference existing images by CID.", + ), + ), + refs: vec![ + ::jacquard_common::CowStr::new_static("#imagesEmbed"), + ::jacquard_common::CowStr::new_static("app.bsky.embed.images"), + ::jacquard_common::CowStr::new_static("app.bsky.embed.external"), + ::jacquard_common::CowStr::new_static("app.bsky.embed.record"), + ::jacquard_common::CowStr::new_static("app.bsky.embed.video"), + ::jacquard_common::CowStr::new_static("app.bsky.embed.recordWithMedia") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "facets", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { + description: Some( + ::jacquard_common::CowStr::new_static( + "Rich text facets (links, mentions, tags).", + ), + ), + items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "app.bsky.richtext.facet", + ), + }), + min_length: None, + max_length: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "id", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static("Post ID to update."), + ), + format: None, + default: None, + min_length: None, + max_length: Some(100usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "labels", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "com.atproto.label.defs#selfLabels", + ), + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "langs", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { + description: Some( + ::jacquard_common::CowStr::new_static( + "Language codes (ISO 639-1).", + ), + ), + items: ::jacquard_lexicon::lexicon::LexArrayItem::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: Some( + ::jacquard_lexicon::lexicon::LexStringFormat::Language, + ), + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + min_length: None, + max_length: Some(3usize), + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "scheduledAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "New scheduled publication datetime (ISO 8601).", + ), + ), + format: Some( + ::jacquard_lexicon::lexicon::LexStringFormat::Datetime, + ), + default: None, + min_length: None, + max_length: Some(100usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "New post text content.", + ), + ), + format: None, + default: None, + min_length: None, + max_length: Some(3000usize), + min_graphemes: None, + max_graphemes: Some(300usize), + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "threadgateRules", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { + description: Some( + ::jacquard_common::CowStr::new_static( + "Thread gate rules to control who can reply", + ), + ), + items: ::jacquard_lexicon::lexicon::LexArrayItem::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("app.bsky.feed.threadgate#mentionRule"), + ::jacquard_common::CowStr::new_static("app.bsky.feed.threadgate#followerRule"), + ::jacquard_common::CowStr::new_static("app.bsky.feed.threadgate#followingRule"), + ::jacquard_common::CowStr::new_static("app.bsky.feed.threadgate#listRule") + ], + closed: None, + }), + min_length: None, + max_length: Some(5usize), + }), + ); + map + }, + }), + ), + }), + output: None, + errors: None, + }), + ); + map + }, + } +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ImageRef<'a> { + fn nsid() -> &'static str { + "app.chronosky.schedule.updatePost" + } + fn def_name() -> &'static str { + "imageRef" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_app_chronosky_schedule_updatePost() + } + fn validate( + &self, + ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + { + let value = &self.alt; + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 1000usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "alt", + ), + max: 1000usize, + actual: ::len(value.as_ref()), + }); + } + } + if let Some(ref value) = self.cid { + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 200usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "cid", + ), + max: 200usize, + actual: ::len(value.as_ref()), + }); + } + } + Ok(()) + } +} + +/// Images embed that supports CID references for existing images. +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct ImagesEmbed<'a> { + #[serde(borrow)] + pub images: Vec>, +} + +pub mod images_embed_state { + + pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + #[allow(unused)] + use ::core::marker::PhantomData; + mod sealed { + pub trait Sealed {} + } + /// State trait tracking which required fields have been set + pub trait State: sealed::Sealed { + type Images; + } + /// Empty state - all required fields are unset + pub struct Empty(()); + impl sealed::Sealed for Empty {} + impl State for Empty { + type Images = Unset; + } + ///State transition - sets the `images` field to Set + pub struct SetImages(PhantomData S>); + impl sealed::Sealed for SetImages {} + impl State for SetImages { + type Images = Set; + } + /// Marker types for field names + #[allow(non_camel_case_types)] + pub mod members { + ///Marker type for the `images` field + pub struct images(()); + } +} + +/// Builder for constructing an instance of this type +pub struct ImagesEmbedBuilder<'a, S: images_embed_state::State> { + _phantom_state: ::core::marker::PhantomData S>, + __unsafe_private_named: ( + ::core::option::Option< + Vec>, + >, + ), + _phantom: ::core::marker::PhantomData<&'a ()>, +} + +impl<'a> ImagesEmbed<'a> { + /// Create a new builder for this type + pub fn new() -> ImagesEmbedBuilder<'a, images_embed_state::Empty> { + ImagesEmbedBuilder::new() + } +} + +impl<'a> ImagesEmbedBuilder<'a, images_embed_state::Empty> { + /// Create a new builder with all fields unset + pub fn new() -> Self { + ImagesEmbedBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: (None,), + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> ImagesEmbedBuilder<'a, S> +where + S: images_embed_state::State, + S::Images: images_embed_state::IsUnset, +{ + /// Set the `images` field (required) + pub fn images( + mut self, + value: impl Into>>, + ) -> ImagesEmbedBuilder<'a, images_embed_state::SetImages> { + self.__unsafe_private_named.0 = ::core::option::Option::Some(value.into()); + ImagesEmbedBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> ImagesEmbedBuilder<'a, S> +where + S: images_embed_state::State, + S::Images: images_embed_state::IsSet, +{ + /// Build the final struct + pub fn build(self) -> ImagesEmbed<'a> { + ImagesEmbed { + images: self.__unsafe_private_named.0.unwrap(), + extra_data: Default::default(), + } + } + /// Build the final struct with custom extra_data + pub fn build_with_data( + self, + extra_data: std::collections::BTreeMap< + jacquard_common::deps::smol_str::SmolStr, + jacquard_common::types::value::Data<'a>, + >, + ) -> ImagesEmbed<'a> { + ImagesEmbed { + images: self.__unsafe_private_named.0.unwrap(), + extra_data: Some(extra_data), + } + } +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ImagesEmbed<'a> { + fn nsid() -> &'static str { + "app.chronosky.schedule.updatePost" + } + fn def_name() -> &'static str { + "imagesEmbed" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_app_chronosky_schedule_updatePost() + } + fn validate( + &self, + ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + { + let value = &self.images; + #[allow(unused_comparisons)] + if value.len() > 4usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "images", + ), + max: 4usize, + actual: value.len(), + }); + } + } + Ok(()) + } +} + +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic, + Default +)] +#[serde(rename_all = "camelCase")] +pub struct UpdatePost<'a> { + /// Whether to disable quote posts + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub disable_quote_posts: std::option::Option, + /// Embedded content (images, external links, records). Use #imagesEmbed to reference existing images by CID. + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub embed: std::option::Option>, + /// Rich text facets (links, mentions, tags). + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub facets: std::option::Option>>, + /// Post ID to update. + #[serde(borrow)] + pub id: jacquard_common::CowStr<'a>, + /// Self-applied content labels for content warnings (AT Protocol standard). + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub labels: std::option::Option>, + /// Language codes (ISO 639-1). + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub langs: std::option::Option>, + /// New scheduled publication datetime (ISO 8601). + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub scheduled_at: std::option::Option, + /// New post text content. + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub text: std::option::Option>, + /// Thread gate rules to control who can reply + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub threadgate_rules: std::option::Option>>, +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum UpdatePostEmbed<'a> { + #[serde(rename = "app.chronosky.schedule.updatePost#imagesEmbed")] + ImagesEmbed(Box>), + #[serde(rename = "app.bsky.embed.images")] + Images(Box>), + #[serde(rename = "app.bsky.embed.external")] + External(Box>), + #[serde(rename = "app.bsky.embed.record")] + Record(Box>), + #[serde(rename = "app.bsky.embed.video")] + Video(Box>), + #[serde(rename = "app.bsky.embed.recordWithMedia")] + RecordWithMedia(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum UpdatePostThreadgateRulesItem<'a> { + #[serde(rename = "app.bsky.feed.threadgate#mentionRule")] + ThreadgateMentionRule(Box>), + #[serde(rename = "app.bsky.feed.threadgate#followerRule")] + ThreadgateFollowerRule(Box>), + #[serde(rename = "app.bsky.feed.threadgate#followingRule")] + ThreadgateFollowingRule(Box>), + #[serde(rename = "app.bsky.feed.threadgate#listRule")] + ThreadgateListRule(Box>), +} + +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct UpdatePostOutput<'a> { + #[serde(borrow)] + pub post: crate::app_chronosky::schedule::list_posts::ScheduledPost<'a>, +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + thiserror::Error, + miette::Diagnostic, + jacquard_derive::IntoStatic +)] +#[serde(tag = "error", content = "message")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum UpdatePostError<'a> { + #[serde(rename = "PostNotFound")] + PostNotFound(std::option::Option>), + #[serde(rename = "PostNotPending")] + PostNotPending(std::option::Option>), + #[serde(rename = "NoFieldsProvided")] + NoFieldsProvided(std::option::Option>), +} + +impl core::fmt::Display for UpdatePostError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + match self { + Self::PostNotFound(msg) => { + write!(f, "PostNotFound")?; + if let Some(msg) = msg { + write!(f, ": {}", msg)?; + } + Ok(()) + } + Self::PostNotPending(msg) => { + write!(f, "PostNotPending")?; + if let Some(msg) = msg { + write!(f, ": {}", msg)?; + } + Ok(()) + } + Self::NoFieldsProvided(msg) => { + write!(f, "NoFieldsProvided")?; + if let Some(msg) = msg { + write!(f, ": {}", msg)?; + } + Ok(()) + } + Self::Unknown(err) => write!(f, "Unknown error: {:?}", err), + } + } +} + +/// Response type for +///app.chronosky.schedule.updatePost +pub struct UpdatePostResponse; +impl jacquard_common::xrpc::XrpcResp for UpdatePostResponse { + const NSID: &'static str = "app.chronosky.schedule.updatePost"; + const ENCODING: &'static str = "application/json"; + type Output<'de> = UpdatePostOutput<'de>; + type Err<'de> = UpdatePostError<'de>; +} + +impl<'a> jacquard_common::xrpc::XrpcRequest for UpdatePost<'a> { + const NSID: &'static str = "app.chronosky.schedule.updatePost"; + const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( + "application/json", + ); + type Response = UpdatePostResponse; +} + +/// Endpoint type for +///app.chronosky.schedule.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", + ); + type Request<'de> = UpdatePost<'de>; + type Response = UpdatePostResponse; +} \ No newline at end of file diff --git a/crates/jacquard-api/src/app_dropanchor/checkin.rs b/crates/jacquard-api/src/app_dropanchor/checkin.rs index 0e8ffba65..f58e5a943 100644 --- a/crates/jacquard-api/src/app_dropanchor/checkin.rs +++ b/crates/jacquard-api/src/app_dropanchor/checkin.rs @@ -55,7 +55,7 @@ fn lexicon_doc_app_dropanchor_checkin() -> ::jacquard_lexicon::lexicon::LexiconD defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("address"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("address"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -63,14 +63,18 @@ fn lexicon_doc_app_dropanchor_checkin() -> ::jacquard_lexicon::lexicon::LexiconD ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("country")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("country") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("country"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "country", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -89,7 +93,9 @@ fn lexicon_doc_app_dropanchor_checkin() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("locality"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "locality", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -108,7 +114,9 @@ fn lexicon_doc_app_dropanchor_checkin() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -127,7 +135,7 @@ fn lexicon_doc_app_dropanchor_checkin() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "postalCode", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -146,7 +154,9 @@ fn lexicon_doc_app_dropanchor_checkin() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("region"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "region", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -165,7 +175,9 @@ fn lexicon_doc_app_dropanchor_checkin() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("street"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "street", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("The street address"), @@ -186,7 +198,7 @@ fn lexicon_doc_app_dropanchor_checkin() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("checkinImage"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("checkinImage"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -195,8 +207,8 @@ fn lexicon_doc_app_dropanchor_checkin() -> ::jacquard_lexicon::lexicon::LexiconD ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("thumb"), - ::jacquard_common::smol_str::SmolStr::new_static("fullsize") + ::jacquard_common::deps::smol_str::SmolStr::new_static("thumb"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("fullsize") ], ), nullable: None, @@ -204,7 +216,9 @@ fn lexicon_doc_app_dropanchor_checkin() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("alt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "alt", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -223,7 +237,9 @@ fn lexicon_doc_app_dropanchor_checkin() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("fullsize"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "fullsize", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -231,7 +247,9 @@ fn lexicon_doc_app_dropanchor_checkin() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("thumb"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "thumb", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -243,7 +261,7 @@ fn lexicon_doc_app_dropanchor_checkin() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("fsqPlace"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("fsqPlace"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -252,7 +270,7 @@ fn lexicon_doc_app_dropanchor_checkin() -> ::jacquard_lexicon::lexicon::LexiconD ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("fsqPlaceId") + ::jacquard_common::deps::smol_str::SmolStr::new_static("fsqPlaceId") ], ), nullable: None, @@ -260,7 +278,7 @@ fn lexicon_doc_app_dropanchor_checkin() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "fsqPlaceId", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -281,7 +299,9 @@ fn lexicon_doc_app_dropanchor_checkin() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("latitude"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "latitude", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -300,7 +320,7 @@ fn lexicon_doc_app_dropanchor_checkin() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "longitude", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -321,7 +341,9 @@ fn lexicon_doc_app_dropanchor_checkin() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -344,7 +366,7 @@ fn lexicon_doc_app_dropanchor_checkin() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("geo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("geo"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -353,8 +375,8 @@ fn lexicon_doc_app_dropanchor_checkin() -> ::jacquard_lexicon::lexicon::LexiconD ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("latitude"), - ::jacquard_common::smol_str::SmolStr::new_static("longitude") + ::jacquard_common::deps::smol_str::SmolStr::new_static("latitude"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("longitude") ], ), nullable: None, @@ -362,7 +384,9 @@ fn lexicon_doc_app_dropanchor_checkin() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("altitude"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "altitude", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Altitude in meters"), @@ -379,7 +403,9 @@ fn lexicon_doc_app_dropanchor_checkin() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("latitude"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "latitude", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -398,7 +424,7 @@ fn lexicon_doc_app_dropanchor_checkin() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "longitude", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -419,7 +445,9 @@ fn lexicon_doc_app_dropanchor_checkin() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -442,7 +470,7 @@ fn lexicon_doc_app_dropanchor_checkin() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -454,10 +482,10 @@ fn lexicon_doc_app_dropanchor_checkin() -> ::jacquard_lexicon::lexicon::LexiconD description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("text"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt"), - ::jacquard_common::smol_str::SmolStr::new_static("address"), - ::jacquard_common::smol_str::SmolStr::new_static("geo") + ::jacquard_common::deps::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("address"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("geo") ], ), nullable: None, @@ -465,14 +493,16 @@ fn lexicon_doc_app_dropanchor_checkin() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("address"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "address", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#address"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "category", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -493,7 +523,7 @@ fn lexicon_doc_app_dropanchor_checkin() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "categoryGroup", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -514,7 +544,7 @@ fn lexicon_doc_app_dropanchor_checkin() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "categoryIcon", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -535,7 +565,7 @@ fn lexicon_doc_app_dropanchor_checkin() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -558,21 +588,27 @@ fn lexicon_doc_app_dropanchor_checkin() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("fsq"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "fsq", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#fsqPlace"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("geo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "geo", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#geo"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -581,7 +617,9 @@ fn lexicon_doc_app_dropanchor_checkin() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -880,7 +918,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> CheckinImage<'a> { @@ -1172,67 +1210,67 @@ pub mod checkin_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Address; - type Geo; type Text; type CreatedAt; + type Geo; + type Address; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Address = Unset; - type Geo = Unset; type Text = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `address` field to Set - pub struct SetAddress(PhantomData S>); - impl sealed::Sealed for SetAddress {} - impl State for SetAddress { - type Address = Set; - type Geo = S::Geo; - type Text = S::Text; - type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `geo` field to Set - pub struct SetGeo(PhantomData S>); - impl sealed::Sealed for SetGeo {} - impl State for SetGeo { - type Address = S::Address; - type Geo = Set; - type Text = S::Text; - type CreatedAt = S::CreatedAt; + type Geo = Unset; + type Address = Unset; } ///State transition - sets the `text` field to Set pub struct SetText(PhantomData S>); impl sealed::Sealed for SetText {} impl State for SetText { - type Address = S::Address; - type Geo = S::Geo; type Text = Set; type CreatedAt = S::CreatedAt; + type Geo = S::Geo; + type Address = S::Address; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Address = S::Address; - type Geo = S::Geo; type Text = S::Text; type CreatedAt = Set; + type Geo = S::Geo; + type Address = S::Address; + } + ///State transition - sets the `geo` field to Set + pub struct SetGeo(PhantomData S>); + impl sealed::Sealed for SetGeo {} + impl State for SetGeo { + type Text = S::Text; + type CreatedAt = S::CreatedAt; + type Geo = Set; + type Address = S::Address; + } + ///State transition - sets the `address` field to Set + pub struct SetAddress(PhantomData S>); + impl sealed::Sealed for SetAddress {} + impl State for SetAddress { + type Text = S::Text; + type CreatedAt = S::CreatedAt; + type Geo = S::Geo; + type Address = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `address` field - pub struct address(()); - ///Marker type for the `geo` field - pub struct geo(()); ///Marker type for the `text` field pub struct text(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `geo` field + pub struct geo(()); + ///Marker type for the `address` field + pub struct address(()); } } @@ -1452,10 +1490,10 @@ where impl<'a, S> CheckinBuilder<'a, S> where S: checkin_state::State, - S::Address: checkin_state::IsSet, - S::Geo: checkin_state::IsSet, S::Text: checkin_state::IsSet, S::CreatedAt: checkin_state::IsSet, + S::Geo: checkin_state::IsSet, + S::Address: checkin_state::IsSet, { /// Build the final struct pub fn build(self) -> Checkin<'a> { @@ -1476,7 +1514,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Checkin<'a> { diff --git a/crates/jacquard-api/src/app_dropanchor/comment.rs b/crates/jacquard-api/src/app_dropanchor/comment.rs index 43d99035f..cecae7f69 100644 --- a/crates/jacquard-api/src/app_dropanchor/comment.rs +++ b/crates/jacquard-api/src/app_dropanchor/comment.rs @@ -192,7 +192,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Comment<'a> { @@ -307,7 +307,7 @@ fn lexicon_doc_app_dropanchor_comment() -> ::jacquard_lexicon::lexicon::LexiconD defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -319,9 +319,9 @@ fn lexicon_doc_app_dropanchor_comment() -> ::jacquard_lexicon::lexicon::LexiconD description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("text"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt"), - ::jacquard_common::smol_str::SmolStr::new_static("checkinRef") + ::jacquard_common::deps::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("checkinRef") ], ), nullable: None, @@ -329,7 +329,7 @@ fn lexicon_doc_app_dropanchor_comment() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "checkinRef", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -338,7 +338,7 @@ fn lexicon_doc_app_dropanchor_comment() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -361,7 +361,9 @@ fn lexicon_doc_app_dropanchor_comment() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -385,7 +387,7 @@ fn lexicon_doc_app_dropanchor_comment() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("strongRef"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("strongRef"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -394,8 +396,8 @@ fn lexicon_doc_app_dropanchor_comment() -> ::jacquard_lexicon::lexicon::LexiconD ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("cid") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid") ], ), nullable: None, @@ -403,7 +405,9 @@ fn lexicon_doc_app_dropanchor_comment() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -424,7 +428,9 @@ fn lexicon_doc_app_dropanchor_comment() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -602,7 +608,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> StrongRef<'a> { diff --git a/crates/jacquard-api/src/app_dropanchor/like.rs b/crates/jacquard-api/src/app_dropanchor/like.rs index 27f921742..030842aac 100644 --- a/crates/jacquard-api/src/app_dropanchor/like.rs +++ b/crates/jacquard-api/src/app_dropanchor/like.rs @@ -35,37 +35,37 @@ pub mod like_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CheckinRef; type CreatedAt; + type CheckinRef; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CheckinRef = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `checkin_ref` field to Set - pub struct SetCheckinRef(PhantomData S>); - impl sealed::Sealed for SetCheckinRef {} - impl State for SetCheckinRef { - type CheckinRef = Set; - type CreatedAt = S::CreatedAt; + type CheckinRef = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type CheckinRef = S::CheckinRef; type CreatedAt = Set; + type CheckinRef = S::CheckinRef; + } + ///State transition - sets the `checkin_ref` field to Set + pub struct SetCheckinRef(PhantomData S>); + impl sealed::Sealed for SetCheckinRef {} + impl State for SetCheckinRef { + type CreatedAt = S::CreatedAt; + type CheckinRef = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `checkin_ref` field - pub struct checkin_ref(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `checkin_ref` field + pub struct checkin_ref(()); } } @@ -138,8 +138,8 @@ where impl<'a, S> LikeBuilder<'a, S> where S: like_state::State, - S::CheckinRef: like_state::IsSet, S::CreatedAt: like_state::IsSet, + S::CheckinRef: like_state::IsSet, { /// Build the final struct pub fn build(self) -> Like<'a> { @@ -153,7 +153,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Like<'a> { @@ -254,7 +254,7 @@ fn lexicon_doc_app_dropanchor_like() -> ::jacquard_lexicon::lexicon::LexiconDoc< defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -266,8 +266,8 @@ fn lexicon_doc_app_dropanchor_like() -> ::jacquard_lexicon::lexicon::LexiconDoc< description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("createdAt"), - ::jacquard_common::smol_str::SmolStr::new_static("checkinRef") + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("checkinRef") ], ), nullable: None, @@ -275,7 +275,7 @@ fn lexicon_doc_app_dropanchor_like() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "checkinRef", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -284,7 +284,7 @@ fn lexicon_doc_app_dropanchor_like() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -312,7 +312,7 @@ fn lexicon_doc_app_dropanchor_like() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("strongRef"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("strongRef"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -321,8 +321,8 @@ fn lexicon_doc_app_dropanchor_like() -> ::jacquard_lexicon::lexicon::LexiconDoc< ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("cid") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid") ], ), nullable: None, @@ -330,7 +330,9 @@ fn lexicon_doc_app_dropanchor_like() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -351,7 +353,9 @@ fn lexicon_doc_app_dropanchor_like() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -411,37 +415,37 @@ pub mod strong_ref_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Uri; type Cid; + type Uri; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Uri = Unset; type Cid = Unset; - } - ///State transition - sets the `uri` field to Set - pub struct SetUri(PhantomData S>); - impl sealed::Sealed for SetUri {} - impl State for SetUri { - type Uri = Set; - type Cid = S::Cid; + type Uri = Unset; } ///State transition - sets the `cid` field to Set pub struct SetCid(PhantomData S>); impl sealed::Sealed for SetCid {} impl State for SetCid { - type Uri = S::Uri; type Cid = Set; + type Uri = S::Uri; + } + ///State transition - sets the `uri` field to Set + pub struct SetUri(PhantomData S>); + impl sealed::Sealed for SetUri {} + impl State for SetUri { + type Cid = S::Cid; + type Uri = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `uri` field - pub struct uri(()); ///Marker type for the `cid` field pub struct cid(()); + ///Marker type for the `uri` field + pub struct uri(()); } } @@ -514,8 +518,8 @@ where impl<'a, S> StrongRefBuilder<'a, S> where S: strong_ref_state::State, - S::Uri: strong_ref_state::IsSet, S::Cid: strong_ref_state::IsSet, + S::Uri: strong_ref_state::IsSet, { /// Build the final struct pub fn build(self) -> StrongRef<'a> { @@ -529,7 +533,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> StrongRef<'a> { diff --git a/crates/jacquard-api/src/app_fitsky/bluesky_post.rs b/crates/jacquard-api/src/app_fitsky/bluesky_post.rs index 04d763828..2289ffef5 100644 --- a/crates/jacquard-api/src/app_fitsky/bluesky_post.rs +++ b/crates/jacquard-api/src/app_fitsky/bluesky_post.rs @@ -35,51 +35,51 @@ pub mod bluesky_post_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type WorkoutUri; type PostUri; type CreatedAt; + type WorkoutUri; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type WorkoutUri = Unset; type PostUri = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `workout_uri` field to Set - pub struct SetWorkoutUri(PhantomData S>); - impl sealed::Sealed for SetWorkoutUri {} - impl State for SetWorkoutUri { - type WorkoutUri = Set; - type PostUri = S::PostUri; - type CreatedAt = S::CreatedAt; + type WorkoutUri = Unset; } ///State transition - sets the `post_uri` field to Set pub struct SetPostUri(PhantomData S>); impl sealed::Sealed for SetPostUri {} impl State for SetPostUri { - type WorkoutUri = S::WorkoutUri; type PostUri = Set; type CreatedAt = S::CreatedAt; + type WorkoutUri = S::WorkoutUri; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type WorkoutUri = S::WorkoutUri; type PostUri = S::PostUri; type CreatedAt = Set; + type WorkoutUri = S::WorkoutUri; + } + ///State transition - sets the `workout_uri` field to Set + pub struct SetWorkoutUri(PhantomData S>); + impl sealed::Sealed for SetWorkoutUri {} + impl State for SetWorkoutUri { + type PostUri = S::PostUri; + type CreatedAt = S::CreatedAt; + type WorkoutUri = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `workout_uri` field - pub struct workout_uri(()); ///Marker type for the `post_uri` field pub struct post_uri(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `workout_uri` field + pub struct workout_uri(()); } } @@ -172,9 +172,9 @@ where impl<'a, S> BlueskyPostBuilder<'a, S> where S: bluesky_post_state::State, - S::WorkoutUri: bluesky_post_state::IsSet, S::PostUri: bluesky_post_state::IsSet, S::CreatedAt: bluesky_post_state::IsSet, + S::WorkoutUri: bluesky_post_state::IsSet, { /// Build the final struct pub fn build(self) -> BlueskyPost<'a> { @@ -189,7 +189,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> BlueskyPost<'a> { @@ -291,7 +291,7 @@ fn lexicon_doc_app_fitsky_blueskyPost() -> ::jacquard_lexicon::lexicon::LexiconD defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -303,9 +303,9 @@ fn lexicon_doc_app_fitsky_blueskyPost() -> ::jacquard_lexicon::lexicon::LexiconD description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("workoutUri"), - ::jacquard_common::smol_str::SmolStr::new_static("postUri"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("workoutUri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("postUri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -313,7 +313,7 @@ fn lexicon_doc_app_fitsky_blueskyPost() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -332,7 +332,9 @@ fn lexicon_doc_app_fitsky_blueskyPost() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("postUri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "postUri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -349,7 +351,7 @@ fn lexicon_doc_app_fitsky_blueskyPost() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "workoutUri", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/app_fitsky/goal.rs b/crates/jacquard-api/src/app_fitsky/goal.rs index 9015562ae..892004693 100644 --- a/crates/jacquard-api/src/app_fitsky/goal.rs +++ b/crates/jacquard-api/src/app_fitsky/goal.rs @@ -40,83 +40,83 @@ pub mod goal_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Period; - type StartDate; type CreatedAt; + type StartDate; type Metric; + type Period; type TargetValue; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Period = Unset; - type StartDate = Unset; type CreatedAt = Unset; + type StartDate = Unset; type Metric = Unset; + type Period = Unset; type TargetValue = Unset; } - ///State transition - sets the `period` field to Set - pub struct SetPeriod(PhantomData S>); - impl sealed::Sealed for SetPeriod {} - impl State for SetPeriod { - type Period = Set; + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type CreatedAt = Set; type StartDate = S::StartDate; - type CreatedAt = S::CreatedAt; type Metric = S::Metric; + type Period = S::Period; type TargetValue = S::TargetValue; } ///State transition - sets the `start_date` field to Set pub struct SetStartDate(PhantomData S>); impl sealed::Sealed for SetStartDate {} impl State for SetStartDate { - type Period = S::Period; - type StartDate = Set; type CreatedAt = S::CreatedAt; + type StartDate = Set; type Metric = S::Metric; - type TargetValue = S::TargetValue; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { type Period = S::Period; - type StartDate = S::StartDate; - type CreatedAt = Set; - type Metric = S::Metric; type TargetValue = S::TargetValue; } ///State transition - sets the `metric` field to Set pub struct SetMetric(PhantomData S>); impl sealed::Sealed for SetMetric {} impl State for SetMetric { - type Period = S::Period; - type StartDate = S::StartDate; type CreatedAt = S::CreatedAt; + type StartDate = S::StartDate; type Metric = Set; + type Period = S::Period; + type TargetValue = S::TargetValue; + } + ///State transition - sets the `period` field to Set + pub struct SetPeriod(PhantomData S>); + impl sealed::Sealed for SetPeriod {} + impl State for SetPeriod { + type CreatedAt = S::CreatedAt; + type StartDate = S::StartDate; + type Metric = S::Metric; + type Period = Set; type TargetValue = S::TargetValue; } ///State transition - sets the `target_value` field to Set pub struct SetTargetValue(PhantomData S>); impl sealed::Sealed for SetTargetValue {} impl State for SetTargetValue { - type Period = S::Period; - type StartDate = S::StartDate; type CreatedAt = S::CreatedAt; + type StartDate = S::StartDate; type Metric = S::Metric; + type Period = S::Period; type TargetValue = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `period` field - pub struct period(()); - ///Marker type for the `start_date` field - pub struct start_date(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `start_date` field + pub struct start_date(()); ///Marker type for the `metric` field pub struct metric(()); + ///Marker type for the `period` field + pub struct period(()); ///Marker type for the `target_value` field pub struct target_value(()); } @@ -271,10 +271,10 @@ where impl<'a, S> GoalBuilder<'a, S> where S: goal_state::State, - S::Period: goal_state::IsSet, - S::StartDate: goal_state::IsSet, S::CreatedAt: goal_state::IsSet, + S::StartDate: goal_state::IsSet, S::Metric: goal_state::IsSet, + S::Period: goal_state::IsSet, S::TargetValue: goal_state::IsSet, { /// Build the final struct @@ -293,7 +293,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Goal<'a> { @@ -625,7 +625,7 @@ fn lexicon_doc_app_fitsky_goal() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -637,11 +637,11 @@ fn lexicon_doc_app_fitsky_goal() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("metric"), - ::jacquard_common::smol_str::SmolStr::new_static("targetValue"), - ::jacquard_common::smol_str::SmolStr::new_static("period"), - ::jacquard_common::smol_str::SmolStr::new_static("startDate"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("metric"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("targetValue"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("period"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("startDate"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -649,7 +649,7 @@ fn lexicon_doc_app_fitsky_goal() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -668,7 +668,9 @@ fn lexicon_doc_app_fitsky_goal() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("endDate"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "endDate", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -685,7 +687,9 @@ fn lexicon_doc_app_fitsky_goal() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("metric"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "metric", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -700,7 +704,9 @@ fn lexicon_doc_app_fitsky_goal() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("period"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "period", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -715,7 +721,7 @@ fn lexicon_doc_app_fitsky_goal() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "startDate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -734,7 +740,7 @@ fn lexicon_doc_app_fitsky_goal() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "targetValue", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { diff --git a/crates/jacquard-api/src/app_fitsky/profile.rs b/crates/jacquard-api/src/app_fitsky/profile.rs index 3a89214c2..95c829730 100644 --- a/crates/jacquard-api/src/app_fitsky/profile.rs +++ b/crates/jacquard-api/src/app_fitsky/profile.rs @@ -246,7 +246,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Profile<'a> { @@ -441,7 +441,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Profile<'a> { } if let Some(ref value) = self.bio { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -504,7 +504,7 @@ fn lexicon_doc_app_fitsky_profile() -> ::jacquard_lexicon::lexicon::LexiconDoc<' defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -520,7 +520,9 @@ fn lexicon_doc_app_fitsky_profile() -> ::jacquard_lexicon::lexicon::LexiconDoc<' #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("banner"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "banner", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -528,7 +530,9 @@ fn lexicon_doc_app_fitsky_profile() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("bio"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "bio", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -547,7 +551,7 @@ fn lexicon_doc_app_fitsky_profile() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -566,7 +570,7 @@ fn lexicon_doc_app_fitsky_profile() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dateOfBirth", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -589,7 +593,7 @@ fn lexicon_doc_app_fitsky_profile() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "heightCm", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -602,7 +606,7 @@ fn lexicon_doc_app_fitsky_profile() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publicProfile", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -612,7 +616,7 @@ fn lexicon_doc_app_fitsky_profile() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "unitSystem", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -633,7 +637,7 @@ fn lexicon_doc_app_fitsky_profile() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "weightGrams", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { diff --git a/crates/jacquard-api/src/app_fitsky/trend.rs b/crates/jacquard-api/src/app_fitsky/trend.rs index e95facf44..96e89a520 100644 --- a/crates/jacquard-api/src/app_fitsky/trend.rs +++ b/crates/jacquard-api/src/app_fitsky/trend.rs @@ -32,37 +32,37 @@ pub mod data_point_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Value; type Date; + type Value; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Value = Unset; type Date = Unset; - } - ///State transition - sets the `value` field to Set - pub struct SetValue(PhantomData S>); - impl sealed::Sealed for SetValue {} - impl State for SetValue { - type Value = Set; - type Date = S::Date; + type Value = Unset; } ///State transition - sets the `date` field to Set pub struct SetDate(PhantomData S>); impl sealed::Sealed for SetDate {} impl State for SetDate { - type Value = S::Value; type Date = Set; + type Value = S::Value; + } + ///State transition - sets the `value` field to Set + pub struct SetValue(PhantomData S>); + impl sealed::Sealed for SetValue {} + impl State for SetValue { + type Date = S::Date; + type Value = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `value` field - pub struct value(()); ///Marker type for the `date` field pub struct date(()); + ///Marker type for the `value` field + pub struct value(()); } } @@ -135,8 +135,8 @@ where impl<'a, S> DataPointBuilder<'a, S> where S: data_point_state::State, - S::Value: data_point_state::IsSet, S::Date: data_point_state::IsSet, + S::Value: data_point_state::IsSet, { /// Build the final struct pub fn build(self) -> DataPoint<'a> { @@ -150,7 +150,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> DataPoint<'a> { @@ -171,13 +171,13 @@ fn lexicon_doc_app_fitsky_trend() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("dataPoint"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("dataPoint"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("date"), - ::jacquard_common::smol_str::SmolStr::new_static("value") + ::jacquard_common::deps::smol_str::SmolStr::new_static("date"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("value") ], ), nullable: None, @@ -185,7 +185,9 @@ fn lexicon_doc_app_fitsky_trend() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("date"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "date", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -202,7 +204,9 @@ fn lexicon_doc_app_fitsky_trend() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("value"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "value", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -217,7 +221,7 @@ fn lexicon_doc_app_fitsky_trend() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -229,11 +233,11 @@ fn lexicon_doc_app_fitsky_trend() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("widgetType"), - ::jacquard_common::smol_str::SmolStr::new_static("metric"), - ::jacquard_common::smol_str::SmolStr::new_static("period"), - ::jacquard_common::smol_str::SmolStr::new_static("summary"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("widgetType"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("metric"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("period"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("summary"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -241,7 +245,9 @@ fn lexicon_doc_app_fitsky_trend() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("caption"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "caption", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -256,7 +262,7 @@ fn lexicon_doc_app_fitsky_trend() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "chartStyle", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -273,7 +279,7 @@ fn lexicon_doc_app_fitsky_trend() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -292,7 +298,7 @@ fn lexicon_doc_app_fitsky_trend() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dataPoints", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -306,7 +312,9 @@ fn lexicon_doc_app_fitsky_trend() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -314,7 +322,9 @@ fn lexicon_doc_app_fitsky_trend() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("metric"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "metric", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -329,7 +339,9 @@ fn lexicon_doc_app_fitsky_trend() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("period"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "period", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -344,7 +356,9 @@ fn lexicon_doc_app_fitsky_trend() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("summary"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "summary", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -353,7 +367,7 @@ fn lexicon_doc_app_fitsky_trend() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "widgetType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -375,7 +389,7 @@ fn lexicon_doc_app_fitsky_trend() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("trendSummary"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("trendSummary"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -384,7 +398,9 @@ fn lexicon_doc_app_fitsky_trend() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("average"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "average", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -395,7 +411,9 @@ fn lexicon_doc_app_fitsky_trend() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("best"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "best", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -406,7 +424,9 @@ fn lexicon_doc_app_fitsky_trend() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("count"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "count", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -417,7 +437,9 @@ fn lexicon_doc_app_fitsky_trend() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("total"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "total", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -428,7 +450,9 @@ fn lexicon_doc_app_fitsky_trend() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("worst"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "worst", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -510,83 +534,83 @@ pub mod trend_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Summary; type Period; - type Metric; + type Summary; type WidgetType; + type Metric; type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Summary = Unset; type Period = Unset; - type Metric = Unset; + type Summary = Unset; type WidgetType = Unset; + type Metric = Unset; type CreatedAt = Unset; } - ///State transition - sets the `summary` field to Set - pub struct SetSummary(PhantomData S>); - impl sealed::Sealed for SetSummary {} - impl State for SetSummary { - type Summary = Set; - type Period = S::Period; - type Metric = S::Metric; - type WidgetType = S::WidgetType; - type CreatedAt = S::CreatedAt; - } ///State transition - sets the `period` field to Set pub struct SetPeriod(PhantomData S>); impl sealed::Sealed for SetPeriod {} impl State for SetPeriod { - type Summary = S::Summary; type Period = Set; - type Metric = S::Metric; + type Summary = S::Summary; type WidgetType = S::WidgetType; + type Metric = S::Metric; type CreatedAt = S::CreatedAt; } - ///State transition - sets the `metric` field to Set - pub struct SetMetric(PhantomData S>); - impl sealed::Sealed for SetMetric {} - impl State for SetMetric { - type Summary = S::Summary; + ///State transition - sets the `summary` field to Set + pub struct SetSummary(PhantomData S>); + impl sealed::Sealed for SetSummary {} + impl State for SetSummary { type Period = S::Period; - type Metric = Set; + type Summary = Set; type WidgetType = S::WidgetType; + type Metric = S::Metric; type CreatedAt = S::CreatedAt; } ///State transition - sets the `widget_type` field to Set pub struct SetWidgetType(PhantomData S>); impl sealed::Sealed for SetWidgetType {} impl State for SetWidgetType { - type Summary = S::Summary; type Period = S::Period; - type Metric = S::Metric; + type Summary = S::Summary; type WidgetType = Set; + type Metric = S::Metric; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `metric` field to Set + pub struct SetMetric(PhantomData S>); + impl sealed::Sealed for SetMetric {} + impl State for SetMetric { + type Period = S::Period; + type Summary = S::Summary; + type WidgetType = S::WidgetType; + type Metric = Set; type CreatedAt = S::CreatedAt; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Summary = S::Summary; type Period = S::Period; - type Metric = S::Metric; + type Summary = S::Summary; type WidgetType = S::WidgetType; + type Metric = S::Metric; type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `summary` field - pub struct summary(()); ///Marker type for the `period` field pub struct period(()); - ///Marker type for the `metric` field - pub struct metric(()); + ///Marker type for the `summary` field + pub struct summary(()); ///Marker type for the `widget_type` field pub struct widget_type(()); + ///Marker type for the `metric` field + pub struct metric(()); ///Marker type for the `created_at` field pub struct created_at(()); } @@ -802,10 +826,10 @@ where impl<'a, S> TrendBuilder<'a, S> where S: trend_state::State, - S::Summary: trend_state::IsSet, S::Period: trend_state::IsSet, - S::Metric: trend_state::IsSet, + S::Summary: trend_state::IsSet, S::WidgetType: trend_state::IsSet, + S::Metric: trend_state::IsSet, S::CreatedAt: trend_state::IsSet, { /// Build the final struct @@ -827,7 +851,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Trend<'a> { diff --git a/crates/jacquard-api/src/app_fitsky/workout.rs b/crates/jacquard-api/src/app_fitsky/workout.rs index c70b96ae0..ef4850018 100644 --- a/crates/jacquard-api/src/app_fitsky/workout.rs +++ b/crates/jacquard-api/src/app_fitsky/workout.rs @@ -61,7 +61,7 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cardioDetails"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cardioDetails"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -70,7 +70,9 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("calories"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "calories", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -81,7 +83,7 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "cardioZones", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -92,7 +94,7 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "distanceMeters", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -105,7 +107,7 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "elevationGainMeters", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -118,7 +120,7 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "heartRate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -129,7 +131,7 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "heartRateSamples", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -145,7 +147,7 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "paceSecondsPerKm", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -158,7 +160,7 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "routePoints", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -176,7 +178,9 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("steps"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "steps", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -191,7 +195,7 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cardioZoneData"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cardioZoneData"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -204,7 +208,7 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "zone1Rest", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -217,7 +221,7 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "zone2Easy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -230,7 +234,7 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "zone3Aerobic", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -243,7 +247,7 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "zone4Threshold", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -256,7 +260,9 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("zone5Max"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "zone5Max", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -271,13 +277,13 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("exercise"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("exercise"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("sets") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("sets") ], ), nullable: None, @@ -285,7 +291,9 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -300,7 +308,9 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sets"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sets", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -316,7 +326,7 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("exerciseSet"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("exerciseSet"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -325,7 +335,9 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reps"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reps", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -336,7 +348,7 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "weightGrams", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -353,7 +365,9 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("flexibilityDetails"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "flexibilityDetails", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -362,7 +376,9 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("calories"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "calories", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -373,7 +389,7 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "cardioZones", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -384,7 +400,7 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "heartRate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -395,7 +411,7 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "heartRateSamples", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -411,7 +427,7 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "intensity", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -428,7 +444,7 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "movements", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -441,7 +457,9 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("steps"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "steps", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -456,7 +474,7 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("heartRateData"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("heartRateData"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -465,7 +483,9 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("avg"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "avg", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -476,7 +496,9 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("max"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "max", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -487,7 +509,9 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("min"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "min", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -498,7 +522,9 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("resting"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "resting", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -513,13 +539,15 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("heartRateSample"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "heartRateSample", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("timestamp"), - ::jacquard_common::smol_str::SmolStr::new_static("bpm") + ::jacquard_common::deps::smol_str::SmolStr::new_static("timestamp"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("bpm") ], ), nullable: None, @@ -527,7 +555,9 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("bpm"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "bpm", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -538,7 +568,7 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "timestamp", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -561,7 +591,9 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hiitSportsDetails"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "hiitSportsDetails", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -570,7 +602,9 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("calories"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "calories", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -581,7 +615,7 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "cardioZones", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -592,7 +626,7 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "distanceMeters", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -605,7 +639,7 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "heartRate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -616,7 +650,7 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "heartRateSamples", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -632,7 +666,7 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "intensity", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -649,7 +683,7 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "paceSecondsPerKm", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -662,7 +696,9 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rounds"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "rounds", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -673,7 +709,7 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "routePoints", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -691,7 +727,9 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sport"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sport", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -706,7 +744,9 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("steps"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "steps", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -721,7 +761,7 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static("A fitness workout record"), @@ -731,11 +771,11 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("type"), - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("startedAt"), - ::jacquard_common::smol_str::SmolStr::new_static("duration"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("startedAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("duration"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -743,7 +783,7 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -762,7 +802,9 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("details"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "details", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -775,7 +817,7 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "duration", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -788,7 +830,9 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("endedAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "endedAt", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -805,7 +849,7 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "milestones", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -823,7 +867,9 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("notes"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "notes", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -838,7 +884,9 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("ogImage"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "ogImage", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -846,7 +894,9 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("planUri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "planUri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -867,7 +917,7 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "startedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -886,7 +936,9 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("status"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "status", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -905,7 +957,9 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -920,7 +974,9 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "type", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -935,7 +991,7 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "visibility", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -951,13 +1007,13 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("milestone"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("milestone"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("type"), - ::jacquard_common::smol_str::SmolStr::new_static("timestamp") + ::jacquard_common::deps::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("timestamp") ], ), nullable: None, @@ -965,7 +1021,9 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("note"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "note", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -980,7 +1038,7 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "timestamp", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -999,7 +1057,9 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "type", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -1014,7 +1074,7 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "valueMeters", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1031,14 +1091,14 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("routePoint"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("routePoint"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("latE6"), - ::jacquard_common::smol_str::SmolStr::new_static("lngE6"), - ::jacquard_common::smol_str::SmolStr::new_static("timestamp") + ::jacquard_common::deps::smol_str::SmolStr::new_static("latE6"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("lngE6"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("timestamp") ], ), nullable: None, @@ -1046,7 +1106,9 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("latE6"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "latE6", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -1057,7 +1119,9 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("lngE6"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "lngE6", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -1068,7 +1132,7 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "timestamp", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1091,7 +1155,9 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("strengthDetails"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "strengthDetails", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -1100,7 +1166,9 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("calories"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "calories", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -1111,7 +1179,7 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "cardioZones", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -1122,7 +1190,7 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "exercises", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -1136,7 +1204,7 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "heartRate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -1147,7 +1215,7 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "heartRateSamples", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -1163,7 +1231,9 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("steps"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "steps", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -1178,7 +1248,9 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("visibilitySettings"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "visibilitySettings", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -1191,7 +1263,9 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("calories"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "calories", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -1206,7 +1280,7 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "cardioZones", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1223,7 +1297,9 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("details"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "details", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -1238,7 +1314,7 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "heartRate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1255,7 +1331,9 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("notes"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "notes", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -1270,7 +1348,9 @@ fn lexicon_doc_app_fitsky_workout() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("steps"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "steps", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -1414,37 +1494,37 @@ pub mod exercise_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Name; type Sets; + type Name; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Name = Unset; type Sets = Unset; - } - ///State transition - sets the `name` field to Set - pub struct SetName(PhantomData S>); - impl sealed::Sealed for SetName {} - impl State for SetName { - type Name = Set; - type Sets = S::Sets; + type Name = Unset; } ///State transition - sets the `sets` field to Set pub struct SetSets(PhantomData S>); impl sealed::Sealed for SetSets {} impl State for SetSets { - type Name = S::Name; type Sets = Set; + type Name = S::Name; + } + ///State transition - sets the `name` field to Set + pub struct SetName(PhantomData S>); + impl sealed::Sealed for SetName {} + impl State for SetName { + type Sets = S::Sets; + type Name = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `name` field - pub struct name(()); ///Marker type for the `sets` field pub struct sets(()); + ///Marker type for the `name` field + pub struct name(()); } } @@ -1517,8 +1597,8 @@ where impl<'a, S> ExerciseBuilder<'a, S> where S: exercise_state::State, - S::Name: exercise_state::IsSet, S::Sets: exercise_state::IsSet, + S::Name: exercise_state::IsSet, { /// Build the final struct pub fn build(self) -> Exercise<'a> { @@ -1532,7 +1612,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Exercise<'a> { @@ -1851,37 +1931,37 @@ pub mod heart_rate_sample_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Bpm; type Timestamp; + type Bpm; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Bpm = Unset; type Timestamp = Unset; - } - ///State transition - sets the `bpm` field to Set - pub struct SetBpm(PhantomData S>); - impl sealed::Sealed for SetBpm {} - impl State for SetBpm { - type Bpm = Set; - type Timestamp = S::Timestamp; + type Bpm = Unset; } ///State transition - sets the `timestamp` field to Set pub struct SetTimestamp(PhantomData S>); impl sealed::Sealed for SetTimestamp {} impl State for SetTimestamp { - type Bpm = S::Bpm; type Timestamp = Set; + type Bpm = S::Bpm; + } + ///State transition - sets the `bpm` field to Set + pub struct SetBpm(PhantomData S>); + impl sealed::Sealed for SetBpm {} + impl State for SetBpm { + type Timestamp = S::Timestamp; + type Bpm = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `bpm` field - pub struct bpm(()); ///Marker type for the `timestamp` field pub struct timestamp(()); + ///Marker type for the `bpm` field + pub struct bpm(()); } } @@ -1954,8 +2034,8 @@ where impl<'a, S> HeartRateSampleBuilder<'a, S> where S: heart_rate_sample_state::State, - S::Bpm: heart_rate_sample_state::IsSet, S::Timestamp: heart_rate_sample_state::IsSet, + S::Bpm: heart_rate_sample_state::IsSet, { /// Build the final struct pub fn build(self) -> HeartRateSample<'a> { @@ -1969,7 +2049,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> HeartRateSample<'a> { @@ -2271,84 +2351,84 @@ pub mod workout_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Title; - type Type; - type Duration; type CreatedAt; + type Type; type StartedAt; + type Duration; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Title = Unset; - type Type = Unset; - type Duration = Unset; type CreatedAt = Unset; + type Type = Unset; type StartedAt = Unset; + type Duration = Unset; } ///State transition - sets the `title` field to Set pub struct SetTitle(PhantomData S>); impl sealed::Sealed for SetTitle {} impl State for SetTitle { type Title = Set; - type Type = S::Type; - type Duration = S::Duration; type CreatedAt = S::CreatedAt; - type StartedAt = S::StartedAt; - } - ///State transition - sets the `type` field to Set - pub struct SetType(PhantomData S>); - impl sealed::Sealed for SetType {} - impl State for SetType { - type Title = S::Title; - type Type = Set; - type Duration = S::Duration; - type CreatedAt = S::CreatedAt; - type StartedAt = S::StartedAt; - } - ///State transition - sets the `duration` field to Set - pub struct SetDuration(PhantomData S>); - impl sealed::Sealed for SetDuration {} - impl State for SetDuration { - type Title = S::Title; type Type = S::Type; - type Duration = Set; - type CreatedAt = S::CreatedAt; type StartedAt = S::StartedAt; + type Duration = S::Duration; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { type Title = S::Title; + type CreatedAt = Set; type Type = S::Type; + type StartedAt = S::StartedAt; type Duration = S::Duration; - type CreatedAt = Set; + } + ///State transition - sets the `type` field to Set + pub struct SetType(PhantomData S>); + impl sealed::Sealed for SetType {} + impl State for SetType { + type Title = S::Title; + type CreatedAt = S::CreatedAt; + type Type = Set; type StartedAt = S::StartedAt; + type Duration = S::Duration; } ///State transition - sets the `started_at` field to Set pub struct SetStartedAt(PhantomData S>); impl sealed::Sealed for SetStartedAt {} impl State for SetStartedAt { type Title = S::Title; + type CreatedAt = S::CreatedAt; type Type = S::Type; + type StartedAt = Set; type Duration = S::Duration; + } + ///State transition - sets the `duration` field to Set + pub struct SetDuration(PhantomData S>); + impl sealed::Sealed for SetDuration {} + impl State for SetDuration { + type Title = S::Title; type CreatedAt = S::CreatedAt; - type StartedAt = Set; + type Type = S::Type; + type StartedAt = S::StartedAt; + type Duration = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `title` field pub struct title(()); - ///Marker type for the `type` field - pub struct r#type(()); - ///Marker type for the `duration` field - pub struct duration(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `type` field + pub struct r#type(()); ///Marker type for the `started_at` field pub struct started_at(()); + ///Marker type for the `duration` field + pub struct duration(()); } } @@ -2641,10 +2721,10 @@ impl<'a, S> WorkoutBuilder<'a, S> where S: workout_state::State, S::Title: workout_state::IsSet, - S::Type: workout_state::IsSet, - S::Duration: workout_state::IsSet, S::CreatedAt: workout_state::IsSet, + S::Type: workout_state::IsSet, S::StartedAt: workout_state::IsSet, + S::Duration: workout_state::IsSet, { /// Build the final struct pub fn build(self) -> Workout<'a> { @@ -2669,7 +2749,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Workout<'a> { @@ -3110,37 +3190,37 @@ pub mod milestone_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Type; type Timestamp; + type Type; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Type = Unset; type Timestamp = Unset; - } - ///State transition - sets the `type` field to Set - pub struct SetType(PhantomData S>); - impl sealed::Sealed for SetType {} - impl State for SetType { - type Type = Set; - type Timestamp = S::Timestamp; + type Type = Unset; } ///State transition - sets the `timestamp` field to Set pub struct SetTimestamp(PhantomData S>); impl sealed::Sealed for SetTimestamp {} impl State for SetTimestamp { - type Type = S::Type; type Timestamp = Set; + type Type = S::Type; + } + ///State transition - sets the `type` field to Set + pub struct SetType(PhantomData S>); + impl sealed::Sealed for SetType {} + impl State for SetType { + type Timestamp = S::Timestamp; + type Type = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `type` field - pub struct r#type(()); ///Marker type for the `timestamp` field pub struct timestamp(()); + ///Marker type for the `type` field + pub struct r#type(()); } } @@ -3244,8 +3324,8 @@ impl<'a, S: milestone_state::State> MilestoneBuilder<'a, S> { impl<'a, S> MilestoneBuilder<'a, S> where S: milestone_state::State, - S::Type: milestone_state::IsSet, S::Timestamp: milestone_state::IsSet, + S::Type: milestone_state::IsSet, { /// Build the final struct pub fn build(self) -> Milestone<'a> { @@ -3261,7 +3341,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Milestone<'a> { @@ -3604,7 +3684,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> RoutePoint<'a> { diff --git a/crates/jacquard-api/src/app_fitsky/workout_plan.rs b/crates/jacquard-api/src/app_fitsky/workout_plan.rs index c171aad79..3f941e272 100644 --- a/crates/jacquard-api/src/app_fitsky/workout_plan.rs +++ b/crates/jacquard-api/src/app_fitsky/workout_plan.rs @@ -42,8 +42,8 @@ pub mod workout_plan_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type CreatedAt; - type Type; type Exercises; + type Type; type Name; } /// Empty state - all required fields are unset @@ -51,8 +51,8 @@ pub mod workout_plan_state { impl sealed::Sealed for Empty {} impl State for Empty { type CreatedAt = Unset; - type Type = Unset; type Exercises = Unset; + type Type = Unset; type Name = Unset; } ///State transition - sets the `created_at` field to Set @@ -60,17 +60,8 @@ pub mod workout_plan_state { impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { type CreatedAt = Set; - type Type = S::Type; - type Exercises = S::Exercises; - type Name = S::Name; - } - ///State transition - sets the `type` field to Set - pub struct SetType(PhantomData S>); - impl sealed::Sealed for SetType {} - impl State for SetType { - type CreatedAt = S::CreatedAt; - type Type = Set; type Exercises = S::Exercises; + type Type = S::Type; type Name = S::Name; } ///State transition - sets the `exercises` field to Set @@ -78,8 +69,17 @@ pub mod workout_plan_state { impl sealed::Sealed for SetExercises {} impl State for SetExercises { type CreatedAt = S::CreatedAt; - type Type = S::Type; type Exercises = Set; + type Type = S::Type; + type Name = S::Name; + } + ///State transition - sets the `type` field to Set + pub struct SetType(PhantomData S>); + impl sealed::Sealed for SetType {} + impl State for SetType { + type CreatedAt = S::CreatedAt; + type Exercises = S::Exercises; + type Type = Set; type Name = S::Name; } ///State transition - sets the `name` field to Set @@ -87,8 +87,8 @@ pub mod workout_plan_state { impl sealed::Sealed for SetName {} impl State for SetName { type CreatedAt = S::CreatedAt; - type Type = S::Type; type Exercises = S::Exercises; + type Type = S::Type; type Name = Set; } /// Marker types for field names @@ -96,10 +96,10 @@ pub mod workout_plan_state { pub mod members { ///Marker type for the `created_at` field pub struct created_at(()); - ///Marker type for the `type` field - pub struct r#type(()); ///Marker type for the `exercises` field pub struct exercises(()); + ///Marker type for the `type` field + pub struct r#type(()); ///Marker type for the `name` field pub struct name(()); } @@ -235,8 +235,8 @@ impl<'a, S> WorkoutPlanBuilder<'a, S> where S: workout_plan_state::State, S::CreatedAt: workout_plan_state::IsSet, - S::Type: workout_plan_state::IsSet, S::Exercises: workout_plan_state::IsSet, + S::Type: workout_plan_state::IsSet, S::Name: workout_plan_state::IsSet, { /// Build the final struct @@ -254,7 +254,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> WorkoutPlan<'a> { @@ -482,7 +482,7 @@ fn lexicon_doc_app_fitsky_workoutPlan() -> ::jacquard_lexicon::lexicon::LexiconD defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -494,10 +494,10 @@ fn lexicon_doc_app_fitsky_workoutPlan() -> ::jacquard_lexicon::lexicon::LexiconD description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("type"), - ::jacquard_common::smol_str::SmolStr::new_static("exercises"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("exercises"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -505,7 +505,7 @@ fn lexicon_doc_app_fitsky_workoutPlan() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -524,7 +524,7 @@ fn lexicon_doc_app_fitsky_workoutPlan() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "exercises", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -540,7 +540,9 @@ fn lexicon_doc_app_fitsky_workoutPlan() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -555,7 +557,9 @@ fn lexicon_doc_app_fitsky_workoutPlan() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("ogImage"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "ogImage", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -563,7 +567,9 @@ fn lexicon_doc_app_fitsky_workoutPlan() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "type", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -583,14 +589,14 @@ fn lexicon_doc_app_fitsky_workoutPlan() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("planExercise"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("planExercise"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("targetSets"), - ::jacquard_common::smol_str::SmolStr::new_static("targetReps") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("targetSets"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("targetReps") ], ), nullable: None, @@ -598,7 +604,9 @@ fn lexicon_doc_app_fitsky_workoutPlan() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -613,7 +621,9 @@ fn lexicon_doc_app_fitsky_workoutPlan() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("notes"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "notes", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -628,7 +638,7 @@ fn lexicon_doc_app_fitsky_workoutPlan() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "targetReps", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -641,7 +651,7 @@ fn lexicon_doc_app_fitsky_workoutPlan() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "targetSets", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -693,49 +703,49 @@ pub mod plan_exercise_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type TargetSets; type TargetReps; + type TargetSets; type Name; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type TargetSets = Unset; type TargetReps = Unset; + type TargetSets = Unset; type Name = Unset; } - ///State transition - sets the `target_sets` field to Set - pub struct SetTargetSets(PhantomData S>); - impl sealed::Sealed for SetTargetSets {} - impl State for SetTargetSets { - type TargetSets = Set; - type TargetReps = S::TargetReps; - type Name = S::Name; - } ///State transition - sets the `target_reps` field to Set pub struct SetTargetReps(PhantomData S>); impl sealed::Sealed for SetTargetReps {} impl State for SetTargetReps { - type TargetSets = S::TargetSets; type TargetReps = Set; + type TargetSets = S::TargetSets; + type Name = S::Name; + } + ///State transition - sets the `target_sets` field to Set + pub struct SetTargetSets(PhantomData S>); + impl sealed::Sealed for SetTargetSets {} + impl State for SetTargetSets { + type TargetReps = S::TargetReps; + type TargetSets = Set; type Name = S::Name; } ///State transition - sets the `name` field to Set pub struct SetName(PhantomData S>); impl sealed::Sealed for SetName {} impl State for SetName { - type TargetSets = S::TargetSets; type TargetReps = S::TargetReps; + type TargetSets = S::TargetSets; type Name = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `target_sets` field - pub struct target_sets(()); ///Marker type for the `target_reps` field pub struct target_reps(()); + ///Marker type for the `target_sets` field + pub struct target_sets(()); ///Marker type for the `name` field pub struct name(()); } @@ -847,8 +857,8 @@ where impl<'a, S> PlanExerciseBuilder<'a, S> where S: plan_exercise_state::State, - S::TargetSets: plan_exercise_state::IsSet, S::TargetReps: plan_exercise_state::IsSet, + S::TargetSets: plan_exercise_state::IsSet, S::Name: plan_exercise_state::IsSet, { /// Build the final struct @@ -865,7 +875,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> PlanExercise<'a> { diff --git a/crates/jacquard-api/src/app_gainforest/dwc.rs b/crates/jacquard-api/src/app_gainforest/dwc.rs index d7bd0e68f..407c41b9c 100644 --- a/crates/jacquard-api/src/app_gainforest/dwc.rs +++ b/crates/jacquard-api/src/app_gainforest/dwc.rs @@ -272,7 +272,9 @@ fn lexicon_doc_app_gainforest_dwc_defs() -> ::jacquard_lexicon::lexicon::Lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("basisOfRecordEnum"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "basisOfRecordEnum", + ), ::jacquard_lexicon::lexicon::LexUserType::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -291,7 +293,9 @@ fn lexicon_doc_app_gainforest_dwc_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("dublinCoreTypeEnum"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "dublinCoreTypeEnum", + ), ::jacquard_lexicon::lexicon::LexUserType::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -310,7 +314,7 @@ fn lexicon_doc_app_gainforest_dwc_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("geolocation"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("geolocation"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -319,8 +323,8 @@ fn lexicon_doc_app_gainforest_dwc_defs() -> ::jacquard_lexicon::lexicon::Lexicon ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("decimalLatitude"), - ::jacquard_common::smol_str::SmolStr::new_static("decimalLongitude") + ::jacquard_common::deps::smol_str::SmolStr::new_static("decimalLatitude"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("decimalLongitude") ], ), nullable: None, @@ -328,7 +332,7 @@ fn lexicon_doc_app_gainforest_dwc_defs() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "coordinateUncertaintyInMeters", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -341,7 +345,7 @@ fn lexicon_doc_app_gainforest_dwc_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "decimalLatitude", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -362,7 +366,7 @@ fn lexicon_doc_app_gainforest_dwc_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "decimalLongitude", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -383,7 +387,7 @@ fn lexicon_doc_app_gainforest_dwc_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "geodeticDatum", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -408,7 +412,7 @@ fn lexicon_doc_app_gainforest_dwc_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "nomenclaturalCodeEnum", ), ::jacquard_lexicon::lexicon::LexUserType::String(::jacquard_lexicon::lexicon::LexString { @@ -429,7 +433,9 @@ fn lexicon_doc_app_gainforest_dwc_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("occurrenceStatusEnum"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "occurrenceStatusEnum", + ), ::jacquard_lexicon::lexicon::LexUserType::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -448,7 +454,7 @@ fn lexicon_doc_app_gainforest_dwc_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sexEnum"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("sexEnum"), ::jacquard_lexicon::lexicon::LexUserType::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -467,7 +473,9 @@ fn lexicon_doc_app_gainforest_dwc_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("taxonIdentification"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "taxonIdentification", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -476,7 +484,7 @@ fn lexicon_doc_app_gainforest_dwc_defs() -> ::jacquard_lexicon::lexicon::Lexicon ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("scientificName") + ::jacquard_common::deps::smol_str::SmolStr::new_static("scientificName") ], ), nullable: None, @@ -484,7 +492,7 @@ fn lexicon_doc_app_gainforest_dwc_defs() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dateIdentified", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -505,7 +513,7 @@ fn lexicon_doc_app_gainforest_dwc_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "gbifTaxonKey", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -526,7 +534,7 @@ fn lexicon_doc_app_gainforest_dwc_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "identificationQualifier", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -547,7 +555,7 @@ fn lexicon_doc_app_gainforest_dwc_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "identificationRemarks", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -568,7 +576,7 @@ fn lexicon_doc_app_gainforest_dwc_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "identifiedBy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -589,7 +597,7 @@ fn lexicon_doc_app_gainforest_dwc_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "identifiedByID", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -610,7 +618,7 @@ fn lexicon_doc_app_gainforest_dwc_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "scientificName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -635,7 +643,7 @@ fn lexicon_doc_app_gainforest_dwc_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("taxonRankEnum"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("taxonRankEnum"), ::jacquard_lexicon::lexicon::LexUserType::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -685,7 +693,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Geolocation<'a> { { let value = &self.decimal_latitude; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -704,7 +712,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Geolocation<'a> { { let value = &self.decimal_longitude; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -722,7 +730,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Geolocation<'a> { } if let Some(ref value) = self.geodetic_datum { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -1073,7 +1081,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for TaxonIdentification<'a> { ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { if let Some(ref value) = self.date_identified { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -1091,7 +1099,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for TaxonIdentification<'a> { } if let Some(ref value) = self.gbif_taxon_key { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -1109,7 +1117,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for TaxonIdentification<'a> { } if let Some(ref value) = self.identification_qualifier { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -1127,7 +1135,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for TaxonIdentification<'a> { } if let Some(ref value) = self.identification_remarks { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -1145,7 +1153,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for TaxonIdentification<'a> { } if let Some(ref value) = self.identified_by { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -1163,7 +1171,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for TaxonIdentification<'a> { } if let Some(ref value) = self.identified_by_id { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -1182,7 +1190,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for TaxonIdentification<'a> { { let value = &self.scientific_name; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) diff --git a/crates/jacquard-api/src/app_gainforest/dwc/event.rs b/crates/jacquard-api/src/app_gainforest/dwc/event.rs index bc0f02e35..b84fdf5d1 100644 --- a/crates/jacquard-api/src/app_gainforest/dwc/event.rs +++ b/crates/jacquard-api/src/app_gainforest/dwc/event.rs @@ -131,51 +131,51 @@ pub mod event_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type EventId; type CreatedAt; type EventDate; - type EventId; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type EventId = Unset; type CreatedAt = Unset; type EventDate = Unset; - type EventId = Unset; + } + ///State transition - sets the `event_id` field to Set + pub struct SetEventId(PhantomData S>); + impl sealed::Sealed for SetEventId {} + impl State for SetEventId { + type EventId = Set; + type CreatedAt = S::CreatedAt; + type EventDate = S::EventDate; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { + type EventId = S::EventId; type CreatedAt = Set; type EventDate = S::EventDate; - type EventId = S::EventId; } ///State transition - sets the `event_date` field to Set pub struct SetEventDate(PhantomData S>); impl sealed::Sealed for SetEventDate {} impl State for SetEventDate { - type CreatedAt = S::CreatedAt; - type EventDate = Set; type EventId = S::EventId; - } - ///State transition - sets the `event_id` field to Set - pub struct SetEventId(PhantomData S>); - impl sealed::Sealed for SetEventId {} - impl State for SetEventId { type CreatedAt = S::CreatedAt; - type EventDate = S::EventDate; - type EventId = Set; + type EventDate = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `event_id` field + pub struct event_id(()); ///Marker type for the `created_at` field pub struct created_at(()); ///Marker type for the `event_date` field pub struct event_date(()); - ///Marker type for the `event_id` field - pub struct event_id(()); } } @@ -749,9 +749,9 @@ impl<'a, S: event_state::State> EventBuilder<'a, S> { impl<'a, S> EventBuilder<'a, S> where S: event_state::State, + S::EventId: event_state::IsSet, S::CreatedAt: event_state::IsSet, S::EventDate: event_state::IsSet, - S::EventId: event_state::IsSet, { /// Build the final struct pub fn build(self) -> Event<'a> { @@ -790,7 +790,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Event<'a> { @@ -914,7 +914,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Event<'a> { } if let Some(ref value) = self.country { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -956,7 +956,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Event<'a> { } if let Some(ref value) = self.county { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -974,7 +974,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Event<'a> { } if let Some(ref value) = self.decimal_latitude { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -992,7 +992,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Event<'a> { } if let Some(ref value) = self.decimal_longitude { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -1011,7 +1011,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Event<'a> { { let value = &self.event_date; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -1030,7 +1030,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Event<'a> { { let value = &self.event_id; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -1048,7 +1048,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Event<'a> { } if let Some(ref value) = self.event_remarks { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -1066,7 +1066,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Event<'a> { } if let Some(ref value) = self.event_time { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -1084,7 +1084,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Event<'a> { } if let Some(ref value) = self.field_notes { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -1102,7 +1102,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Event<'a> { } if let Some(ref value) = self.geodetic_datum { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -1120,7 +1120,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Event<'a> { } if let Some(ref value) = self.habitat { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -1138,7 +1138,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Event<'a> { } if let Some(ref value) = self.locality { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -1156,7 +1156,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Event<'a> { } if let Some(ref value) = self.location_id { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -1174,7 +1174,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Event<'a> { } if let Some(ref value) = self.location_remarks { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -1192,7 +1192,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Event<'a> { } if let Some(ref value) = self.municipality { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -1210,7 +1210,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Event<'a> { } if let Some(ref value) = self.parent_event_id { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -1228,7 +1228,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Event<'a> { } if let Some(ref value) = self.sample_size_unit { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -1246,7 +1246,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Event<'a> { } if let Some(ref value) = self.sample_size_value { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -1264,7 +1264,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Event<'a> { } if let Some(ref value) = self.sampling_effort { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -1282,7 +1282,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Event<'a> { } if let Some(ref value) = self.sampling_protocol { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -1300,7 +1300,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Event<'a> { } if let Some(ref value) = self.state_province { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -1331,7 +1331,7 @@ fn lexicon_doc_app_gainforest_dwc_event() -> ::jacquard_lexicon::lexicon::Lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -1343,9 +1343,9 @@ fn lexicon_doc_app_gainforest_dwc_event() -> ::jacquard_lexicon::lexicon::Lexico description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("eventID"), - ::jacquard_common::smol_str::SmolStr::new_static("eventDate"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("eventID"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("eventDate"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -1353,7 +1353,7 @@ fn lexicon_doc_app_gainforest_dwc_event() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "coordinateUncertaintyInMeters", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1366,7 +1366,9 @@ fn lexicon_doc_app_gainforest_dwc_event() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("country"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "country", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1385,7 +1387,7 @@ fn lexicon_doc_app_gainforest_dwc_event() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "countryCode", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1406,7 +1408,9 @@ fn lexicon_doc_app_gainforest_dwc_event() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("county"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "county", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1425,7 +1429,7 @@ fn lexicon_doc_app_gainforest_dwc_event() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1448,7 +1452,7 @@ fn lexicon_doc_app_gainforest_dwc_event() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "decimalLatitude", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1469,7 +1473,7 @@ fn lexicon_doc_app_gainforest_dwc_event() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "decimalLongitude", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1490,7 +1494,7 @@ fn lexicon_doc_app_gainforest_dwc_event() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "eventDate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1511,7 +1515,9 @@ fn lexicon_doc_app_gainforest_dwc_event() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("eventID"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "eventID", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1530,7 +1536,7 @@ fn lexicon_doc_app_gainforest_dwc_event() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "eventRemarks", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1551,7 +1557,7 @@ fn lexicon_doc_app_gainforest_dwc_event() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "eventTime", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1572,7 +1578,7 @@ fn lexicon_doc_app_gainforest_dwc_event() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "fieldNotes", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1593,7 +1599,7 @@ fn lexicon_doc_app_gainforest_dwc_event() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "geodeticDatum", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1614,7 +1620,9 @@ fn lexicon_doc_app_gainforest_dwc_event() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("habitat"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "habitat", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1633,7 +1641,7 @@ fn lexicon_doc_app_gainforest_dwc_event() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "locality", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1654,7 +1662,7 @@ fn lexicon_doc_app_gainforest_dwc_event() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "locationID", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1675,7 +1683,7 @@ fn lexicon_doc_app_gainforest_dwc_event() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "locationRemarks", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1696,7 +1704,7 @@ fn lexicon_doc_app_gainforest_dwc_event() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "maximumElevationInMeters", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1709,7 +1717,7 @@ fn lexicon_doc_app_gainforest_dwc_event() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "minimumElevationInMeters", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1722,7 +1730,7 @@ fn lexicon_doc_app_gainforest_dwc_event() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "municipality", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1743,7 +1751,7 @@ fn lexicon_doc_app_gainforest_dwc_event() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "parentEventID", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1764,7 +1772,7 @@ fn lexicon_doc_app_gainforest_dwc_event() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "parentEventRef", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1787,7 +1795,7 @@ fn lexicon_doc_app_gainforest_dwc_event() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sampleSizeUnit", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1808,7 +1816,7 @@ fn lexicon_doc_app_gainforest_dwc_event() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sampleSizeValue", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1829,7 +1837,7 @@ fn lexicon_doc_app_gainforest_dwc_event() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "samplingEffort", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1850,7 +1858,7 @@ fn lexicon_doc_app_gainforest_dwc_event() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "samplingProtocol", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1871,7 +1879,7 @@ fn lexicon_doc_app_gainforest_dwc_event() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "stateProvince", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/app_gainforest/dwc/measurement.rs b/crates/jacquard-api/src/app_gainforest/dwc/measurement.rs index 8a247a9fc..3aa9a42cf 100644 --- a/crates/jacquard-api/src/app_gainforest/dwc/measurement.rs +++ b/crates/jacquard-api/src/app_gainforest/dwc/measurement.rs @@ -73,67 +73,67 @@ pub mod measurement_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; - type MeasurementValue; type OccurrenceRef; + type CreatedAt; type MeasurementType; + type MeasurementValue; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; - type MeasurementValue = Unset; type OccurrenceRef = Unset; + type CreatedAt = Unset; type MeasurementType = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type MeasurementValue = S::MeasurementValue; - type OccurrenceRef = S::OccurrenceRef; - type MeasurementType = S::MeasurementType; - } - ///State transition - sets the `measurement_value` field to Set - pub struct SetMeasurementValue(PhantomData S>); - impl sealed::Sealed for SetMeasurementValue {} - impl State for SetMeasurementValue { - type CreatedAt = S::CreatedAt; - type MeasurementValue = Set; - type OccurrenceRef = S::OccurrenceRef; - type MeasurementType = S::MeasurementType; + type MeasurementValue = Unset; } ///State transition - sets the `occurrence_ref` field to Set pub struct SetOccurrenceRef(PhantomData S>); impl sealed::Sealed for SetOccurrenceRef {} impl State for SetOccurrenceRef { + type OccurrenceRef = Set; type CreatedAt = S::CreatedAt; + type MeasurementType = S::MeasurementType; type MeasurementValue = S::MeasurementValue; - type OccurrenceRef = Set; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type OccurrenceRef = S::OccurrenceRef; + type CreatedAt = Set; type MeasurementType = S::MeasurementType; + type MeasurementValue = S::MeasurementValue; } ///State transition - sets the `measurement_type` field to Set pub struct SetMeasurementType(PhantomData S>); impl sealed::Sealed for SetMeasurementType {} impl State for SetMeasurementType { + type OccurrenceRef = S::OccurrenceRef; type CreatedAt = S::CreatedAt; + type MeasurementType = Set; type MeasurementValue = S::MeasurementValue; + } + ///State transition - sets the `measurement_value` field to Set + pub struct SetMeasurementValue(PhantomData S>); + impl sealed::Sealed for SetMeasurementValue {} + impl State for SetMeasurementValue { type OccurrenceRef = S::OccurrenceRef; - type MeasurementType = Set; + type CreatedAt = S::CreatedAt; + type MeasurementType = S::MeasurementType; + type MeasurementValue = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); - ///Marker type for the `measurement_value` field - pub struct measurement_value(()); ///Marker type for the `occurrence_ref` field pub struct occurrence_ref(()); + ///Marker type for the `created_at` field + pub struct created_at(()); ///Marker type for the `measurement_type` field pub struct measurement_type(()); + ///Marker type for the `measurement_value` field + pub struct measurement_value(()); } } @@ -419,10 +419,10 @@ where impl<'a, S> MeasurementBuilder<'a, S> where S: measurement_state::State, - S::CreatedAt: measurement_state::IsSet, - S::MeasurementValue: measurement_state::IsSet, S::OccurrenceRef: measurement_state::IsSet, + S::CreatedAt: measurement_state::IsSet, S::MeasurementType: measurement_state::IsSet, + S::MeasurementValue: measurement_state::IsSet, { /// Build the final struct pub fn build(self) -> Measurement<'a> { @@ -446,7 +446,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Measurement<'a> { @@ -544,7 +544,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Measurement<'a> { ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { if let Some(ref value) = self.measurement_accuracy { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -562,7 +562,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Measurement<'a> { } if let Some(ref value) = self.measurement_determined_by { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -580,7 +580,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Measurement<'a> { } if let Some(ref value) = self.measurement_determined_date { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -598,7 +598,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Measurement<'a> { } if let Some(ref value) = self.measurement_id { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -616,7 +616,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Measurement<'a> { } if let Some(ref value) = self.measurement_method { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -634,7 +634,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Measurement<'a> { } if let Some(ref value) = self.measurement_remarks { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -653,7 +653,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Measurement<'a> { { let value = &self.measurement_type; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -671,7 +671,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Measurement<'a> { } if let Some(ref value) = self.measurement_unit { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -690,7 +690,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Measurement<'a> { { let value = &self.measurement_value; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -708,7 +708,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Measurement<'a> { } if let Some(ref value) = self.occurrence_id { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -739,7 +739,7 @@ fn lexicon_doc_app_gainforest_dwc_measurement() -> ::jacquard_lexicon::lexicon:: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -751,10 +751,10 @@ fn lexicon_doc_app_gainforest_dwc_measurement() -> ::jacquard_lexicon::lexicon:: description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("occurrenceRef"), - ::jacquard_common::smol_str::SmolStr::new_static("measurementType"), - ::jacquard_common::smol_str::SmolStr::new_static("measurementValue"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("occurrenceRef"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("measurementType"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("measurementValue"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -762,7 +762,7 @@ fn lexicon_doc_app_gainforest_dwc_measurement() -> ::jacquard_lexicon::lexicon:: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -785,7 +785,7 @@ fn lexicon_doc_app_gainforest_dwc_measurement() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "measurementAccuracy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -806,7 +806,7 @@ fn lexicon_doc_app_gainforest_dwc_measurement() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "measurementDeterminedBy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -827,7 +827,7 @@ fn lexicon_doc_app_gainforest_dwc_measurement() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "measurementDeterminedDate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -848,7 +848,7 @@ fn lexicon_doc_app_gainforest_dwc_measurement() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "measurementID", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -869,7 +869,7 @@ fn lexicon_doc_app_gainforest_dwc_measurement() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "measurementMethod", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -890,7 +890,7 @@ fn lexicon_doc_app_gainforest_dwc_measurement() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "measurementRemarks", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -911,7 +911,7 @@ fn lexicon_doc_app_gainforest_dwc_measurement() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "measurementType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -932,7 +932,7 @@ fn lexicon_doc_app_gainforest_dwc_measurement() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "measurementUnit", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -953,7 +953,7 @@ fn lexicon_doc_app_gainforest_dwc_measurement() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "measurementValue", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -974,7 +974,7 @@ fn lexicon_doc_app_gainforest_dwc_measurement() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "occurrenceID", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -995,7 +995,7 @@ fn lexicon_doc_app_gainforest_dwc_measurement() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "occurrenceRef", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/app_gainforest/dwc/occurrence.rs b/crates/jacquard-api/src/app_gainforest/dwc/occurrence.rs index ae223aaac..0ed65dc88 100644 --- a/crates/jacquard-api/src/app_gainforest/dwc/occurrence.rs +++ b/crates/jacquard-api/src/app_gainforest/dwc/occurrence.rs @@ -337,67 +337,67 @@ pub mod occurrence_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type ScientificName; type BasisOfRecord; - type EventDate; type CreatedAt; + type ScientificName; + type EventDate; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type ScientificName = Unset; type BasisOfRecord = Unset; - type EventDate = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `scientific_name` field to Set - pub struct SetScientificName(PhantomData S>); - impl sealed::Sealed for SetScientificName {} - impl State for SetScientificName { - type ScientificName = Set; - type BasisOfRecord = S::BasisOfRecord; - type EventDate = S::EventDate; - type CreatedAt = S::CreatedAt; + type ScientificName = Unset; + type EventDate = Unset; } ///State transition - sets the `basis_of_record` field to Set pub struct SetBasisOfRecord(PhantomData S>); impl sealed::Sealed for SetBasisOfRecord {} impl State for SetBasisOfRecord { - type ScientificName = S::ScientificName; type BasisOfRecord = Set; - type EventDate = S::EventDate; type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `event_date` field to Set - pub struct SetEventDate(PhantomData S>); - impl sealed::Sealed for SetEventDate {} - impl State for SetEventDate { type ScientificName = S::ScientificName; - type BasisOfRecord = S::BasisOfRecord; - type EventDate = Set; - type CreatedAt = S::CreatedAt; + type EventDate = S::EventDate; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { + type BasisOfRecord = S::BasisOfRecord; + type CreatedAt = Set; type ScientificName = S::ScientificName; + type EventDate = S::EventDate; + } + ///State transition - sets the `scientific_name` field to Set + pub struct SetScientificName(PhantomData S>); + impl sealed::Sealed for SetScientificName {} + impl State for SetScientificName { type BasisOfRecord = S::BasisOfRecord; + type CreatedAt = S::CreatedAt; + type ScientificName = Set; type EventDate = S::EventDate; - type CreatedAt = Set; + } + ///State transition - sets the `event_date` field to Set + pub struct SetEventDate(PhantomData S>); + impl sealed::Sealed for SetEventDate {} + impl State for SetEventDate { + type BasisOfRecord = S::BasisOfRecord; + type CreatedAt = S::CreatedAt; + type ScientificName = S::ScientificName; + type EventDate = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `scientific_name` field - pub struct scientific_name(()); ///Marker type for the `basis_of_record` field pub struct basis_of_record(()); - ///Marker type for the `event_date` field - pub struct event_date(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `scientific_name` field + pub struct scientific_name(()); + ///Marker type for the `event_date` field + pub struct event_date(()); } } @@ -2009,10 +2009,10 @@ impl<'a, S: occurrence_state::State> OccurrenceBuilder<'a, S> { impl<'a, S> OccurrenceBuilder<'a, S> where S: occurrence_state::State, - S::ScientificName: occurrence_state::IsSet, S::BasisOfRecord: occurrence_state::IsSet, - S::EventDate: occurrence_state::IsSet, S::CreatedAt: occurrence_state::IsSet, + S::ScientificName: occurrence_state::IsSet, + S::EventDate: occurrence_state::IsSet, { /// Build the final struct pub fn build(self) -> Occurrence<'a> { @@ -2103,7 +2103,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Occurrence<'a> { @@ -2268,7 +2268,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Occurrence<'a> { ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { if let Some(ref value) = self.associated_media { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -2286,7 +2286,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Occurrence<'a> { } if let Some(ref value) = self.associated_occurrences { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -2304,7 +2304,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Occurrence<'a> { } if let Some(ref value) = self.associated_references { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -2322,7 +2322,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Occurrence<'a> { } if let Some(ref value) = self.associated_sequences { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -2341,7 +2341,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Occurrence<'a> { { let value = &self.basis_of_record; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -2359,7 +2359,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Occurrence<'a> { } if let Some(ref value) = self.behavior { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -2377,7 +2377,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Occurrence<'a> { } if let Some(ref value) = self.class { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -2395,7 +2395,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Occurrence<'a> { } if let Some(ref value) = self.collection_code { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -2424,7 +2424,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Occurrence<'a> { } if let Some(ref value) = self.country { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -2466,7 +2466,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Occurrence<'a> { } if let Some(ref value) = self.county { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -2484,7 +2484,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Occurrence<'a> { } if let Some(ref value) = self.data_generalizations { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -2502,7 +2502,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Occurrence<'a> { } if let Some(ref value) = self.dataset_name { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -2520,7 +2520,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Occurrence<'a> { } if let Some(ref value) = self.date_identified { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -2538,7 +2538,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Occurrence<'a> { } if let Some(ref value) = self.dc_type { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -2556,7 +2556,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Occurrence<'a> { } if let Some(ref value) = self.decimal_latitude { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -2574,7 +2574,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Occurrence<'a> { } if let Some(ref value) = self.decimal_longitude { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -2592,7 +2592,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Occurrence<'a> { } if let Some(ref value) = self.dynamic_properties { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -2611,7 +2611,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Occurrence<'a> { { let value = &self.event_date; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -2629,7 +2629,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Occurrence<'a> { } if let Some(ref value) = self.event_id { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -2647,7 +2647,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Occurrence<'a> { } if let Some(ref value) = self.event_time { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -2665,7 +2665,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Occurrence<'a> { } if let Some(ref value) = self.family { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -2683,7 +2683,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Occurrence<'a> { } if let Some(ref value) = self.field_notes { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -2701,7 +2701,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Occurrence<'a> { } if let Some(ref value) = self.gbif_taxon_key { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -2719,7 +2719,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Occurrence<'a> { } if let Some(ref value) = self.genus { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -2737,7 +2737,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Occurrence<'a> { } if let Some(ref value) = self.geodetic_datum { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -2755,7 +2755,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Occurrence<'a> { } if let Some(ref value) = self.habitat { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -2773,7 +2773,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Occurrence<'a> { } if let Some(ref value) = self.higher_classification { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -2791,7 +2791,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Occurrence<'a> { } if let Some(ref value) = self.identification_qualifier { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -2809,7 +2809,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Occurrence<'a> { } if let Some(ref value) = self.identification_remarks { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -2827,7 +2827,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Occurrence<'a> { } if let Some(ref value) = self.identified_by { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -2845,7 +2845,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Occurrence<'a> { } if let Some(ref value) = self.identified_by_id { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -2874,7 +2874,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Occurrence<'a> { } if let Some(ref value) = self.information_withheld { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -2892,7 +2892,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Occurrence<'a> { } if let Some(ref value) = self.infraspecific_epithet { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -2910,7 +2910,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Occurrence<'a> { } if let Some(ref value) = self.institution_code { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -2928,7 +2928,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Occurrence<'a> { } if let Some(ref value) = self.kingdom { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -2946,7 +2946,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Occurrence<'a> { } if let Some(ref value) = self.license { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -2964,7 +2964,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Occurrence<'a> { } if let Some(ref value) = self.life_stage { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -2982,7 +2982,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Occurrence<'a> { } if let Some(ref value) = self.locality { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -3000,7 +3000,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Occurrence<'a> { } if let Some(ref value) = self.location_id { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -3018,7 +3018,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Occurrence<'a> { } if let Some(ref value) = self.location_remarks { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -3058,7 +3058,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Occurrence<'a> { } if let Some(ref value) = self.municipality { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -3076,7 +3076,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Occurrence<'a> { } if let Some(ref value) = self.nomenclatural_code { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -3094,7 +3094,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Occurrence<'a> { } if let Some(ref value) = self.occurrence_id { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -3112,7 +3112,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Occurrence<'a> { } if let Some(ref value) = self.occurrence_remarks { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -3130,7 +3130,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Occurrence<'a> { } if let Some(ref value) = self.occurrence_status { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -3148,7 +3148,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Occurrence<'a> { } if let Some(ref value) = self.order { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -3166,7 +3166,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Occurrence<'a> { } if let Some(ref value) = self.organism_quantity { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -3184,7 +3184,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Occurrence<'a> { } if let Some(ref value) = self.organism_quantity_type { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -3202,7 +3202,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Occurrence<'a> { } if let Some(ref value) = self.phylum { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -3220,7 +3220,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Occurrence<'a> { } if let Some(ref value) = self.previous_identifications { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -3238,7 +3238,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Occurrence<'a> { } if let Some(ref value) = self.recorded_by { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -3256,7 +3256,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Occurrence<'a> { } if let Some(ref value) = self.recorded_by_id { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -3274,7 +3274,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Occurrence<'a> { } if let Some(ref value) = self.reproductive_condition { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -3292,7 +3292,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Occurrence<'a> { } if let Some(ref value) = self.rights_holder { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -3310,7 +3310,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Occurrence<'a> { } if let Some(ref value) = self.sampling_effort { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -3328,7 +3328,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Occurrence<'a> { } if let Some(ref value) = self.sampling_protocol { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -3347,7 +3347,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Occurrence<'a> { { let value = &self.scientific_name; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -3365,7 +3365,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Occurrence<'a> { } if let Some(ref value) = self.scientific_name_authorship { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -3383,7 +3383,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Occurrence<'a> { } if let Some(ref value) = self.sex { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -3401,7 +3401,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Occurrence<'a> { } if let Some(ref value) = self.specific_epithet { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -3419,7 +3419,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Occurrence<'a> { } if let Some(ref value) = self.state_province { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -3437,7 +3437,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Occurrence<'a> { } if let Some(ref value) = self.taxon_rank { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -3455,7 +3455,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Occurrence<'a> { } if let Some(ref value) = self.taxonomic_status { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -3473,7 +3473,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Occurrence<'a> { } if let Some(ref value) = self.verbatim_locality { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -3491,7 +3491,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Occurrence<'a> { } if let Some(ref value) = self.vernacular_name { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -3522,7 +3522,7 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -3534,10 +3534,10 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("basisOfRecord"), - ::jacquard_common::smol_str::SmolStr::new_static("scientificName"), - ::jacquard_common::smol_str::SmolStr::new_static("eventDate"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("basisOfRecord"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("scientificName"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("eventDate"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -3545,7 +3545,7 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "associatedMedia", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -3566,7 +3566,7 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "associatedOccurrences", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -3587,7 +3587,7 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "associatedReferences", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -3608,7 +3608,7 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "associatedSequences", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -3629,7 +3629,7 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "audioEvidence", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -3640,7 +3640,7 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "basisOfRecord", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -3661,7 +3661,7 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "behavior", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -3682,7 +3682,9 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("class"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "class", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -3701,7 +3703,7 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "collectionCode", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -3722,7 +3724,7 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "coordinateUncertaintyInMeters", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -3735,7 +3737,9 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("country"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "country", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -3754,7 +3758,7 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "countryCode", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -3775,7 +3779,9 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("county"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "county", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -3794,7 +3800,7 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -3817,7 +3823,7 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dataGeneralizations", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -3838,7 +3844,7 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "datasetName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -3859,7 +3865,7 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dateIdentified", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -3880,7 +3886,9 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("dcType"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "dcType", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -3899,7 +3907,7 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "decimalLatitude", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -3920,7 +3928,7 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "decimalLongitude", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -3941,7 +3949,7 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dynamicProperties", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -3962,7 +3970,7 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "eventDate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -3983,7 +3991,9 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("eventID"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "eventID", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -4002,7 +4012,7 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "eventRef", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -4025,7 +4035,7 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "eventTime", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -4046,7 +4056,9 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("family"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "family", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -4065,7 +4077,7 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "fieldNotes", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -4086,7 +4098,7 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "gbifTaxonKey", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -4107,7 +4119,9 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("genus"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "genus", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -4126,7 +4140,7 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "geodeticDatum", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -4147,7 +4161,9 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("habitat"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "habitat", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -4166,7 +4182,7 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "higherClassification", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -4187,7 +4203,7 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "identificationQualifier", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -4208,7 +4224,7 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "identificationRemarks", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -4229,7 +4245,7 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "identifiedBy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -4250,7 +4266,7 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "identifiedByID", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -4271,7 +4287,7 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "imageEvidence", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -4282,7 +4298,7 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "individualCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -4295,7 +4311,7 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "informationWithheld", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -4316,7 +4332,7 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "infraspecificEpithet", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -4337,7 +4353,7 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "institutionCode", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -4358,7 +4374,9 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("kingdom"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "kingdom", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -4377,7 +4395,9 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("license"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "license", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -4396,7 +4416,7 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "lifeStage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -4417,7 +4437,7 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "locality", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -4438,7 +4458,7 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "locationID", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -4459,7 +4479,7 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "locationRemarks", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -4480,7 +4500,7 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "maximumDepthInMeters", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -4493,7 +4513,7 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "maximumElevationInMeters", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -4506,7 +4526,7 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "minimumDepthInMeters", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -4519,7 +4539,7 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "minimumElevationInMeters", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -4532,7 +4552,7 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "municipality", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -4553,7 +4573,7 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "nomenclaturalCode", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -4574,7 +4594,7 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "occurrenceID", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -4595,7 +4615,7 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "occurrenceRemarks", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -4616,7 +4636,7 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "occurrenceStatus", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -4637,7 +4657,9 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("order"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "order", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -4656,7 +4678,7 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "organismQuantity", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -4677,7 +4699,7 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "organismQuantityType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -4698,7 +4720,9 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("phylum"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "phylum", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -4717,7 +4741,7 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "previousIdentifications", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -4738,7 +4762,7 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "recordedBy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -4759,7 +4783,7 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "recordedByID", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -4780,7 +4804,7 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "references", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -4803,7 +4827,7 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "reproductiveCondition", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -4824,7 +4848,7 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "rightsHolder", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -4845,7 +4869,7 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "samplingEffort", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -4866,7 +4890,7 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "samplingProtocol", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -4887,7 +4911,7 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "scientificName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -4908,7 +4932,7 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "scientificNameAuthorship", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -4929,7 +4953,9 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sex"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sex", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -4948,7 +4974,7 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "specificEpithet", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -4969,7 +4995,7 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "spectrogramEvidence", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -4980,7 +5006,7 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "stateProvince", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -5001,7 +5027,7 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "taxonRank", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -5022,7 +5048,7 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "taxonomicStatus", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -5043,7 +5069,7 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "verbatimLocality", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -5064,7 +5090,7 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "vernacularName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -5085,7 +5111,7 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "videoEvidence", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { diff --git a/crates/jacquard-api/src/app_gainforest/evaluator.rs b/crates/jacquard-api/src/app_gainforest/evaluator.rs index d132b2d5c..25bb7b51f 100644 --- a/crates/jacquard-api/src/app_gainforest/evaluator.rs +++ b/crates/jacquard-api/src/app_gainforest/evaluator.rs @@ -57,51 +57,51 @@ pub mod candidate_taxon_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type ScientificName; type Rank; type Confidence; + type ScientificName; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type ScientificName = Unset; type Rank = Unset; type Confidence = Unset; - } - ///State transition - sets the `scientific_name` field to Set - pub struct SetScientificName(PhantomData S>); - impl sealed::Sealed for SetScientificName {} - impl State for SetScientificName { - type ScientificName = Set; - type Rank = S::Rank; - type Confidence = S::Confidence; + type ScientificName = Unset; } ///State transition - sets the `rank` field to Set pub struct SetRank(PhantomData S>); impl sealed::Sealed for SetRank {} impl State for SetRank { - type ScientificName = S::ScientificName; type Rank = Set; type Confidence = S::Confidence; + type ScientificName = S::ScientificName; } ///State transition - sets the `confidence` field to Set pub struct SetConfidence(PhantomData S>); impl sealed::Sealed for SetConfidence {} impl State for SetConfidence { - type ScientificName = S::ScientificName; type Rank = S::Rank; type Confidence = Set; + type ScientificName = S::ScientificName; + } + ///State transition - sets the `scientific_name` field to Set + pub struct SetScientificName(PhantomData S>); + impl sealed::Sealed for SetScientificName {} + impl State for SetScientificName { + type Rank = S::Rank; + type Confidence = S::Confidence; + type ScientificName = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `scientific_name` field - pub struct scientific_name(()); ///Marker type for the `rank` field pub struct rank(()); ///Marker type for the `confidence` field pub struct confidence(()); + ///Marker type for the `scientific_name` field + pub struct scientific_name(()); } } @@ -265,9 +265,9 @@ where impl<'a, S> CandidateTaxonBuilder<'a, S> where S: candidate_taxon_state::State, - S::ScientificName: candidate_taxon_state::IsSet, S::Rank: candidate_taxon_state::IsSet, S::Confidence: candidate_taxon_state::IsSet, + S::ScientificName: candidate_taxon_state::IsSet, { /// Build the final struct pub fn build(self) -> CandidateTaxon<'a> { @@ -286,7 +286,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> CandidateTaxon<'a> { @@ -314,7 +314,7 @@ fn lexicon_doc_app_gainforest_evaluator_defs() -> ::jacquard_lexicon::lexicon::L defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("candidateTaxon"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("candidateTaxon"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -323,9 +323,9 @@ fn lexicon_doc_app_gainforest_evaluator_defs() -> ::jacquard_lexicon::lexicon::L ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("scientificName"), - ::jacquard_common::smol_str::SmolStr::new_static("confidence"), - ::jacquard_common::smol_str::SmolStr::new_static("rank") + ::jacquard_common::deps::smol_str::SmolStr::new_static("scientificName"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("confidence"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("rank") ], ), nullable: None, @@ -333,7 +333,7 @@ fn lexicon_doc_app_gainforest_evaluator_defs() -> ::jacquard_lexicon::lexicon::L #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "confidence", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -346,7 +346,9 @@ fn lexicon_doc_app_gainforest_evaluator_defs() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("family"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "family", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -365,7 +367,7 @@ fn lexicon_doc_app_gainforest_evaluator_defs() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "gbifTaxonKey", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -386,7 +388,9 @@ fn lexicon_doc_app_gainforest_evaluator_defs() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("genus"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "genus", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -405,7 +409,9 @@ fn lexicon_doc_app_gainforest_evaluator_defs() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("kingdom"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "kingdom", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -424,7 +430,9 @@ fn lexicon_doc_app_gainforest_evaluator_defs() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rank"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "rank", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -435,7 +443,7 @@ fn lexicon_doc_app_gainforest_evaluator_defs() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "scientificName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -460,7 +468,9 @@ fn lexicon_doc_app_gainforest_evaluator_defs() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("classificationResult"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "classificationResult", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -469,8 +479,8 @@ fn lexicon_doc_app_gainforest_evaluator_defs() -> ::jacquard_lexicon::lexicon::L ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("category"), - ::jacquard_common::smol_str::SmolStr::new_static("value") + ::jacquard_common::deps::smol_str::SmolStr::new_static("category"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("value") ], ), nullable: None, @@ -478,7 +488,9 @@ fn lexicon_doc_app_gainforest_evaluator_defs() -> ::jacquard_lexicon::lexicon::L #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("category"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "category", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -497,7 +509,9 @@ fn lexicon_doc_app_gainforest_evaluator_defs() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("remarks"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "remarks", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -516,7 +530,9 @@ fn lexicon_doc_app_gainforest_evaluator_defs() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("value"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "value", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -539,7 +555,9 @@ fn lexicon_doc_app_gainforest_evaluator_defs() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("dataQualityResult"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "dataQualityResult", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -547,14 +565,16 @@ fn lexicon_doc_app_gainforest_evaluator_defs() -> ::jacquard_lexicon::lexicon::L ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("flags")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("flags") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "completenessScore", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -567,7 +587,9 @@ fn lexicon_doc_app_gainforest_evaluator_defs() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("flags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "flags", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -583,7 +605,9 @@ fn lexicon_doc_app_gainforest_evaluator_defs() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("remarks"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "remarks", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -606,7 +630,9 @@ fn lexicon_doc_app_gainforest_evaluator_defs() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("derivedMeasurement"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "derivedMeasurement", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -615,8 +641,8 @@ fn lexicon_doc_app_gainforest_evaluator_defs() -> ::jacquard_lexicon::lexicon::L ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("measurementType"), - ::jacquard_common::smol_str::SmolStr::new_static("measurementValue") + ::jacquard_common::deps::smol_str::SmolStr::new_static("measurementType"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("measurementValue") ], ), nullable: None, @@ -624,7 +650,7 @@ fn lexicon_doc_app_gainforest_evaluator_defs() -> ::jacquard_lexicon::lexicon::L #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "measurementMethod", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -645,7 +671,7 @@ fn lexicon_doc_app_gainforest_evaluator_defs() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "measurementType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -666,7 +692,7 @@ fn lexicon_doc_app_gainforest_evaluator_defs() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "measurementUnit", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -687,7 +713,7 @@ fn lexicon_doc_app_gainforest_evaluator_defs() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "measurementValue", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -712,7 +738,9 @@ fn lexicon_doc_app_gainforest_evaluator_defs() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("measurementResult"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "measurementResult", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -721,7 +749,7 @@ fn lexicon_doc_app_gainforest_evaluator_defs() -> ::jacquard_lexicon::lexicon::L ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("measurements") + ::jacquard_common::deps::smol_str::SmolStr::new_static("measurements") ], ), nullable: None, @@ -729,7 +757,7 @@ fn lexicon_doc_app_gainforest_evaluator_defs() -> ::jacquard_lexicon::lexicon::L #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "measurements", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -749,7 +777,9 @@ fn lexicon_doc_app_gainforest_evaluator_defs() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("remarks"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "remarks", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -772,7 +802,7 @@ fn lexicon_doc_app_gainforest_evaluator_defs() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("methodInfo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("methodInfo"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -780,14 +810,16 @@ fn lexicon_doc_app_gainforest_evaluator_defs() -> ::jacquard_lexicon::lexicon::L ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("name")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("name") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "modelCheckpoint", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -808,7 +840,9 @@ fn lexicon_doc_app_gainforest_evaluator_defs() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -827,7 +861,7 @@ fn lexicon_doc_app_gainforest_evaluator_defs() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "references", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -855,7 +889,9 @@ fn lexicon_doc_app_gainforest_evaluator_defs() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("version"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "version", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -878,7 +914,7 @@ fn lexicon_doc_app_gainforest_evaluator_defs() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("qualityFlag"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("qualityFlag"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -887,8 +923,8 @@ fn lexicon_doc_app_gainforest_evaluator_defs() -> ::jacquard_lexicon::lexicon::L ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("field"), - ::jacquard_common::smol_str::SmolStr::new_static("issue") + ::jacquard_common::deps::smol_str::SmolStr::new_static("field"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("issue") ], ), nullable: None, @@ -896,7 +932,9 @@ fn lexicon_doc_app_gainforest_evaluator_defs() -> ::jacquard_lexicon::lexicon::L #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("field"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "field", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -915,7 +953,9 @@ fn lexicon_doc_app_gainforest_evaluator_defs() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("issue"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "issue", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -934,7 +974,9 @@ fn lexicon_doc_app_gainforest_evaluator_defs() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("severity"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "severity", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -957,7 +999,9 @@ fn lexicon_doc_app_gainforest_evaluator_defs() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("speciesIdResult"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "speciesIdResult", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -966,7 +1010,7 @@ fn lexicon_doc_app_gainforest_evaluator_defs() -> ::jacquard_lexicon::lexicon::L ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("candidates") + ::jacquard_common::deps::smol_str::SmolStr::new_static("candidates") ], ), nullable: None, @@ -974,7 +1018,7 @@ fn lexicon_doc_app_gainforest_evaluator_defs() -> ::jacquard_lexicon::lexicon::L #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "candidates", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -994,7 +1038,7 @@ fn lexicon_doc_app_gainforest_evaluator_defs() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "inputFeature", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1015,7 +1059,9 @@ fn lexicon_doc_app_gainforest_evaluator_defs() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("remarks"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "remarks", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1038,7 +1084,7 @@ fn lexicon_doc_app_gainforest_evaluator_defs() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subjectRef"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("subjectRef"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -1046,14 +1092,18 @@ fn lexicon_doc_app_gainforest_evaluator_defs() -> ::jacquard_lexicon::lexicon::L ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("uri")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1074,7 +1124,9 @@ fn lexicon_doc_app_gainforest_evaluator_defs() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1099,7 +1151,9 @@ fn lexicon_doc_app_gainforest_evaluator_defs() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("verificationResult"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "verificationResult", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -1107,14 +1161,18 @@ fn lexicon_doc_app_gainforest_evaluator_defs() -> ::jacquard_lexicon::lexicon::L ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("status")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("status") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("remarks"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "remarks", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1133,7 +1191,9 @@ fn lexicon_doc_app_gainforest_evaluator_defs() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("status"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "status", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1152,7 +1212,7 @@ fn lexicon_doc_app_gainforest_evaluator_defs() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "suggestedCorrections", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1173,7 +1233,7 @@ fn lexicon_doc_app_gainforest_evaluator_defs() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "verifiedBy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1194,7 +1254,7 @@ fn lexicon_doc_app_gainforest_evaluator_defs() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "verifiedByID", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1262,7 +1322,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for CandidateTaxon<'a> { } if let Some(ref value) = self.family { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -1280,7 +1340,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for CandidateTaxon<'a> { } if let Some(ref value) = self.gbif_taxon_key { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -1298,7 +1358,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for CandidateTaxon<'a> { } if let Some(ref value) = self.genus { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -1316,7 +1376,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for CandidateTaxon<'a> { } if let Some(ref value) = self.kingdom { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -1347,7 +1407,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for CandidateTaxon<'a> { { let value = &self.scientific_name; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -1409,7 +1469,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ClassificationResult<'a> { let value = &self.category; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -1427,7 +1487,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ClassificationResult<'a> } if let Some(ref value) = self.remarks { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -1446,7 +1506,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ClassificationResult<'a> { let value = &self.value; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -1618,7 +1678,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> DataQualityResult<'a> { @@ -1681,7 +1741,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for DataQualityResult<'a> { } if let Some(ref value) = self.remarks { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -1746,7 +1806,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for DerivedMeasurement<'a> { ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { if let Some(ref value) = self.measurement_method { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -1765,7 +1825,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for DerivedMeasurement<'a> { { let value = &self.measurement_type; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -1783,7 +1843,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for DerivedMeasurement<'a> { } if let Some(ref value) = self.measurement_unit { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -1802,7 +1862,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for DerivedMeasurement<'a> { { let value = &self.measurement_value; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -1958,7 +2018,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> MeasurementResult<'a> { @@ -1998,7 +2058,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for MeasurementResult<'a> { } if let Some(ref value) = self.remarks { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -2064,7 +2124,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for MethodInfo<'a> { ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { if let Some(ref value) = self.model_checkpoint { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -2083,7 +2143,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for MethodInfo<'a> { { let value = &self.name; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -2113,7 +2173,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for MethodInfo<'a> { } if let Some(ref value) = self.version { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -2269,7 +2329,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for QualityFlag<'a> { { let value = &self.field; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -2288,7 +2348,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for QualityFlag<'a> { { let value = &self.issue; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -2306,7 +2366,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for QualityFlag<'a> { } if let Some(ref value) = self.severity { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -2487,7 +2547,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> SpeciesIdResult<'a> { @@ -2528,7 +2588,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for SpeciesIdResult<'a> { } if let Some(ref value) = self.input_feature { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -2546,7 +2606,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for SpeciesIdResult<'a> { } if let Some(ref value) = self.remarks { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -2703,7 +2763,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> SubjectRef<'a> { @@ -2878,7 +2938,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for VerificationResult<'a> { ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { if let Some(ref value) = self.remarks { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -2897,7 +2957,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for VerificationResult<'a> { { let value = &self.status; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -2915,7 +2975,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for VerificationResult<'a> { } if let Some(ref value) = self.suggested_corrections { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -2933,7 +2993,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for VerificationResult<'a> { } if let Some(ref value) = self.verified_by { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -2951,7 +3011,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for VerificationResult<'a> { } if let Some(ref value) = self.verified_by_id { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) diff --git a/crates/jacquard-api/src/app_gainforest/evaluator/evaluation.rs b/crates/jacquard-api/src/app_gainforest/evaluator/evaluation.rs index 10832c32a..a06526ced 100644 --- a/crates/jacquard-api/src/app_gainforest/evaluator/evaluation.rs +++ b/crates/jacquard-api/src/app_gainforest/evaluator/evaluation.rs @@ -67,37 +67,37 @@ pub mod evaluation_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type EvaluationType; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type EvaluationType = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type EvaluationType = S::EvaluationType; + type CreatedAt = Unset; } ///State transition - sets the `evaluation_type` field to Set pub struct SetEvaluationType(PhantomData S>); impl sealed::Sealed for SetEvaluationType {} impl State for SetEvaluationType { - type CreatedAt = S::CreatedAt; type EvaluationType = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type EvaluationType = S::EvaluationType; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `evaluation_type` field pub struct evaluation_type(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -323,8 +323,8 @@ impl<'a, S: evaluation_state::State> EvaluationBuilder<'a, S> { impl<'a, S> EvaluationBuilder<'a, S> where S: evaluation_state::State, - S::CreatedAt: evaluation_state::IsSet, S::EvaluationType: evaluation_state::IsSet, + S::CreatedAt: evaluation_state::IsSet, { /// Build the final struct pub fn build(self) -> Evaluation<'a> { @@ -346,7 +346,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Evaluation<'a> { @@ -491,7 +491,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Evaluation<'a> { } if let Some(ref value) = self.dynamic_properties { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -510,7 +510,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Evaluation<'a> { { let value = &self.evaluation_type; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -553,7 +553,7 @@ fn lexicon_doc_app_gainforest_evaluator_evaluation() -> ::jacquard_lexicon::lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -565,8 +565,8 @@ fn lexicon_doc_app_gainforest_evaluator_evaluation() -> ::jacquard_lexicon::lexi description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("evaluationType"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("evaluationType"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -574,7 +574,7 @@ fn lexicon_doc_app_gainforest_evaluator_evaluation() -> ::jacquard_lexicon::lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "confidence", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -587,7 +587,7 @@ fn lexicon_doc_app_gainforest_evaluator_evaluation() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -610,7 +610,7 @@ fn lexicon_doc_app_gainforest_evaluator_evaluation() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dynamicProperties", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -631,7 +631,7 @@ fn lexicon_doc_app_gainforest_evaluator_evaluation() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "evaluationType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -652,7 +652,9 @@ fn lexicon_doc_app_gainforest_evaluator_evaluation() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("method"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "method", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -661,7 +663,9 @@ fn lexicon_doc_app_gainforest_evaluator_evaluation() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("neg"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "neg", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -669,7 +673,9 @@ fn lexicon_doc_app_gainforest_evaluator_evaluation() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("result"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "result", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: Some( ::jacquard_common::CowStr::new_static( @@ -687,7 +693,9 @@ fn lexicon_doc_app_gainforest_evaluator_evaluation() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -696,7 +704,7 @@ fn lexicon_doc_app_gainforest_evaluator_evaluation() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjects", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -716,7 +724,7 @@ fn lexicon_doc_app_gainforest_evaluator_evaluation() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "supersedes", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/app_gainforest/evaluator/service.rs b/crates/jacquard-api/src/app_gainforest/evaluator/service.rs index 6df74f960..aa684bd7f 100644 --- a/crates/jacquard-api/src/app_gainforest/evaluator/service.rs +++ b/crates/jacquard-api/src/app_gainforest/evaluator/service.rs @@ -48,7 +48,7 @@ fn lexicon_doc_app_gainforest_evaluator_service() -> ::jacquard_lexicon::lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "evaluationTypeDefinition", ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { @@ -59,8 +59,8 @@ fn lexicon_doc_app_gainforest_evaluator_service() -> ::jacquard_lexicon::lexicon ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("identifier"), - ::jacquard_common::smol_str::SmolStr::new_static("resultType") + ::jacquard_common::deps::smol_str::SmolStr::new_static("identifier"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("resultType") ], ), nullable: None, @@ -68,7 +68,7 @@ fn lexicon_doc_app_gainforest_evaluator_service() -> ::jacquard_lexicon::lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "identifier", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -89,7 +89,9 @@ fn lexicon_doc_app_gainforest_evaluator_service() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("locales"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "locales", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -107,7 +109,9 @@ fn lexicon_doc_app_gainforest_evaluator_service() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("method"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "method", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -116,7 +120,7 @@ fn lexicon_doc_app_gainforest_evaluator_service() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "resultType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -141,7 +145,9 @@ fn lexicon_doc_app_gainforest_evaluator_service() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("evaluationTypeLocale"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "evaluationTypeLocale", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -150,9 +156,9 @@ fn lexicon_doc_app_gainforest_evaluator_service() -> ::jacquard_lexicon::lexicon ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("lang"), - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("description") + ::jacquard_common::deps::smol_str::SmolStr::new_static("lang"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("description") ], ), nullable: None, @@ -160,7 +166,7 @@ fn lexicon_doc_app_gainforest_evaluator_service() -> ::jacquard_lexicon::lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -181,7 +187,9 @@ fn lexicon_doc_app_gainforest_evaluator_service() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("lang"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "lang", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -200,7 +208,9 @@ fn lexicon_doc_app_gainforest_evaluator_service() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -223,7 +233,9 @@ fn lexicon_doc_app_gainforest_evaluator_service() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("evaluatorPolicies"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "evaluatorPolicies", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -232,7 +244,7 @@ fn lexicon_doc_app_gainforest_evaluator_service() -> ::jacquard_lexicon::lexicon ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("evaluationTypes") + ::jacquard_common::deps::smol_str::SmolStr::new_static("evaluationTypes") ], ), nullable: None, @@ -240,7 +252,7 @@ fn lexicon_doc_app_gainforest_evaluator_service() -> ::jacquard_lexicon::lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessModel", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -261,7 +273,7 @@ fn lexicon_doc_app_gainforest_evaluator_service() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "evaluationTypeDefinitions", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -281,7 +293,7 @@ fn lexicon_doc_app_gainforest_evaluator_service() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "evaluationTypes", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -307,7 +319,7 @@ fn lexicon_doc_app_gainforest_evaluator_service() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjectCollections", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -337,7 +349,7 @@ fn lexicon_doc_app_gainforest_evaluator_service() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -349,8 +361,8 @@ fn lexicon_doc_app_gainforest_evaluator_service() -> ::jacquard_lexicon::lexicon description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("policies"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("policies"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -358,7 +370,7 @@ fn lexicon_doc_app_gainforest_evaluator_service() -> ::jacquard_lexicon::lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -381,7 +393,7 @@ fn lexicon_doc_app_gainforest_evaluator_service() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "policies", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -417,7 +429,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for EvaluationTypeDefinition< { let value = &self.identifier; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -448,7 +460,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for EvaluationTypeDefinition< { let value = &self.result_type; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -509,7 +521,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for EvaluationTypeLocale<'a> { let value = &self.description; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -528,7 +540,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for EvaluationTypeLocale<'a> { let value = &self.lang; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -547,7 +559,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for EvaluationTypeLocale<'a> { let value = &self.name; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -768,7 +780,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> EvaluatorPolicies<'a> { @@ -890,7 +902,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for EvaluatorPolicies<'a> { ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { if let Some(ref value) = self.access_model { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -1099,7 +1111,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Service<'a> { diff --git a/crates/jacquard-api/src/app_gainforest/evaluator/subscription.rs b/crates/jacquard-api/src/app_gainforest/evaluator/subscription.rs index efc96b192..c03cdaaf5 100644 --- a/crates/jacquard-api/src/app_gainforest/evaluator/subscription.rs +++ b/crates/jacquard-api/src/app_gainforest/evaluator/subscription.rs @@ -203,7 +203,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Subscription<'a> { @@ -332,7 +332,7 @@ fn lexicon_doc_app_gainforest_evaluator_subscription() -> ::jacquard_lexicon::le defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -344,8 +344,8 @@ fn lexicon_doc_app_gainforest_evaluator_subscription() -> ::jacquard_lexicon::le description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("evaluator"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("evaluator"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -353,7 +353,7 @@ fn lexicon_doc_app_gainforest_evaluator_subscription() -> ::jacquard_lexicon::le #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "collections", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -379,7 +379,7 @@ fn lexicon_doc_app_gainforest_evaluator_subscription() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -402,7 +402,7 @@ fn lexicon_doc_app_gainforest_evaluator_subscription() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "evaluationTypes", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -428,7 +428,7 @@ fn lexicon_doc_app_gainforest_evaluator_subscription() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "evaluator", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { 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 ff5447a02..5cbbdf6fc 100644 --- a/crates/jacquard-api/src/app_gainforest/organization/default_site.rs +++ b/crates/jacquard-api/src/app_gainforest/organization/default_site.rs @@ -35,37 +35,37 @@ pub mod default_site_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Site; type CreatedAt; + type Site; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Site = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `site` field to Set - pub struct SetSite(PhantomData S>); - impl sealed::Sealed for SetSite {} - impl State for SetSite { - type Site = Set; - type CreatedAt = S::CreatedAt; + type Site = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Site = S::Site; type CreatedAt = Set; + type Site = S::Site; + } + ///State transition - sets the `site` field to Set + pub struct SetSite(PhantomData S>); + impl sealed::Sealed for SetSite {} + impl State for SetSite { + type CreatedAt = S::CreatedAt; + type Site = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `site` field - pub struct site(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `site` field + pub struct site(()); } } @@ -138,8 +138,8 @@ where impl<'a, S> DefaultSiteBuilder<'a, S> where S: default_site_state::State, - S::Site: default_site_state::IsSet, S::CreatedAt: default_site_state::IsSet, + S::Site: default_site_state::IsSet, { /// Build the final struct pub fn build(self) -> DefaultSite<'a> { @@ -153,7 +153,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> DefaultSite<'a> { @@ -256,7 +256,7 @@ fn lexicon_doc_app_gainforest_organization_defaultSite() -> ::jacquard_lexicon:: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -268,8 +268,8 @@ fn lexicon_doc_app_gainforest_organization_defaultSite() -> ::jacquard_lexicon:: description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("site"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("site"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -277,7 +277,7 @@ fn lexicon_doc_app_gainforest_organization_defaultSite() -> ::jacquard_lexicon:: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -300,7 +300,9 @@ fn lexicon_doc_app_gainforest_organization_defaultSite() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("site"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "site", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/app_gainforest/organization/info.rs b/crates/jacquard-api/src/app_gainforest/organization/info.rs index d3a1c8f03..dfe149319 100644 --- a/crates/jacquard-api/src/app_gainforest/organization/info.rs +++ b/crates/jacquard-api/src/app_gainforest/organization/info.rs @@ -65,127 +65,127 @@ pub mod info_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type ShortDescription; + type LongDescription; type Visibility; type DisplayName; - type LongDescription; - type Objectives; type Country; - type ShortDescription; type CreatedAt; + type Objectives; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type ShortDescription = Unset; + type LongDescription = Unset; type Visibility = Unset; type DisplayName = Unset; - type LongDescription = Unset; - type Objectives = Unset; type Country = Unset; - type ShortDescription = Unset; type CreatedAt = Unset; + type Objectives = Unset; } - ///State transition - sets the `visibility` field to Set - pub struct SetVisibility(PhantomData S>); - impl sealed::Sealed for SetVisibility {} - impl State for SetVisibility { - type Visibility = Set; - type DisplayName = S::DisplayName; + ///State transition - sets the `short_description` field to Set + pub struct SetShortDescription(PhantomData S>); + impl sealed::Sealed for SetShortDescription {} + impl State for SetShortDescription { + type ShortDescription = Set; type LongDescription = S::LongDescription; - type Objectives = S::Objectives; - type Country = S::Country; - type ShortDescription = S::ShortDescription; - type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `display_name` field to Set - pub struct SetDisplayName(PhantomData S>); - impl sealed::Sealed for SetDisplayName {} - impl State for SetDisplayName { type Visibility = S::Visibility; - type DisplayName = Set; - type LongDescription = S::LongDescription; - type Objectives = S::Objectives; + type DisplayName = S::DisplayName; type Country = S::Country; - type ShortDescription = S::ShortDescription; type CreatedAt = S::CreatedAt; + type Objectives = S::Objectives; } ///State transition - sets the `long_description` field to Set pub struct SetLongDescription(PhantomData S>); impl sealed::Sealed for SetLongDescription {} impl State for SetLongDescription { + type ShortDescription = S::ShortDescription; + type LongDescription = Set; type Visibility = S::Visibility; type DisplayName = S::DisplayName; - type LongDescription = Set; - type Objectives = S::Objectives; type Country = S::Country; - type ShortDescription = S::ShortDescription; type CreatedAt = S::CreatedAt; + type Objectives = S::Objectives; } - ///State transition - sets the `objectives` field to Set - pub struct SetObjectives(PhantomData S>); - impl sealed::Sealed for SetObjectives {} - impl State for SetObjectives { - type Visibility = S::Visibility; - type DisplayName = S::DisplayName; + ///State transition - sets the `visibility` field to Set + pub struct SetVisibility(PhantomData S>); + impl sealed::Sealed for SetVisibility {} + impl State for SetVisibility { + type ShortDescription = S::ShortDescription; type LongDescription = S::LongDescription; - type Objectives = Set; + type Visibility = Set; + type DisplayName = S::DisplayName; type Country = S::Country; + type CreatedAt = S::CreatedAt; + type Objectives = S::Objectives; + } + ///State transition - sets the `display_name` field to Set + pub struct SetDisplayName(PhantomData S>); + impl sealed::Sealed for SetDisplayName {} + impl State for SetDisplayName { type ShortDescription = S::ShortDescription; + type LongDescription = S::LongDescription; + type Visibility = S::Visibility; + type DisplayName = Set; + type Country = S::Country; type CreatedAt = S::CreatedAt; + type Objectives = S::Objectives; } ///State transition - sets the `country` field to Set pub struct SetCountry(PhantomData S>); impl sealed::Sealed for SetCountry {} impl State for SetCountry { + type ShortDescription = S::ShortDescription; + type LongDescription = S::LongDescription; type Visibility = S::Visibility; type DisplayName = S::DisplayName; - type LongDescription = S::LongDescription; - type Objectives = S::Objectives; type Country = Set; - type ShortDescription = S::ShortDescription; type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `short_description` field to Set - pub struct SetShortDescription(PhantomData S>); - impl sealed::Sealed for SetShortDescription {} - impl State for SetShortDescription { - type Visibility = S::Visibility; - type DisplayName = S::DisplayName; - type LongDescription = S::LongDescription; type Objectives = S::Objectives; - type Country = S::Country; - type ShortDescription = Set; - type CreatedAt = S::CreatedAt; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { + type ShortDescription = S::ShortDescription; + type LongDescription = S::LongDescription; type Visibility = S::Visibility; type DisplayName = S::DisplayName; - type LongDescription = S::LongDescription; - type Objectives = S::Objectives; type Country = S::Country; - type ShortDescription = S::ShortDescription; type CreatedAt = Set; + type Objectives = S::Objectives; + } + ///State transition - sets the `objectives` field to Set + pub struct SetObjectives(PhantomData S>); + impl sealed::Sealed for SetObjectives {} + impl State for SetObjectives { + type ShortDescription = S::ShortDescription; + type LongDescription = S::LongDescription; + type Visibility = S::Visibility; + type DisplayName = S::DisplayName; + type Country = S::Country; + type CreatedAt = S::CreatedAt; + type Objectives = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `short_description` field + pub struct short_description(()); + ///Marker type for the `long_description` field + pub struct long_description(()); ///Marker type for the `visibility` field pub struct visibility(()); ///Marker type for the `display_name` field pub struct display_name(()); - ///Marker type for the `long_description` field - pub struct long_description(()); - ///Marker type for the `objectives` field - pub struct objectives(()); ///Marker type for the `country` field pub struct country(()); - ///Marker type for the `short_description` field - pub struct short_description(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `objectives` field + pub struct objectives(()); } } @@ -450,13 +450,13 @@ impl<'a, S: info_state::State> InfoBuilder<'a, S> { impl<'a, S> InfoBuilder<'a, S> where S: info_state::State, + S::ShortDescription: info_state::IsSet, + S::LongDescription: info_state::IsSet, S::Visibility: info_state::IsSet, S::DisplayName: info_state::IsSet, - S::LongDescription: info_state::IsSet, - S::Objectives: info_state::IsSet, S::Country: info_state::IsSet, - S::ShortDescription: info_state::IsSet, S::CreatedAt: info_state::IsSet, + S::Objectives: info_state::IsSet, { /// Build the final struct pub fn build(self) -> Info<'a> { @@ -479,7 +479,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Info<'a> { @@ -667,7 +667,7 @@ fn lexicon_doc_app_gainforest_organization_info() -> ::jacquard_lexicon::lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -679,13 +679,13 @@ fn lexicon_doc_app_gainforest_organization_info() -> ::jacquard_lexicon::lexicon description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("displayName"), - ::jacquard_common::smol_str::SmolStr::new_static("shortDescription"), - ::jacquard_common::smol_str::SmolStr::new_static("longDescription"), - ::jacquard_common::smol_str::SmolStr::new_static("objectives"), - ::jacquard_common::smol_str::SmolStr::new_static("country"), - ::jacquard_common::smol_str::SmolStr::new_static("visibility"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("displayName"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("shortDescription"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("longDescription"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("objectives"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("country"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("visibility"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -693,7 +693,9 @@ fn lexicon_doc_app_gainforest_organization_info() -> ::jacquard_lexicon::lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("country"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "country", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -712,7 +714,7 @@ fn lexicon_doc_app_gainforest_organization_info() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "coverImage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -723,7 +725,7 @@ fn lexicon_doc_app_gainforest_organization_info() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -746,7 +748,7 @@ fn lexicon_doc_app_gainforest_organization_info() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "displayName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -767,7 +769,9 @@ fn lexicon_doc_app_gainforest_organization_info() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("logo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "logo", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -776,7 +780,7 @@ fn lexicon_doc_app_gainforest_organization_info() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "longDescription", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -797,7 +801,7 @@ fn lexicon_doc_app_gainforest_organization_info() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "objectives", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -823,7 +827,7 @@ fn lexicon_doc_app_gainforest_organization_info() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "shortDescription", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -844,7 +848,7 @@ fn lexicon_doc_app_gainforest_organization_info() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "startDate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -867,7 +871,7 @@ fn lexicon_doc_app_gainforest_organization_info() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "visibility", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -888,7 +892,9 @@ fn lexicon_doc_app_gainforest_organization_info() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("website"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "website", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/app_gainforest/organization/layer.rs b/crates/jacquard-api/src/app_gainforest/organization/layer.rs index 020aef15b..5e45db09c 100644 --- a/crates/jacquard-api/src/app_gainforest/organization/layer.rs +++ b/crates/jacquard-api/src/app_gainforest/organization/layer.rs @@ -258,7 +258,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Layer<'a> { @@ -362,7 +362,7 @@ fn lexicon_doc_app_gainforest_organization_layer() -> ::jacquard_lexicon::lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -374,10 +374,10 @@ fn lexicon_doc_app_gainforest_organization_layer() -> ::jacquard_lexicon::lexico description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("type"), - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -385,7 +385,7 @@ fn lexicon_doc_app_gainforest_organization_layer() -> ::jacquard_lexicon::lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -408,7 +408,7 @@ fn lexicon_doc_app_gainforest_organization_layer() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -429,7 +429,9 @@ fn lexicon_doc_app_gainforest_organization_layer() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -448,7 +450,9 @@ fn lexicon_doc_app_gainforest_organization_layer() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "type", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -467,7 +471,9 @@ fn lexicon_doc_app_gainforest_organization_layer() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( 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 768633a57..eb15ab5a5 100644 --- a/crates/jacquard-api/src/app_gainforest/organization/observations/dendogram.rs +++ b/crates/jacquard-api/src/app_gainforest/organization/observations/dendogram.rs @@ -35,37 +35,37 @@ pub mod dendogram_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type Dendogram; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type Dendogram = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Dendogram = S::Dendogram; + type CreatedAt = Unset; } ///State transition - sets the `dendogram` field to Set pub struct SetDendogram(PhantomData S>); impl sealed::Sealed for SetDendogram {} impl State for SetDendogram { - type CreatedAt = S::CreatedAt; type Dendogram = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Dendogram = S::Dendogram; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `dendogram` field pub struct dendogram(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -138,8 +138,8 @@ where impl<'a, S> DendogramBuilder<'a, S> where S: dendogram_state::State, - S::CreatedAt: dendogram_state::IsSet, S::Dendogram: dendogram_state::IsSet, + S::CreatedAt: dendogram_state::IsSet, { /// Build the final struct pub fn build(self) -> Dendogram<'a> { @@ -153,7 +153,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Dendogram<'a> { @@ -256,7 +256,7 @@ fn lexicon_doc_app_gainforest_organization_observations_dendogram() -> ::jacquar defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -268,8 +268,8 @@ fn lexicon_doc_app_gainforest_organization_observations_dendogram() -> ::jacquar description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("dendogram"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("dendogram"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -277,7 +277,7 @@ fn lexicon_doc_app_gainforest_organization_observations_dendogram() -> ::jacquar #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -300,7 +300,7 @@ fn lexicon_doc_app_gainforest_organization_observations_dendogram() -> ::jacquar }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dendogram", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { 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 07c64cc55..c228adab9 100644 --- a/crates/jacquard-api/src/app_gainforest/organization/observations/fauna.rs +++ b/crates/jacquard-api/src/app_gainforest/organization/observations/fauna.rs @@ -35,37 +35,37 @@ pub mod fauna_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type GbifTaxonKeys; type CreatedAt; + type GbifTaxonKeys; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type GbifTaxonKeys = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `gbif_taxon_keys` field to Set - pub struct SetGbifTaxonKeys(PhantomData S>); - impl sealed::Sealed for SetGbifTaxonKeys {} - impl State for SetGbifTaxonKeys { - type GbifTaxonKeys = Set; - type CreatedAt = S::CreatedAt; + type GbifTaxonKeys = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type GbifTaxonKeys = S::GbifTaxonKeys; type CreatedAt = Set; + type GbifTaxonKeys = S::GbifTaxonKeys; + } + ///State transition - sets the `gbif_taxon_keys` field to Set + pub struct SetGbifTaxonKeys(PhantomData S>); + impl sealed::Sealed for SetGbifTaxonKeys {} + impl State for SetGbifTaxonKeys { + type CreatedAt = S::CreatedAt; + type GbifTaxonKeys = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `gbif_taxon_keys` field - pub struct gbif_taxon_keys(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `gbif_taxon_keys` field + pub struct gbif_taxon_keys(()); } } @@ -138,8 +138,8 @@ where impl<'a, S> FaunaBuilder<'a, S> where S: fauna_state::State, - S::GbifTaxonKeys: fauna_state::IsSet, S::CreatedAt: fauna_state::IsSet, + S::GbifTaxonKeys: fauna_state::IsSet, { /// Build the final struct pub fn build(self) -> Fauna<'a> { @@ -153,7 +153,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Fauna<'a> { @@ -256,7 +256,7 @@ fn lexicon_doc_app_gainforest_organization_observations_fauna() -> ::jacquard_le defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -268,8 +268,8 @@ fn lexicon_doc_app_gainforest_organization_observations_fauna() -> ::jacquard_le description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("gbifTaxonKeys"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("gbifTaxonKeys"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -277,7 +277,7 @@ fn lexicon_doc_app_gainforest_organization_observations_fauna() -> ::jacquard_le #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -300,7 +300,7 @@ fn lexicon_doc_app_gainforest_organization_observations_fauna() -> ::jacquard_le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "gbifTaxonKeys", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { 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 80580c986..937e663aa 100644 --- a/crates/jacquard-api/src/app_gainforest/organization/observations/flora.rs +++ b/crates/jacquard-api/src/app_gainforest/organization/observations/flora.rs @@ -153,7 +153,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Flora<'a> { @@ -256,7 +256,7 @@ fn lexicon_doc_app_gainforest_organization_observations_flora() -> ::jacquard_le defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -268,8 +268,8 @@ fn lexicon_doc_app_gainforest_organization_observations_flora() -> ::jacquard_le description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("gbifTaxonKeys"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("gbifTaxonKeys"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -277,7 +277,7 @@ fn lexicon_doc_app_gainforest_organization_observations_flora() -> ::jacquard_le #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -300,7 +300,7 @@ fn lexicon_doc_app_gainforest_organization_observations_flora() -> ::jacquard_le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "gbifTaxonKeys", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { 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 a6f283f88..ba5a63478 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 @@ -35,37 +35,37 @@ pub mod measured_trees_cluster_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type Shapefile; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type Shapefile = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Shapefile = S::Shapefile; + type CreatedAt = Unset; } ///State transition - sets the `shapefile` field to Set pub struct SetShapefile(PhantomData S>); impl sealed::Sealed for SetShapefile {} impl State for SetShapefile { - type CreatedAt = S::CreatedAt; type Shapefile = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Shapefile = S::Shapefile; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `shapefile` field pub struct shapefile(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -141,8 +141,8 @@ where impl<'a, S> MeasuredTreesClusterBuilder<'a, S> where S: measured_trees_cluster_state::State, - S::CreatedAt: measured_trees_cluster_state::IsSet, S::Shapefile: measured_trees_cluster_state::IsSet, + S::CreatedAt: measured_trees_cluster_state::IsSet, { /// Build the final struct pub fn build(self) -> MeasuredTreesCluster<'a> { @@ -156,7 +156,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> MeasuredTreesCluster<'a> { @@ -259,7 +259,7 @@ fn lexicon_doc_app_gainforest_organization_observations_measuredTreesCluster() - defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -271,8 +271,8 @@ fn lexicon_doc_app_gainforest_organization_observations_measuredTreesCluster() - description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("shapefile"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("shapefile"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -280,7 +280,7 @@ fn lexicon_doc_app_gainforest_organization_observations_measuredTreesCluster() - #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -303,7 +303,7 @@ fn lexicon_doc_app_gainforest_organization_observations_measuredTreesCluster() - }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "shapefile", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { 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 fbf9e5343..8ca81a55f 100644 --- a/crates/jacquard-api/src/app_gainforest/organization/predictions/fauna.rs +++ b/crates/jacquard-api/src/app_gainforest/organization/predictions/fauna.rs @@ -153,7 +153,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Fauna<'a> { @@ -256,7 +256,7 @@ fn lexicon_doc_app_gainforest_organization_predictions_fauna() -> ::jacquard_lex defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -268,8 +268,8 @@ fn lexicon_doc_app_gainforest_organization_predictions_fauna() -> ::jacquard_lex description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("gbifTaxonKeys"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("gbifTaxonKeys"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -277,7 +277,7 @@ fn lexicon_doc_app_gainforest_organization_predictions_fauna() -> ::jacquard_lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -300,7 +300,7 @@ fn lexicon_doc_app_gainforest_organization_predictions_fauna() -> ::jacquard_lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "gbifTaxonKeys", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { 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 c3201a73f..37c6381ae 100644 --- a/crates/jacquard-api/src/app_gainforest/organization/predictions/flora.rs +++ b/crates/jacquard-api/src/app_gainforest/organization/predictions/flora.rs @@ -153,7 +153,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Flora<'a> { @@ -256,7 +256,7 @@ fn lexicon_doc_app_gainforest_organization_predictions_flora() -> ::jacquard_lex defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -268,8 +268,8 @@ fn lexicon_doc_app_gainforest_organization_predictions_flora() -> ::jacquard_lex description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("gbifTaxonKeys"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("gbifTaxonKeys"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -277,7 +277,7 @@ fn lexicon_doc_app_gainforest_organization_predictions_flora() -> ::jacquard_lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -300,7 +300,7 @@ fn lexicon_doc_app_gainforest_organization_predictions_flora() -> ::jacquard_lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "gbifTaxonKeys", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { diff --git a/crates/jacquard-api/src/app_greengale/blog.rs b/crates/jacquard-api/src/app_greengale/blog.rs index fff0742b5..0020e6803 100644 --- a/crates/jacquard-api/src/app_greengale/blog.rs +++ b/crates/jacquard-api/src/app_greengale/blog.rs @@ -185,7 +185,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> BlobMetadata<'a> { @@ -210,7 +210,7 @@ fn lexicon_doc_app_greengale_blog_defs() -> ::jacquard_lexicon::lexicon::Lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("blobMetadata"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("blobMetadata"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -218,14 +218,18 @@ fn lexicon_doc_app_greengale_blog_defs() -> ::jacquard_lexicon::lexicon::Lexicon ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("blobref")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("blobref") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("alt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "alt", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -244,7 +248,9 @@ fn lexicon_doc_app_greengale_blog_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("blobref"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "blobref", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -252,14 +258,18 @@ fn lexicon_doc_app_greengale_blog_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("labels"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "labels", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#selfLabels"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Original filename"), @@ -280,7 +290,7 @@ fn lexicon_doc_app_greengale_blog_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("customColors"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("customColors"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -293,7 +303,9 @@ fn lexicon_doc_app_greengale_blog_defs() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("accent"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "accent", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Accent/link color"), @@ -310,7 +322,7 @@ fn lexicon_doc_app_greengale_blog_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "background", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -329,7 +341,7 @@ fn lexicon_doc_app_greengale_blog_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "codeBackground", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -350,7 +362,9 @@ fn lexicon_doc_app_greengale_blog_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Primary text color"), @@ -371,7 +385,7 @@ fn lexicon_doc_app_greengale_blog_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("ogp"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("ogp"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -379,14 +393,18 @@ fn lexicon_doc_app_greengale_blog_defs() -> ::jacquard_lexicon::lexicon::Lexicon ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("url")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("url") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("height"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "height", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -397,7 +415,9 @@ fn lexicon_doc_app_greengale_blog_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -418,7 +438,9 @@ fn lexicon_doc_app_greengale_blog_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("width"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "width", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -433,7 +455,7 @@ fn lexicon_doc_app_greengale_blog_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("selfLabel"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("selfLabel"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -441,14 +463,18 @@ fn lexicon_doc_app_greengale_blog_defs() -> ::jacquard_lexicon::lexicon::Lexicon ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("val")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("val") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("val"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "val", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -471,7 +497,7 @@ fn lexicon_doc_app_greengale_blog_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("selfLabels"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("selfLabels"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -479,14 +505,18 @@ fn lexicon_doc_app_greengale_blog_defs() -> ::jacquard_lexicon::lexicon::Lexicon ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("values")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("values") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("values"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "values", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -502,7 +532,7 @@ fn lexicon_doc_app_greengale_blog_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("theme"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("theme"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -515,7 +545,9 @@ fn lexicon_doc_app_greengale_blog_defs() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("custom"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "custom", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -524,7 +556,9 @@ fn lexicon_doc_app_greengale_blog_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("preset"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "preset", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -547,7 +581,7 @@ fn lexicon_doc_app_greengale_blog_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("voiceTheme"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("voiceTheme"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -560,7 +594,9 @@ fn lexicon_doc_app_greengale_blog_defs() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("pitch"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "pitch", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -571,7 +607,9 @@ fn lexicon_doc_app_greengale_blog_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("speed"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "speed", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -582,7 +620,9 @@ fn lexicon_doc_app_greengale_blog_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("voice"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "voice", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -895,7 +935,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Ogp<'a> { @@ -1098,7 +1138,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> SelfLabels<'a> { diff --git a/crates/jacquard-api/src/app_greengale/blog/entry.rs b/crates/jacquard-api/src/app_greengale/blog/entry.rs index 94ef7dc7e..544107831 100644 --- a/crates/jacquard-api/src/app_greengale/blog/entry.rs +++ b/crates/jacquard-api/src/app_greengale/blog/entry.rs @@ -307,7 +307,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Entry<'a> { @@ -464,7 +464,7 @@ fn lexicon_doc_app_greengale_blog_entry() -> ::jacquard_lexicon::lexicon::Lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -476,7 +476,7 @@ fn lexicon_doc_app_greengale_blog_entry() -> ::jacquard_lexicon::lexicon::Lexico description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("content") + ::jacquard_common::deps::smol_str::SmolStr::new_static("content") ], ), nullable: None, @@ -484,7 +484,9 @@ fn lexicon_doc_app_greengale_blog_entry() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("blobs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "blobs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -498,7 +500,9 @@ fn lexicon_doc_app_greengale_blog_entry() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "content", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -517,7 +521,7 @@ fn lexicon_doc_app_greengale_blog_entry() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -536,7 +540,9 @@ fn lexicon_doc_app_greengale_blog_entry() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("latex"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "latex", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -544,7 +550,9 @@ fn lexicon_doc_app_greengale_blog_entry() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("ogp"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "ogp", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -553,7 +561,7 @@ fn lexicon_doc_app_greengale_blog_entry() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subtitle", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -570,7 +578,9 @@ fn lexicon_doc_app_greengale_blog_entry() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("theme"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "theme", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -579,7 +589,9 @@ fn lexicon_doc_app_greengale_blog_entry() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -594,7 +606,7 @@ fn lexicon_doc_app_greengale_blog_entry() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "visibility", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/app_greengale/document.rs b/crates/jacquard-api/src/app_greengale/document.rs index 96ae2598a..2e868f163 100644 --- a/crates/jacquard-api/src/app_greengale/document.rs +++ b/crates/jacquard-api/src/app_greengale/document.rs @@ -117,7 +117,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ContentRef<'a> { @@ -139,7 +139,7 @@ fn lexicon_doc_app_greengale_document() -> ::jacquard_lexicon::lexicon::LexiconD defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("contentRef"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("contentRef"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -147,14 +147,18 @@ fn lexicon_doc_app_greengale_document() -> ::jacquard_lexicon::lexicon::LexiconD ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("uri")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -179,7 +183,7 @@ fn lexicon_doc_app_greengale_document() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -191,11 +195,11 @@ fn lexicon_doc_app_greengale_document() -> ::jacquard_lexicon::lexicon::LexiconD description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("content"), - ::jacquard_common::smol_str::SmolStr::new_static("url"), - ::jacquard_common::smol_str::SmolStr::new_static("path"), - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("publishedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("path"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("publishedAt") ], ), nullable: None, @@ -203,7 +207,9 @@ fn lexicon_doc_app_greengale_document() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("blobs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "blobs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -217,7 +223,9 @@ fn lexicon_doc_app_greengale_document() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "content", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -236,7 +244,9 @@ fn lexicon_doc_app_greengale_document() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("latex"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "latex", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -244,7 +254,9 @@ fn lexicon_doc_app_greengale_document() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("ogp"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "ogp", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -253,7 +265,9 @@ fn lexicon_doc_app_greengale_document() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("path"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "path", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -272,7 +286,7 @@ fn lexicon_doc_app_greengale_document() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publishedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -295,7 +309,7 @@ fn lexicon_doc_app_greengale_document() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subtitle", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -312,7 +326,9 @@ fn lexicon_doc_app_greengale_document() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tags", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -336,7 +352,9 @@ fn lexicon_doc_app_greengale_document() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("theme"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "theme", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -345,7 +363,9 @@ fn lexicon_doc_app_greengale_document() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Document title"), @@ -362,7 +382,9 @@ fn lexicon_doc_app_greengale_document() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -383,7 +405,7 @@ fn lexicon_doc_app_greengale_document() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "visibility", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -492,85 +514,85 @@ pub mod document_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Content; - type Path; + type PublishedAt; type Title; type Url; - type PublishedAt; + type Content; + type Path; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Content = Unset; - type Path = Unset; + type PublishedAt = Unset; type Title = Unset; type Url = Unset; - type PublishedAt = Unset; + type Content = Unset; + type Path = Unset; } - ///State transition - sets the `content` field to Set - pub struct SetContent(PhantomData S>); - impl sealed::Sealed for SetContent {} - impl State for SetContent { - type Content = Set; - type Path = S::Path; + ///State transition - sets the `published_at` field to Set + pub struct SetPublishedAt(PhantomData S>); + impl sealed::Sealed for SetPublishedAt {} + impl State for SetPublishedAt { + type PublishedAt = Set; type Title = S::Title; type Url = S::Url; - type PublishedAt = S::PublishedAt; - } - ///State transition - sets the `path` field to Set - pub struct SetPath(PhantomData S>); - impl sealed::Sealed for SetPath {} - impl State for SetPath { type Content = S::Content; - type Path = Set; - type Title = S::Title; - type Url = S::Url; - type PublishedAt = S::PublishedAt; + type Path = S::Path; } ///State transition - sets the `title` field to Set pub struct SetTitle(PhantomData S>); impl sealed::Sealed for SetTitle {} impl State for SetTitle { - type Content = S::Content; - type Path = S::Path; + type PublishedAt = S::PublishedAt; type Title = Set; type Url = S::Url; - type PublishedAt = S::PublishedAt; + type Content = S::Content; + type Path = S::Path; } ///State transition - sets the `url` field to Set pub struct SetUrl(PhantomData S>); impl sealed::Sealed for SetUrl {} impl State for SetUrl { - type Content = S::Content; - type Path = S::Path; + type PublishedAt = S::PublishedAt; type Title = S::Title; type Url = Set; - type PublishedAt = S::PublishedAt; - } - ///State transition - sets the `published_at` field to Set - pub struct SetPublishedAt(PhantomData S>); - impl sealed::Sealed for SetPublishedAt {} - impl State for SetPublishedAt { type Content = S::Content; type Path = S::Path; + } + ///State transition - sets the `content` field to Set + pub struct SetContent(PhantomData S>); + impl sealed::Sealed for SetContent {} + impl State for SetContent { + type PublishedAt = S::PublishedAt; type Title = S::Title; type Url = S::Url; - type PublishedAt = Set; + type Content = Set; + type Path = S::Path; + } + ///State transition - sets the `path` field to Set + pub struct SetPath(PhantomData S>); + impl sealed::Sealed for SetPath {} + impl State for SetPath { + type PublishedAt = S::PublishedAt; + type Title = S::Title; + type Url = S::Url; + type Content = S::Content; + type Path = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `content` field - pub struct content(()); - ///Marker type for the `path` field - pub struct path(()); + ///Marker type for the `published_at` field + pub struct published_at(()); ///Marker type for the `title` field pub struct title(()); ///Marker type for the `url` field pub struct url(()); - ///Marker type for the `published_at` field - pub struct published_at(()); + ///Marker type for the `content` field + pub struct content(()); + ///Marker type for the `path` field + pub struct path(()); } } @@ -847,11 +869,11 @@ impl<'a, S: document_state::State> DocumentBuilder<'a, S> { impl<'a, S> DocumentBuilder<'a, S> where S: document_state::State, - S::Content: document_state::IsSet, - S::Path: document_state::IsSet, + S::PublishedAt: document_state::IsSet, S::Title: document_state::IsSet, S::Url: document_state::IsSet, - S::PublishedAt: document_state::IsSet, + S::Content: document_state::IsSet, + S::Path: document_state::IsSet, { /// Build the final struct pub fn build(self) -> Document<'a> { @@ -875,7 +897,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Document<'a> { diff --git a/crates/jacquard-api/src/app_greengale/publication.rs b/crates/jacquard-api/src/app_greengale/publication.rs index bfcd7a764..be9053b1c 100644 --- a/crates/jacquard-api/src/app_greengale/publication.rs +++ b/crates/jacquard-api/src/app_greengale/publication.rs @@ -51,37 +51,37 @@ pub mod publication_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Name; type Url; + type Name; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Name = Unset; type Url = Unset; - } - ///State transition - sets the `name` field to Set - pub struct SetName(PhantomData S>); - impl sealed::Sealed for SetName {} - impl State for SetName { - type Name = Set; - type Url = S::Url; + type Name = Unset; } ///State transition - sets the `url` field to Set pub struct SetUrl(PhantomData S>); impl sealed::Sealed for SetUrl {} impl State for SetUrl { - type Name = S::Name; type Url = Set; + type Name = S::Name; + } + ///State transition - sets the `name` field to Set + pub struct SetName(PhantomData S>); + impl sealed::Sealed for SetName {} + impl State for SetName { + type Url = S::Url; + type Name = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `name` field - pub struct name(()); ///Marker type for the `url` field pub struct url(()); + ///Marker type for the `name` field + pub struct name(()); } } @@ -228,8 +228,8 @@ impl<'a, S: publication_state::State> PublicationBuilder<'a, S> { impl<'a, S> PublicationBuilder<'a, S> where S: publication_state::State, - S::Name: publication_state::IsSet, S::Url: publication_state::IsSet, + S::Name: publication_state::IsSet, { /// Build the final struct pub fn build(self) -> Publication<'a> { @@ -247,7 +247,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Publication<'a> { @@ -390,7 +390,7 @@ fn lexicon_doc_app_greengale_publication() -> ::jacquard_lexicon::lexicon::Lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -402,8 +402,8 @@ fn lexicon_doc_app_greengale_publication() -> ::jacquard_lexicon::lexicon::Lexic description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("url"), - ::jacquard_common::smol_str::SmolStr::new_static("name") + ::jacquard_common::deps::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("name") ], ), nullable: None, @@ -411,7 +411,7 @@ fn lexicon_doc_app_greengale_publication() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -432,7 +432,7 @@ fn lexicon_doc_app_greengale_publication() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "enableSiteStandard", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -442,7 +442,9 @@ fn lexicon_doc_app_greengale_publication() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -461,7 +463,9 @@ fn lexicon_doc_app_greengale_publication() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("theme"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "theme", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -470,7 +474,9 @@ fn lexicon_doc_app_greengale_publication() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -491,7 +497,7 @@ fn lexicon_doc_app_greengale_publication() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "voiceTheme", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { diff --git a/crates/jacquard-api/src/app_juttu/article_link.rs b/crates/jacquard-api/src/app_juttu/article_link.rs index 5f072a393..51241fb12 100644 --- a/crates/jacquard-api/src/app_juttu/article_link.rs +++ b/crates/jacquard-api/src/app_juttu/article_link.rs @@ -42,49 +42,49 @@ pub mod article_link_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CommentsThread; type CreatedAt; + type CommentsThread; type ArticleId; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CommentsThread = Unset; type CreatedAt = Unset; + type CommentsThread = Unset; type ArticleId = Unset; } - ///State transition - sets the `comments_thread` field to Set - pub struct SetCommentsThread(PhantomData S>); - impl sealed::Sealed for SetCommentsThread {} - impl State for SetCommentsThread { - type CommentsThread = Set; - type CreatedAt = S::CreatedAt; - type ArticleId = S::ArticleId; - } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type CommentsThread = S::CommentsThread; type CreatedAt = Set; + type CommentsThread = S::CommentsThread; + type ArticleId = S::ArticleId; + } + ///State transition - sets the `comments_thread` field to Set + pub struct SetCommentsThread(PhantomData S>); + impl sealed::Sealed for SetCommentsThread {} + impl State for SetCommentsThread { + type CreatedAt = S::CreatedAt; + type CommentsThread = Set; type ArticleId = S::ArticleId; } ///State transition - sets the `article_id` field to Set pub struct SetArticleId(PhantomData S>); impl sealed::Sealed for SetArticleId {} impl State for SetArticleId { - type CommentsThread = S::CommentsThread; type CreatedAt = S::CreatedAt; + type CommentsThread = S::CommentsThread; type ArticleId = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `comments_thread` field - pub struct comments_thread(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `comments_thread` field + pub struct comments_thread(()); ///Marker type for the `article_id` field pub struct article_id(()); } @@ -199,8 +199,8 @@ where impl<'a, S> ArticleLinkBuilder<'a, S> where S: article_link_state::State, - S::CommentsThread: article_link_state::IsSet, S::CreatedAt: article_link_state::IsSet, + S::CommentsThread: article_link_state::IsSet, S::ArticleId: article_link_state::IsSet, { /// Build the final struct @@ -217,7 +217,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ArticleLink<'a> { @@ -333,7 +333,7 @@ fn lexicon_doc_app_juttu_articleLink() -> ::jacquard_lexicon::lexicon::LexiconDo defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -345,9 +345,9 @@ fn lexicon_doc_app_juttu_articleLink() -> ::jacquard_lexicon::lexicon::LexiconDo description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("articleId"), - ::jacquard_common::smol_str::SmolStr::new_static("commentsThread"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("articleId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("commentsThread"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -355,7 +355,7 @@ fn lexicon_doc_app_juttu_articleLink() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "articleId", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -376,7 +376,7 @@ fn lexicon_doc_app_juttu_articleLink() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "articleUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -399,7 +399,7 @@ fn lexicon_doc_app_juttu_articleLink() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "commentsThread", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -410,7 +410,7 @@ fn lexicon_doc_app_juttu_articleLink() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/app_mathr/leaderboard/entry.rs b/crates/jacquard-api/src/app_mathr/leaderboard/entry.rs index 699741f93..91df9ab1a 100644 --- a/crates/jacquard-api/src/app_mathr/leaderboard/entry.rs +++ b/crates/jacquard-api/src/app_mathr/leaderboard/entry.rs @@ -60,85 +60,85 @@ pub mod entry_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type PlayerDid; type TotalChallenges; - type TotalSuccesses; - type CreatedAt; type Level; - type PlayerDid; + type CreatedAt; + type TotalSuccesses; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type PlayerDid = Unset; type TotalChallenges = Unset; - type TotalSuccesses = Unset; - type CreatedAt = Unset; type Level = Unset; - type PlayerDid = Unset; + type CreatedAt = Unset; + type TotalSuccesses = Unset; + } + ///State transition - sets the `player_did` field to Set + pub struct SetPlayerDid(PhantomData S>); + impl sealed::Sealed for SetPlayerDid {} + impl State for SetPlayerDid { + type PlayerDid = Set; + type TotalChallenges = S::TotalChallenges; + type Level = S::Level; + type CreatedAt = S::CreatedAt; + type TotalSuccesses = S::TotalSuccesses; } ///State transition - sets the `total_challenges` field to Set pub struct SetTotalChallenges(PhantomData S>); impl sealed::Sealed for SetTotalChallenges {} impl State for SetTotalChallenges { + type PlayerDid = S::PlayerDid; type TotalChallenges = Set; - type TotalSuccesses = S::TotalSuccesses; - type CreatedAt = S::CreatedAt; type Level = S::Level; - type PlayerDid = S::PlayerDid; + type CreatedAt = S::CreatedAt; + type TotalSuccesses = S::TotalSuccesses; } - ///State transition - sets the `total_successes` field to Set - pub struct SetTotalSuccesses(PhantomData S>); - impl sealed::Sealed for SetTotalSuccesses {} - impl State for SetTotalSuccesses { + ///State transition - sets the `level` field to Set + pub struct SetLevel(PhantomData S>); + impl sealed::Sealed for SetLevel {} + impl State for SetLevel { + type PlayerDid = S::PlayerDid; type TotalChallenges = S::TotalChallenges; - type TotalSuccesses = Set; + type Level = Set; type CreatedAt = S::CreatedAt; - type Level = S::Level; - type PlayerDid = S::PlayerDid; + type TotalSuccesses = S::TotalSuccesses; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type TotalChallenges = S::TotalChallenges; - type TotalSuccesses = S::TotalSuccesses; - type CreatedAt = Set; - type Level = S::Level; type PlayerDid = S::PlayerDid; - } - ///State transition - sets the `level` field to Set - pub struct SetLevel(PhantomData S>); - impl sealed::Sealed for SetLevel {} - impl State for SetLevel { type TotalChallenges = S::TotalChallenges; + type Level = S::Level; + type CreatedAt = Set; type TotalSuccesses = S::TotalSuccesses; - type CreatedAt = S::CreatedAt; - type Level = Set; - type PlayerDid = S::PlayerDid; } - ///State transition - sets the `player_did` field to Set - pub struct SetPlayerDid(PhantomData S>); - impl sealed::Sealed for SetPlayerDid {} - impl State for SetPlayerDid { + ///State transition - sets the `total_successes` field to Set + pub struct SetTotalSuccesses(PhantomData S>); + impl sealed::Sealed for SetTotalSuccesses {} + impl State for SetTotalSuccesses { + type PlayerDid = S::PlayerDid; type TotalChallenges = S::TotalChallenges; - type TotalSuccesses = S::TotalSuccesses; - type CreatedAt = S::CreatedAt; type Level = S::Level; - type PlayerDid = Set; + type CreatedAt = S::CreatedAt; + type TotalSuccesses = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `player_did` field + pub struct player_did(()); ///Marker type for the `total_challenges` field pub struct total_challenges(()); - ///Marker type for the `total_successes` field - pub struct total_successes(()); - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `level` field pub struct level(()); - ///Marker type for the `player_did` field - pub struct player_did(()); + ///Marker type for the `created_at` field + pub struct created_at(()); + ///Marker type for the `total_successes` field + pub struct total_successes(()); } } @@ -376,11 +376,11 @@ where impl<'a, S> EntryBuilder<'a, S> where S: entry_state::State, + S::PlayerDid: entry_state::IsSet, S::TotalChallenges: entry_state::IsSet, - S::TotalSuccesses: entry_state::IsSet, - S::CreatedAt: entry_state::IsSet, S::Level: entry_state::IsSet, - S::PlayerDid: entry_state::IsSet, + S::CreatedAt: entry_state::IsSet, + S::TotalSuccesses: entry_state::IsSet, { /// Build the final struct pub fn build(self) -> Entry<'a> { @@ -402,7 +402,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Entry<'a> { @@ -569,7 +569,7 @@ fn lexicon_doc_app_mathr_leaderboard_entry() -> ::jacquard_lexicon::lexicon::Lex defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -581,11 +581,11 @@ fn lexicon_doc_app_mathr_leaderboard_entry() -> ::jacquard_lexicon::lexicon::Lex description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("playerDid"), - ::jacquard_common::smol_str::SmolStr::new_static("level"), - ::jacquard_common::smol_str::SmolStr::new_static("totalSuccesses"), - ::jacquard_common::smol_str::SmolStr::new_static("totalChallenges"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("playerDid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("level"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("totalSuccesses"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("totalChallenges"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -593,7 +593,7 @@ fn lexicon_doc_app_mathr_leaderboard_entry() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -616,7 +616,9 @@ fn lexicon_doc_app_mathr_leaderboard_entry() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("level"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "level", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -627,7 +629,7 @@ fn lexicon_doc_app_mathr_leaderboard_entry() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "percentage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -640,7 +642,7 @@ fn lexicon_doc_app_mathr_leaderboard_entry() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "playerAvatar", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -663,7 +665,7 @@ fn lexicon_doc_app_mathr_leaderboard_entry() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "playerDid", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -686,7 +688,7 @@ fn lexicon_doc_app_mathr_leaderboard_entry() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "playerDisplayName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -707,7 +709,7 @@ fn lexicon_doc_app_mathr_leaderboard_entry() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "playerHandle", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -728,7 +730,9 @@ fn lexicon_doc_app_mathr_leaderboard_entry() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("postUri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "postUri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -749,7 +753,7 @@ fn lexicon_doc_app_mathr_leaderboard_entry() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "totalChallenges", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -762,7 +766,7 @@ fn lexicon_doc_app_mathr_leaderboard_entry() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "totalSuccesses", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { diff --git a/crates/jacquard-api/src/app_mathr/score.rs b/crates/jacquard-api/src/app_mathr/score.rs index 1afcbeb4b..65382f26d 100644 --- a/crates/jacquard-api/src/app_mathr/score.rs +++ b/crates/jacquard-api/src/app_mathr/score.rs @@ -41,67 +41,67 @@ pub mod score_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type TotalChallenges; + type TotalSuccesses; type CreatedAt; + type TotalChallenges; type Level; - type TotalSuccesses; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type TotalChallenges = Unset; + type TotalSuccesses = Unset; type CreatedAt = Unset; + type TotalChallenges = Unset; type Level = Unset; - type TotalSuccesses = Unset; } - ///State transition - sets the `total_challenges` field to Set - pub struct SetTotalChallenges(PhantomData S>); - impl sealed::Sealed for SetTotalChallenges {} - impl State for SetTotalChallenges { - type TotalChallenges = Set; + ///State transition - sets the `total_successes` field to Set + pub struct SetTotalSuccesses(PhantomData S>); + impl sealed::Sealed for SetTotalSuccesses {} + impl State for SetTotalSuccesses { + type TotalSuccesses = Set; type CreatedAt = S::CreatedAt; + type TotalChallenges = S::TotalChallenges; type Level = S::Level; - type TotalSuccesses = S::TotalSuccesses; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type TotalChallenges = S::TotalChallenges; + type TotalSuccesses = S::TotalSuccesses; type CreatedAt = Set; + type TotalChallenges = S::TotalChallenges; type Level = S::Level; + } + ///State transition - sets the `total_challenges` field to Set + pub struct SetTotalChallenges(PhantomData S>); + impl sealed::Sealed for SetTotalChallenges {} + impl State for SetTotalChallenges { type TotalSuccesses = S::TotalSuccesses; + type CreatedAt = S::CreatedAt; + type TotalChallenges = Set; + type Level = S::Level; } ///State transition - sets the `level` field to Set pub struct SetLevel(PhantomData S>); impl sealed::Sealed for SetLevel {} impl State for SetLevel { - type TotalChallenges = S::TotalChallenges; - type CreatedAt = S::CreatedAt; - type Level = Set; type TotalSuccesses = S::TotalSuccesses; - } - ///State transition - sets the `total_successes` field to Set - pub struct SetTotalSuccesses(PhantomData S>); - impl sealed::Sealed for SetTotalSuccesses {} - impl State for SetTotalSuccesses { - type TotalChallenges = S::TotalChallenges; type CreatedAt = S::CreatedAt; - type Level = S::Level; - type TotalSuccesses = Set; + type TotalChallenges = S::TotalChallenges; + type Level = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `total_challenges` field - pub struct total_challenges(()); + ///Marker type for the `total_successes` field + pub struct total_successes(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `total_challenges` field + pub struct total_challenges(()); ///Marker type for the `level` field pub struct level(()); - ///Marker type for the `total_successes` field - pub struct total_successes(()); } } @@ -228,10 +228,10 @@ where impl<'a, S> ScoreBuilder<'a, S> where S: score_state::State, - S::TotalChallenges: score_state::IsSet, + S::TotalSuccesses: score_state::IsSet, S::CreatedAt: score_state::IsSet, + S::TotalChallenges: score_state::IsSet, S::Level: score_state::IsSet, - S::TotalSuccesses: score_state::IsSet, { /// Build the final struct pub fn build(self) -> Score<'a> { @@ -248,7 +248,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Score<'a> { @@ -408,7 +408,7 @@ fn lexicon_doc_app_mathr_score() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -420,10 +420,10 @@ fn lexicon_doc_app_mathr_score() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("level"), - ::jacquard_common::smol_str::SmolStr::new_static("totalSuccesses"), - ::jacquard_common::smol_str::SmolStr::new_static("totalChallenges"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("level"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("totalSuccesses"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("totalChallenges"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -431,7 +431,7 @@ fn lexicon_doc_app_mathr_score() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -454,7 +454,9 @@ fn lexicon_doc_app_mathr_score() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("level"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "level", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -465,7 +467,7 @@ fn lexicon_doc_app_mathr_score() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "percentage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -478,7 +480,7 @@ fn lexicon_doc_app_mathr_score() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "totalChallenges", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -491,7 +493,7 @@ fn lexicon_doc_app_mathr_score() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "totalSuccesses", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { diff --git a/crates/jacquard-api/src/app_nblr/actor/profile.rs b/crates/jacquard-api/src/app_nblr/actor/profile.rs index 9cb6e9a72..890dfcc11 100644 --- a/crates/jacquard-api/src/app_nblr/actor/profile.rs +++ b/crates/jacquard-api/src/app_nblr/actor/profile.rs @@ -235,7 +235,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Profile<'a> { @@ -339,7 +339,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Profile<'a> { } if let Some(ref value) = self.description { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -369,7 +369,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Profile<'a> { } if let Some(ref value) = self.display_name { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -399,7 +399,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Profile<'a> { } if let Some(ref value) = self.pronouns { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -430,7 +430,7 @@ fn lexicon_doc_app_nblr_actor_profile() -> ::jacquard_lexicon::lexicon::LexiconD defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -442,7 +442,7 @@ fn lexicon_doc_app_nblr_actor_profile() -> ::jacquard_lexicon::lexicon::LexiconD description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -450,7 +450,9 @@ fn lexicon_doc_app_nblr_actor_profile() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("avatar"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "avatar", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -458,7 +460,7 @@ fn lexicon_doc_app_nblr_actor_profile() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -477,7 +479,7 @@ fn lexicon_doc_app_nblr_actor_profile() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -498,7 +500,7 @@ fn lexicon_doc_app_nblr_actor_profile() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "displayName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -515,7 +517,7 @@ fn lexicon_doc_app_nblr_actor_profile() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "pronouns", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -536,7 +538,9 @@ fn lexicon_doc_app_nblr_actor_profile() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("website"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "website", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( diff --git a/crates/jacquard-api/src/app_nblr/feed/collection.rs b/crates/jacquard-api/src/app_nblr/feed/collection.rs index ed872eaf7..4f80c0955 100644 --- a/crates/jacquard-api/src/app_nblr/feed/collection.rs +++ b/crates/jacquard-api/src/app_nblr/feed/collection.rs @@ -34,37 +34,37 @@ pub mod collection_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Name; type CreatedAt; + type Name; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Name = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `name` field to Set - pub struct SetName(PhantomData S>); - impl sealed::Sealed for SetName {} - impl State for SetName { - type Name = Set; - type CreatedAt = S::CreatedAt; + type Name = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Name = S::Name; type CreatedAt = Set; + type Name = S::Name; + } + ///State transition - sets the `name` field to Set + pub struct SetName(PhantomData S>); + impl sealed::Sealed for SetName {} + impl State for SetName { + type CreatedAt = S::CreatedAt; + type Name = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `name` field - pub struct name(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `name` field + pub struct name(()); } } @@ -137,8 +137,8 @@ where impl<'a, S> CollectionBuilder<'a, S> where S: collection_state::State, - S::Name: collection_state::IsSet, S::CreatedAt: collection_state::IsSet, + S::Name: collection_state::IsSet, { /// Build the final struct pub fn build(self) -> Collection<'a> { @@ -152,7 +152,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Collection<'a> { @@ -254,7 +254,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Collection<'a> { { let value = &self.name; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -285,7 +285,7 @@ fn lexicon_doc_app_nblr_feed_collection() -> ::jacquard_lexicon::lexicon::Lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -297,8 +297,8 @@ fn lexicon_doc_app_nblr_feed_collection() -> ::jacquard_lexicon::lexicon::Lexico description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -306,7 +306,7 @@ fn lexicon_doc_app_nblr_feed_collection() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -325,7 +325,9 @@ fn lexicon_doc_app_nblr_feed_collection() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/app_nblr/feed/link.rs b/crates/jacquard-api/src/app_nblr/feed/link.rs index 38c7a71bc..4ae7e3ec5 100644 --- a/crates/jacquard-api/src/app_nblr/feed/link.rs +++ b/crates/jacquard-api/src/app_nblr/feed/link.rs @@ -37,49 +37,49 @@ pub mod link_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Uri; type CreatedAt; + type Uri; type Collection; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Uri = Unset; type CreatedAt = Unset; + type Uri = Unset; type Collection = Unset; } - ///State transition - sets the `uri` field to Set - pub struct SetUri(PhantomData S>); - impl sealed::Sealed for SetUri {} - impl State for SetUri { - type Uri = Set; - type CreatedAt = S::CreatedAt; - type Collection = S::Collection; - } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Uri = S::Uri; type CreatedAt = Set; + type Uri = S::Uri; + type Collection = S::Collection; + } + ///State transition - sets the `uri` field to Set + pub struct SetUri(PhantomData S>); + impl sealed::Sealed for SetUri {} + impl State for SetUri { + type CreatedAt = S::CreatedAt; + type Uri = Set; type Collection = S::Collection; } ///State transition - sets the `collection` field to Set pub struct SetCollection(PhantomData S>); impl sealed::Sealed for SetCollection {} impl State for SetCollection { - type Uri = S::Uri; type CreatedAt = S::CreatedAt; + type Uri = S::Uri; type Collection = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `uri` field - pub struct uri(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `uri` field + pub struct uri(()); ///Marker type for the `collection` field pub struct collection(()); } @@ -174,8 +174,8 @@ where impl<'a, S> LinkBuilder<'a, S> where S: link_state::State, - S::Uri: link_state::IsSet, S::CreatedAt: link_state::IsSet, + S::Uri: link_state::IsSet, S::Collection: link_state::IsSet, { /// Build the final struct @@ -191,7 +191,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Link<'a> { @@ -291,7 +291,7 @@ fn lexicon_doc_app_nblr_feed_link() -> ::jacquard_lexicon::lexicon::LexiconDoc<' defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -303,9 +303,9 @@ fn lexicon_doc_app_nblr_feed_link() -> ::jacquard_lexicon::lexicon::LexiconDoc<' description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("collection"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("collection"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -313,7 +313,7 @@ fn lexicon_doc_app_nblr_feed_link() -> ::jacquard_lexicon::lexicon::LexiconDoc<' #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "collection", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -336,7 +336,7 @@ fn lexicon_doc_app_nblr_feed_link() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -355,7 +355,9 @@ fn lexicon_doc_app_nblr_feed_link() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/app_nblr/feed/post.rs b/crates/jacquard-api/src/app_nblr/feed/post.rs index 496bb83f6..f609f414f 100644 --- a/crates/jacquard-api/src/app_nblr/feed/post.rs +++ b/crates/jacquard-api/src/app_nblr/feed/post.rs @@ -147,7 +147,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> AspectRatio<'a> { @@ -168,7 +168,7 @@ fn lexicon_doc_app_nblr_feed_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<' defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("aspectRatio"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("aspectRatio"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -177,8 +177,8 @@ fn lexicon_doc_app_nblr_feed_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<' ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("width"), - ::jacquard_common::smol_str::SmolStr::new_static("height") + ::jacquard_common::deps::smol_str::SmolStr::new_static("width"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("height") ], ), nullable: None, @@ -186,7 +186,9 @@ fn lexicon_doc_app_nblr_feed_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<' #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("height"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "height", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -197,7 +199,9 @@ fn lexicon_doc_app_nblr_feed_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("width"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "width", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -212,7 +216,7 @@ fn lexicon_doc_app_nblr_feed_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -224,7 +228,7 @@ fn lexicon_doc_app_nblr_feed_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<' description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -232,7 +236,7 @@ fn lexicon_doc_app_nblr_feed_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<' #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "aspectRatio", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -241,7 +245,7 @@ fn lexicon_doc_app_nblr_feed_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -260,7 +264,7 @@ fn lexicon_doc_app_nblr_feed_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -281,7 +285,9 @@ fn lexicon_doc_app_nblr_feed_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -289,7 +295,9 @@ fn lexicon_doc_app_nblr_feed_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -308,7 +316,9 @@ fn lexicon_doc_app_nblr_feed_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -611,7 +621,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Post<'a> { @@ -715,7 +725,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Post<'a> { } if let Some(ref value) = self.description { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -745,7 +755,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Post<'a> { } if let Some(ref value) = self.title { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) diff --git a/crates/jacquard-api/src/app_ocho/auth.rs b/crates/jacquard-api/src/app_ocho/auth.rs index cfeb2a626..c65b6cf70 100644 --- a/crates/jacquard-api/src/app_ocho/auth.rs +++ b/crates/jacquard-api/src/app_ocho/auth.rs @@ -46,67 +46,67 @@ pub mod auth_callback_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Did; type Handle; - type AccessJwt; type RefreshJwt; + type Did; + type AccessJwt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Did = Unset; type Handle = Unset; - type AccessJwt = Unset; type RefreshJwt = Unset; - } - ///State transition - sets the `did` field to Set - pub struct SetDid(PhantomData S>); - impl sealed::Sealed for SetDid {} - impl State for SetDid { - type Did = Set; - type Handle = S::Handle; - type AccessJwt = S::AccessJwt; - type RefreshJwt = S::RefreshJwt; + type Did = Unset; + type AccessJwt = Unset; } ///State transition - sets the `handle` field to Set pub struct SetHandle(PhantomData S>); impl sealed::Sealed for SetHandle {} impl State for SetHandle { - type Did = S::Did; type Handle = Set; - type AccessJwt = S::AccessJwt; type RefreshJwt = S::RefreshJwt; - } - ///State transition - sets the `access_jwt` field to Set - pub struct SetAccessJwt(PhantomData S>); - impl sealed::Sealed for SetAccessJwt {} - impl State for SetAccessJwt { type Did = S::Did; - type Handle = S::Handle; - type AccessJwt = Set; - type RefreshJwt = S::RefreshJwt; + type AccessJwt = S::AccessJwt; } ///State transition - sets the `refresh_jwt` field to Set pub struct SetRefreshJwt(PhantomData S>); impl sealed::Sealed for SetRefreshJwt {} impl State for SetRefreshJwt { + type Handle = S::Handle; + type RefreshJwt = Set; type Did = S::Did; + type AccessJwt = S::AccessJwt; + } + ///State transition - sets the `did` field to Set + pub struct SetDid(PhantomData S>); + impl sealed::Sealed for SetDid {} + impl State for SetDid { type Handle = S::Handle; + type RefreshJwt = S::RefreshJwt; + type Did = Set; type AccessJwt = S::AccessJwt; - type RefreshJwt = Set; + } + ///State transition - sets the `access_jwt` field to Set + pub struct SetAccessJwt(PhantomData S>); + impl sealed::Sealed for SetAccessJwt {} + impl State for SetAccessJwt { + type Handle = S::Handle; + type RefreshJwt = S::RefreshJwt; + type Did = S::Did; + type AccessJwt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `did` field - pub struct did(()); ///Marker type for the `handle` field pub struct handle(()); - ///Marker type for the `access_jwt` field - pub struct access_jwt(()); ///Marker type for the `refresh_jwt` field pub struct refresh_jwt(()); + ///Marker type for the `did` field + pub struct did(()); + ///Marker type for the `access_jwt` field + pub struct access_jwt(()); } } @@ -219,10 +219,10 @@ where impl<'a, S> AuthCallbackBuilder<'a, S> where S: auth_callback_state::State, - S::Did: auth_callback_state::IsSet, S::Handle: auth_callback_state::IsSet, - S::AccessJwt: auth_callback_state::IsSet, S::RefreshJwt: auth_callback_state::IsSet, + S::Did: auth_callback_state::IsSet, + S::AccessJwt: auth_callback_state::IsSet, { /// Build the final struct pub fn build(self) -> AuthCallback<'a> { @@ -238,7 +238,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> AuthCallback<'a> { @@ -261,15 +261,15 @@ fn lexicon_doc_app_ocho_auth_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("authCallback"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("authCallback"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("refreshJwt"), - ::jacquard_common::smol_str::SmolStr::new_static("accessJwt"), - ::jacquard_common::smol_str::SmolStr::new_static("handle"), - ::jacquard_common::smol_str::SmolStr::new_static("did") + ::jacquard_common::deps::smol_str::SmolStr::new_static("refreshJwt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("accessJwt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("handle"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("did") ], ), nullable: None, @@ -277,7 +277,7 @@ fn lexicon_doc_app_ocho_auth_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessJwt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -294,7 +294,9 @@ fn lexicon_doc_app_ocho_auth_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -311,7 +313,9 @@ fn lexicon_doc_app_ocho_auth_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("handle"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "handle", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -326,7 +330,7 @@ fn lexicon_doc_app_ocho_auth_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "refreshJwt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { 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 e8392d019..cd2d032bd 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 @@ -34,51 +34,51 @@ pub mod at_proto_callback_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Code; type State; type Iss; - type Code; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Code = Unset; type State = Unset; type Iss = Unset; - type Code = Unset; + } + ///State transition - sets the `code` field to Set + pub struct SetCode(PhantomData S>); + impl sealed::Sealed for SetCode {} + impl State for SetCode { + type Code = Set; + type State = S::State; + type Iss = S::Iss; } ///State transition - sets the `state` field to Set pub struct SetState(PhantomData S>); impl sealed::Sealed for SetState {} impl State for SetState { + type Code = S::Code; type State = Set; type Iss = S::Iss; - type Code = S::Code; } ///State transition - sets the `iss` field to Set pub struct SetIss(PhantomData S>); impl sealed::Sealed for SetIss {} impl State for SetIss { - type State = S::State; - type Iss = Set; type Code = S::Code; - } - ///State transition - sets the `code` field to Set - pub struct SetCode(PhantomData S>); - impl sealed::Sealed for SetCode {} - impl State for SetCode { type State = S::State; - type Iss = S::Iss; - type Code = Set; + type Iss = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `code` field + pub struct code(()); ///Marker type for the `state` field pub struct state(()); ///Marker type for the `iss` field pub struct iss(()); - ///Marker type for the `code` field - pub struct code(()); } } @@ -171,9 +171,9 @@ where impl<'a, S> AtProtoCallbackBuilder<'a, S> where S: at_proto_callback_state::State, + S::Code: at_proto_callback_state::IsSet, S::State: at_proto_callback_state::IsSet, S::Iss: at_proto_callback_state::IsSet, - S::Code: at_proto_callback_state::IsSet, { /// Build the final struct pub fn build(self) -> AtProtoCallback<'a> { diff --git a/crates/jacquard-api/src/app_ocho/auth/authorize.rs b/crates/jacquard-api/src/app_ocho/auth/authorize.rs index d9af17cd7..f63c4ead3 100644 --- a/crates/jacquard-api/src/app_ocho/auth/authorize.rs +++ b/crates/jacquard-api/src/app_ocho/auth/authorize.rs @@ -151,7 +151,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Authorize<'a> { 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 222717194..9b5ecc6c6 100644 --- a/crates/jacquard-api/src/app_ocho/auth/update_handle.rs +++ b/crates/jacquard-api/src/app_ocho/auth/update_handle.rs @@ -116,7 +116,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> UpdateHandle<'a> { 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 0bb8d0229..e53283f92 100644 --- a/crates/jacquard-api/src/app_ocho/edu/google_callback.rs +++ b/crates/jacquard-api/src/app_ocho/edu/google_callback.rs @@ -32,37 +32,37 @@ pub mod google_callback_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type State; type Code; + type State; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type State = Unset; type Code = Unset; - } - ///State transition - sets the `state` field to Set - pub struct SetState(PhantomData S>); - impl sealed::Sealed for SetState {} - impl State for SetState { - type State = Set; - type Code = S::Code; + type State = Unset; } ///State transition - sets the `code` field to Set pub struct SetCode(PhantomData S>); impl sealed::Sealed for SetCode {} impl State for SetCode { - type State = S::State; type Code = Set; + type State = S::State; + } + ///State transition - sets the `state` field to Set + pub struct SetState(PhantomData S>); + impl sealed::Sealed for SetState {} + impl State for SetState { + type Code = S::Code; + type State = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `state` field - pub struct state(()); ///Marker type for the `code` field pub struct code(()); + ///Marker type for the `state` field + pub struct state(()); } } @@ -135,8 +135,8 @@ where impl<'a, S> GoogleCallbackBuilder<'a, S> where S: google_callback_state::State, - S::State: google_callback_state::IsSet, S::Code: google_callback_state::IsSet, + S::State: google_callback_state::IsSet, { /// Build the final struct pub fn build(self) -> GoogleCallback<'a> { diff --git a/crates/jacquard-api/src/app_ocho/edu/verification.rs b/crates/jacquard-api/src/app_ocho/edu/verification.rs index fd920f662..5be6d9e28 100644 --- a/crates/jacquard-api/src/app_ocho/edu/verification.rs +++ b/crates/jacquard-api/src/app_ocho/edu/verification.rs @@ -38,51 +38,51 @@ pub mod verification_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Subject; type Domain; type CreatedAt; + type Subject; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Subject = Unset; type Domain = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `subject` field to Set - pub struct SetSubject(PhantomData S>); - impl sealed::Sealed for SetSubject {} - impl State for SetSubject { - type Subject = Set; - type Domain = S::Domain; - type CreatedAt = S::CreatedAt; + type Subject = Unset; } ///State transition - sets the `domain` field to Set pub struct SetDomain(PhantomData S>); impl sealed::Sealed for SetDomain {} impl State for SetDomain { - type Subject = S::Subject; type Domain = Set; type CreatedAt = S::CreatedAt; + type Subject = S::Subject; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Subject = S::Subject; type Domain = S::Domain; type CreatedAt = Set; + type Subject = S::Subject; + } + ///State transition - sets the `subject` field to Set + pub struct SetSubject(PhantomData S>); + impl sealed::Sealed for SetSubject {} + impl State for SetSubject { + type Domain = S::Domain; + type CreatedAt = S::CreatedAt; + type Subject = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `subject` field - pub struct subject(()); ///Marker type for the `domain` field pub struct domain(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `subject` field + pub struct subject(()); } } @@ -175,9 +175,9 @@ where impl<'a, S> VerificationBuilder<'a, S> where S: verification_state::State, - S::Subject: verification_state::IsSet, S::Domain: verification_state::IsSet, S::CreatedAt: verification_state::IsSet, + S::Subject: verification_state::IsSet, { /// Build the final struct pub fn build(self) -> Verification<'a> { @@ -192,7 +192,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Verification<'a> { @@ -294,7 +294,7 @@ fn lexicon_doc_app_ocho_edu_verification() -> ::jacquard_lexicon::lexicon::Lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -306,9 +306,9 @@ fn lexicon_doc_app_ocho_edu_verification() -> ::jacquard_lexicon::lexicon::Lexic description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("domain"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("domain"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -316,7 +316,7 @@ fn lexicon_doc_app_ocho_edu_verification() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -339,7 +339,9 @@ fn lexicon_doc_app_ocho_edu_verification() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("domain"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "domain", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -358,7 +360,9 @@ fn lexicon_doc_app_ocho_edu_verification() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/app_ocho/plugin.rs b/crates/jacquard-api/src/app_ocho/plugin.rs index 093b12110..20e7afea4 100644 --- a/crates/jacquard-api/src/app_ocho/plugin.rs +++ b/crates/jacquard-api/src/app_ocho/plugin.rs @@ -49,7 +49,7 @@ fn lexicon_doc_app_ocho_plugin_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("adaptiveIcon"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("adaptiveIcon"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -58,7 +58,7 @@ fn lexicon_doc_app_ocho_plugin_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "backgroundColor", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -79,7 +79,7 @@ fn lexicon_doc_app_ocho_plugin_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "foregroundImage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -100,7 +100,7 @@ fn lexicon_doc_app_ocho_plugin_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "foregroundImageBlob", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { @@ -114,7 +114,7 @@ fn lexicon_doc_app_ocho_plugin_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("android"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("android"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -123,7 +123,7 @@ fn lexicon_doc_app_ocho_plugin_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "adaptiveIcon", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -134,7 +134,7 @@ fn lexicon_doc_app_ocho_plugin_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "edgeToEdgeEnabled", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -148,7 +148,9 @@ fn lexicon_doc_app_ocho_plugin_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("androidStatusBar"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "androidStatusBar", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -161,7 +163,7 @@ fn lexicon_doc_app_ocho_plugin_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "backgroundColor", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -186,14 +188,14 @@ fn lexicon_doc_app_ocho_plugin_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("asset"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("asset"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("hash"), - ::jacquard_common::smol_str::SmolStr::new_static("blob"), - ::jacquard_common::smol_str::SmolStr::new_static("type") + ::jacquard_common::deps::smol_str::SmolStr::new_static("hash"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("blob"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("type") ], ), nullable: None, @@ -201,7 +203,9 @@ fn lexicon_doc_app_ocho_plugin_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("blob"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "blob", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -209,7 +213,9 @@ fn lexicon_doc_app_ocho_plugin_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hash"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "hash", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -228,7 +234,9 @@ fn lexicon_doc_app_ocho_plugin_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "type", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -247,7 +255,7 @@ fn lexicon_doc_app_ocho_plugin_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -274,18 +282,20 @@ fn lexicon_doc_app_ocho_plugin_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("db"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("db"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("id")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("id") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -308,18 +318,22 @@ fn lexicon_doc_app_ocho_plugin_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("developer"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("developer"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("tool")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("tool") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tool"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tool", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -342,13 +356,13 @@ fn lexicon_doc_app_ocho_plugin_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("expoClient"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("expoClient"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("slug") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("slug") ], ), nullable: None, @@ -356,14 +370,16 @@ fn lexicon_doc_app_ocho_plugin_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("android"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "android", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#android"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "androidStatusBar", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -374,7 +390,7 @@ fn lexicon_doc_app_ocho_plugin_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "expirements", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { @@ -382,13 +398,17 @@ fn lexicon_doc_app_ocho_plugin_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("extra"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "extra", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("icon"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "icon", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -407,20 +427,26 @@ fn lexicon_doc_app_ocho_plugin_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("ios"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "ios", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#ios"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("locales"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "locales", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -439,7 +465,7 @@ fn lexicon_doc_app_ocho_plugin_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "newArchEnabled", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -449,7 +475,7 @@ fn lexicon_doc_app_ocho_plugin_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "orientation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -470,7 +496,7 @@ fn lexicon_doc_app_ocho_plugin_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "platforms", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -496,13 +522,17 @@ fn lexicon_doc_app_ocho_plugin_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("plugins"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "plugins", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("scheme"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "scheme", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -521,7 +551,7 @@ fn lexicon_doc_app_ocho_plugin_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdkVersion", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -542,7 +572,9 @@ fn lexicon_doc_app_ocho_plugin_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("slug"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "slug", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -561,7 +593,7 @@ fn lexicon_doc_app_ocho_plugin_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "userInterfaceStyle", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -582,7 +614,9 @@ fn lexicon_doc_app_ocho_plugin_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("version"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "version", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -601,7 +635,9 @@ fn lexicon_doc_app_ocho_plugin_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("web"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "web", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#web"), @@ -612,12 +648,12 @@ fn lexicon_doc_app_ocho_plugin_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("expoGo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("expoGo"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("developer") + ::jacquard_common::deps::smol_str::SmolStr::new_static("developer") ], ), nullable: None, @@ -625,7 +661,7 @@ fn lexicon_doc_app_ocho_plugin_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "developer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -638,7 +674,7 @@ fn lexicon_doc_app_ocho_plugin_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("ios"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("ios"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -647,7 +683,7 @@ fn lexicon_doc_app_ocho_plugin_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "supportsTablet", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -661,14 +697,14 @@ fn lexicon_doc_app_ocho_plugin_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("launchAsset"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("launchAsset"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("key"), - ::jacquard_common::smol_str::SmolStr::new_static("contentType"), - ::jacquard_common::smol_str::SmolStr::new_static("url") + ::jacquard_common::deps::smol_str::SmolStr::new_static("key"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("contentType"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("url") ], ), nullable: None, @@ -676,7 +712,7 @@ fn lexicon_doc_app_ocho_plugin_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -697,7 +733,9 @@ fn lexicon_doc_app_ocho_plugin_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("key"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "key", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -716,7 +754,9 @@ fn lexicon_doc_app_ocho_plugin_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -741,17 +781,17 @@ fn lexicon_doc_app_ocho_plugin_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("manifest"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("manifest"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("id"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt"), - ::jacquard_common::smol_str::SmolStr::new_static("runtimeVersion"), - ::jacquard_common::smol_str::SmolStr::new_static("launchAsset"), - ::jacquard_common::smol_str::SmolStr::new_static("metadata"), - ::jacquard_common::smol_str::SmolStr::new_static("extra") + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("runtimeVersion"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("launchAsset"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("metadata"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("extra") ], ), nullable: None, @@ -759,7 +799,7 @@ fn lexicon_doc_app_ocho_plugin_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -782,7 +822,9 @@ fn lexicon_doc_app_ocho_plugin_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("extra"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "extra", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -791,7 +833,7 @@ fn lexicon_doc_app_ocho_plugin_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -810,7 +852,7 @@ fn lexicon_doc_app_ocho_plugin_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "launchAsset", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -821,13 +863,15 @@ fn lexicon_doc_app_ocho_plugin_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("metadata"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "metadata", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "runtimeVersion", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -852,13 +896,13 @@ fn lexicon_doc_app_ocho_plugin_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("manifestExtra"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("manifestExtra"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("expoClient"), - ::jacquard_common::smol_str::SmolStr::new_static("expoGo") + ::jacquard_common::deps::smol_str::SmolStr::new_static("expoClient"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("expoGo") ], ), nullable: None, @@ -866,7 +910,7 @@ fn lexicon_doc_app_ocho_plugin_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "expoClient", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -875,7 +919,9 @@ fn lexicon_doc_app_ocho_plugin_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("expoGo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "expoGo", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#expoGo"), @@ -886,7 +932,7 @@ fn lexicon_doc_app_ocho_plugin_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("plugin"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("plugin"), ::jacquard_lexicon::lexicon::LexUserType::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -902,13 +948,13 @@ fn lexicon_doc_app_ocho_plugin_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("pluginConfig"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("pluginConfig"), ::jacquard_lexicon::lexicon::LexUserType::Unknown(::jacquard_lexicon::lexicon::LexUnknown { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("stringId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("stringId"), ::jacquard_lexicon::lexicon::LexUserType::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -927,7 +973,7 @@ fn lexicon_doc_app_ocho_plugin_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("web"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("web"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -936,7 +982,9 @@ fn lexicon_doc_app_ocho_plugin_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("bundler"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "bundler", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -955,7 +1003,9 @@ fn lexicon_doc_app_ocho_plugin_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("favicon"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "favicon", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -974,7 +1024,7 @@ fn lexicon_doc_app_ocho_plugin_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "faviconBlob", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { @@ -984,7 +1034,9 @@ fn lexicon_doc_app_ocho_plugin_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("output"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "output", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1140,51 +1192,51 @@ pub mod asset_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Hash; type Blob; type Type; - type Hash; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Hash = Unset; type Blob = Unset; type Type = Unset; - type Hash = Unset; + } + ///State transition - sets the `hash` field to Set + pub struct SetHash(PhantomData S>); + impl sealed::Sealed for SetHash {} + impl State for SetHash { + type Hash = Set; + type Blob = S::Blob; + type Type = S::Type; } ///State transition - sets the `blob` field to Set pub struct SetBlob(PhantomData S>); impl sealed::Sealed for SetBlob {} impl State for SetBlob { + type Hash = S::Hash; type Blob = Set; type Type = S::Type; - type Hash = S::Hash; } ///State transition - sets the `type` field to Set pub struct SetType(PhantomData S>); impl sealed::Sealed for SetType {} impl State for SetType { - type Blob = S::Blob; - type Type = Set; type Hash = S::Hash; - } - ///State transition - sets the `hash` field to Set - pub struct SetHash(PhantomData S>); - impl sealed::Sealed for SetHash {} - impl State for SetHash { type Blob = S::Blob; - type Type = S::Type; - type Hash = Set; + type Type = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `hash` field + pub struct hash(()); ///Marker type for the `blob` field pub struct blob(()); ///Marker type for the `type` field pub struct r#type(()); - ///Marker type for the `hash` field - pub struct hash(()); } } @@ -1297,9 +1349,9 @@ impl<'a, S: asset_state::State> AssetBuilder<'a, S> { impl<'a, S> AssetBuilder<'a, S> where S: asset_state::State, + S::Hash: asset_state::IsSet, S::Blob: asset_state::IsSet, S::Type: asset_state::IsSet, - S::Hash: asset_state::IsSet, { /// Build the final struct pub fn build(self) -> Asset<'a> { @@ -1315,7 +1367,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Asset<'a> { @@ -1630,7 +1682,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ExpoGo<'a> { @@ -1726,51 +1778,51 @@ pub mod launch_asset_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Url; type ContentType; type Key; - type Url; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Url = Unset; type ContentType = Unset; type Key = Unset; - type Url = Unset; + } + ///State transition - sets the `url` field to Set + pub struct SetUrl(PhantomData S>); + impl sealed::Sealed for SetUrl {} + impl State for SetUrl { + type Url = Set; + type ContentType = S::ContentType; + type Key = S::Key; } ///State transition - sets the `content_type` field to Set pub struct SetContentType(PhantomData S>); impl sealed::Sealed for SetContentType {} impl State for SetContentType { + type Url = S::Url; type ContentType = Set; type Key = S::Key; - type Url = S::Url; } ///State transition - sets the `key` field to Set pub struct SetKey(PhantomData S>); impl sealed::Sealed for SetKey {} impl State for SetKey { - type ContentType = S::ContentType; - type Key = Set; type Url = S::Url; - } - ///State transition - sets the `url` field to Set - pub struct SetUrl(PhantomData S>); - impl sealed::Sealed for SetUrl {} - impl State for SetUrl { type ContentType = S::ContentType; - type Key = S::Key; - type Url = Set; + type Key = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `url` field + pub struct url(()); ///Marker type for the `content_type` field pub struct content_type(()); ///Marker type for the `key` field pub struct key(()); - ///Marker type for the `url` field - pub struct url(()); } } @@ -1863,9 +1915,9 @@ where impl<'a, S> LaunchAssetBuilder<'a, S> where S: launch_asset_state::State, + S::Url: launch_asset_state::IsSet, S::ContentType: launch_asset_state::IsSet, S::Key: launch_asset_state::IsSet, - S::Url: launch_asset_state::IsSet, { /// Build the final struct pub fn build(self) -> LaunchAsset<'a> { @@ -1880,7 +1932,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> LaunchAsset<'a> { @@ -1950,105 +2002,105 @@ pub mod manifest_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type CreatedAt; type RuntimeVersion; + type LaunchAsset; type Extra; - type CreatedAt; - type Metadata; type Id; - type LaunchAsset; + type Metadata; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type CreatedAt = Unset; type RuntimeVersion = Unset; + type LaunchAsset = Unset; type Extra = Unset; - type CreatedAt = Unset; - type Metadata = Unset; type Id = Unset; - type LaunchAsset = Unset; + type Metadata = Unset; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type CreatedAt = Set; + type RuntimeVersion = S::RuntimeVersion; + type LaunchAsset = S::LaunchAsset; + type Extra = S::Extra; + type Id = S::Id; + type Metadata = S::Metadata; } ///State transition - sets the `runtime_version` field to Set pub struct SetRuntimeVersion(PhantomData S>); impl sealed::Sealed for SetRuntimeVersion {} impl State for SetRuntimeVersion { + type CreatedAt = S::CreatedAt; type RuntimeVersion = Set; + type LaunchAsset = S::LaunchAsset; type Extra = S::Extra; - type CreatedAt = S::CreatedAt; + type Id = S::Id; type Metadata = S::Metadata; + } + ///State transition - sets the `launch_asset` field to Set + pub struct SetLaunchAsset(PhantomData S>); + impl sealed::Sealed for SetLaunchAsset {} + impl State for SetLaunchAsset { + type CreatedAt = S::CreatedAt; + type RuntimeVersion = S::RuntimeVersion; + type LaunchAsset = Set; + type Extra = S::Extra; type Id = S::Id; - type LaunchAsset = S::LaunchAsset; + type Metadata = S::Metadata; } ///State transition - sets the `extra` field to Set pub struct SetExtra(PhantomData S>); impl sealed::Sealed for SetExtra {} impl State for SetExtra { + type CreatedAt = S::CreatedAt; type RuntimeVersion = S::RuntimeVersion; + type LaunchAsset = S::LaunchAsset; type Extra = Set; - type CreatedAt = S::CreatedAt; - type Metadata = S::Metadata; type Id = S::Id; - type LaunchAsset = S::LaunchAsset; + type Metadata = S::Metadata; } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { + ///State transition - sets the `id` field to Set + pub struct SetId(PhantomData S>); + impl sealed::Sealed for SetId {} + impl State for SetId { + type CreatedAt = S::CreatedAt; type RuntimeVersion = S::RuntimeVersion; + type LaunchAsset = S::LaunchAsset; type Extra = S::Extra; - type CreatedAt = Set; + type Id = Set; type Metadata = S::Metadata; - type Id = S::Id; - type LaunchAsset = S::LaunchAsset; } ///State transition - sets the `metadata` field to Set pub struct SetMetadata(PhantomData S>); impl sealed::Sealed for SetMetadata {} impl State for SetMetadata { - type RuntimeVersion = S::RuntimeVersion; - type Extra = S::Extra; type CreatedAt = S::CreatedAt; - type Metadata = Set; - type Id = S::Id; - type LaunchAsset = S::LaunchAsset; - } - ///State transition - sets the `id` field to Set - pub struct SetId(PhantomData S>); - impl sealed::Sealed for SetId {} - impl State for SetId { type RuntimeVersion = S::RuntimeVersion; - type Extra = S::Extra; - type CreatedAt = S::CreatedAt; - type Metadata = S::Metadata; - type Id = Set; type LaunchAsset = S::LaunchAsset; - } - ///State transition - sets the `launch_asset` field to Set - pub struct SetLaunchAsset(PhantomData S>); - impl sealed::Sealed for SetLaunchAsset {} - impl State for SetLaunchAsset { - type RuntimeVersion = S::RuntimeVersion; type Extra = S::Extra; - type CreatedAt = S::CreatedAt; - type Metadata = S::Metadata; type Id = S::Id; - type LaunchAsset = Set; + type Metadata = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `created_at` field + pub struct created_at(()); ///Marker type for the `runtime_version` field pub struct runtime_version(()); + ///Marker type for the `launch_asset` field + pub struct launch_asset(()); ///Marker type for the `extra` field pub struct extra(()); - ///Marker type for the `created_at` field - pub struct created_at(()); - ///Marker type for the `metadata` field - pub struct metadata(()); ///Marker type for the `id` field pub struct id(()); - ///Marker type for the `launch_asset` field - pub struct launch_asset(()); + ///Marker type for the `metadata` field + pub struct metadata(()); } } @@ -2201,12 +2253,12 @@ where impl<'a, S> ManifestBuilder<'a, S> where S: manifest_state::State, + S::CreatedAt: manifest_state::IsSet, S::RuntimeVersion: manifest_state::IsSet, + S::LaunchAsset: manifest_state::IsSet, S::Extra: manifest_state::IsSet, - S::CreatedAt: manifest_state::IsSet, - S::Metadata: manifest_state::IsSet, S::Id: manifest_state::IsSet, - S::LaunchAsset: manifest_state::IsSet, + S::Metadata: manifest_state::IsSet, { /// Build the final struct pub fn build(self) -> Manifest<'a> { @@ -2224,7 +2276,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Manifest<'a> { @@ -2403,7 +2455,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ManifestExtra<'a> { 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 f152ea531..186b4ba60 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 @@ -159,7 +159,7 @@ where )] #[serde(rename_all = "camelCase")] pub struct GetLaunchAssetOutput { - pub body: bytes::Bytes, + pub body: jacquard_common::deps::bytes::Bytes, } /// Response type for @@ -182,7 +182,7 @@ impl jacquard_common::xrpc::XrpcResp for GetLaunchAssetResponse { Self::Output<'de>: serde::Deserialize<'de>, { Ok(GetLaunchAssetOutput { - body: bytes::Bytes::copy_from_slice(body), + body: jacquard_common::deps::bytes::Bytes::copy_from_slice(body), }) } } 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 b142fb6c2..8bb5fe6c1 100644 --- a/crates/jacquard-api/src/app_ocho/plugin/get_manifest.rs +++ b/crates/jacquard-api/src/app_ocho/plugin/get_manifest.rs @@ -32,37 +32,37 @@ pub mod get_manifest_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Platform; type Did; + type Platform; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Platform = Unset; type Did = Unset; - } - ///State transition - sets the `platform` field to Set - pub struct SetPlatform(PhantomData S>); - impl sealed::Sealed for SetPlatform {} - impl State for SetPlatform { - type Platform = Set; - type Did = S::Did; + type Platform = Unset; } ///State transition - sets the `did` field to Set pub struct SetDid(PhantomData S>); impl sealed::Sealed for SetDid {} impl State for SetDid { - type Platform = S::Platform; type Did = Set; + type Platform = S::Platform; + } + ///State transition - sets the `platform` field to Set + pub struct SetPlatform(PhantomData S>); + impl sealed::Sealed for SetPlatform {} + impl State for SetPlatform { + type Did = S::Did; + type Platform = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `platform` field - pub struct platform(()); ///Marker type for the `did` field pub struct did(()); + ///Marker type for the `platform` field + pub struct platform(()); } } @@ -135,8 +135,8 @@ where impl<'a, S> GetManifestBuilder<'a, S> where S: get_manifest_state::State, - S::Platform: get_manifest_state::IsSet, S::Did: get_manifest_state::IsSet, + S::Platform: get_manifest_state::IsSet, { /// Build the final struct pub fn build(self) -> GetManifest<'a> { diff --git a/crates/jacquard-api/src/app_ocho/plugin/service.rs b/crates/jacquard-api/src/app_ocho/plugin/service.rs index d9142dd84..188afea4b 100644 --- a/crates/jacquard-api/src/app_ocho/plugin/service.rs +++ b/crates/jacquard-api/src/app_ocho/plugin/service.rs @@ -138,7 +138,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Service<'a> { @@ -239,7 +239,7 @@ fn lexicon_doc_app_ocho_plugin_service() -> ::jacquard_lexicon::lexicon::Lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -251,7 +251,7 @@ fn lexicon_doc_app_ocho_plugin_service() -> ::jacquard_lexicon::lexicon::Lexicon description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("permissions") + ::jacquard_common::deps::smol_str::SmolStr::new_static("permissions") ], ), nullable: None, @@ -259,7 +259,9 @@ fn lexicon_doc_app_ocho_plugin_service() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("db"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "db", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -268,7 +270,7 @@ fn lexicon_doc_app_ocho_plugin_service() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "permissions", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { diff --git a/crates/jacquard-api/src/app_offprint/block/blockquote.rs b/crates/jacquard-api/src/app_offprint/block/blockquote.rs index af7d7edf0..7af2e45df 100644 --- a/crates/jacquard-api/src/app_offprint/block/blockquote.rs +++ b/crates/jacquard-api/src/app_offprint/block/blockquote.rs @@ -114,7 +114,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Blockquote<'a> { @@ -155,18 +155,22 @@ fn lexicon_doc_app_offprint_block_blockquote() -> ::jacquard_lexicon::lexicon::L defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("content")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("content") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "content", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( 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 5eab70b9b..5c01858fe 100644 --- a/crates/jacquard-api/src/app_offprint/block/bullet_list.rs +++ b/crates/jacquard-api/src/app_offprint/block/bullet_list.rs @@ -147,7 +147,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ListItem<'a> { @@ -170,18 +170,22 @@ fn lexicon_doc_app_offprint_block_bulletList() -> ::jacquard_lexicon::lexicon::L defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("listItem"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("listItem"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("content")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("content") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("children"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "children", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static("Nested list items"), @@ -195,7 +199,9 @@ fn lexicon_doc_app_offprint_block_bulletList() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "content", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -208,12 +214,12 @@ fn lexicon_doc_app_offprint_block_bulletList() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("children") + ::jacquard_common::deps::smol_str::SmolStr::new_static("children") ], ), nullable: None, @@ -221,7 +227,9 @@ fn lexicon_doc_app_offprint_block_bulletList() -> ::jacquard_lexicon::lexicon::L #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("children"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "children", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static("List items"), @@ -373,7 +381,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> BulletList<'a> { diff --git a/crates/jacquard-api/src/app_offprint/block/callout.rs b/crates/jacquard-api/src/app_offprint/block/callout.rs index b78bb2d79..317944d54 100644 --- a/crates/jacquard-api/src/app_offprint/block/callout.rs +++ b/crates/jacquard-api/src/app_offprint/block/callout.rs @@ -46,12 +46,12 @@ fn lexicon_doc_app_offprint_block_callout() -> ::jacquard_lexicon::lexicon::Lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("plaintext") + ::jacquard_common::deps::smol_str::SmolStr::new_static("plaintext") ], ), nullable: None, @@ -59,7 +59,9 @@ fn lexicon_doc_app_offprint_block_callout() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("color"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "color", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -78,7 +80,9 @@ fn lexicon_doc_app_offprint_block_callout() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("emoji"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "emoji", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -97,7 +101,9 @@ fn lexicon_doc_app_offprint_block_callout() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("facets"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "facets", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -115,7 +121,7 @@ fn lexicon_doc_app_offprint_block_callout() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "plaintext", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { 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 123aec8ef..bdf4898d0 100644 --- a/crates/jacquard-api/src/app_offprint/block/code_block.rs +++ b/crates/jacquard-api/src/app_offprint/block/code_block.rs @@ -41,18 +41,22 @@ fn lexicon_doc_app_offprint_block_codeBlock() -> ::jacquard_lexicon::lexicon::Le defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("code")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("code") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("code"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "code", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("The code content"), @@ -69,7 +73,9 @@ fn lexicon_doc_app_offprint_block_codeBlock() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("language"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "language", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -88,7 +94,7 @@ fn lexicon_doc_app_offprint_block_codeBlock() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "showLineNumbers", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { diff --git a/crates/jacquard-api/src/app_offprint/block/heading.rs b/crates/jacquard-api/src/app_offprint/block/heading.rs index e23e62cf9..5f41aa7bc 100644 --- a/crates/jacquard-api/src/app_offprint/block/heading.rs +++ b/crates/jacquard-api/src/app_offprint/block/heading.rs @@ -42,37 +42,37 @@ pub mod heading_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Plaintext; type Level; + type Plaintext; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Plaintext = Unset; type Level = Unset; - } - ///State transition - sets the `plaintext` field to Set - pub struct SetPlaintext(PhantomData S>); - impl sealed::Sealed for SetPlaintext {} - impl State for SetPlaintext { - type Plaintext = Set; - type Level = S::Level; + type Plaintext = Unset; } ///State transition - sets the `level` field to Set pub struct SetLevel(PhantomData S>); impl sealed::Sealed for SetLevel {} impl State for SetLevel { - type Plaintext = S::Plaintext; type Level = Set; + type Plaintext = S::Plaintext; + } + ///State transition - sets the `plaintext` field to Set + pub struct SetPlaintext(PhantomData S>); + impl sealed::Sealed for SetPlaintext {} + impl State for SetPlaintext { + type Level = S::Level; + type Plaintext = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `plaintext` field - pub struct plaintext(()); ///Marker type for the `level` field pub struct level(()); + ///Marker type for the `plaintext` field + pub struct plaintext(()); } } @@ -185,8 +185,8 @@ impl<'a, S: heading_state::State> HeadingBuilder<'a, S> { impl<'a, S> HeadingBuilder<'a, S> where S: heading_state::State, - S::Plaintext: heading_state::IsSet, S::Level: heading_state::IsSet, + S::Plaintext: heading_state::IsSet, { /// Build the final struct pub fn build(self) -> Heading<'a> { @@ -202,7 +202,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Heading<'a> { @@ -227,13 +227,13 @@ fn lexicon_doc_app_offprint_block_heading() -> ::jacquard_lexicon::lexicon::Lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("plaintext"), - ::jacquard_common::smol_str::SmolStr::new_static("level") + ::jacquard_common::deps::smol_str::SmolStr::new_static("plaintext"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("level") ], ), nullable: None, @@ -241,7 +241,9 @@ fn lexicon_doc_app_offprint_block_heading() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("facets"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "facets", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -259,7 +261,9 @@ fn lexicon_doc_app_offprint_block_heading() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("level"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "level", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -270,7 +274,7 @@ fn lexicon_doc_app_offprint_block_heading() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "plaintext", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -291,7 +295,7 @@ fn lexicon_doc_app_offprint_block_heading() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "textAlign", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/app_offprint/block/image.rs b/crates/jacquard-api/src/app_offprint/block/image.rs index 684363253..90b5e3b57 100644 --- a/crates/jacquard-api/src/app_offprint/block/image.rs +++ b/crates/jacquard-api/src/app_offprint/block/image.rs @@ -31,37 +31,37 @@ pub mod aspect_ratio_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Width; type Height; + type Width; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Width = Unset; type Height = Unset; - } - ///State transition - sets the `width` field to Set - pub struct SetWidth(PhantomData S>); - impl sealed::Sealed for SetWidth {} - impl State for SetWidth { - type Width = Set; - type Height = S::Height; + type Width = Unset; } ///State transition - sets the `height` field to Set pub struct SetHeight(PhantomData S>); impl sealed::Sealed for SetHeight {} impl State for SetHeight { - type Width = S::Width; type Height = Set; + type Width = S::Width; + } + ///State transition - sets the `width` field to Set + pub struct SetWidth(PhantomData S>); + impl sealed::Sealed for SetWidth {} + impl State for SetWidth { + type Height = S::Height; + type Width = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `width` field - pub struct width(()); ///Marker type for the `height` field pub struct height(()); + ///Marker type for the `width` field + pub struct width(()); } } @@ -131,8 +131,8 @@ where impl<'a, S> AspectRatioBuilder<'a, S> where S: aspect_ratio_state::State, - S::Width: aspect_ratio_state::IsSet, S::Height: aspect_ratio_state::IsSet, + S::Width: aspect_ratio_state::IsSet, { /// Build the final struct pub fn build(self) -> AspectRatio<'a> { @@ -146,7 +146,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> AspectRatio<'a> { @@ -169,13 +169,13 @@ fn lexicon_doc_app_offprint_block_image() -> ::jacquard_lexicon::lexicon::Lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("aspectRatio"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("aspectRatio"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("width"), - ::jacquard_common::smol_str::SmolStr::new_static("height") + ::jacquard_common::deps::smol_str::SmolStr::new_static("width"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("height") ], ), nullable: None, @@ -183,7 +183,9 @@ fn lexicon_doc_app_offprint_block_image() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("height"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "height", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -194,7 +196,9 @@ fn lexicon_doc_app_offprint_block_image() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("width"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "width", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -209,7 +213,7 @@ fn lexicon_doc_app_offprint_block_image() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -218,7 +222,7 @@ fn lexicon_doc_app_offprint_block_image() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alignment", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -239,7 +243,9 @@ fn lexicon_doc_app_offprint_block_image() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("alt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "alt", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -258,7 +264,7 @@ fn lexicon_doc_app_offprint_block_image() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "aspectRatio", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -267,7 +273,9 @@ fn lexicon_doc_app_offprint_block_image() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("blob"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "blob", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -275,7 +283,9 @@ fn lexicon_doc_app_offprint_block_image() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("caption"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "caption", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Image caption"), @@ -292,7 +302,7 @@ fn lexicon_doc_app_offprint_block_image() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "captionFacets", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -312,7 +322,9 @@ fn lexicon_doc_app_offprint_block_image() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("width"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "width", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -441,7 +453,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Image<'a> { ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { if let Some(ref value) = self.alt { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) 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 12bf7a5a2..e57c507ef 100644 --- a/crates/jacquard-api/src/app_offprint/block/image_carousel.rs +++ b/crates/jacquard-api/src/app_offprint/block/image_carousel.rs @@ -176,7 +176,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ImageCarousel<'a> { @@ -201,18 +201,22 @@ fn lexicon_doc_app_offprint_block_imageCarousel() -> ::jacquard_lexicon::lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("images")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("images") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("autoplay"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "autoplay", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -220,7 +224,9 @@ fn lexicon_doc_app_offprint_block_imageCarousel() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("caption"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "caption", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Carousel caption"), @@ -237,7 +243,9 @@ fn lexicon_doc_app_offprint_block_imageCarousel() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("images"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "images", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -255,7 +263,9 @@ fn lexicon_doc_app_offprint_block_imageCarousel() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("interval"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "interval", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, 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 6df874559..9a2f3d309 100644 --- a/crates/jacquard-api/src/app_offprint/block/image_diff.rs +++ b/crates/jacquard-api/src/app_offprint/block/image_diff.rs @@ -212,7 +212,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ImageDiff<'a> { @@ -238,18 +238,20 @@ fn lexicon_doc_app_offprint_block_imageDiff() -> ::jacquard_lexicon::lexicon::Le defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("images")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("images") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alignment", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -270,7 +272,9 @@ fn lexicon_doc_app_offprint_block_imageDiff() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("caption"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "caption", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Comparison caption"), @@ -287,7 +291,9 @@ fn lexicon_doc_app_offprint_block_imageDiff() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("images"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "images", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -305,7 +311,9 @@ fn lexicon_doc_app_offprint_block_imageDiff() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("labels"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "labels", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -329,7 +337,9 @@ fn lexicon_doc_app_offprint_block_imageDiff() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("width"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "width", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("CSS width value"), 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 7897fdd9d..a74fe2558 100644 --- a/crates/jacquard-api/src/app_offprint/block/image_grid.rs +++ b/crates/jacquard-api/src/app_offprint/block/image_grid.rs @@ -42,7 +42,7 @@ fn lexicon_doc_app_offprint_block_imageGrid() -> ::jacquard_lexicon::lexicon::Le defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("gridImage"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("gridImage"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -51,7 +51,9 @@ fn lexicon_doc_app_offprint_block_imageGrid() -> ::jacquard_lexicon::lexicon::Le #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("alt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "alt", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -66,7 +68,7 @@ fn lexicon_doc_app_offprint_block_imageGrid() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "aspectRatio", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -77,7 +79,9 @@ fn lexicon_doc_app_offprint_block_imageGrid() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("blob"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "blob", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -89,18 +93,20 @@ fn lexicon_doc_app_offprint_block_imageGrid() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("images")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("images") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "aspectRatio", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -119,7 +125,9 @@ fn lexicon_doc_app_offprint_block_imageGrid() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("caption"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "caption", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Grid caption"), @@ -136,7 +144,9 @@ fn lexicon_doc_app_offprint_block_imageGrid() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("gridRows"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "gridRows", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -147,7 +157,9 @@ fn lexicon_doc_app_offprint_block_imageGrid() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("images"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "images", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -186,7 +198,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for GridImage<'a> { ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { if let Some(ref value) = self.alt { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -384,7 +396,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ImageGrid<'a> { 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 2c9d970e5..4e28762a5 100644 --- a/crates/jacquard-api/src/app_offprint/block/ordered_list.rs +++ b/crates/jacquard-api/src/app_offprint/block/ordered_list.rs @@ -147,7 +147,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ListItem<'a> { @@ -170,18 +170,22 @@ fn lexicon_doc_app_offprint_block_orderedList() -> ::jacquard_lexicon::lexicon:: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("listItem"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("listItem"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("content")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("content") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("children"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "children", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static("Nested list items"), @@ -195,7 +199,9 @@ fn lexicon_doc_app_offprint_block_orderedList() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "content", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -208,12 +214,12 @@ fn lexicon_doc_app_offprint_block_orderedList() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("children") + ::jacquard_common::deps::smol_str::SmolStr::new_static("children") ], ), nullable: None, @@ -221,7 +227,9 @@ fn lexicon_doc_app_offprint_block_orderedList() -> ::jacquard_lexicon::lexicon:: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("children"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "children", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static("List items"), @@ -235,7 +243,9 @@ fn lexicon_doc_app_offprint_block_orderedList() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("start"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "start", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -402,7 +412,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> OrderedList<'a> { 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 5cfc23d0b..cd771b7e9 100644 --- a/crates/jacquard-api/src/app_offprint/block/task_list.rs +++ b/crates/jacquard-api/src/app_offprint/block/task_list.rs @@ -116,7 +116,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> TaskList<'a> { @@ -138,12 +138,12 @@ fn lexicon_doc_app_offprint_block_taskList() -> ::jacquard_lexicon::lexicon::Lex defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("children") + ::jacquard_common::deps::smol_str::SmolStr::new_static("children") ], ), nullable: None, @@ -151,7 +151,9 @@ fn lexicon_doc_app_offprint_block_taskList() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("children"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "children", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static("Task items"), @@ -169,13 +171,13 @@ fn lexicon_doc_app_offprint_block_taskList() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("taskItem"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("taskItem"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("content"), - ::jacquard_common::smol_str::SmolStr::new_static("checked") + ::jacquard_common::deps::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("checked") ], ), nullable: None, @@ -183,7 +185,9 @@ fn lexicon_doc_app_offprint_block_taskList() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("checked"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "checked", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -191,7 +195,9 @@ fn lexicon_doc_app_offprint_block_taskList() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("children"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "children", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static("Nested task items"), @@ -205,7 +211,9 @@ fn lexicon_doc_app_offprint_block_taskList() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "content", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -415,7 +423,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> TaskItem<'a> { diff --git a/crates/jacquard-api/src/app_offprint/block/text.rs b/crates/jacquard-api/src/app_offprint/block/text.rs index 904410b2a..7c46c3aa8 100644 --- a/crates/jacquard-api/src/app_offprint/block/text.rs +++ b/crates/jacquard-api/src/app_offprint/block/text.rs @@ -42,12 +42,12 @@ fn lexicon_doc_app_offprint_block_text() -> ::jacquard_lexicon::lexicon::Lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("plaintext") + ::jacquard_common::deps::smol_str::SmolStr::new_static("plaintext") ], ), nullable: None, @@ -55,7 +55,9 @@ fn lexicon_doc_app_offprint_block_text() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("facets"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "facets", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -73,7 +75,7 @@ fn lexicon_doc_app_offprint_block_text() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "plaintext", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -94,7 +96,7 @@ fn lexicon_doc_app_offprint_block_text() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "textAlign", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { 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 09e3eaeb1..01a631873 100644 --- a/crates/jacquard-api/src/app_offprint/block/web_bookmark.rs +++ b/crates/jacquard-api/src/app_offprint/block/web_bookmark.rs @@ -228,7 +228,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> WebBookmark<'a> { @@ -254,13 +254,13 @@ fn lexicon_doc_app_offprint_block_webBookmark() -> ::jacquard_lexicon::lexicon:: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("href"), - ::jacquard_common::smol_str::SmolStr::new_static("title") + ::jacquard_common::deps::smol_str::SmolStr::new_static("href"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("title") ], ), nullable: None, @@ -268,7 +268,7 @@ fn lexicon_doc_app_offprint_block_webBookmark() -> ::jacquard_lexicon::lexicon:: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -289,7 +289,9 @@ fn lexicon_doc_app_offprint_block_webBookmark() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("href"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "href", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -310,7 +312,9 @@ fn lexicon_doc_app_offprint_block_webBookmark() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("preview"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "preview", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -318,7 +322,9 @@ fn lexicon_doc_app_offprint_block_webBookmark() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("siteName"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "siteName", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Name of the website"), @@ -335,7 +341,9 @@ fn lexicon_doc_app_offprint_block_webBookmark() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Page title"), @@ -375,7 +383,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for WebBookmark<'a> { ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { if let Some(ref value) = self.description { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -393,7 +401,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for WebBookmark<'a> { } if let Some(ref value) = self.site_name { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -412,7 +420,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for WebBookmark<'a> { { let value = &self.title; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) 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 7f8c08c29..6ad02969d 100644 --- a/crates/jacquard-api/src/app_offprint/block/web_embed.rs +++ b/crates/jacquard-api/src/app_offprint/block/web_embed.rs @@ -332,7 +332,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> WebEmbed<'a> { @@ -363,18 +363,20 @@ fn lexicon_doc_app_offprint_block_webEmbed() -> ::jacquard_lexicon::lexicon::Lex defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("href")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("href") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alignment", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -395,7 +397,7 @@ fn lexicon_doc_app_offprint_block_webEmbed() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -416,7 +418,7 @@ fn lexicon_doc_app_offprint_block_webEmbed() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "embedHeight", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -429,7 +431,9 @@ fn lexicon_doc_app_offprint_block_webEmbed() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("embedUrl"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "embedUrl", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -450,7 +454,7 @@ fn lexicon_doc_app_offprint_block_webEmbed() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "embedWidth", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -463,7 +467,9 @@ fn lexicon_doc_app_offprint_block_webEmbed() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("href"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "href", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -484,7 +490,9 @@ fn lexicon_doc_app_offprint_block_webEmbed() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("preview"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "preview", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -492,7 +500,9 @@ fn lexicon_doc_app_offprint_block_webEmbed() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("siteName"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "siteName", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Name of the website"), @@ -509,7 +519,9 @@ fn lexicon_doc_app_offprint_block_webEmbed() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Page title"), @@ -526,7 +538,9 @@ fn lexicon_doc_app_offprint_block_webEmbed() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("width"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "width", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -568,7 +582,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for WebEmbed<'a> { ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { if let Some(ref value) = self.description { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -608,7 +622,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for WebEmbed<'a> { } if let Some(ref value) = self.site_name { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -626,7 +640,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for WebEmbed<'a> { } if let Some(ref value) = self.title { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) diff --git a/crates/jacquard-api/src/app_offprint/content.rs b/crates/jacquard-api/src/app_offprint/content.rs index c5ffbd8dc..5879b79b4 100644 --- a/crates/jacquard-api/src/app_offprint/content.rs +++ b/crates/jacquard-api/src/app_offprint/content.rs @@ -114,7 +114,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Content<'a> { @@ -175,18 +175,22 @@ fn lexicon_doc_app_offprint_content() -> ::jacquard_lexicon::lexicon::LexiconDoc defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("items")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("items") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("items"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "items", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/app_offprint/document/article.rs b/crates/jacquard-api/src/app_offprint/document/article.rs index 2fd6d78a7..b10e2c88b 100644 --- a/crates/jacquard-api/src/app_offprint/document/article.rs +++ b/crates/jacquard-api/src/app_offprint/document/article.rs @@ -116,7 +116,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Article<'a> { @@ -216,7 +216,7 @@ fn lexicon_doc_app_offprint_document_article() -> ::jacquard_lexicon::lexicon::L defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -224,7 +224,7 @@ fn lexicon_doc_app_offprint_document_article() -> ::jacquard_lexicon::lexicon::L description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("document") + ::jacquard_common::deps::smol_str::SmolStr::new_static("document") ], ), nullable: None, @@ -232,7 +232,7 @@ fn lexicon_doc_app_offprint_document_article() -> ::jacquard_lexicon::lexicon::L #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "document", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { diff --git a/crates/jacquard-api/src/app_offprint/publication.rs b/crates/jacquard-api/src/app_offprint/publication.rs index 743b1d740..cbe4881f4 100644 --- a/crates/jacquard-api/src/app_offprint/publication.rs +++ b/crates/jacquard-api/src/app_offprint/publication.rs @@ -116,7 +116,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Publication<'a> { @@ -216,7 +216,7 @@ fn lexicon_doc_app_offprint_publication() -> ::jacquard_lexicon::lexicon::Lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -224,7 +224,7 @@ fn lexicon_doc_app_offprint_publication() -> ::jacquard_lexicon::lexicon::Lexico description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("publication") + ::jacquard_common::deps::smol_str::SmolStr::new_static("publication") ], ), nullable: None, @@ -232,7 +232,7 @@ fn lexicon_doc_app_offprint_publication() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publication", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/app_openmkt/marketplace/listing.rs b/crates/jacquard-api/src/app_openmkt/marketplace/listing.rs index 5af42967d..f3ef4d275 100644 --- a/crates/jacquard-api/src/app_openmkt/marketplace/listing.rs +++ b/crates/jacquard-api/src/app_openmkt/marketplace/listing.rs @@ -43,7 +43,7 @@ fn lexicon_doc_app_openmkt_marketplace_listing() -> ::jacquard_lexicon::lexicon: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("locationObj"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("locationObj"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -52,7 +52,9 @@ fn lexicon_doc_app_openmkt_marketplace_listing() -> ::jacquard_lexicon::lexicon: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("county"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "county", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -67,7 +69,9 @@ fn lexicon_doc_app_openmkt_marketplace_listing() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("locality"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "locality", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -82,7 +86,9 @@ fn lexicon_doc_app_openmkt_marketplace_listing() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("state"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "state", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -97,7 +103,7 @@ fn lexicon_doc_app_openmkt_marketplace_listing() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "zipPrefix", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -118,7 +124,7 @@ fn lexicon_doc_app_openmkt_marketplace_listing() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -126,11 +132,11 @@ fn lexicon_doc_app_openmkt_marketplace_listing() -> ::jacquard_lexicon::lexicon: description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("price"), - ::jacquard_common::smol_str::SmolStr::new_static("category"), - ::jacquard_common::smol_str::SmolStr::new_static("location"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("price"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("category"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("location"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -138,7 +144,7 @@ fn lexicon_doc_app_openmkt_marketplace_listing() -> ::jacquard_lexicon::lexicon: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "category", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -155,7 +161,7 @@ fn lexicon_doc_app_openmkt_marketplace_listing() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "condition", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -172,7 +178,7 @@ fn lexicon_doc_app_openmkt_marketplace_listing() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -191,7 +197,7 @@ fn lexicon_doc_app_openmkt_marketplace_listing() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -208,7 +214,7 @@ fn lexicon_doc_app_openmkt_marketplace_listing() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "externalUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -229,7 +235,7 @@ fn lexicon_doc_app_openmkt_marketplace_listing() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hideFromFriends", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -239,7 +245,9 @@ fn lexicon_doc_app_openmkt_marketplace_listing() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("images"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "images", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Blob(::jacquard_lexicon::lexicon::LexBlob { @@ -252,7 +260,7 @@ fn lexicon_doc_app_openmkt_marketplace_listing() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "location", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -261,7 +269,7 @@ fn lexicon_doc_app_openmkt_marketplace_listing() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "metadata", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -270,7 +278,9 @@ fn lexicon_doc_app_openmkt_marketplace_listing() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("price"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "price", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -289,7 +299,9 @@ fn lexicon_doc_app_openmkt_marketplace_listing() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -309,7 +321,7 @@ fn lexicon_doc_app_openmkt_marketplace_listing() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("metadataObj"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("metadataObj"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -318,7 +330,7 @@ fn lexicon_doc_app_openmkt_marketplace_listing() -> ::jacquard_lexicon::lexicon: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subcategory", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -414,85 +426,85 @@ pub mod listing_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; + type Location; type Price; type Category; - type Location; type Title; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; + type Location = Unset; type Price = Unset; type Category = Unset; - type Location = Unset; type Title = Unset; + type CreatedAt = Unset; } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; + ///State transition - sets the `location` field to Set + pub struct SetLocation(PhantomData S>); + impl sealed::Sealed for SetLocation {} + impl State for SetLocation { + type Location = Set; type Price = S::Price; type Category = S::Category; - type Location = S::Location; type Title = S::Title; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `price` field to Set pub struct SetPrice(PhantomData S>); impl sealed::Sealed for SetPrice {} impl State for SetPrice { - type CreatedAt = S::CreatedAt; + type Location = S::Location; type Price = Set; type Category = S::Category; - type Location = S::Location; type Title = S::Title; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `category` field to Set pub struct SetCategory(PhantomData S>); impl sealed::Sealed for SetCategory {} impl State for SetCategory { - type CreatedAt = S::CreatedAt; + type Location = S::Location; type Price = S::Price; type Category = Set; - type Location = S::Location; type Title = S::Title; - } - ///State transition - sets the `location` field to Set - pub struct SetLocation(PhantomData S>); - impl sealed::Sealed for SetLocation {} - impl State for SetLocation { type CreatedAt = S::CreatedAt; - type Price = S::Price; - type Category = S::Category; - type Location = Set; - type Title = S::Title; } ///State transition - sets the `title` field to Set pub struct SetTitle(PhantomData S>); impl sealed::Sealed for SetTitle {} impl State for SetTitle { - type CreatedAt = S::CreatedAt; + type Location = S::Location; type Price = S::Price; type Category = S::Category; - type Location = S::Location; type Title = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Location = S::Location; + type Price = S::Price; + type Category = S::Category; + type Title = S::Title; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); + ///Marker type for the `location` field + pub struct location(()); ///Marker type for the `price` field pub struct price(()); ///Marker type for the `category` field pub struct category(()); - ///Marker type for the `location` field - pub struct location(()); ///Marker type for the `title` field pub struct title(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -757,11 +769,11 @@ where impl<'a, S> ListingBuilder<'a, S> where S: listing_state::State, - S::CreatedAt: listing_state::IsSet, + S::Location: listing_state::IsSet, S::Price: listing_state::IsSet, S::Category: listing_state::IsSet, - S::Location: listing_state::IsSet, S::Title: listing_state::IsSet, + S::CreatedAt: listing_state::IsSet, { /// Build the final struct pub fn build(self) -> Listing<'a> { @@ -784,7 +796,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Listing<'a> { diff --git a/crates/jacquard-api/src/app_protoimsg/chat/allowlist.rs b/crates/jacquard-api/src/app_protoimsg/chat/allowlist.rs index fd9519d6b..fa89fe946 100644 --- a/crates/jacquard-api/src/app_protoimsg/chat/allowlist.rs +++ b/crates/jacquard-api/src/app_protoimsg/chat/allowlist.rs @@ -38,51 +38,51 @@ pub mod allowlist_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type Room; type Subject; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type Room = Unset; type Subject = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Room = S::Room; - type Subject = S::Subject; + type CreatedAt = Unset; } ///State transition - sets the `room` field to Set pub struct SetRoom(PhantomData S>); impl sealed::Sealed for SetRoom {} impl State for SetRoom { - type CreatedAt = S::CreatedAt; type Room = Set; type Subject = S::Subject; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `subject` field to Set pub struct SetSubject(PhantomData S>); impl sealed::Sealed for SetSubject {} impl State for SetSubject { - type CreatedAt = S::CreatedAt; type Room = S::Room; type Subject = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Room = S::Room; + type Subject = S::Subject; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `room` field pub struct room(()); ///Marker type for the `subject` field pub struct subject(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -175,9 +175,9 @@ where impl<'a, S> AllowlistBuilder<'a, S> where S: allowlist_state::State, - S::CreatedAt: allowlist_state::IsSet, S::Room: allowlist_state::IsSet, S::Subject: allowlist_state::IsSet, + S::CreatedAt: allowlist_state::IsSet, { /// Build the final struct pub fn build(self) -> Allowlist<'a> { @@ -192,7 +192,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Allowlist<'a> { @@ -294,7 +294,7 @@ fn lexicon_doc_app_protoimsg_chat_allowlist() -> ::jacquard_lexicon::lexicon::Le defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -306,9 +306,9 @@ fn lexicon_doc_app_protoimsg_chat_allowlist() -> ::jacquard_lexicon::lexicon::Le description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("room"), - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("room"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -316,7 +316,7 @@ fn lexicon_doc_app_protoimsg_chat_allowlist() -> ::jacquard_lexicon::lexicon::Le #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -339,7 +339,9 @@ fn lexicon_doc_app_protoimsg_chat_allowlist() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("room"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "room", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -360,7 +362,9 @@ fn lexicon_doc_app_protoimsg_chat_allowlist() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( 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 59946286b..aeb6ae409 100644 --- a/crates/jacquard-api/src/app_protoimsg/chat/auth_verify.rs +++ b/crates/jacquard-api/src/app_protoimsg/chat/auth_verify.rs @@ -35,37 +35,37 @@ pub mod auth_verify_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type Nonce; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type Nonce = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Nonce = S::Nonce; + type CreatedAt = Unset; } ///State transition - sets the `nonce` field to Set pub struct SetNonce(PhantomData S>); impl sealed::Sealed for SetNonce {} impl State for SetNonce { - type CreatedAt = S::CreatedAt; type Nonce = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Nonce = S::Nonce; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `nonce` field pub struct nonce(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -138,8 +138,8 @@ where impl<'a, S> AuthVerifyBuilder<'a, S> where S: auth_verify_state::State, - S::CreatedAt: auth_verify_state::IsSet, S::Nonce: auth_verify_state::IsSet, + S::CreatedAt: auth_verify_state::IsSet, { /// Build the final struct pub fn build(self) -> AuthVerify<'a> { @@ -153,7 +153,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> AuthVerify<'a> { @@ -254,7 +254,7 @@ fn lexicon_doc_app_protoimsg_chat_authVerify() -> ::jacquard_lexicon::lexicon::L defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -266,8 +266,8 @@ fn lexicon_doc_app_protoimsg_chat_authVerify() -> ::jacquard_lexicon::lexicon::L description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("nonce"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("nonce"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -275,7 +275,7 @@ fn lexicon_doc_app_protoimsg_chat_authVerify() -> ::jacquard_lexicon::lexicon::L #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -298,7 +298,9 @@ fn lexicon_doc_app_protoimsg_chat_authVerify() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("nonce"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "nonce", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/app_protoimsg/chat/ban.rs b/crates/jacquard-api/src/app_protoimsg/chat/ban.rs index 4c4e06ee7..bf80424b6 100644 --- a/crates/jacquard-api/src/app_protoimsg/chat/ban.rs +++ b/crates/jacquard-api/src/app_protoimsg/chat/ban.rs @@ -42,49 +42,49 @@ pub mod ban_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Room; type CreatedAt; + type Room; type Subject; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Room = Unset; type CreatedAt = Unset; + type Room = Unset; type Subject = Unset; } - ///State transition - sets the `room` field to Set - pub struct SetRoom(PhantomData S>); - impl sealed::Sealed for SetRoom {} - impl State for SetRoom { - type Room = Set; - type CreatedAt = S::CreatedAt; - type Subject = S::Subject; - } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Room = S::Room; type CreatedAt = Set; + type Room = S::Room; + type Subject = S::Subject; + } + ///State transition - sets the `room` field to Set + pub struct SetRoom(PhantomData S>); + impl sealed::Sealed for SetRoom {} + impl State for SetRoom { + type CreatedAt = S::CreatedAt; + type Room = Set; type Subject = S::Subject; } ///State transition - sets the `subject` field to Set pub struct SetSubject(PhantomData S>); impl sealed::Sealed for SetSubject {} impl State for SetSubject { - type Room = S::Room; type CreatedAt = S::CreatedAt; + type Room = S::Room; type Subject = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `room` field - pub struct room(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `room` field + pub struct room(()); ///Marker type for the `subject` field pub struct subject(()); } @@ -196,8 +196,8 @@ where impl<'a, S> BanBuilder<'a, S> where S: ban_state::State, - S::Room: ban_state::IsSet, S::CreatedAt: ban_state::IsSet, + S::Room: ban_state::IsSet, S::Subject: ban_state::IsSet, { /// Build the final struct @@ -214,7 +214,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Ban<'a> { @@ -329,7 +329,7 @@ fn lexicon_doc_app_protoimsg_chat_ban() -> ::jacquard_lexicon::lexicon::LexiconD defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -341,9 +341,9 @@ fn lexicon_doc_app_protoimsg_chat_ban() -> ::jacquard_lexicon::lexicon::LexiconD description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("room"), - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("room"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -351,7 +351,7 @@ fn lexicon_doc_app_protoimsg_chat_ban() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -372,7 +372,9 @@ fn lexicon_doc_app_protoimsg_chat_ban() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reason"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reason", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Reason for the ban."), @@ -389,7 +391,9 @@ fn lexicon_doc_app_protoimsg_chat_ban() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("room"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "room", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -410,7 +414,9 @@ fn lexicon_doc_app_protoimsg_chat_ban() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/app_protoimsg/chat/channel.rs b/crates/jacquard-api/src/app_protoimsg/chat/channel.rs index 650afa813..a7858ee87 100644 --- a/crates/jacquard-api/src/app_protoimsg/chat/channel.rs +++ b/crates/jacquard-api/src/app_protoimsg/chat/channel.rs @@ -49,51 +49,51 @@ pub mod channel_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type Room; type Name; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type Room = Unset; type Name = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Room = S::Room; - type Name = S::Name; + type CreatedAt = Unset; } ///State transition - sets the `room` field to Set pub struct SetRoom(PhantomData S>); impl sealed::Sealed for SetRoom {} impl State for SetRoom { - type CreatedAt = S::CreatedAt; type Room = Set; type Name = S::Name; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `name` field to Set pub struct SetName(PhantomData S>); impl sealed::Sealed for SetName {} impl State for SetName { - type CreatedAt = S::CreatedAt; type Room = S::Room; type Name = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Room = S::Room; + type Name = S::Name; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `room` field pub struct room(()); ///Marker type for the `name` field pub struct name(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -237,9 +237,9 @@ where impl<'a, S> ChannelBuilder<'a, S> where S: channel_state::State, - S::CreatedAt: channel_state::IsSet, S::Room: channel_state::IsSet, S::Name: channel_state::IsSet, + S::CreatedAt: channel_state::IsSet, { /// Build the final struct pub fn build(self) -> Channel<'a> { @@ -257,7 +257,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Channel<'a> { @@ -492,7 +492,7 @@ fn lexicon_doc_app_protoimsg_chat_channel() -> ::jacquard_lexicon::lexicon::Lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -504,9 +504,9 @@ fn lexicon_doc_app_protoimsg_chat_channel() -> ::jacquard_lexicon::lexicon::Lexi description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("room"), - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("room"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -514,7 +514,7 @@ fn lexicon_doc_app_protoimsg_chat_channel() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -537,7 +537,7 @@ fn lexicon_doc_app_protoimsg_chat_channel() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -558,7 +558,9 @@ fn lexicon_doc_app_protoimsg_chat_channel() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -577,7 +579,7 @@ fn lexicon_doc_app_protoimsg_chat_channel() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "position", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -590,7 +592,7 @@ fn lexicon_doc_app_protoimsg_chat_channel() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "postPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -611,7 +613,9 @@ fn lexicon_doc_app_protoimsg_chat_channel() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("room"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "room", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/app_protoimsg/chat/community.rs b/crates/jacquard-api/src/app_protoimsg/chat/community.rs index 58b91148b..a47eae42e 100644 --- a/crates/jacquard-api/src/app_protoimsg/chat/community.rs +++ b/crates/jacquard-api/src/app_protoimsg/chat/community.rs @@ -39,37 +39,37 @@ pub mod community_group_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Members; type Name; + type Members; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Members = Unset; type Name = Unset; - } - ///State transition - sets the `members` field to Set - pub struct SetMembers(PhantomData S>); - impl sealed::Sealed for SetMembers {} - impl State for SetMembers { - type Members = Set; - type Name = S::Name; + type Members = Unset; } ///State transition - sets the `name` field to Set pub struct SetName(PhantomData S>); impl sealed::Sealed for SetName {} impl State for SetName { - type Members = S::Members; type Name = Set; + type Members = S::Members; + } + ///State transition - sets the `members` field to Set + pub struct SetMembers(PhantomData S>); + impl sealed::Sealed for SetMembers {} + impl State for SetMembers { + type Name = S::Name; + type Members = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `members` field - pub struct members(()); ///Marker type for the `name` field pub struct name(()); + ///Marker type for the `members` field + pub struct members(()); } } @@ -158,8 +158,8 @@ where impl<'a, S> CommunityGroupBuilder<'a, S> where S: community_group_state::State, - S::Members: community_group_state::IsSet, S::Name: community_group_state::IsSet, + S::Members: community_group_state::IsSet, { /// Build the final struct pub fn build(self) -> CommunityGroup<'a> { @@ -174,7 +174,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> CommunityGroup<'a> { @@ -198,7 +198,7 @@ fn lexicon_doc_app_protoimsg_chat_community() -> ::jacquard_lexicon::lexicon::Le defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("communityGroup"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("communityGroup"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -207,8 +207,8 @@ fn lexicon_doc_app_protoimsg_chat_community() -> ::jacquard_lexicon::lexicon::Le ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("members") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("members") ], ), nullable: None, @@ -216,7 +216,7 @@ fn lexicon_doc_app_protoimsg_chat_community() -> ::jacquard_lexicon::lexicon::Le #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isInnerCircle", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -226,7 +226,9 @@ fn lexicon_doc_app_protoimsg_chat_community() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("members"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "members", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -244,7 +246,9 @@ fn lexicon_doc_app_protoimsg_chat_community() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Group label."), @@ -265,7 +269,9 @@ fn lexicon_doc_app_protoimsg_chat_community() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("communityMember"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "communityMember", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -274,8 +280,8 @@ fn lexicon_doc_app_protoimsg_chat_community() -> ::jacquard_lexicon::lexicon::Le ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("did"), - ::jacquard_common::smol_str::SmolStr::new_static("addedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("addedAt") ], ), nullable: None, @@ -283,7 +289,9 @@ fn lexicon_doc_app_protoimsg_chat_community() -> ::jacquard_lexicon::lexicon::Le #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("addedAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "addedAt", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -304,7 +312,9 @@ fn lexicon_doc_app_protoimsg_chat_community() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("The member's DID."), @@ -327,7 +337,7 @@ fn lexicon_doc_app_protoimsg_chat_community() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -339,7 +349,7 @@ fn lexicon_doc_app_protoimsg_chat_community() -> ::jacquard_lexicon::lexicon::Le description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("groups") + ::jacquard_common::deps::smol_str::SmolStr::new_static("groups") ], ), nullable: None, @@ -347,7 +357,9 @@ fn lexicon_doc_app_protoimsg_chat_community() -> ::jacquard_lexicon::lexicon::Le #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("groups"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "groups", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -447,37 +459,37 @@ pub mod community_member_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type AddedAt; type Did; + type AddedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type AddedAt = Unset; type Did = Unset; - } - ///State transition - sets the `added_at` field to Set - pub struct SetAddedAt(PhantomData S>); - impl sealed::Sealed for SetAddedAt {} - impl State for SetAddedAt { - type AddedAt = Set; - type Did = S::Did; + type AddedAt = Unset; } ///State transition - sets the `did` field to Set pub struct SetDid(PhantomData S>); impl sealed::Sealed for SetDid {} impl State for SetDid { - type AddedAt = S::AddedAt; type Did = Set; + type AddedAt = S::AddedAt; + } + ///State transition - sets the `added_at` field to Set + pub struct SetAddedAt(PhantomData S>); + impl sealed::Sealed for SetAddedAt {} + impl State for SetAddedAt { + type Did = S::Did; + type AddedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `added_at` field - pub struct added_at(()); ///Marker type for the `did` field pub struct did(()); + ///Marker type for the `added_at` field + pub struct added_at(()); } } @@ -550,8 +562,8 @@ where impl<'a, S> CommunityMemberBuilder<'a, S> where S: community_member_state::State, - S::AddedAt: community_member_state::IsSet, S::Did: community_member_state::IsSet, + S::AddedAt: community_member_state::IsSet, { /// Build the final struct pub fn build(self) -> CommunityMember<'a> { @@ -565,7 +577,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> CommunityMember<'a> { @@ -708,7 +720,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Community<'a> { diff --git a/crates/jacquard-api/src/app_protoimsg/chat/message.rs b/crates/jacquard-api/src/app_protoimsg/chat/message.rs index d067a5d70..c76b83110 100644 --- a/crates/jacquard-api/src/app_protoimsg/chat/message.rs +++ b/crates/jacquard-api/src/app_protoimsg/chat/message.rs @@ -32,37 +32,37 @@ pub mod aspect_ratio_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Width; type Height; + type Width; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Width = Unset; type Height = Unset; - } - ///State transition - sets the `width` field to Set - pub struct SetWidth(PhantomData S>); - impl sealed::Sealed for SetWidth {} - impl State for SetWidth { - type Width = Set; - type Height = S::Height; + type Width = Unset; } ///State transition - sets the `height` field to Set pub struct SetHeight(PhantomData S>); impl sealed::Sealed for SetHeight {} impl State for SetHeight { - type Width = S::Width; type Height = Set; + type Width = S::Width; + } + ///State transition - sets the `width` field to Set + pub struct SetWidth(PhantomData S>); + impl sealed::Sealed for SetWidth {} + impl State for SetWidth { + type Height = S::Height; + type Width = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `width` field - pub struct width(()); ///Marker type for the `height` field pub struct height(()); + ///Marker type for the `width` field + pub struct width(()); } } @@ -132,8 +132,8 @@ where impl<'a, S> AspectRatioBuilder<'a, S> where S: aspect_ratio_state::State, - S::Width: aspect_ratio_state::IsSet, S::Height: aspect_ratio_state::IsSet, + S::Width: aspect_ratio_state::IsSet, { /// Build the final struct pub fn build(self) -> AspectRatio<'a> { @@ -147,7 +147,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> AspectRatio<'a> { @@ -170,7 +170,7 @@ fn lexicon_doc_app_protoimsg_chat_message() -> ::jacquard_lexicon::lexicon::Lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("aspectRatio"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("aspectRatio"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -179,8 +179,8 @@ fn lexicon_doc_app_protoimsg_chat_message() -> ::jacquard_lexicon::lexicon::Lexi ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("width"), - ::jacquard_common::smol_str::SmolStr::new_static("height") + ::jacquard_common::deps::smol_str::SmolStr::new_static("width"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("height") ], ), nullable: None, @@ -188,7 +188,9 @@ fn lexicon_doc_app_protoimsg_chat_message() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("height"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "height", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -199,7 +201,9 @@ fn lexicon_doc_app_protoimsg_chat_message() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("width"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "width", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -214,7 +218,7 @@ fn lexicon_doc_app_protoimsg_chat_message() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("blockquote"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("blockquote"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -231,7 +235,7 @@ fn lexicon_doc_app_protoimsg_chat_message() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("bold"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("bold"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -248,7 +252,7 @@ fn lexicon_doc_app_protoimsg_chat_message() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("byteSlice"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("byteSlice"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -257,8 +261,8 @@ fn lexicon_doc_app_protoimsg_chat_message() -> ::jacquard_lexicon::lexicon::Lexi ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("byteStart"), - ::jacquard_common::smol_str::SmolStr::new_static("byteEnd") + ::jacquard_common::deps::smol_str::SmolStr::new_static("byteStart"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("byteEnd") ], ), nullable: None, @@ -266,7 +270,9 @@ fn lexicon_doc_app_protoimsg_chat_message() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("byteEnd"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "byteEnd", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -277,7 +283,7 @@ fn lexicon_doc_app_protoimsg_chat_message() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "byteStart", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -294,7 +300,7 @@ fn lexicon_doc_app_protoimsg_chat_message() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("codeBlock"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("codeBlock"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -307,7 +313,9 @@ fn lexicon_doc_app_protoimsg_chat_message() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("lang"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "lang", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -330,7 +338,7 @@ fn lexicon_doc_app_protoimsg_chat_message() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("codeInline"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("codeInline"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -347,15 +355,15 @@ fn lexicon_doc_app_protoimsg_chat_message() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("externalEmbed"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("externalEmbed"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static("External link card."), ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("title") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("title") ], ), nullable: None, @@ -363,7 +371,7 @@ fn lexicon_doc_app_protoimsg_chat_message() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -384,7 +392,9 @@ fn lexicon_doc_app_protoimsg_chat_message() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("thumb"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "thumb", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -392,7 +402,9 @@ fn lexicon_doc_app_protoimsg_chat_message() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -411,7 +423,9 @@ fn lexicon_doc_app_protoimsg_chat_message() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -436,20 +450,24 @@ fn lexicon_doc_app_protoimsg_chat_message() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("imageEmbed"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("imageEmbed"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static("Embedded images."), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("images")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("images") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("images"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "images", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -465,15 +483,15 @@ fn lexicon_doc_app_protoimsg_chat_message() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("imageItem"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("imageItem"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static("A single embedded image."), ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("image"), - ::jacquard_common::smol_str::SmolStr::new_static("alt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("alt") ], ), nullable: None, @@ -481,7 +499,9 @@ fn lexicon_doc_app_protoimsg_chat_message() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("alt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "alt", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -500,7 +520,7 @@ fn lexicon_doc_app_protoimsg_chat_message() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "aspectRatio", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -509,7 +529,9 @@ fn lexicon_doc_app_protoimsg_chat_message() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -521,7 +543,7 @@ fn lexicon_doc_app_protoimsg_chat_message() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("italic"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("italic"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -538,7 +560,7 @@ fn lexicon_doc_app_protoimsg_chat_message() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("link"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("link"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -546,14 +568,18 @@ fn lexicon_doc_app_protoimsg_chat_message() -> ::jacquard_lexicon::lexicon::Lexi ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("uri")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -574,7 +600,7 @@ fn lexicon_doc_app_protoimsg_chat_message() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -586,9 +612,9 @@ fn lexicon_doc_app_protoimsg_chat_message() -> ::jacquard_lexicon::lexicon::Lexi description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("channel"), - ::jacquard_common::smol_str::SmolStr::new_static("text"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("channel"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -596,7 +622,9 @@ fn lexicon_doc_app_protoimsg_chat_message() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("channel"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "channel", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -617,7 +645,7 @@ fn lexicon_doc_app_protoimsg_chat_message() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -640,7 +668,9 @@ fn lexicon_doc_app_protoimsg_chat_message() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("embed"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "embed", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: Some( ::jacquard_common::CowStr::new_static( @@ -656,7 +686,9 @@ fn lexicon_doc_app_protoimsg_chat_message() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("facets"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "facets", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -674,14 +706,18 @@ fn lexicon_doc_app_protoimsg_chat_message() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reply"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reply", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#replyRef"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -705,7 +741,7 @@ fn lexicon_doc_app_protoimsg_chat_message() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("mention"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("mention"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -713,14 +749,18 @@ fn lexicon_doc_app_protoimsg_chat_message() -> ::jacquard_lexicon::lexicon::Lexi ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("did")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("did") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -741,7 +781,7 @@ fn lexicon_doc_app_protoimsg_chat_message() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("replyRef"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("replyRef"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -750,8 +790,8 @@ fn lexicon_doc_app_protoimsg_chat_message() -> ::jacquard_lexicon::lexicon::Lexi ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("root"), - ::jacquard_common::smol_str::SmolStr::new_static("parent") + ::jacquard_common::deps::smol_str::SmolStr::new_static("root"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("parent") ], ), nullable: None, @@ -759,7 +799,9 @@ fn lexicon_doc_app_protoimsg_chat_message() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("parent"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "parent", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -780,7 +822,9 @@ fn lexicon_doc_app_protoimsg_chat_message() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("root"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "root", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -805,7 +849,7 @@ fn lexicon_doc_app_protoimsg_chat_message() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("richTextFacet"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("richTextFacet"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -814,8 +858,8 @@ fn lexicon_doc_app_protoimsg_chat_message() -> ::jacquard_lexicon::lexicon::Lexi ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("index"), - ::jacquard_common::smol_str::SmolStr::new_static("features") + ::jacquard_common::deps::smol_str::SmolStr::new_static("index"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("features") ], ), nullable: None, @@ -823,7 +867,9 @@ fn lexicon_doc_app_protoimsg_chat_message() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("features"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "features", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -846,7 +892,9 @@ fn lexicon_doc_app_protoimsg_chat_message() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("index"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "index", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#byteSlice"), @@ -857,7 +905,7 @@ fn lexicon_doc_app_protoimsg_chat_message() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("strikethrough"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("strikethrough"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -874,7 +922,7 @@ fn lexicon_doc_app_protoimsg_chat_message() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tag"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("tag"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -882,14 +930,18 @@ fn lexicon_doc_app_protoimsg_chat_message() -> ::jacquard_lexicon::lexicon::Lexi ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("tag")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("tag") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tag"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tag", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -908,20 +960,24 @@ fn lexicon_doc_app_protoimsg_chat_message() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("videoEmbed"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("videoEmbed"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static("Embedded video."), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("video")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("video") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("alt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "alt", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -940,7 +996,7 @@ fn lexicon_doc_app_protoimsg_chat_message() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "aspectRatio", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -949,7 +1005,7 @@ fn lexicon_doc_app_protoimsg_chat_message() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "thumbnail", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { @@ -959,7 +1015,9 @@ fn lexicon_doc_app_protoimsg_chat_message() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("video"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "video", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -1220,7 +1278,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ByteSlice<'a> { @@ -1392,37 +1450,37 @@ pub mod external_embed_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Uri; type Title; + type Uri; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Uri = Unset; type Title = Unset; - } - ///State transition - sets the `uri` field to Set - pub struct SetUri(PhantomData S>); - impl sealed::Sealed for SetUri {} - impl State for SetUri { - type Uri = Set; - type Title = S::Title; + type Uri = Unset; } ///State transition - sets the `title` field to Set pub struct SetTitle(PhantomData S>); impl sealed::Sealed for SetTitle {} impl State for SetTitle { - type Uri = S::Uri; type Title = Set; + type Uri = S::Uri; + } + ///State transition - sets the `uri` field to Set + pub struct SetUri(PhantomData S>); + impl sealed::Sealed for SetUri {} + impl State for SetUri { + type Title = S::Title; + type Uri = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `uri` field - pub struct uri(()); ///Marker type for the `title` field pub struct title(()); + ///Marker type for the `uri` field + pub struct uri(()); } } @@ -1535,8 +1593,8 @@ where impl<'a, S> ExternalEmbedBuilder<'a, S> where S: external_embed_state::State, - S::Uri: external_embed_state::IsSet, S::Title: external_embed_state::IsSet, + S::Uri: external_embed_state::IsSet, { /// Build the final struct pub fn build(self) -> ExternalEmbed<'a> { @@ -1552,7 +1610,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ExternalEmbed<'a> { @@ -1719,7 +1777,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ImageEmbed<'a> { @@ -1935,7 +1993,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ImageItem<'a> { @@ -2120,7 +2178,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Link<'a> { @@ -2195,51 +2253,51 @@ pub mod message_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; - type Channel; type Text; + type Channel; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; - type Channel = Unset; type Text = Unset; + type Channel = Unset; + type CreatedAt = Unset; } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; + ///State transition - sets the `text` field to Set + pub struct SetText(PhantomData S>); + impl sealed::Sealed for SetText {} + impl State for SetText { + type Text = Set; type Channel = S::Channel; - type Text = S::Text; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `channel` field to Set pub struct SetChannel(PhantomData S>); impl sealed::Sealed for SetChannel {} impl State for SetChannel { - type CreatedAt = S::CreatedAt; - type Channel = Set; type Text = S::Text; - } - ///State transition - sets the `text` field to Set - pub struct SetText(PhantomData S>); - impl sealed::Sealed for SetText {} - impl State for SetText { + type Channel = Set; type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Text = S::Text; type Channel = S::Channel; - type Text = Set; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); - ///Marker type for the `channel` field - pub struct channel(()); ///Marker type for the `text` field pub struct text(()); + ///Marker type for the `channel` field + pub struct channel(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -2390,9 +2448,9 @@ where impl<'a, S> MessageBuilder<'a, S> where S: message_state::State, - S::CreatedAt: message_state::IsSet, - S::Channel: message_state::IsSet, S::Text: message_state::IsSet, + S::Channel: message_state::IsSet, + S::CreatedAt: message_state::IsSet, { /// Build the final struct pub fn build(self) -> Message<'a> { @@ -2410,7 +2468,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Message<'a> { @@ -2537,7 +2595,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Message<'a> { { let value = &self.text; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -2668,7 +2726,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Mention<'a> { @@ -2727,37 +2785,37 @@ pub mod reply_ref_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Parent; type Root; + type Parent; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Parent = Unset; type Root = Unset; - } - ///State transition - sets the `parent` field to Set - pub struct SetParent(PhantomData S>); - impl sealed::Sealed for SetParent {} - impl State for SetParent { - type Parent = Set; - type Root = S::Root; + type Parent = Unset; } ///State transition - sets the `root` field to Set pub struct SetRoot(PhantomData S>); impl sealed::Sealed for SetRoot {} impl State for SetRoot { - type Parent = S::Parent; type Root = Set; + type Parent = S::Parent; + } + ///State transition - sets the `parent` field to Set + pub struct SetParent(PhantomData S>); + impl sealed::Sealed for SetParent {} + impl State for SetParent { + type Root = S::Root; + type Parent = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `parent` field - pub struct parent(()); ///Marker type for the `root` field pub struct root(()); + ///Marker type for the `parent` field + pub struct parent(()); } } @@ -2830,8 +2888,8 @@ where impl<'a, S> ReplyRefBuilder<'a, S> where S: reply_ref_state::State, - S::Parent: reply_ref_state::IsSet, S::Root: reply_ref_state::IsSet, + S::Parent: reply_ref_state::IsSet, { /// Build the final struct pub fn build(self) -> ReplyRef<'a> { @@ -2845,7 +2903,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ReplyRef<'a> { @@ -2903,37 +2961,37 @@ pub mod rich_text_facet_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Features; type Index; + type Features; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Features = Unset; type Index = Unset; - } - ///State transition - sets the `features` field to Set - pub struct SetFeatures(PhantomData S>); - impl sealed::Sealed for SetFeatures {} - impl State for SetFeatures { - type Features = Set; - type Index = S::Index; + type Features = Unset; } ///State transition - sets the `index` field to Set pub struct SetIndex(PhantomData S>); impl sealed::Sealed for SetIndex {} impl State for SetIndex { - type Features = S::Features; type Index = Set; + type Features = S::Features; + } + ///State transition - sets the `features` field to Set + pub struct SetFeatures(PhantomData S>); + impl sealed::Sealed for SetFeatures {} + impl State for SetFeatures { + type Index = S::Index; + type Features = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `features` field - pub struct features(()); ///Marker type for the `index` field pub struct index(()); + ///Marker type for the `features` field + pub struct features(()); } } @@ -3006,8 +3064,8 @@ where impl<'a, S> RichTextFacetBuilder<'a, S> where S: rich_text_facet_state::State, - S::Features: rich_text_facet_state::IsSet, S::Index: rich_text_facet_state::IsSet, + S::Features: rich_text_facet_state::IsSet, { /// Build the final struct pub fn build(self) -> RichTextFacet<'a> { @@ -3021,7 +3079,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> RichTextFacet<'a> { @@ -3161,7 +3219,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Tag<'a> { { let value = &self.tag; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -3363,7 +3421,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> VideoEmbed<'a> { diff --git a/crates/jacquard-api/src/app_protoimsg/chat/poll.rs b/crates/jacquard-api/src/app_protoimsg/chat/poll.rs index 9df9d9128..2dbad765c 100644 --- a/crates/jacquard-api/src/app_protoimsg/chat/poll.rs +++ b/crates/jacquard-api/src/app_protoimsg/chat/poll.rs @@ -47,67 +47,67 @@ pub mod poll_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Options; type CreatedAt; type Question; type Channel; + type Options; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Options = Unset; type CreatedAt = Unset; type Question = Unset; type Channel = Unset; - } - ///State transition - sets the `options` field to Set - pub struct SetOptions(PhantomData S>); - impl sealed::Sealed for SetOptions {} - impl State for SetOptions { - type Options = Set; - type CreatedAt = S::CreatedAt; - type Question = S::Question; - type Channel = S::Channel; + type Options = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Options = S::Options; type CreatedAt = Set; type Question = S::Question; type Channel = S::Channel; + type Options = S::Options; } ///State transition - sets the `question` field to Set pub struct SetQuestion(PhantomData S>); impl sealed::Sealed for SetQuestion {} impl State for SetQuestion { - type Options = S::Options; type CreatedAt = S::CreatedAt; type Question = Set; type Channel = S::Channel; + type Options = S::Options; } ///State transition - sets the `channel` field to Set pub struct SetChannel(PhantomData S>); impl sealed::Sealed for SetChannel {} impl State for SetChannel { - type Options = S::Options; type CreatedAt = S::CreatedAt; type Question = S::Question; type Channel = Set; + type Options = S::Options; + } + ///State transition - sets the `options` field to Set + pub struct SetOptions(PhantomData S>); + impl sealed::Sealed for SetOptions {} + impl State for SetOptions { + type CreatedAt = S::CreatedAt; + type Question = S::Question; + type Channel = S::Channel; + type Options = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `options` field - pub struct options(()); ///Marker type for the `created_at` field pub struct created_at(()); ///Marker type for the `question` field pub struct question(()); ///Marker type for the `channel` field pub struct channel(()); + ///Marker type for the `options` field + pub struct options(()); } } @@ -254,10 +254,10 @@ where impl<'a, S> PollBuilder<'a, S> where S: poll_state::State, - S::Options: poll_state::IsSet, S::CreatedAt: poll_state::IsSet, S::Question: poll_state::IsSet, S::Channel: poll_state::IsSet, + S::Options: poll_state::IsSet, { /// Build the final struct pub fn build(self) -> Poll<'a> { @@ -275,7 +275,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Poll<'a> { @@ -419,7 +419,7 @@ fn lexicon_doc_app_protoimsg_chat_poll() -> ::jacquard_lexicon::lexicon::Lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -431,10 +431,10 @@ fn lexicon_doc_app_protoimsg_chat_poll() -> ::jacquard_lexicon::lexicon::Lexicon description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("channel"), - ::jacquard_common::smol_str::SmolStr::new_static("question"), - ::jacquard_common::smol_str::SmolStr::new_static("options"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("channel"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("question"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("options"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -442,7 +442,7 @@ fn lexicon_doc_app_protoimsg_chat_poll() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "allowMultiple", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -452,7 +452,9 @@ fn lexicon_doc_app_protoimsg_chat_poll() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("channel"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "channel", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -473,7 +475,7 @@ fn lexicon_doc_app_protoimsg_chat_poll() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -496,7 +498,7 @@ fn lexicon_doc_app_protoimsg_chat_poll() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "expiresAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -519,7 +521,9 @@ fn lexicon_doc_app_protoimsg_chat_poll() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("options"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "options", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -543,7 +547,7 @@ fn lexicon_doc_app_protoimsg_chat_poll() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "question", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/app_protoimsg/chat/presence.rs b/crates/jacquard-api/src/app_protoimsg/chat/presence.rs index dd8dcde22..d392d5b6c 100644 --- a/crates/jacquard-api/src/app_protoimsg/chat/presence.rs +++ b/crates/jacquard-api/src/app_protoimsg/chat/presence.rs @@ -178,7 +178,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Presence<'a> { @@ -396,7 +396,7 @@ fn lexicon_doc_app_protoimsg_chat_presence() -> ::jacquard_lexicon::lexicon::Lex defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -408,8 +408,8 @@ fn lexicon_doc_app_protoimsg_chat_presence() -> ::jacquard_lexicon::lexicon::Lex description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("status"), - ::jacquard_common::smol_str::SmolStr::new_static("updatedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("status"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("updatedAt") ], ), nullable: None, @@ -417,7 +417,7 @@ fn lexicon_doc_app_protoimsg_chat_presence() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "awayMessage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -438,7 +438,9 @@ fn lexicon_doc_app_protoimsg_chat_presence() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("status"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "status", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -457,7 +459,7 @@ fn lexicon_doc_app_protoimsg_chat_presence() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/app_protoimsg/chat/role.rs b/crates/jacquard-api/src/app_protoimsg/chat/role.rs index cc8989868..40e946abd 100644 --- a/crates/jacquard-api/src/app_protoimsg/chat/role.rs +++ b/crates/jacquard-api/src/app_protoimsg/chat/role.rs @@ -41,67 +41,67 @@ pub mod role_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Subject; - type Role; type Room; + type Subject; type CreatedAt; + type Role; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Subject = Unset; - type Role = Unset; type Room = Unset; + type Subject = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `subject` field to Set - pub struct SetSubject(PhantomData S>); - impl sealed::Sealed for SetSubject {} - impl State for SetSubject { - type Subject = Set; - type Role = S::Role; - type Room = S::Room; - type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `role` field to Set - pub struct SetRole(PhantomData S>); - impl sealed::Sealed for SetRole {} - impl State for SetRole { - type Subject = S::Subject; - type Role = Set; - type Room = S::Room; - type CreatedAt = S::CreatedAt; + type Role = Unset; } ///State transition - sets the `room` field to Set pub struct SetRoom(PhantomData S>); impl sealed::Sealed for SetRoom {} impl State for SetRoom { + type Room = Set; type Subject = S::Subject; + type CreatedAt = S::CreatedAt; type Role = S::Role; - type Room = Set; + } + ///State transition - sets the `subject` field to Set + pub struct SetSubject(PhantomData S>); + impl sealed::Sealed for SetSubject {} + impl State for SetSubject { + type Room = S::Room; + type Subject = Set; type CreatedAt = S::CreatedAt; + type Role = S::Role; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { + type Room = S::Room; type Subject = S::Subject; + type CreatedAt = Set; type Role = S::Role; + } + ///State transition - sets the `role` field to Set + pub struct SetRole(PhantomData S>); + impl sealed::Sealed for SetRole {} + impl State for SetRole { type Room = S::Room; - type CreatedAt = Set; + type Subject = S::Subject; + type CreatedAt = S::CreatedAt; + type Role = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `subject` field - pub struct subject(()); - ///Marker type for the `role` field - pub struct role(()); ///Marker type for the `room` field pub struct room(()); + ///Marker type for the `subject` field + pub struct subject(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `role` field + pub struct role(()); } } @@ -214,10 +214,10 @@ where impl<'a, S> RoleBuilder<'a, S> where S: role_state::State, - S::Subject: role_state::IsSet, - S::Role: role_state::IsSet, S::Room: role_state::IsSet, + S::Subject: role_state::IsSet, S::CreatedAt: role_state::IsSet, + S::Role: role_state::IsSet, { /// Build the final struct pub fn build(self) -> Role<'a> { @@ -233,7 +233,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Role<'a> { @@ -425,7 +425,7 @@ fn lexicon_doc_app_protoimsg_chat_role() -> ::jacquard_lexicon::lexicon::Lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -437,10 +437,10 @@ fn lexicon_doc_app_protoimsg_chat_role() -> ::jacquard_lexicon::lexicon::Lexicon description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("room"), - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("role"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("room"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("role"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -448,7 +448,7 @@ fn lexicon_doc_app_protoimsg_chat_role() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -471,7 +471,9 @@ fn lexicon_doc_app_protoimsg_chat_role() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("role"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "role", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -490,7 +492,9 @@ fn lexicon_doc_app_protoimsg_chat_role() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("room"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "room", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("AT-URI of the room."), @@ -509,7 +513,9 @@ fn lexicon_doc_app_protoimsg_chat_role() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/app_protoimsg/chat/room.rs b/crates/jacquard-api/src/app_protoimsg/chat/room.rs index 8aa8efcf8..feef1b033 100644 --- a/crates/jacquard-api/src/app_protoimsg/chat/room.rs +++ b/crates/jacquard-api/src/app_protoimsg/chat/room.rs @@ -55,8 +55,8 @@ pub mod room_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Topic; - type Purpose; type Name; + type Purpose; type CreatedAt; } /// Empty state - all required fields are unset @@ -64,8 +64,8 @@ pub mod room_state { impl sealed::Sealed for Empty {} impl State for Empty { type Topic = Unset; - type Purpose = Unset; type Name = Unset; + type Purpose = Unset; type CreatedAt = Unset; } ///State transition - sets the `topic` field to Set @@ -73,17 +73,8 @@ pub mod room_state { impl sealed::Sealed for SetTopic {} impl State for SetTopic { type Topic = Set; - type Purpose = S::Purpose; - type Name = S::Name; - type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `purpose` field to Set - pub struct SetPurpose(PhantomData S>); - impl sealed::Sealed for SetPurpose {} - impl State for SetPurpose { - type Topic = S::Topic; - type Purpose = Set; type Name = S::Name; + type Purpose = S::Purpose; type CreatedAt = S::CreatedAt; } ///State transition - sets the `name` field to Set @@ -91,8 +82,17 @@ pub mod room_state { impl sealed::Sealed for SetName {} impl State for SetName { type Topic = S::Topic; - type Purpose = S::Purpose; type Name = Set; + type Purpose = S::Purpose; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `purpose` field to Set + pub struct SetPurpose(PhantomData S>); + impl sealed::Sealed for SetPurpose {} + impl State for SetPurpose { + type Topic = S::Topic; + type Name = S::Name; + type Purpose = Set; type CreatedAt = S::CreatedAt; } ///State transition - sets the `created_at` field to Set @@ -100,8 +100,8 @@ pub mod room_state { impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { type Topic = S::Topic; - type Purpose = S::Purpose; type Name = S::Name; + type Purpose = S::Purpose; type CreatedAt = Set; } /// Marker types for field names @@ -109,10 +109,10 @@ pub mod room_state { pub mod members { ///Marker type for the `topic` field pub struct topic(()); - ///Marker type for the `purpose` field - pub struct purpose(()); ///Marker type for the `name` field pub struct name(()); + ///Marker type for the `purpose` field + pub struct purpose(()); ///Marker type for the `created_at` field pub struct created_at(()); } @@ -285,8 +285,8 @@ impl<'a, S> RoomBuilder<'a, S> where S: room_state::State, S::Topic: room_state::IsSet, - S::Purpose: room_state::IsSet, S::Name: room_state::IsSet, + S::Purpose: room_state::IsSet, S::CreatedAt: room_state::IsSet, { /// Build the final struct @@ -306,7 +306,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Room<'a> { @@ -561,7 +561,7 @@ fn lexicon_doc_app_protoimsg_chat_room() -> ::jacquard_lexicon::lexicon::Lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -573,10 +573,10 @@ fn lexicon_doc_app_protoimsg_chat_room() -> ::jacquard_lexicon::lexicon::Lexicon description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("topic"), - ::jacquard_common::smol_str::SmolStr::new_static("purpose"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("topic"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("purpose"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -584,7 +584,7 @@ fn lexicon_doc_app_protoimsg_chat_room() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "category", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -605,7 +605,7 @@ fn lexicon_doc_app_protoimsg_chat_room() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -628,7 +628,7 @@ fn lexicon_doc_app_protoimsg_chat_room() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -649,7 +649,9 @@ fn lexicon_doc_app_protoimsg_chat_room() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -668,7 +670,9 @@ fn lexicon_doc_app_protoimsg_chat_room() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("purpose"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "purpose", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -687,7 +691,7 @@ fn lexicon_doc_app_protoimsg_chat_room() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "settings", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -698,7 +702,9 @@ fn lexicon_doc_app_protoimsg_chat_room() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("topic"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "topic", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -722,7 +728,7 @@ fn lexicon_doc_app_protoimsg_chat_room() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("roomSettings"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("roomSettings"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -735,7 +741,7 @@ fn lexicon_doc_app_protoimsg_chat_room() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "allowlistEnabled", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -745,7 +751,7 @@ fn lexicon_doc_app_protoimsg_chat_room() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "minAccountAgeDays", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -758,7 +764,7 @@ fn lexicon_doc_app_protoimsg_chat_room() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "slowModeSeconds", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -771,7 +777,7 @@ fn lexicon_doc_app_protoimsg_chat_room() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "visibility", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/app_protoimsg/chat/vote.rs b/crates/jacquard-api/src/app_protoimsg/chat/vote.rs index 5b248f990..7c629fd4e 100644 --- a/crates/jacquard-api/src/app_protoimsg/chat/vote.rs +++ b/crates/jacquard-api/src/app_protoimsg/chat/vote.rs @@ -37,49 +37,49 @@ pub mod vote_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type SelectedOptions; + type CreatedAt; type Poll; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type SelectedOptions = Unset; + type CreatedAt = Unset; type Poll = Unset; } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type SelectedOptions = S::SelectedOptions; - type Poll = S::Poll; - } ///State transition - sets the `selected_options` field to Set pub struct SetSelectedOptions(PhantomData S>); impl sealed::Sealed for SetSelectedOptions {} impl State for SetSelectedOptions { - type CreatedAt = S::CreatedAt; type SelectedOptions = Set; + type CreatedAt = S::CreatedAt; + type Poll = S::Poll; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type SelectedOptions = S::SelectedOptions; + type CreatedAt = Set; type Poll = S::Poll; } ///State transition - sets the `poll` field to Set pub struct SetPoll(PhantomData S>); impl sealed::Sealed for SetPoll {} impl State for SetPoll { - type CreatedAt = S::CreatedAt; type SelectedOptions = S::SelectedOptions; + type CreatedAt = S::CreatedAt; type Poll = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `selected_options` field pub struct selected_options(()); + ///Marker type for the `created_at` field + pub struct created_at(()); ///Marker type for the `poll` field pub struct poll(()); } @@ -174,8 +174,8 @@ where impl<'a, S> VoteBuilder<'a, S> where S: vote_state::State, - S::CreatedAt: vote_state::IsSet, S::SelectedOptions: vote_state::IsSet, + S::CreatedAt: vote_state::IsSet, S::Poll: vote_state::IsSet, { /// Build the final struct @@ -191,7 +191,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Vote<'a> { @@ -306,7 +306,7 @@ fn lexicon_doc_app_protoimsg_chat_vote() -> ::jacquard_lexicon::lexicon::Lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -318,9 +318,9 @@ fn lexicon_doc_app_protoimsg_chat_vote() -> ::jacquard_lexicon::lexicon::Lexicon description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("poll"), - ::jacquard_common::smol_str::SmolStr::new_static("selectedOptions"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("poll"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("selectedOptions"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -328,7 +328,7 @@ fn lexicon_doc_app_protoimsg_chat_vote() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -349,7 +349,9 @@ fn lexicon_doc_app_protoimsg_chat_vote() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("poll"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "poll", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -370,7 +372,7 @@ fn lexicon_doc_app_protoimsg_chat_vote() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "selectedOptions", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { diff --git a/crates/jacquard-api/src/app_rocksky/actor.rs b/crates/jacquard-api/src/app_rocksky/actor.rs index a45c18947..ae6a28ade 100644 --- a/crates/jacquard-api/src/app_rocksky/actor.rs +++ b/crates/jacquard-api/src/app_rocksky/actor.rs @@ -59,7 +59,9 @@ fn lexicon_doc_app_rocksky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconD defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("artistViewBasic"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "artistViewBasic", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -68,7 +70,7 @@ fn lexicon_doc_app_rocksky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -83,7 +85,9 @@ fn lexicon_doc_app_rocksky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -98,7 +102,9 @@ fn lexicon_doc_app_rocksky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("picture"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "picture", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -115,7 +121,9 @@ fn lexicon_doc_app_rocksky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -132,7 +140,7 @@ fn lexicon_doc_app_rocksky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "user1Rank", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -145,7 +153,7 @@ fn lexicon_doc_app_rocksky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "user2Rank", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -158,7 +166,9 @@ fn lexicon_doc_app_rocksky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("weight"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "weight", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -173,7 +183,7 @@ fn lexicon_doc_app_rocksky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "compatibilityViewBasic", ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { @@ -184,7 +194,7 @@ fn lexicon_doc_app_rocksky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "compatibilityLevel", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -197,7 +207,7 @@ fn lexicon_doc_app_rocksky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "compatibilityPercentage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -210,7 +220,7 @@ fn lexicon_doc_app_rocksky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sharedArtists", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -223,7 +233,7 @@ fn lexicon_doc_app_rocksky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "topSharedArtistNames", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -245,7 +255,7 @@ fn lexicon_doc_app_rocksky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "topSharedDetailedArtists", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -261,7 +271,7 @@ fn lexicon_doc_app_rocksky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "user1ArtistCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -274,7 +284,7 @@ fn lexicon_doc_app_rocksky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "user2ArtistCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -291,7 +301,9 @@ fn lexicon_doc_app_rocksky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("neighbourViewBasic"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "neighbourViewBasic", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -300,7 +312,9 @@ fn lexicon_doc_app_rocksky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("avatar"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "avatar", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -321,7 +335,9 @@ fn lexicon_doc_app_rocksky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -336,7 +352,7 @@ fn lexicon_doc_app_rocksky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "displayName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -353,7 +369,9 @@ fn lexicon_doc_app_rocksky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("handle"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "handle", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -368,7 +386,7 @@ fn lexicon_doc_app_rocksky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sharedArtistsCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -381,7 +399,7 @@ fn lexicon_doc_app_rocksky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "similarityScore", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -394,7 +412,7 @@ fn lexicon_doc_app_rocksky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "topSharedArtistNames", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -420,7 +438,7 @@ fn lexicon_doc_app_rocksky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "topSharedArtistsDetails", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -440,7 +458,9 @@ fn lexicon_doc_app_rocksky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("userId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "userId", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -459,7 +479,9 @@ fn lexicon_doc_app_rocksky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("profileViewBasic"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "profileViewBasic", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -468,7 +490,9 @@ fn lexicon_doc_app_rocksky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("avatar"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "avatar", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -489,7 +513,7 @@ fn lexicon_doc_app_rocksky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -512,7 +536,9 @@ fn lexicon_doc_app_rocksky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -531,7 +557,7 @@ fn lexicon_doc_app_rocksky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "displayName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -552,7 +578,9 @@ fn lexicon_doc_app_rocksky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("handle"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "handle", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -571,7 +599,7 @@ fn lexicon_doc_app_rocksky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -590,7 +618,7 @@ fn lexicon_doc_app_rocksky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -617,7 +645,9 @@ fn lexicon_doc_app_rocksky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("profileViewDetailed"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "profileViewDetailed", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -626,7 +656,9 @@ fn lexicon_doc_app_rocksky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("avatar"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "avatar", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -647,7 +679,7 @@ fn lexicon_doc_app_rocksky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -670,7 +702,9 @@ fn lexicon_doc_app_rocksky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -689,7 +723,7 @@ fn lexicon_doc_app_rocksky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "displayName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -710,7 +744,9 @@ fn lexicon_doc_app_rocksky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("handle"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "handle", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -729,7 +765,7 @@ fn lexicon_doc_app_rocksky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -748,7 +784,7 @@ fn lexicon_doc_app_rocksky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/app_rocksky/album.rs b/crates/jacquard-api/src/app_rocksky/album.rs index c2685b1e5..271e0f9f1 100644 --- a/crates/jacquard-api/src/app_rocksky/album.rs +++ b/crates/jacquard-api/src/app_rocksky/album.rs @@ -83,51 +83,51 @@ pub mod album_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Artist; type CreatedAt; type Title; + type Artist; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Artist = Unset; type CreatedAt = Unset; type Title = Unset; - } - ///State transition - sets the `artist` field to Set - pub struct SetArtist(PhantomData S>); - impl sealed::Sealed for SetArtist {} - impl State for SetArtist { - type Artist = Set; - type CreatedAt = S::CreatedAt; - type Title = S::Title; + type Artist = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Artist = S::Artist; type CreatedAt = Set; type Title = S::Title; + type Artist = S::Artist; } ///State transition - sets the `title` field to Set pub struct SetTitle(PhantomData S>); impl sealed::Sealed for SetTitle {} impl State for SetTitle { - type Artist = S::Artist; type CreatedAt = S::CreatedAt; type Title = Set; + type Artist = S::Artist; + } + ///State transition - sets the `artist` field to Set + pub struct SetArtist(PhantomData S>); + impl sealed::Sealed for SetArtist {} + impl State for SetArtist { + type CreatedAt = S::CreatedAt; + type Title = S::Title; + type Artist = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `artist` field - pub struct artist(()); ///Marker type for the `created_at` field pub struct created_at(()); ///Marker type for the `title` field pub struct title(()); + ///Marker type for the `artist` field + pub struct artist(()); } } @@ -440,9 +440,9 @@ impl<'a, S: album_state::State> AlbumBuilder<'a, S> { impl<'a, S> AlbumBuilder<'a, S> where S: album_state::State, - S::Artist: album_state::IsSet, S::CreatedAt: album_state::IsSet, S::Title: album_state::IsSet, + S::Artist: album_state::IsSet, { /// Build the final struct pub fn build(self) -> Album<'a> { @@ -468,7 +468,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Album<'a> { @@ -643,7 +643,7 @@ fn lexicon_doc_app_rocksky_album() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -655,9 +655,9 @@ fn lexicon_doc_app_rocksky_album() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("artist"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("artist"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -665,7 +665,7 @@ fn lexicon_doc_app_rocksky_album() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "albumArt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { @@ -675,7 +675,7 @@ fn lexicon_doc_app_rocksky_album() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "albumArtUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -698,7 +698,7 @@ fn lexicon_doc_app_rocksky_album() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "appleMusicLink", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -721,7 +721,9 @@ fn lexicon_doc_app_rocksky_album() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("artist"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "artist", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -740,7 +742,7 @@ fn lexicon_doc_app_rocksky_album() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -763,7 +765,7 @@ fn lexicon_doc_app_rocksky_album() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "duration", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -776,7 +778,9 @@ fn lexicon_doc_app_rocksky_album() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("genre"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "genre", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -795,7 +799,7 @@ fn lexicon_doc_app_rocksky_album() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "releaseDate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -818,7 +822,7 @@ fn lexicon_doc_app_rocksky_album() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "spotifyLink", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -841,7 +845,9 @@ fn lexicon_doc_app_rocksky_album() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tags", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -865,7 +871,7 @@ fn lexicon_doc_app_rocksky_album() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "tidalLink", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -888,7 +894,9 @@ fn lexicon_doc_app_rocksky_album() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -907,7 +915,9 @@ fn lexicon_doc_app_rocksky_album() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("year"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "year", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -918,7 +928,7 @@ fn lexicon_doc_app_rocksky_album() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "youtubeLink", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1017,7 +1027,7 @@ fn lexicon_doc_app_rocksky_album_defs() -> ::jacquard_lexicon::lexicon::LexiconD defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("albumViewBasic"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("albumViewBasic"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -1026,7 +1036,9 @@ fn lexicon_doc_app_rocksky_album_defs() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("albumArt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "albumArt", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1047,7 +1059,9 @@ fn lexicon_doc_app_rocksky_album_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("artist"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "artist", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1066,7 +1080,7 @@ fn lexicon_doc_app_rocksky_album_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "artistUri", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1089,7 +1103,7 @@ fn lexicon_doc_app_rocksky_album_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1108,7 +1122,7 @@ fn lexicon_doc_app_rocksky_album_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "playCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1121,7 +1135,7 @@ fn lexicon_doc_app_rocksky_album_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "releaseDate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1142,7 +1156,9 @@ fn lexicon_doc_app_rocksky_album_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sha256"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sha256", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1161,7 +1177,9 @@ fn lexicon_doc_app_rocksky_album_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1180,7 +1198,7 @@ fn lexicon_doc_app_rocksky_album_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "uniqueListeners", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1193,7 +1211,9 @@ fn lexicon_doc_app_rocksky_album_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1214,7 +1234,9 @@ fn lexicon_doc_app_rocksky_album_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("year"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "year", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -1229,7 +1251,9 @@ fn lexicon_doc_app_rocksky_album_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("albumViewDetailed"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "albumViewDetailed", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -1238,7 +1262,9 @@ fn lexicon_doc_app_rocksky_album_defs() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("albumArt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "albumArt", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1259,7 +1285,9 @@ fn lexicon_doc_app_rocksky_album_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("artist"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "artist", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1278,7 +1306,7 @@ fn lexicon_doc_app_rocksky_album_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "artistUri", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1301,7 +1329,7 @@ fn lexicon_doc_app_rocksky_album_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1320,7 +1348,7 @@ fn lexicon_doc_app_rocksky_album_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "playCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1333,7 +1361,7 @@ fn lexicon_doc_app_rocksky_album_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "releaseDate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1354,7 +1382,9 @@ fn lexicon_doc_app_rocksky_album_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sha256"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sha256", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1373,7 +1403,9 @@ fn lexicon_doc_app_rocksky_album_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tags", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::String(::jacquard_lexicon::lexicon::LexString { @@ -1393,7 +1425,9 @@ fn lexicon_doc_app_rocksky_album_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1412,7 +1446,9 @@ fn lexicon_doc_app_rocksky_album_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tracks"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tracks", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -1426,7 +1462,7 @@ fn lexicon_doc_app_rocksky_album_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "uniqueListeners", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1439,7 +1475,9 @@ fn lexicon_doc_app_rocksky_album_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1460,7 +1498,9 @@ fn lexicon_doc_app_rocksky_album_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("year"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "year", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, diff --git a/crates/jacquard-api/src/app_rocksky/apikey.rs b/crates/jacquard-api/src/app_rocksky/apikey.rs index 09cfb8686..356cf2529 100644 --- a/crates/jacquard-api/src/app_rocksky/apikey.rs +++ b/crates/jacquard-api/src/app_rocksky/apikey.rs @@ -51,7 +51,7 @@ fn lexicon_doc_app_rocksky_apikey_defs() -> ::jacquard_lexicon::lexicon::Lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("apiKeyView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("apiKeyView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -60,7 +60,7 @@ fn lexicon_doc_app_rocksky_apikey_defs() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -83,7 +83,7 @@ fn lexicon_doc_app_rocksky_apikey_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -104,7 +104,7 @@ fn lexicon_doc_app_rocksky_apikey_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -123,7 +123,9 @@ fn lexicon_doc_app_rocksky_apikey_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/app_rocksky/artist.rs b/crates/jacquard-api/src/app_rocksky/artist.rs index fc191d247..ee121fcdc 100644 --- a/crates/jacquard-api/src/app_rocksky/artist.rs +++ b/crates/jacquard-api/src/app_rocksky/artist.rs @@ -66,37 +66,37 @@ pub mod artist_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type Name; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type Name = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Name = S::Name; + type CreatedAt = Unset; } ///State transition - sets the `name` field to Set pub struct SetName(PhantomData S>); impl sealed::Sealed for SetName {} impl State for SetName { - type CreatedAt = S::CreatedAt; type Name = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Name = S::Name; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `name` field pub struct name(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -310,8 +310,8 @@ impl<'a, S: artist_state::State> ArtistBuilder<'a, S> { impl<'a, S> ArtistBuilder<'a, S> where S: artist_state::State, - S::CreatedAt: artist_state::IsSet, S::Name: artist_state::IsSet, + S::CreatedAt: artist_state::IsSet, { /// Build the final struct pub fn build(self) -> Artist<'a> { @@ -332,7 +332,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Artist<'a> { @@ -488,7 +488,7 @@ fn lexicon_doc_app_rocksky_artist() -> ::jacquard_lexicon::lexicon::LexiconDoc<' defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -500,8 +500,8 @@ fn lexicon_doc_app_rocksky_artist() -> ::jacquard_lexicon::lexicon::LexiconDoc<' description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -509,7 +509,9 @@ fn lexicon_doc_app_rocksky_artist() -> ::jacquard_lexicon::lexicon::LexiconDoc<' #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("bio"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "bio", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -528,7 +530,9 @@ fn lexicon_doc_app_rocksky_artist() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("born"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "born", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -549,7 +553,9 @@ fn lexicon_doc_app_rocksky_artist() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("bornIn"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "bornIn", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -568,7 +574,7 @@ fn lexicon_doc_app_rocksky_artist() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -591,7 +597,9 @@ fn lexicon_doc_app_rocksky_artist() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("died"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "died", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -612,7 +620,9 @@ fn lexicon_doc_app_rocksky_artist() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -631,7 +641,9 @@ fn lexicon_doc_app_rocksky_artist() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("picture"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "picture", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -639,7 +651,7 @@ fn lexicon_doc_app_rocksky_artist() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "pictureUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -662,7 +674,9 @@ fn lexicon_doc_app_rocksky_artist() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tags", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -729,7 +743,7 @@ fn lexicon_doc_app_rocksky_artist_defs() -> ::jacquard_lexicon::lexicon::Lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("artistMbid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("artistMbid"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -738,7 +752,9 @@ fn lexicon_doc_app_rocksky_artist_defs() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("mbid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "mbid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -757,7 +773,9 @@ fn lexicon_doc_app_rocksky_artist_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -780,7 +798,9 @@ fn lexicon_doc_app_rocksky_artist_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("artistViewBasic"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "artistViewBasic", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -789,7 +809,7 @@ fn lexicon_doc_app_rocksky_artist_defs() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -808,7 +828,9 @@ fn lexicon_doc_app_rocksky_artist_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -827,7 +849,9 @@ fn lexicon_doc_app_rocksky_artist_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("picture"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "picture", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -846,7 +870,7 @@ fn lexicon_doc_app_rocksky_artist_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "playCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -859,7 +883,9 @@ fn lexicon_doc_app_rocksky_artist_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sha256"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sha256", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -878,7 +904,9 @@ fn lexicon_doc_app_rocksky_artist_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tags", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::String(::jacquard_lexicon::lexicon::LexString { @@ -898,7 +926,7 @@ fn lexicon_doc_app_rocksky_artist_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "uniqueListeners", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -911,7 +939,9 @@ fn lexicon_doc_app_rocksky_artist_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -936,7 +966,9 @@ fn lexicon_doc_app_rocksky_artist_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("artistViewDetailed"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "artistViewDetailed", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -945,7 +977,7 @@ fn lexicon_doc_app_rocksky_artist_defs() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -964,7 +996,9 @@ fn lexicon_doc_app_rocksky_artist_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -983,7 +1017,9 @@ fn lexicon_doc_app_rocksky_artist_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("picture"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "picture", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1002,7 +1038,7 @@ fn lexicon_doc_app_rocksky_artist_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "playCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1015,7 +1051,9 @@ fn lexicon_doc_app_rocksky_artist_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sha256"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sha256", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1034,7 +1072,9 @@ fn lexicon_doc_app_rocksky_artist_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tags", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::String(::jacquard_lexicon::lexicon::LexString { @@ -1054,7 +1094,7 @@ fn lexicon_doc_app_rocksky_artist_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "uniqueListeners", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1067,7 +1107,9 @@ fn lexicon_doc_app_rocksky_artist_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1092,7 +1134,9 @@ fn lexicon_doc_app_rocksky_artist_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("listenerViewBasic"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "listenerViewBasic", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -1101,7 +1145,9 @@ fn lexicon_doc_app_rocksky_artist_defs() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("avatar"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "avatar", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1122,7 +1168,9 @@ fn lexicon_doc_app_rocksky_artist_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1141,7 +1189,7 @@ fn lexicon_doc_app_rocksky_artist_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "displayName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1162,7 +1210,9 @@ fn lexicon_doc_app_rocksky_artist_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("handle"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "handle", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1181,7 +1231,7 @@ fn lexicon_doc_app_rocksky_artist_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1200,7 +1250,7 @@ fn lexicon_doc_app_rocksky_artist_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mostListenedSong", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -1211,7 +1261,9 @@ fn lexicon_doc_app_rocksky_artist_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rank"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "rank", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -1222,7 +1274,7 @@ fn lexicon_doc_app_rocksky_artist_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "totalPlays", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1239,7 +1291,7 @@ fn lexicon_doc_app_rocksky_artist_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("songViewBasic"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("songViewBasic"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -1248,7 +1300,7 @@ fn lexicon_doc_app_rocksky_artist_defs() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "playCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1261,7 +1313,9 @@ fn lexicon_doc_app_rocksky_artist_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1280,7 +1334,9 @@ fn lexicon_doc_app_rocksky_artist_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/app_rocksky/charts.rs b/crates/jacquard-api/src/app_rocksky/charts.rs index 20246e943..607c538e0 100644 --- a/crates/jacquard-api/src/app_rocksky/charts.rs +++ b/crates/jacquard-api/src/app_rocksky/charts.rs @@ -40,7 +40,7 @@ fn lexicon_doc_app_rocksky_charts_defs() -> ::jacquard_lexicon::lexicon::Lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("chartsView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("chartsView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -49,7 +49,7 @@ fn lexicon_doc_app_rocksky_charts_defs() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "scrobbles", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -69,7 +69,9 @@ fn lexicon_doc_app_rocksky_charts_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("scrobbleViewBasic"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "scrobbleViewBasic", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -78,7 +80,9 @@ fn lexicon_doc_app_rocksky_charts_defs() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("count"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "count", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -89,7 +93,9 @@ fn lexicon_doc_app_rocksky_charts_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("date"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "date", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/app_rocksky/dropbox.rs b/crates/jacquard-api/src/app_rocksky/dropbox.rs index 587ef14a6..c5bd688f7 100644 --- a/crates/jacquard-api/src/app_rocksky/dropbox.rs +++ b/crates/jacquard-api/src/app_rocksky/dropbox.rs @@ -40,7 +40,7 @@ fn lexicon_doc_app_rocksky_dropbox_defs() -> ::jacquard_lexicon::lexicon::Lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("fileListView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("fileListView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -49,7 +49,9 @@ fn lexicon_doc_app_rocksky_dropbox_defs() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("files"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "files", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -71,7 +73,7 @@ fn lexicon_doc_app_rocksky_dropbox_defs() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("fileView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("fileView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -80,7 +82,7 @@ fn lexicon_doc_app_rocksky_dropbox_defs() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "clientModified", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -103,7 +105,7 @@ fn lexicon_doc_app_rocksky_dropbox_defs() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -122,7 +124,9 @@ fn lexicon_doc_app_rocksky_dropbox_defs() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -141,7 +145,7 @@ fn lexicon_doc_app_rocksky_dropbox_defs() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "pathDisplay", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -162,7 +166,7 @@ fn lexicon_doc_app_rocksky_dropbox_defs() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "pathLower", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -183,7 +187,7 @@ fn lexicon_doc_app_rocksky_dropbox_defs() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "serverModified", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -210,7 +214,9 @@ fn lexicon_doc_app_rocksky_dropbox_defs() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("temporaryLinkView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "temporaryLinkView", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -219,7 +225,9 @@ fn lexicon_doc_app_rocksky_dropbox_defs() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("link"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "link", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( 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 06472bf35..cb7c23d19 100644 --- a/crates/jacquard-api/src/app_rocksky/dropbox/download_file.rs +++ b/crates/jacquard-api/src/app_rocksky/dropbox/download_file.rs @@ -120,7 +120,7 @@ where )] #[serde(rename_all = "camelCase")] pub struct DownloadFileOutput { - pub body: bytes::Bytes, + pub body: jacquard_common::deps::bytes::Bytes, } /// Response type for @@ -143,7 +143,7 @@ impl jacquard_common::xrpc::XrpcResp for DownloadFileResponse { Self::Output<'de>: serde::Deserialize<'de>, { Ok(DownloadFileOutput { - body: bytes::Bytes::copy_from_slice(body), + body: jacquard_common::deps::bytes::Bytes::copy_from_slice(body), }) } } diff --git a/crates/jacquard-api/src/app_rocksky/feed.rs b/crates/jacquard-api/src/app_rocksky/feed.rs index 110c0637b..d924d7514 100644 --- a/crates/jacquard-api/src/app_rocksky/feed.rs +++ b/crates/jacquard-api/src/app_rocksky/feed.rs @@ -58,7 +58,9 @@ fn lexicon_doc_app_rocksky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDo defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("feedGeneratorView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "feedGeneratorView", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -67,7 +69,9 @@ fn lexicon_doc_app_rocksky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("avatar"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "avatar", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -84,7 +88,9 @@ fn lexicon_doc_app_rocksky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("creator"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "creator", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -93,7 +99,7 @@ fn lexicon_doc_app_rocksky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -110,7 +116,7 @@ fn lexicon_doc_app_rocksky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -125,7 +131,9 @@ fn lexicon_doc_app_rocksky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -140,7 +148,9 @@ fn lexicon_doc_app_rocksky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -161,7 +171,9 @@ fn lexicon_doc_app_rocksky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("feedGeneratorsView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "feedGeneratorsView", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -170,7 +182,9 @@ fn lexicon_doc_app_rocksky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("feeds"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "feeds", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -188,7 +202,7 @@ fn lexicon_doc_app_rocksky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("feedItemView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("feedItemView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -197,7 +211,9 @@ fn lexicon_doc_app_rocksky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("scrobble"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "scrobble", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -210,7 +226,7 @@ fn lexicon_doc_app_rocksky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("feedUriView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("feedUriView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -219,7 +235,9 @@ fn lexicon_doc_app_rocksky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("The feed URI."), @@ -242,7 +260,7 @@ fn lexicon_doc_app_rocksky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("feedView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("feedView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -251,7 +269,9 @@ fn lexicon_doc_app_rocksky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cursor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cursor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -270,7 +290,9 @@ fn lexicon_doc_app_rocksky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("feed"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "feed", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -288,7 +310,7 @@ fn lexicon_doc_app_rocksky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("nowPlayingView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("nowPlayingView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -297,7 +319,9 @@ fn lexicon_doc_app_rocksky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("album"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "album", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -312,7 +336,9 @@ fn lexicon_doc_app_rocksky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("albumArt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "albumArt", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -329,7 +355,7 @@ fn lexicon_doc_app_rocksky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "albumArtist", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -346,7 +372,9 @@ fn lexicon_doc_app_rocksky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("albumUri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "albumUri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -363,7 +391,9 @@ fn lexicon_doc_app_rocksky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("artist"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "artist", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -378,7 +408,7 @@ fn lexicon_doc_app_rocksky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "artistUri", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -397,7 +427,9 @@ fn lexicon_doc_app_rocksky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("avatar"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "avatar", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -414,7 +446,7 @@ fn lexicon_doc_app_rocksky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -431,7 +463,9 @@ fn lexicon_doc_app_rocksky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -448,7 +482,9 @@ fn lexicon_doc_app_rocksky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("handle"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "handle", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -463,7 +499,7 @@ fn lexicon_doc_app_rocksky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -478,7 +514,9 @@ fn lexicon_doc_app_rocksky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -493,7 +531,9 @@ fn lexicon_doc_app_rocksky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("trackId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "trackId", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -508,7 +548,9 @@ fn lexicon_doc_app_rocksky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("trackUri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "trackUri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -525,7 +567,9 @@ fn lexicon_doc_app_rocksky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -546,7 +590,9 @@ fn lexicon_doc_app_rocksky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("nowPlayingsView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "nowPlayingsView", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -555,7 +601,7 @@ fn lexicon_doc_app_rocksky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "nowPlayings", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -575,7 +621,9 @@ fn lexicon_doc_app_rocksky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("searchResultsView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "searchResultsView", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -584,7 +632,7 @@ fn lexicon_doc_app_rocksky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "estimatedTotalHits", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -597,7 +645,9 @@ fn lexicon_doc_app_rocksky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hits"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "hits", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -616,7 +666,9 @@ fn lexicon_doc_app_rocksky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("limit"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "limit", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -627,7 +679,9 @@ fn lexicon_doc_app_rocksky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("offset"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "offset", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -638,7 +692,7 @@ fn lexicon_doc_app_rocksky_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "processingTimeMs", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { diff --git a/crates/jacquard-api/src/app_rocksky/feed/generator.rs b/crates/jacquard-api/src/app_rocksky/feed/generator.rs index 92e214694..8e7e6447f 100644 --- a/crates/jacquard-api/src/app_rocksky/feed/generator.rs +++ b/crates/jacquard-api/src/app_rocksky/feed/generator.rs @@ -41,51 +41,51 @@ pub mod generator_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type DisplayName; - type CreatedAt; type Did; + type CreatedAt; + type DisplayName; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type DisplayName = Unset; - type CreatedAt = Unset; type Did = Unset; + type CreatedAt = Unset; + type DisplayName = Unset; } - ///State transition - sets the `display_name` field to Set - pub struct SetDisplayName(PhantomData S>); - impl sealed::Sealed for SetDisplayName {} - impl State for SetDisplayName { - type DisplayName = Set; + ///State transition - sets the `did` field to Set + pub struct SetDid(PhantomData S>); + impl sealed::Sealed for SetDid {} + impl State for SetDid { + type Did = Set; type CreatedAt = S::CreatedAt; - type Did = S::Did; + type DisplayName = S::DisplayName; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type DisplayName = S::DisplayName; - type CreatedAt = Set; type Did = S::Did; - } - ///State transition - sets the `did` field to Set - pub struct SetDid(PhantomData S>); - impl sealed::Sealed for SetDid {} - impl State for SetDid { + type CreatedAt = Set; type DisplayName = S::DisplayName; + } + ///State transition - sets the `display_name` field to Set + pub struct SetDisplayName(PhantomData S>); + impl sealed::Sealed for SetDisplayName {} + impl State for SetDisplayName { + type Did = S::Did; type CreatedAt = S::CreatedAt; - type Did = Set; + type DisplayName = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `display_name` field - pub struct display_name(()); - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `did` field pub struct did(()); + ///Marker type for the `created_at` field + pub struct created_at(()); + ///Marker type for the `display_name` field + pub struct display_name(()); } } @@ -218,9 +218,9 @@ where impl<'a, S> GeneratorBuilder<'a, S> where S: generator_state::State, - S::DisplayName: generator_state::IsSet, - S::CreatedAt: generator_state::IsSet, S::Did: generator_state::IsSet, + S::CreatedAt: generator_state::IsSet, + S::DisplayName: generator_state::IsSet, { /// Build the final struct pub fn build(self) -> Generator<'a> { @@ -237,7 +237,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Generator<'a> { @@ -340,7 +340,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Generator<'a> { } if let Some(ref value) = self.description { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -372,7 +372,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Generator<'a> { { let value = &self.display_name; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -403,7 +403,7 @@ fn lexicon_doc_app_rocksky_feed_generator() -> ::jacquard_lexicon::lexicon::Lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -415,9 +415,9 @@ fn lexicon_doc_app_rocksky_feed_generator() -> ::jacquard_lexicon::lexicon::Lexi description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("did"), - ::jacquard_common::smol_str::SmolStr::new_static("displayName"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("displayName"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -425,7 +425,9 @@ fn lexicon_doc_app_rocksky_feed_generator() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("avatar"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "avatar", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -433,7 +435,7 @@ fn lexicon_doc_app_rocksky_feed_generator() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -452,7 +454,7 @@ fn lexicon_doc_app_rocksky_feed_generator() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -469,7 +471,9 @@ fn lexicon_doc_app_rocksky_feed_generator() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -486,7 +490,7 @@ fn lexicon_doc_app_rocksky_feed_generator() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "displayName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/app_rocksky/googledrive.rs b/crates/jacquard-api/src/app_rocksky/googledrive.rs index 373266b6a..65a96e920 100644 --- a/crates/jacquard-api/src/app_rocksky/googledrive.rs +++ b/crates/jacquard-api/src/app_rocksky/googledrive.rs @@ -38,7 +38,7 @@ fn lexicon_doc_app_rocksky_googledrive_defs() -> ::jacquard_lexicon::lexicon::Le defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("fileListView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("fileListView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -47,7 +47,9 @@ fn lexicon_doc_app_rocksky_googledrive_defs() -> ::jacquard_lexicon::lexicon::Le #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("files"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "files", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -65,7 +67,7 @@ fn lexicon_doc_app_rocksky_googledrive_defs() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("fileView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("fileView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -74,7 +76,7 @@ fn lexicon_doc_app_rocksky_googledrive_defs() -> ::jacquard_lexicon::lexicon::Le #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( 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 a21383344..de01696f9 100644 --- a/crates/jacquard-api/src/app_rocksky/googledrive/download_file.rs +++ b/crates/jacquard-api/src/app_rocksky/googledrive/download_file.rs @@ -120,7 +120,7 @@ where )] #[serde(rename_all = "camelCase")] pub struct DownloadFileOutput { - pub body: bytes::Bytes, + pub body: jacquard_common::deps::bytes::Bytes, } /// Response type for @@ -143,7 +143,7 @@ impl jacquard_common::xrpc::XrpcResp for DownloadFileResponse { Self::Output<'de>: serde::Deserialize<'de>, { Ok(DownloadFileOutput { - body: bytes::Bytes::copy_from_slice(body), + body: jacquard_common::deps::bytes::Bytes::copy_from_slice(body), }) } } diff --git a/crates/jacquard-api/src/app_rocksky/graph/follow.rs b/crates/jacquard-api/src/app_rocksky/graph/follow.rs index 43e611a96..86a91df1b 100644 --- a/crates/jacquard-api/src/app_rocksky/graph/follow.rs +++ b/crates/jacquard-api/src/app_rocksky/graph/follow.rs @@ -175,7 +175,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Follow<'a> { @@ -277,7 +277,7 @@ fn lexicon_doc_app_rocksky_graph_follow() -> ::jacquard_lexicon::lexicon::Lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -289,8 +289,8 @@ fn lexicon_doc_app_rocksky_graph_follow() -> ::jacquard_lexicon::lexicon::Lexico description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("createdAt"), - ::jacquard_common::smol_str::SmolStr::new_static("subject") + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject") ], ), nullable: None, @@ -298,7 +298,7 @@ fn lexicon_doc_app_rocksky_graph_follow() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -317,7 +317,9 @@ fn lexicon_doc_app_rocksky_graph_follow() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -334,7 +336,9 @@ fn lexicon_doc_app_rocksky_graph_follow() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("via"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "via", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/app_rocksky/like.rs b/crates/jacquard-api/src/app_rocksky/like.rs index c30ac51ae..eb08539f6 100644 --- a/crates/jacquard-api/src/app_rocksky/like.rs +++ b/crates/jacquard-api/src/app_rocksky/like.rs @@ -157,7 +157,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Like<'a> { @@ -256,7 +256,7 @@ fn lexicon_doc_app_rocksky_like() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static("A declaration of a like."), @@ -266,8 +266,8 @@ fn lexicon_doc_app_rocksky_like() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("createdAt"), - ::jacquard_common::smol_str::SmolStr::new_static("subject") + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject") ], ), nullable: None, @@ -275,7 +275,7 @@ fn lexicon_doc_app_rocksky_like() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -298,7 +298,9 @@ fn lexicon_doc_app_rocksky_like() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/app_rocksky/player.rs b/crates/jacquard-api/src/app_rocksky/player.rs index 0c1a0cd13..2ac18e12f 100644 --- a/crates/jacquard-api/src/app_rocksky/player.rs +++ b/crates/jacquard-api/src/app_rocksky/player.rs @@ -42,7 +42,7 @@ fn lexicon_doc_app_rocksky_player_defs() -> ::jacquard_lexicon::lexicon::Lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "currentlyPlayingViewDetailed", ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { @@ -53,7 +53,9 @@ fn lexicon_doc_app_rocksky_player_defs() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -76,7 +78,7 @@ fn lexicon_doc_app_rocksky_player_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "playbackQueueViewDetailed", ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { @@ -87,7 +89,9 @@ fn lexicon_doc_app_rocksky_player_defs() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tracks"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tracks", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { diff --git a/crates/jacquard-api/src/app_rocksky/playlist.rs b/crates/jacquard-api/src/app_rocksky/playlist.rs index 2e3f083d2..27a2a9825 100644 --- a/crates/jacquard-api/src/app_rocksky/playlist.rs +++ b/crates/jacquard-api/src/app_rocksky/playlist.rs @@ -66,37 +66,37 @@ pub mod playlist_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Name; type CreatedAt; + type Name; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Name = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `name` field to Set - pub struct SetName(PhantomData S>); - impl sealed::Sealed for SetName {} - impl State for SetName { - type Name = Set; - type CreatedAt = S::CreatedAt; + type Name = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Name = S::Name; type CreatedAt = Set; + type Name = S::Name; + } + ///State transition - sets the `name` field to Set + pub struct SetName(PhantomData S>); + impl sealed::Sealed for SetName {} + impl State for SetName { + type CreatedAt = S::CreatedAt; + type Name = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `name` field - pub struct name(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `name` field + pub struct name(()); } } @@ -319,8 +319,8 @@ impl<'a, S: playlist_state::State> PlaylistBuilder<'a, S> { impl<'a, S> PlaylistBuilder<'a, S> where S: playlist_state::State, - S::Name: playlist_state::IsSet, S::CreatedAt: playlist_state::IsSet, + S::Name: playlist_state::IsSet, { /// Build the final struct pub fn build(self) -> Playlist<'a> { @@ -341,7 +341,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Playlist<'a> { @@ -499,7 +499,7 @@ fn lexicon_doc_app_rocksky_playlist() -> ::jacquard_lexicon::lexicon::LexiconDoc defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -511,8 +511,8 @@ fn lexicon_doc_app_rocksky_playlist() -> ::jacquard_lexicon::lexicon::LexiconDoc description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -520,7 +520,7 @@ fn lexicon_doc_app_rocksky_playlist() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "appleMusicLink", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -541,7 +541,7 @@ fn lexicon_doc_app_rocksky_playlist() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -564,7 +564,7 @@ fn lexicon_doc_app_rocksky_playlist() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -585,7 +585,9 @@ fn lexicon_doc_app_rocksky_playlist() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -604,7 +606,9 @@ fn lexicon_doc_app_rocksky_playlist() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("picture"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "picture", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -612,7 +616,7 @@ fn lexicon_doc_app_rocksky_playlist() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "spotifyLink", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -633,7 +637,7 @@ fn lexicon_doc_app_rocksky_playlist() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "tidalLink", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -654,7 +658,9 @@ fn lexicon_doc_app_rocksky_playlist() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tracks"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tracks", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -672,7 +678,7 @@ fn lexicon_doc_app_rocksky_playlist() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "youtubeLink", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -775,7 +781,9 @@ fn lexicon_doc_app_rocksky_playlist_defs() -> ::jacquard_lexicon::lexicon::Lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("playlistViewBasic"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "playlistViewBasic", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -788,7 +796,7 @@ fn lexicon_doc_app_rocksky_playlist_defs() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "coverImageUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -811,7 +819,7 @@ fn lexicon_doc_app_rocksky_playlist_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -834,7 +842,7 @@ fn lexicon_doc_app_rocksky_playlist_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "curatorAvatarUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -857,7 +865,7 @@ fn lexicon_doc_app_rocksky_playlist_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "curatorDid", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -880,7 +888,7 @@ fn lexicon_doc_app_rocksky_playlist_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "curatorHandle", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -903,7 +911,7 @@ fn lexicon_doc_app_rocksky_playlist_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "curatorName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -924,7 +932,7 @@ fn lexicon_doc_app_rocksky_playlist_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -945,7 +953,7 @@ fn lexicon_doc_app_rocksky_playlist_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -964,7 +972,9 @@ fn lexicon_doc_app_rocksky_playlist_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -983,7 +993,7 @@ fn lexicon_doc_app_rocksky_playlist_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "trackCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -996,7 +1006,9 @@ fn lexicon_doc_app_rocksky_playlist_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1021,7 +1033,9 @@ fn lexicon_doc_app_rocksky_playlist_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("playlistViewDetailed"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "playlistViewDetailed", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -1034,7 +1048,7 @@ fn lexicon_doc_app_rocksky_playlist_defs() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "coverImageUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1057,7 +1071,7 @@ fn lexicon_doc_app_rocksky_playlist_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1080,7 +1094,7 @@ fn lexicon_doc_app_rocksky_playlist_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "curatorAvatarUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1103,7 +1117,7 @@ fn lexicon_doc_app_rocksky_playlist_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "curatorDid", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1126,7 +1140,7 @@ fn lexicon_doc_app_rocksky_playlist_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "curatorHandle", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1149,7 +1163,7 @@ fn lexicon_doc_app_rocksky_playlist_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "curatorName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1170,7 +1184,7 @@ fn lexicon_doc_app_rocksky_playlist_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1191,7 +1205,7 @@ fn lexicon_doc_app_rocksky_playlist_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1210,7 +1224,9 @@ fn lexicon_doc_app_rocksky_playlist_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1229,7 +1245,9 @@ fn lexicon_doc_app_rocksky_playlist_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tracks"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tracks", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -1247,7 +1265,9 @@ fn lexicon_doc_app_rocksky_playlist_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/app_rocksky/radio.rs b/crates/jacquard-api/src/app_rocksky/radio.rs index a547a5357..ef71b6b4f 100644 --- a/crates/jacquard-api/src/app_rocksky/radio.rs +++ b/crates/jacquard-api/src/app_rocksky/radio.rs @@ -54,51 +54,51 @@ pub mod radio_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Name; type Url; type CreatedAt; - type Name; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Name = Unset; type Url = Unset; type CreatedAt = Unset; - type Name = Unset; + } + ///State transition - sets the `name` field to Set + pub struct SetName(PhantomData S>); + impl sealed::Sealed for SetName {} + impl State for SetName { + type Name = Set; + type Url = S::Url; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `url` field to Set pub struct SetUrl(PhantomData S>); impl sealed::Sealed for SetUrl {} impl State for SetUrl { + type Name = S::Name; type Url = Set; type CreatedAt = S::CreatedAt; - type Name = S::Name; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Url = S::Url; - type CreatedAt = Set; type Name = S::Name; - } - ///State transition - sets the `name` field to Set - pub struct SetName(PhantomData S>); - impl sealed::Sealed for SetName {} - impl State for SetName { type Url = S::Url; - type CreatedAt = S::CreatedAt; - type Name = Set; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `name` field + pub struct name(()); ///Marker type for the `url` field pub struct url(()); ///Marker type for the `created_at` field pub struct created_at(()); - ///Marker type for the `name` field - pub struct name(()); } } @@ -268,9 +268,9 @@ impl<'a, S: radio_state::State> RadioBuilder<'a, S> { impl<'a, S> RadioBuilder<'a, S> where S: radio_state::State, + S::Name: radio_state::IsSet, S::Url: radio_state::IsSet, S::CreatedAt: radio_state::IsSet, - S::Name: radio_state::IsSet, { /// Build the final struct pub fn build(self) -> Radio<'a> { @@ -289,7 +289,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Radio<'a> { @@ -467,7 +467,7 @@ fn lexicon_doc_app_rocksky_radio() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -479,9 +479,9 @@ fn lexicon_doc_app_rocksky_radio() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("url"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -489,7 +489,7 @@ fn lexicon_doc_app_rocksky_radio() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -512,7 +512,7 @@ fn lexicon_doc_app_rocksky_radio() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -533,7 +533,9 @@ fn lexicon_doc_app_rocksky_radio() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("genre"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "genre", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -552,7 +554,9 @@ fn lexicon_doc_app_rocksky_radio() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("logo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "logo", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -560,7 +564,9 @@ fn lexicon_doc_app_rocksky_radio() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -579,7 +585,9 @@ fn lexicon_doc_app_rocksky_radio() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -600,7 +608,9 @@ fn lexicon_doc_app_rocksky_radio() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("website"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "website", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -671,7 +681,7 @@ fn lexicon_doc_app_rocksky_radio_defs() -> ::jacquard_lexicon::lexicon::LexiconD defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("radioViewBasic"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("radioViewBasic"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -680,7 +690,7 @@ fn lexicon_doc_app_rocksky_radio_defs() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -703,7 +713,7 @@ fn lexicon_doc_app_rocksky_radio_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -724,7 +734,7 @@ fn lexicon_doc_app_rocksky_radio_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -743,7 +753,9 @@ fn lexicon_doc_app_rocksky_radio_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -766,7 +778,9 @@ fn lexicon_doc_app_rocksky_radio_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("radioViewDetailed"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "radioViewDetailed", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -775,7 +789,7 @@ fn lexicon_doc_app_rocksky_radio_defs() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -798,7 +812,7 @@ fn lexicon_doc_app_rocksky_radio_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -819,7 +833,9 @@ fn lexicon_doc_app_rocksky_radio_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("genre"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "genre", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -838,7 +854,7 @@ fn lexicon_doc_app_rocksky_radio_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -857,7 +873,9 @@ fn lexicon_doc_app_rocksky_radio_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("logo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "logo", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -876,7 +894,9 @@ fn lexicon_doc_app_rocksky_radio_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -895,7 +915,9 @@ fn lexicon_doc_app_rocksky_radio_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -916,7 +938,9 @@ fn lexicon_doc_app_rocksky_radio_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("website"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "website", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/app_rocksky/scrobble.rs b/crates/jacquard-api/src/app_rocksky/scrobble.rs index b82c07374..f433d50b4 100644 --- a/crates/jacquard-api/src/app_rocksky/scrobble.rs +++ b/crates/jacquard-api/src/app_rocksky/scrobble.rs @@ -122,105 +122,105 @@ pub mod scrobble_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; + type Artist; + type Duration; + type Title; type Album; type AlbumArtist; - type Title; - type Duration; - type Artist; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; + type Artist = Unset; + type Duration = Unset; + type Title = Unset; type Album = Unset; type AlbumArtist = Unset; - type Title = Unset; - type Duration = Unset; - type Artist = Unset; + type CreatedAt = Unset; } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; + ///State transition - sets the `artist` field to Set + pub struct SetArtist(PhantomData S>); + impl sealed::Sealed for SetArtist {} + impl State for SetArtist { + type Artist = Set; + type Duration = S::Duration; + type Title = S::Title; type Album = S::Album; type AlbumArtist = S::AlbumArtist; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `duration` field to Set + pub struct SetDuration(PhantomData S>); + impl sealed::Sealed for SetDuration {} + impl State for SetDuration { + type Artist = S::Artist; + type Duration = Set; type Title = S::Title; - type Duration = S::Duration; + type Album = S::Album; + type AlbumArtist = S::AlbumArtist; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `title` field to Set + pub struct SetTitle(PhantomData S>); + impl sealed::Sealed for SetTitle {} + impl State for SetTitle { type Artist = S::Artist; + type Duration = S::Duration; + type Title = Set; + type Album = S::Album; + type AlbumArtist = S::AlbumArtist; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `album` field to Set pub struct SetAlbum(PhantomData S>); impl sealed::Sealed for SetAlbum {} impl State for SetAlbum { - type CreatedAt = S::CreatedAt; + type Artist = S::Artist; + type Duration = S::Duration; + type Title = S::Title; type Album = Set; type AlbumArtist = S::AlbumArtist; - type Title = S::Title; - type Duration = S::Duration; - type Artist = S::Artist; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `album_artist` field to Set pub struct SetAlbumArtist(PhantomData S>); impl sealed::Sealed for SetAlbumArtist {} impl State for SetAlbumArtist { - type CreatedAt = S::CreatedAt; + type Artist = S::Artist; + type Duration = S::Duration; + type Title = S::Title; type Album = S::Album; type AlbumArtist = Set; - type Title = S::Title; - type Duration = S::Duration; - type Artist = S::Artist; - } - ///State transition - sets the `title` field to Set - pub struct SetTitle(PhantomData S>); - impl sealed::Sealed for SetTitle {} - impl State for SetTitle { type CreatedAt = S::CreatedAt; - type Album = S::Album; - type AlbumArtist = S::AlbumArtist; - type Title = Set; - type Duration = S::Duration; - type Artist = S::Artist; } - ///State transition - sets the `duration` field to Set - pub struct SetDuration(PhantomData S>); - impl sealed::Sealed for SetDuration {} - impl State for SetDuration { - type CreatedAt = S::CreatedAt; - type Album = S::Album; - type AlbumArtist = S::AlbumArtist; - type Title = S::Title; - type Duration = Set; + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { type Artist = S::Artist; - } - ///State transition - sets the `artist` field to Set - pub struct SetArtist(PhantomData S>); - impl sealed::Sealed for SetArtist {} - impl State for SetArtist { - type CreatedAt = S::CreatedAt; + type Duration = S::Duration; + type Title = S::Title; type Album = S::Album; type AlbumArtist = S::AlbumArtist; - type Title = S::Title; - type Duration = S::Duration; - type Artist = Set; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); + ///Marker type for the `artist` field + pub struct artist(()); + ///Marker type for the `duration` field + pub struct duration(()); + ///Marker type for the `title` field + pub struct title(()); ///Marker type for the `album` field pub struct album(()); ///Marker type for the `album_artist` field pub struct album_artist(()); - ///Marker type for the `title` field - pub struct title(()); - ///Marker type for the `duration` field - pub struct duration(()); - ///Marker type for the `artist` field - pub struct artist(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -743,12 +743,12 @@ impl<'a, S: scrobble_state::State> ScrobbleBuilder<'a, S> { impl<'a, S> ScrobbleBuilder<'a, S> where S: scrobble_state::State, - S::CreatedAt: scrobble_state::IsSet, + S::Artist: scrobble_state::IsSet, + S::Duration: scrobble_state::IsSet, + S::Title: scrobble_state::IsSet, S::Album: scrobble_state::IsSet, S::AlbumArtist: scrobble_state::IsSet, - S::Title: scrobble_state::IsSet, - S::Duration: scrobble_state::IsSet, - S::Artist: scrobble_state::IsSet, + S::CreatedAt: scrobble_state::IsSet, { /// Build the final struct pub fn build(self) -> Scrobble<'a> { @@ -785,7 +785,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Scrobble<'a> { @@ -1119,7 +1119,7 @@ fn lexicon_doc_app_rocksky_scrobble() -> ::jacquard_lexicon::lexicon::LexiconDoc defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -1131,12 +1131,12 @@ fn lexicon_doc_app_rocksky_scrobble() -> ::jacquard_lexicon::lexicon::LexiconDoc description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("artist"), - ::jacquard_common::smol_str::SmolStr::new_static("album"), - ::jacquard_common::smol_str::SmolStr::new_static("albumArtist"), - ::jacquard_common::smol_str::SmolStr::new_static("duration"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("artist"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("album"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("albumArtist"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("duration"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -1144,7 +1144,9 @@ fn lexicon_doc_app_rocksky_scrobble() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("album"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "album", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1163,7 +1165,7 @@ fn lexicon_doc_app_rocksky_scrobble() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "albumArt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { @@ -1173,7 +1175,7 @@ fn lexicon_doc_app_rocksky_scrobble() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "albumArtUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1196,7 +1198,7 @@ fn lexicon_doc_app_rocksky_scrobble() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "albumArtist", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1217,7 +1219,7 @@ fn lexicon_doc_app_rocksky_scrobble() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "appleMusicLink", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1240,7 +1242,9 @@ fn lexicon_doc_app_rocksky_scrobble() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("artist"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "artist", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1259,7 +1263,9 @@ fn lexicon_doc_app_rocksky_scrobble() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("artists"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "artists", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -1277,7 +1283,7 @@ fn lexicon_doc_app_rocksky_scrobble() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "composer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1298,7 +1304,7 @@ fn lexicon_doc_app_rocksky_scrobble() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightMessage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1319,7 +1325,7 @@ fn lexicon_doc_app_rocksky_scrobble() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1342,7 +1348,7 @@ fn lexicon_doc_app_rocksky_scrobble() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "discNumber", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1355,7 +1361,7 @@ fn lexicon_doc_app_rocksky_scrobble() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "duration", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1368,7 +1374,9 @@ fn lexicon_doc_app_rocksky_scrobble() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("genre"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "genre", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1387,7 +1395,9 @@ fn lexicon_doc_app_rocksky_scrobble() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("label"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "label", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1406,7 +1416,9 @@ fn lexicon_doc_app_rocksky_scrobble() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("lyrics"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "lyrics", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1425,7 +1437,9 @@ fn lexicon_doc_app_rocksky_scrobble() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("mbid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "mbid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1444,7 +1458,7 @@ fn lexicon_doc_app_rocksky_scrobble() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "releaseDate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1467,7 +1481,7 @@ fn lexicon_doc_app_rocksky_scrobble() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "spotifyLink", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1490,7 +1504,9 @@ fn lexicon_doc_app_rocksky_scrobble() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tags", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -1514,7 +1530,7 @@ fn lexicon_doc_app_rocksky_scrobble() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "tidalLink", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1537,7 +1553,9 @@ fn lexicon_doc_app_rocksky_scrobble() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1556,7 +1574,7 @@ fn lexicon_doc_app_rocksky_scrobble() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "trackNumber", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1569,7 +1587,9 @@ fn lexicon_doc_app_rocksky_scrobble() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("wiki"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "wiki", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1588,7 +1608,9 @@ fn lexicon_doc_app_rocksky_scrobble() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("year"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "year", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -1599,7 +1621,7 @@ fn lexicon_doc_app_rocksky_scrobble() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "youtubeLink", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1712,7 +1734,9 @@ fn lexicon_doc_app_rocksky_scrobble_defs() -> ::jacquard_lexicon::lexicon::Lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("scrobbleViewBasic"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "scrobbleViewBasic", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -1721,7 +1745,9 @@ fn lexicon_doc_app_rocksky_scrobble_defs() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("album"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "album", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1740,7 +1766,9 @@ fn lexicon_doc_app_rocksky_scrobble_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("albumUri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "albumUri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1761,7 +1789,9 @@ fn lexicon_doc_app_rocksky_scrobble_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("artist"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "artist", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1780,7 +1810,7 @@ fn lexicon_doc_app_rocksky_scrobble_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "artistUri", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1803,7 +1833,9 @@ fn lexicon_doc_app_rocksky_scrobble_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cover"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cover", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1824,7 +1856,9 @@ fn lexicon_doc_app_rocksky_scrobble_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("date"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "date", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1845,7 +1879,7 @@ fn lexicon_doc_app_rocksky_scrobble_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1864,7 +1898,9 @@ fn lexicon_doc_app_rocksky_scrobble_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("liked"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "liked", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -1872,7 +1908,7 @@ fn lexicon_doc_app_rocksky_scrobble_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "likesCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1885,7 +1921,9 @@ fn lexicon_doc_app_rocksky_scrobble_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sha256"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sha256", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1904,7 +1942,9 @@ fn lexicon_doc_app_rocksky_scrobble_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1923,7 +1963,9 @@ fn lexicon_doc_app_rocksky_scrobble_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1944,7 +1986,9 @@ fn lexicon_doc_app_rocksky_scrobble_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("user"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "user", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1963,7 +2007,7 @@ fn lexicon_doc_app_rocksky_scrobble_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "userAvatar", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1986,7 +2030,7 @@ fn lexicon_doc_app_rocksky_scrobble_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "userDisplayName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -2011,7 +2055,9 @@ fn lexicon_doc_app_rocksky_scrobble_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("scrobbleViewDetailed"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "scrobbleViewDetailed", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -2020,7 +2066,9 @@ fn lexicon_doc_app_rocksky_scrobble_defs() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("album"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "album", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -2039,7 +2087,9 @@ fn lexicon_doc_app_rocksky_scrobble_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("albumUri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "albumUri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -2060,7 +2110,9 @@ fn lexicon_doc_app_rocksky_scrobble_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("artist"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "artist", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -2079,7 +2131,7 @@ fn lexicon_doc_app_rocksky_scrobble_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "artistUri", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -2102,7 +2154,9 @@ fn lexicon_doc_app_rocksky_scrobble_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("artists"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "artists", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -2116,7 +2170,9 @@ fn lexicon_doc_app_rocksky_scrobble_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cover"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cover", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -2137,7 +2193,9 @@ fn lexicon_doc_app_rocksky_scrobble_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("date"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "date", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -2158,7 +2216,7 @@ fn lexicon_doc_app_rocksky_scrobble_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -2177,7 +2235,7 @@ fn lexicon_doc_app_rocksky_scrobble_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "listeners", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -2190,7 +2248,7 @@ fn lexicon_doc_app_rocksky_scrobble_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "scrobbles", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -2203,7 +2261,9 @@ fn lexicon_doc_app_rocksky_scrobble_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sha256"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sha256", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -2222,7 +2282,9 @@ fn lexicon_doc_app_rocksky_scrobble_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -2241,7 +2303,9 @@ fn lexicon_doc_app_rocksky_scrobble_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -2262,7 +2326,9 @@ fn lexicon_doc_app_rocksky_scrobble_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("user"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "user", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/app_rocksky/shout.rs b/crates/jacquard-api/src/app_rocksky/shout.rs index be8c073e3..1cec47e91 100644 --- a/crates/jacquard-api/src/app_rocksky/shout.rs +++ b/crates/jacquard-api/src/app_rocksky/shout.rs @@ -50,51 +50,51 @@ pub mod shout_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Message; - type Subject; type CreatedAt; + type Subject; + type Message; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Message = Unset; - type Subject = Unset; type CreatedAt = Unset; + type Subject = Unset; + type Message = Unset; } - ///State transition - sets the `message` field to Set - pub struct SetMessage(PhantomData S>); - impl sealed::Sealed for SetMessage {} - impl State for SetMessage { - type Message = Set; + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type CreatedAt = Set; type Subject = S::Subject; - type CreatedAt = S::CreatedAt; + type Message = S::Message; } ///State transition - sets the `subject` field to Set pub struct SetSubject(PhantomData S>); impl sealed::Sealed for SetSubject {} impl State for SetSubject { - type Message = S::Message; - type Subject = Set; type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { + type Subject = Set; type Message = S::Message; + } + ///State transition - sets the `message` field to Set + pub struct SetMessage(PhantomData S>); + impl sealed::Sealed for SetMessage {} + impl State for SetMessage { + type CreatedAt = S::CreatedAt; type Subject = S::Subject; - type CreatedAt = Set; + type Message = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `message` field - pub struct message(()); - ///Marker type for the `subject` field - pub struct subject(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `subject` field + pub struct subject(()); + ///Marker type for the `message` field + pub struct message(()); } } @@ -207,9 +207,9 @@ where impl<'a, S> ShoutBuilder<'a, S> where S: shout_state::State, - S::Message: shout_state::IsSet, - S::Subject: shout_state::IsSet, S::CreatedAt: shout_state::IsSet, + S::Subject: shout_state::IsSet, + S::Message: shout_state::IsSet, { /// Build the final struct pub fn build(self) -> Shout<'a> { @@ -225,7 +225,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Shout<'a> { @@ -352,7 +352,7 @@ fn lexicon_doc_app_rocksky_shout() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -364,9 +364,9 @@ fn lexicon_doc_app_rocksky_shout() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("message"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt"), - ::jacquard_common::smol_str::SmolStr::new_static("subject") + ::jacquard_common::deps::smol_str::SmolStr::new_static("message"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject") ], ), nullable: None, @@ -374,7 +374,7 @@ fn lexicon_doc_app_rocksky_shout() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -397,7 +397,9 @@ fn lexicon_doc_app_rocksky_shout() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("message"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "message", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -416,7 +418,9 @@ fn lexicon_doc_app_rocksky_shout() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("parent"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "parent", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -425,7 +429,9 @@ fn lexicon_doc_app_rocksky_shout() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -489,7 +495,7 @@ fn lexicon_doc_app_rocksky_shout_defs() -> ::jacquard_lexicon::lexicon::LexiconD defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("author"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -498,7 +504,9 @@ fn lexicon_doc_app_rocksky_shout_defs() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("avatar"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "avatar", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -519,7 +527,9 @@ fn lexicon_doc_app_rocksky_shout_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -540,7 +550,7 @@ fn lexicon_doc_app_rocksky_shout_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "displayName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -561,7 +571,9 @@ fn lexicon_doc_app_rocksky_shout_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("handle"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "handle", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -582,7 +594,7 @@ fn lexicon_doc_app_rocksky_shout_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -605,7 +617,7 @@ fn lexicon_doc_app_rocksky_shout_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("shoutView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("shoutView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -614,7 +626,9 @@ fn lexicon_doc_app_rocksky_shout_defs() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "author", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -623,7 +637,7 @@ fn lexicon_doc_app_rocksky_shout_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -646,7 +660,7 @@ fn lexicon_doc_app_rocksky_shout_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -665,7 +679,9 @@ fn lexicon_doc_app_rocksky_shout_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("message"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "message", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -684,7 +700,9 @@ fn lexicon_doc_app_rocksky_shout_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("parent"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "parent", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/app_rocksky/song.rs b/crates/jacquard-api/src/app_rocksky/song.rs index 02ce15ee3..5d55d52fe 100644 --- a/crates/jacquard-api/src/app_rocksky/song.rs +++ b/crates/jacquard-api/src/app_rocksky/song.rs @@ -125,10 +125,10 @@ pub mod song_state { pub trait State: sealed::Sealed { type AlbumArtist; type Artist; - type Duration; - type Title; type Album; + type Duration; type CreatedAt; + type Title; } /// Empty state - all required fields are unset pub struct Empty(()); @@ -136,10 +136,10 @@ pub mod song_state { impl State for Empty { type AlbumArtist = Unset; type Artist = Unset; - type Duration = Unset; - type Title = Unset; type Album = Unset; + type Duration = Unset; type CreatedAt = Unset; + type Title = Unset; } ///State transition - sets the `album_artist` field to Set pub struct SetAlbumArtist(PhantomData S>); @@ -147,10 +147,10 @@ pub mod song_state { impl State for SetAlbumArtist { type AlbumArtist = Set; type Artist = S::Artist; - type Duration = S::Duration; - type Title = S::Title; type Album = S::Album; + type Duration = S::Duration; type CreatedAt = S::CreatedAt; + type Title = S::Title; } ///State transition - sets the `artist` field to Set pub struct SetArtist(PhantomData S>); @@ -158,32 +158,10 @@ pub mod song_state { impl State for SetArtist { type AlbumArtist = S::AlbumArtist; type Artist = Set; - type Duration = S::Duration; - type Title = S::Title; type Album = S::Album; - type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `duration` field to Set - pub struct SetDuration(PhantomData S>); - impl sealed::Sealed for SetDuration {} - impl State for SetDuration { - type AlbumArtist = S::AlbumArtist; - type Artist = S::Artist; - type Duration = Set; - type Title = S::Title; - type Album = S::Album; - type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `title` field to Set - pub struct SetTitle(PhantomData S>); - impl sealed::Sealed for SetTitle {} - impl State for SetTitle { - type AlbumArtist = S::AlbumArtist; - type Artist = S::Artist; type Duration = S::Duration; - type Title = Set; - type Album = S::Album; type CreatedAt = S::CreatedAt; + type Title = S::Title; } ///State transition - sets the `album` field to Set pub struct SetAlbum(PhantomData S>); @@ -191,10 +169,21 @@ pub mod song_state { impl State for SetAlbum { type AlbumArtist = S::AlbumArtist; type Artist = S::Artist; + type Album = Set; type Duration = S::Duration; + type CreatedAt = S::CreatedAt; type Title = S::Title; - type Album = Set; + } + ///State transition - sets the `duration` field to Set + pub struct SetDuration(PhantomData S>); + impl sealed::Sealed for SetDuration {} + impl State for SetDuration { + type AlbumArtist = S::AlbumArtist; + type Artist = S::Artist; + type Album = S::Album; + type Duration = Set; type CreatedAt = S::CreatedAt; + type Title = S::Title; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); @@ -202,10 +191,21 @@ pub mod song_state { impl State for SetCreatedAt { type AlbumArtist = S::AlbumArtist; type Artist = S::Artist; + type Album = S::Album; type Duration = S::Duration; + type CreatedAt = Set; type Title = S::Title; + } + ///State transition - sets the `title` field to Set + pub struct SetTitle(PhantomData S>); + impl sealed::Sealed for SetTitle {} + impl State for SetTitle { + type AlbumArtist = S::AlbumArtist; + type Artist = S::Artist; type Album = S::Album; - type CreatedAt = Set; + type Duration = S::Duration; + type CreatedAt = S::CreatedAt; + type Title = Set; } /// Marker types for field names #[allow(non_camel_case_types)] @@ -214,14 +214,14 @@ pub mod song_state { pub struct album_artist(()); ///Marker type for the `artist` field pub struct artist(()); - ///Marker type for the `duration` field - pub struct duration(()); - ///Marker type for the `title` field - pub struct title(()); ///Marker type for the `album` field pub struct album(()); + ///Marker type for the `duration` field + pub struct duration(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `title` field + pub struct title(()); } } @@ -746,10 +746,10 @@ where S: song_state::State, S::AlbumArtist: song_state::IsSet, S::Artist: song_state::IsSet, - S::Duration: song_state::IsSet, - S::Title: song_state::IsSet, S::Album: song_state::IsSet, + S::Duration: song_state::IsSet, S::CreatedAt: song_state::IsSet, + S::Title: song_state::IsSet, { /// Build the final struct pub fn build(self) -> Song<'a> { @@ -786,7 +786,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Song<'a> { @@ -1130,7 +1130,7 @@ fn lexicon_doc_app_rocksky_song() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static("A declaration of a song."), @@ -1140,12 +1140,12 @@ fn lexicon_doc_app_rocksky_song() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("artist"), - ::jacquard_common::smol_str::SmolStr::new_static("album"), - ::jacquard_common::smol_str::SmolStr::new_static("albumArtist"), - ::jacquard_common::smol_str::SmolStr::new_static("duration"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("artist"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("album"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("albumArtist"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("duration"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -1153,7 +1153,9 @@ fn lexicon_doc_app_rocksky_song() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("album"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "album", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1172,7 +1174,7 @@ fn lexicon_doc_app_rocksky_song() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "albumArt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { @@ -1182,7 +1184,7 @@ fn lexicon_doc_app_rocksky_song() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "albumArtUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1205,7 +1207,7 @@ fn lexicon_doc_app_rocksky_song() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "albumArtist", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1226,7 +1228,7 @@ fn lexicon_doc_app_rocksky_song() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "appleMusicLink", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1249,7 +1251,9 @@ fn lexicon_doc_app_rocksky_song() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("artist"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "artist", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1268,7 +1272,9 @@ fn lexicon_doc_app_rocksky_song() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("artists"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "artists", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -1286,7 +1292,7 @@ fn lexicon_doc_app_rocksky_song() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "composer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1307,7 +1313,7 @@ fn lexicon_doc_app_rocksky_song() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightMessage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1328,7 +1334,7 @@ fn lexicon_doc_app_rocksky_song() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1351,7 +1357,7 @@ fn lexicon_doc_app_rocksky_song() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "discNumber", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1364,7 +1370,7 @@ fn lexicon_doc_app_rocksky_song() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "duration", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1377,7 +1383,9 @@ fn lexicon_doc_app_rocksky_song() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("genre"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "genre", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1396,7 +1404,9 @@ fn lexicon_doc_app_rocksky_song() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("label"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "label", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1415,7 +1425,9 @@ fn lexicon_doc_app_rocksky_song() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("lyrics"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "lyrics", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1434,7 +1446,9 @@ fn lexicon_doc_app_rocksky_song() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("mbid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "mbid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1453,7 +1467,7 @@ fn lexicon_doc_app_rocksky_song() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "releaseDate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1476,7 +1490,7 @@ fn lexicon_doc_app_rocksky_song() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "spotifyLink", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1499,7 +1513,9 @@ fn lexicon_doc_app_rocksky_song() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tags", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -1523,7 +1539,7 @@ fn lexicon_doc_app_rocksky_song() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "tidalLink", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1546,7 +1562,9 @@ fn lexicon_doc_app_rocksky_song() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1565,7 +1583,7 @@ fn lexicon_doc_app_rocksky_song() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "trackNumber", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1578,7 +1596,9 @@ fn lexicon_doc_app_rocksky_song() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("wiki"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "wiki", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1597,7 +1617,9 @@ fn lexicon_doc_app_rocksky_song() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("year"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "year", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -1608,7 +1630,7 @@ fn lexicon_doc_app_rocksky_song() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "youtubeLink", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1727,7 +1749,7 @@ fn lexicon_doc_app_rocksky_song_defs() -> ::jacquard_lexicon::lexicon::LexiconDo defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("songViewBasic"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("songViewBasic"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -1736,7 +1758,9 @@ fn lexicon_doc_app_rocksky_song_defs() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("album"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "album", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1755,7 +1779,9 @@ fn lexicon_doc_app_rocksky_song_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("albumArt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "albumArt", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1776,7 +1802,7 @@ fn lexicon_doc_app_rocksky_song_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "albumArtist", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1797,7 +1823,9 @@ fn lexicon_doc_app_rocksky_song_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("albumUri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "albumUri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1818,7 +1846,9 @@ fn lexicon_doc_app_rocksky_song_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("artist"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "artist", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1837,7 +1867,7 @@ fn lexicon_doc_app_rocksky_song_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "artistUri", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1860,7 +1890,7 @@ fn lexicon_doc_app_rocksky_song_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1883,7 +1913,7 @@ fn lexicon_doc_app_rocksky_song_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "discNumber", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1896,7 +1926,9 @@ fn lexicon_doc_app_rocksky_song_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("duration"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "duration", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -1907,7 +1939,7 @@ fn lexicon_doc_app_rocksky_song_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1926,7 +1958,7 @@ fn lexicon_doc_app_rocksky_song_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "playCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1939,7 +1971,9 @@ fn lexicon_doc_app_rocksky_song_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sha256"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sha256", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1958,7 +1992,9 @@ fn lexicon_doc_app_rocksky_song_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tags", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::String(::jacquard_lexicon::lexicon::LexString { @@ -1978,7 +2014,9 @@ fn lexicon_doc_app_rocksky_song_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1997,7 +2035,7 @@ fn lexicon_doc_app_rocksky_song_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "trackNumber", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -2010,7 +2048,7 @@ fn lexicon_doc_app_rocksky_song_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "uniqueListeners", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -2023,7 +2061,9 @@ fn lexicon_doc_app_rocksky_song_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -2048,7 +2088,9 @@ fn lexicon_doc_app_rocksky_song_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("songViewDetailed"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "songViewDetailed", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -2057,7 +2099,9 @@ fn lexicon_doc_app_rocksky_song_defs() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("album"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "album", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -2076,7 +2120,9 @@ fn lexicon_doc_app_rocksky_song_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("albumArt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "albumArt", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -2097,7 +2143,7 @@ fn lexicon_doc_app_rocksky_song_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "albumArtist", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -2118,7 +2164,9 @@ fn lexicon_doc_app_rocksky_song_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("albumUri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "albumUri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -2139,7 +2187,9 @@ fn lexicon_doc_app_rocksky_song_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("artist"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "artist", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -2158,7 +2208,7 @@ fn lexicon_doc_app_rocksky_song_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "artistUri", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -2181,7 +2231,7 @@ fn lexicon_doc_app_rocksky_song_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -2204,7 +2254,7 @@ fn lexicon_doc_app_rocksky_song_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "discNumber", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -2217,7 +2267,9 @@ fn lexicon_doc_app_rocksky_song_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("duration"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "duration", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -2228,7 +2280,7 @@ fn lexicon_doc_app_rocksky_song_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -2247,7 +2299,7 @@ fn lexicon_doc_app_rocksky_song_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "playCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -2260,7 +2312,9 @@ fn lexicon_doc_app_rocksky_song_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sha256"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sha256", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -2279,7 +2333,9 @@ fn lexicon_doc_app_rocksky_song_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tags", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::String(::jacquard_lexicon::lexicon::LexString { @@ -2299,7 +2355,9 @@ fn lexicon_doc_app_rocksky_song_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -2318,7 +2376,7 @@ fn lexicon_doc_app_rocksky_song_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "trackNumber", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -2331,7 +2389,7 @@ fn lexicon_doc_app_rocksky_song_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "uniqueListeners", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -2344,7 +2402,9 @@ fn lexicon_doc_app_rocksky_song_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( 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 c005f9034..949dda5fb 100644 --- a/crates/jacquard-api/src/app_rocksky/song/match_song.rs +++ b/crates/jacquard-api/src/app_rocksky/song/match_song.rs @@ -32,37 +32,37 @@ pub mod match_song_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Artist; type Title; + type Artist; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Artist = Unset; type Title = Unset; - } - ///State transition - sets the `artist` field to Set - pub struct SetArtist(PhantomData S>); - impl sealed::Sealed for SetArtist {} - impl State for SetArtist { - type Artist = Set; - type Title = S::Title; + type Artist = Unset; } ///State transition - sets the `title` field to Set pub struct SetTitle(PhantomData S>); impl sealed::Sealed for SetTitle {} impl State for SetTitle { - type Artist = S::Artist; type Title = Set; + type Artist = S::Artist; + } + ///State transition - sets the `artist` field to Set + pub struct SetArtist(PhantomData S>); + impl sealed::Sealed for SetArtist {} + impl State for SetArtist { + type Title = S::Title; + type Artist = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `artist` field - pub struct artist(()); ///Marker type for the `title` field pub struct title(()); + ///Marker type for the `artist` field + pub struct artist(()); } } @@ -135,8 +135,8 @@ where impl<'a, S> MatchSongBuilder<'a, S> where S: match_song_state::State, - S::Artist: match_song_state::IsSet, S::Title: match_song_state::IsSet, + S::Artist: match_song_state::IsSet, { /// Build the final struct pub fn build(self) -> MatchSong<'a> { diff --git a/crates/jacquard-api/src/app_rocksky/spotify.rs b/crates/jacquard-api/src/app_rocksky/spotify.rs index f9bcb4573..875833e64 100644 --- a/crates/jacquard-api/src/app_rocksky/spotify.rs +++ b/crates/jacquard-api/src/app_rocksky/spotify.rs @@ -61,7 +61,9 @@ fn lexicon_doc_app_rocksky_spotify_defs() -> ::jacquard_lexicon::lexicon::Lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("spotifyTrackView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "spotifyTrackView", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -70,7 +72,9 @@ fn lexicon_doc_app_rocksky_spotify_defs() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("album"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "album", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -89,7 +93,9 @@ fn lexicon_doc_app_rocksky_spotify_defs() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("artist"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "artist", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -108,7 +114,9 @@ fn lexicon_doc_app_rocksky_spotify_defs() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("duration"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "duration", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -119,7 +127,7 @@ fn lexicon_doc_app_rocksky_spotify_defs() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -138,7 +146,9 @@ fn lexicon_doc_app_rocksky_spotify_defs() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -157,7 +167,7 @@ fn lexicon_doc_app_rocksky_spotify_defs() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "previewUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/app_rocksky/stats.rs b/crates/jacquard-api/src/app_rocksky/stats.rs index e4a894a08..f4fbb840d 100644 --- a/crates/jacquard-api/src/app_rocksky/stats.rs +++ b/crates/jacquard-api/src/app_rocksky/stats.rs @@ -48,7 +48,7 @@ fn lexicon_doc_app_rocksky_stats_defs() -> ::jacquard_lexicon::lexicon::LexiconD defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("statsView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("statsView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -57,7 +57,9 @@ fn lexicon_doc_app_rocksky_stats_defs() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("albums"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "albums", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -68,7 +70,9 @@ fn lexicon_doc_app_rocksky_stats_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("artists"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "artists", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -79,7 +83,7 @@ fn lexicon_doc_app_rocksky_stats_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "lovedTracks", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -92,7 +96,7 @@ fn lexicon_doc_app_rocksky_stats_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "scrobbles", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -105,7 +109,9 @@ fn lexicon_doc_app_rocksky_stats_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tracks"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tracks", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, diff --git a/crates/jacquard-api/src/art_cllctv/content/markdoc.rs b/crates/jacquard-api/src/art_cllctv/content/markdoc.rs index 6674a07d7..967524946 100644 --- a/crates/jacquard-api/src/art_cllctv/content/markdoc.rs +++ b/crates/jacquard-api/src/art_cllctv/content/markdoc.rs @@ -36,18 +36,22 @@ fn lexicon_doc_art_cllctv_content_markdoc() -> ::jacquard_lexicon::lexicon::Lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("markdoc")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("markdoc") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("facets"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "facets", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -62,7 +66,9 @@ fn lexicon_doc_art_cllctv_content_markdoc() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("markdoc"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "markdoc", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, diff --git a/crates/jacquard-api/src/art_cllctv/content/plaintext.rs b/crates/jacquard-api/src/art_cllctv/content/plaintext.rs index a9a43c22b..86b029d53 100644 --- a/crates/jacquard-api/src/art_cllctv/content/plaintext.rs +++ b/crates/jacquard-api/src/art_cllctv/content/plaintext.rs @@ -36,12 +36,12 @@ fn lexicon_doc_art_cllctv_content_plaintext() -> ::jacquard_lexicon::lexicon::Le defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("plaintext") + ::jacquard_common::deps::smol_str::SmolStr::new_static("plaintext") ], ), nullable: None, @@ -49,7 +49,9 @@ fn lexicon_doc_art_cllctv_content_plaintext() -> ::jacquard_lexicon::lexicon::Le #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("facets"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "facets", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -64,7 +66,7 @@ fn lexicon_doc_art_cllctv_content_plaintext() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "plaintext", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/art_cllctv/embed.rs b/crates/jacquard-api/src/art_cllctv/embed.rs index 3ea88c6d2..c8a1dd055 100644 --- a/crates/jacquard-api/src/art_cllctv/embed.rs +++ b/crates/jacquard-api/src/art_cllctv/embed.rs @@ -49,7 +49,7 @@ fn lexicon_doc_art_cllctv_embed_defs() -> ::jacquard_lexicon::lexicon::LexiconDo defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tombstone"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("tombstone"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -58,7 +58,9 @@ fn lexicon_doc_art_cllctv_embed_defs() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("camera"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "camera", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -67,7 +69,7 @@ fn lexicon_doc_art_cllctv_embed_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dimensions", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -78,7 +80,9 @@ fn lexicon_doc_art_cllctv_embed_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("lens"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "lens", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -87,7 +91,7 @@ fn lexicon_doc_art_cllctv_embed_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "materials", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -113,7 +117,9 @@ fn lexicon_doc_art_cllctv_embed_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tombstoneCamera"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tombstoneCamera", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -122,7 +128,9 @@ fn lexicon_doc_art_cllctv_embed_defs() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("make"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "make", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -137,7 +145,9 @@ fn lexicon_doc_art_cllctv_embed_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("model"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "model", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -156,7 +166,9 @@ fn lexicon_doc_art_cllctv_embed_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tombstoneDimensions"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tombstoneDimensions", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -165,7 +177,9 @@ fn lexicon_doc_art_cllctv_embed_defs() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("depth"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "depth", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -176,7 +190,9 @@ fn lexicon_doc_art_cllctv_embed_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("height"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "height", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -187,7 +203,9 @@ fn lexicon_doc_art_cllctv_embed_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("unit"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "unit", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -202,7 +220,9 @@ fn lexicon_doc_art_cllctv_embed_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("width"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "width", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -217,7 +237,7 @@ fn lexicon_doc_art_cllctv_embed_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tombstoneLens"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("tombstoneLens"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -226,7 +246,7 @@ fn lexicon_doc_art_cllctv_embed_defs() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "exposureTime", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -243,7 +263,9 @@ fn lexicon_doc_art_cllctv_embed_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("fnumber"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "fnumber", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -258,7 +280,7 @@ fn lexicon_doc_art_cllctv_embed_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "focalLength", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -275,7 +297,9 @@ fn lexicon_doc_art_cllctv_embed_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("iso"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "iso", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, diff --git a/crates/jacquard-api/src/art_cllctv/embed/external.rs b/crates/jacquard-api/src/art_cllctv/embed/external.rs index 0e98fcee3..f527b5a4f 100644 --- a/crates/jacquard-api/src/art_cllctv/embed/external.rs +++ b/crates/jacquard-api/src/art_cllctv/embed/external.rs @@ -237,7 +237,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> External<'a> { @@ -263,14 +263,14 @@ fn lexicon_doc_art_cllctv_embed_external() -> ::jacquard_lexicon::lexicon::Lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("description") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("description") ], ), nullable: None, @@ -278,7 +278,7 @@ fn lexicon_doc_art_cllctv_embed_external() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -295,7 +295,9 @@ fn lexicon_doc_art_cllctv_embed_external() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("thumb"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "thumb", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -303,7 +305,7 @@ fn lexicon_doc_art_cllctv_embed_external() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "thumbHash", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -320,7 +322,9 @@ fn lexicon_doc_art_cllctv_embed_external() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -335,7 +339,9 @@ fn lexicon_doc_art_cllctv_embed_external() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -356,14 +362,14 @@ fn lexicon_doc_art_cllctv_embed_external() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("view"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("view"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("description") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("description") ], ), nullable: None, @@ -371,7 +377,7 @@ fn lexicon_doc_art_cllctv_embed_external() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -388,7 +394,9 @@ fn lexicon_doc_art_cllctv_embed_external() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("thumb"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "thumb", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -405,7 +413,9 @@ fn lexicon_doc_art_cllctv_embed_external() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -420,7 +430,9 @@ fn lexicon_doc_art_cllctv_embed_external() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -472,7 +484,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for External<'a> { } if let Some(ref value) = self.thumb_hash { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -526,50 +538,50 @@ pub mod view_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Title; - type Uri; type Description; + type Uri; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Title = Unset; - type Uri = Unset; type Description = Unset; + type Uri = Unset; } ///State transition - sets the `title` field to Set pub struct SetTitle(PhantomData S>); impl sealed::Sealed for SetTitle {} impl State for SetTitle { type Title = Set; - type Uri = S::Uri; - type Description = S::Description; - } - ///State transition - sets the `uri` field to Set - pub struct SetUri(PhantomData S>); - impl sealed::Sealed for SetUri {} - impl State for SetUri { - type Title = S::Title; - type Uri = Set; type Description = S::Description; + type Uri = S::Uri; } ///State transition - sets the `description` field to Set pub struct SetDescription(PhantomData S>); impl sealed::Sealed for SetDescription {} impl State for SetDescription { type Title = S::Title; - type Uri = S::Uri; type Description = Set; + type Uri = S::Uri; + } + ///State transition - sets the `uri` field to Set + pub struct SetUri(PhantomData S>); + impl sealed::Sealed for SetUri {} + impl State for SetUri { + type Title = S::Title; + type Description = S::Description; + type Uri = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `title` field pub struct title(()); - ///Marker type for the `uri` field - pub struct uri(()); ///Marker type for the `description` field pub struct description(()); + ///Marker type for the `uri` field + pub struct uri(()); } } @@ -683,8 +695,8 @@ impl<'a, S> ViewBuilder<'a, S> where S: view_state::State, S::Title: view_state::IsSet, - S::Uri: view_state::IsSet, S::Description: view_state::IsSet, + S::Uri: view_state::IsSet, { /// Build the final struct pub fn build(self) -> View<'a> { @@ -700,7 +712,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> View<'a> { 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 f97df0c09..79c50be30 100644 --- a/crates/jacquard-api/src/art_cllctv/embed/external_video.rs +++ b/crates/jacquard-api/src/art_cllctv/embed/external_video.rs @@ -202,7 +202,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ExternalVideo<'a> { @@ -228,18 +228,20 @@ fn lexicon_doc_art_cllctv_embed_externalVideo() -> ::jacquard_lexicon::lexicon:: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("uri")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -254,7 +256,9 @@ fn lexicon_doc_art_cllctv_embed_externalVideo() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("service"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "service", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -269,7 +273,9 @@ fn lexicon_doc_art_cllctv_embed_externalVideo() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("thumb"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "thumb", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -277,7 +283,7 @@ fn lexicon_doc_art_cllctv_embed_externalVideo() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "thumbHash", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -294,7 +300,9 @@ fn lexicon_doc_art_cllctv_embed_externalVideo() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -315,18 +323,20 @@ fn lexicon_doc_art_cllctv_embed_externalVideo() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("view"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("view"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("uri")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -341,7 +351,9 @@ fn lexicon_doc_art_cllctv_embed_externalVideo() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("service"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "service", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -356,7 +368,9 @@ fn lexicon_doc_art_cllctv_embed_externalVideo() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("thumb"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "thumb", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -373,7 +387,9 @@ fn lexicon_doc_art_cllctv_embed_externalVideo() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -425,7 +441,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ExternalVideo<'a> { } if let Some(ref value) = self.thumb_hash { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -618,7 +634,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> View<'a> { diff --git a/crates/jacquard-api/src/art_cllctv/embed/images.rs b/crates/jacquard-api/src/art_cllctv/embed/images.rs index 54dc06b63..4fbe9e367 100644 --- a/crates/jacquard-api/src/art_cllctv/embed/images.rs +++ b/crates/jacquard-api/src/art_cllctv/embed/images.rs @@ -43,37 +43,37 @@ pub mod image_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Alt; type Image; + type Alt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Alt = Unset; type Image = Unset; - } - ///State transition - sets the `alt` field to Set - pub struct SetAlt(PhantomData S>); - impl sealed::Sealed for SetAlt {} - impl State for SetAlt { - type Alt = Set; - type Image = S::Image; + type Alt = Unset; } ///State transition - sets the `image` field to Set pub struct SetImage(PhantomData S>); impl sealed::Sealed for SetImage {} impl State for SetImage { - type Alt = S::Alt; type Image = Set; + type Alt = S::Alt; + } + ///State transition - sets the `alt` field to Set + pub struct SetAlt(PhantomData S>); + impl sealed::Sealed for SetAlt {} + impl State for SetAlt { + type Image = S::Image; + type Alt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `alt` field - pub struct alt(()); ///Marker type for the `image` field pub struct image(()); + ///Marker type for the `alt` field + pub struct alt(()); } } @@ -206,8 +206,8 @@ impl<'a, S: image_state::State> ImageBuilder<'a, S> { impl<'a, S> ImageBuilder<'a, S> where S: image_state::State, - S::Alt: image_state::IsSet, S::Image: image_state::IsSet, + S::Alt: image_state::IsSet, { /// Build the final struct pub fn build(self) -> Image<'a> { @@ -224,7 +224,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Image<'a> { @@ -250,13 +250,13 @@ fn lexicon_doc_art_cllctv_embed_images() -> ::jacquard_lexicon::lexicon::Lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("image"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("image"), - ::jacquard_common::smol_str::SmolStr::new_static("alt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("alt") ], ), nullable: None, @@ -264,7 +264,9 @@ fn lexicon_doc_art_cllctv_embed_images() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("alt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "alt", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -283,7 +285,7 @@ fn lexicon_doc_art_cllctv_embed_images() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "aspectRatio", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -294,7 +296,9 @@ fn lexicon_doc_art_cllctv_embed_images() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -302,7 +306,7 @@ fn lexicon_doc_art_cllctv_embed_images() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "imageHash", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -319,7 +323,7 @@ fn lexicon_doc_art_cllctv_embed_images() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "tombstone", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -334,18 +338,22 @@ fn lexicon_doc_art_cllctv_embed_images() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("images")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("images") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("images"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "images", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -361,18 +369,22 @@ fn lexicon_doc_art_cllctv_embed_images() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("view"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("view"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("images")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("images") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("images"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "images", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -388,14 +400,14 @@ fn lexicon_doc_art_cllctv_embed_images() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("viewImage"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("viewImage"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("thumb"), - ::jacquard_common::smol_str::SmolStr::new_static("fullsize"), - ::jacquard_common::smol_str::SmolStr::new_static("alt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("thumb"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("fullsize"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("alt") ], ), nullable: None, @@ -403,7 +415,9 @@ fn lexicon_doc_art_cllctv_embed_images() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("alt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "alt", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -422,7 +436,7 @@ fn lexicon_doc_art_cllctv_embed_images() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "aspectRatio", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -433,7 +447,9 @@ fn lexicon_doc_art_cllctv_embed_images() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("fullsize"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "fullsize", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -454,7 +470,9 @@ fn lexicon_doc_art_cllctv_embed_images() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("thumb"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "thumb", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -475,7 +493,7 @@ fn lexicon_doc_art_cllctv_embed_images() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "tombstone", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -521,7 +539,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Image<'a> { } if let Some(ref value) = self.image_hash { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -651,7 +669,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Images<'a> { @@ -802,7 +820,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> View<'a> { @@ -882,51 +900,51 @@ pub mod view_image_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Alt; type Fullsize; type Thumb; + type Alt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Alt = Unset; type Fullsize = Unset; type Thumb = Unset; - } - ///State transition - sets the `alt` field to Set - pub struct SetAlt(PhantomData S>); - impl sealed::Sealed for SetAlt {} - impl State for SetAlt { - type Alt = Set; - type Fullsize = S::Fullsize; - type Thumb = S::Thumb; + type Alt = Unset; } ///State transition - sets the `fullsize` field to Set pub struct SetFullsize(PhantomData S>); impl sealed::Sealed for SetFullsize {} impl State for SetFullsize { - type Alt = S::Alt; type Fullsize = Set; type Thumb = S::Thumb; + type Alt = S::Alt; } ///State transition - sets the `thumb` field to Set pub struct SetThumb(PhantomData S>); impl sealed::Sealed for SetThumb {} impl State for SetThumb { - type Alt = S::Alt; type Fullsize = S::Fullsize; type Thumb = Set; + type Alt = S::Alt; + } + ///State transition - sets the `alt` field to Set + pub struct SetAlt(PhantomData S>); + impl sealed::Sealed for SetAlt {} + impl State for SetAlt { + type Fullsize = S::Fullsize; + type Thumb = S::Thumb; + type Alt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `alt` field - pub struct alt(()); ///Marker type for the `fullsize` field pub struct fullsize(()); ///Marker type for the `thumb` field pub struct thumb(()); + ///Marker type for the `alt` field + pub struct alt(()); } } @@ -1059,9 +1077,9 @@ impl<'a, S: view_image_state::State> ViewImageBuilder<'a, S> { impl<'a, S> ViewImageBuilder<'a, S> where S: view_image_state::State, - S::Alt: view_image_state::IsSet, S::Fullsize: view_image_state::IsSet, S::Thumb: view_image_state::IsSet, + S::Alt: view_image_state::IsSet, { /// Build the final struct pub fn build(self) -> ViewImage<'a> { @@ -1078,7 +1096,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ViewImage<'a> { diff --git a/crates/jacquard-api/src/art_cllctv/feed/pin.rs b/crates/jacquard-api/src/art_cllctv/feed/pin.rs index d16acef70..704b2e454 100644 --- a/crates/jacquard-api/src/art_cllctv/feed/pin.rs +++ b/crates/jacquard-api/src/art_cllctv/feed/pin.rs @@ -150,7 +150,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Pin<'a> { @@ -251,7 +251,7 @@ fn lexicon_doc_art_cllctv_feed_pin() -> ::jacquard_lexicon::lexicon::LexiconDoc< defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -259,8 +259,8 @@ fn lexicon_doc_art_cllctv_feed_pin() -> ::jacquard_lexicon::lexicon::LexiconDoc< description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -268,7 +268,7 @@ fn lexicon_doc_art_cllctv_feed_pin() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -287,7 +287,9 @@ fn lexicon_doc_art_cllctv_feed_pin() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/art_cllctv/feed/post.rs b/crates/jacquard-api/src/art_cllctv/feed/post.rs index c24b05bdf..7566828d3 100644 --- a/crates/jacquard-api/src/art_cllctv/feed/post.rs +++ b/crates/jacquard-api/src/art_cllctv/feed/post.rs @@ -36,18 +36,22 @@ fn lexicon_doc_art_cllctv_feed_post() -> ::jacquard_lexicon::lexicon::LexiconDoc defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("category"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("category"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("group")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("group") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("group"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "group", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -62,7 +66,9 @@ fn lexicon_doc_art_cllctv_feed_post() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("labels"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "labels", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::String(::jacquard_lexicon::lexicon::LexString { @@ -86,7 +92,7 @@ fn lexicon_doc_art_cllctv_feed_post() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -98,7 +104,7 @@ fn lexicon_doc_art_cllctv_feed_post() -> ::jacquard_lexicon::lexicon::LexiconDoc description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -106,7 +112,7 @@ fn lexicon_doc_art_cllctv_feed_post() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "category", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -115,7 +121,9 @@ fn lexicon_doc_art_cllctv_feed_post() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "content", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -126,7 +134,7 @@ fn lexicon_doc_art_cllctv_feed_post() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -145,7 +153,7 @@ fn lexicon_doc_art_cllctv_feed_post() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -162,7 +170,9 @@ fn lexicon_doc_art_cllctv_feed_post() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("embed"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "embed", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -174,7 +184,9 @@ fn lexicon_doc_art_cllctv_feed_post() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("labels"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "labels", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: Some( ::jacquard_common::CowStr::new_static( @@ -188,7 +200,9 @@ fn lexicon_doc_art_cllctv_feed_post() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("langs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "langs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -214,7 +228,9 @@ fn lexicon_doc_art_cllctv_feed_post() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("ogImage"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "ogImage", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -222,7 +238,7 @@ fn lexicon_doc_art_cllctv_feed_post() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publishedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -241,7 +257,9 @@ fn lexicon_doc_art_cllctv_feed_post() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -256,7 +274,7 @@ fn lexicon_doc_art_cllctv_feed_post() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "tombstone", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -640,7 +658,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Post<'a> { @@ -789,7 +807,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Post<'a> { } if let Some(ref value) = self.description { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -831,7 +849,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Post<'a> { } if let Some(ref value) = self.title { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) diff --git a/crates/jacquard-api/src/at_inlay.rs b/crates/jacquard-api/src/at_inlay.rs index 4526f585a..29aa0af48 100644 --- a/crates/jacquard-api/src/at_inlay.rs +++ b/crates/jacquard-api/src/at_inlay.rs @@ -167,7 +167,7 @@ fn lexicon_doc_at_inlay_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stati defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cachePolicy"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cachePolicy"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -180,7 +180,9 @@ fn lexicon_doc_at_inlay_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stati #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("life"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "life", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -199,7 +201,9 @@ fn lexicon_doc_at_inlay_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stati }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tags", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -223,7 +227,7 @@ fn lexicon_doc_at_inlay_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stati }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("element"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("element"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -231,14 +235,18 @@ fn lexicon_doc_at_inlay_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stati ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("type")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("type") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("key"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "key", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -257,13 +265,17 @@ fn lexicon_doc_at_inlay_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stati }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("props"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "props", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "type", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -288,7 +300,7 @@ fn lexicon_doc_at_inlay_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stati }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("response"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("response"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -297,8 +309,8 @@ fn lexicon_doc_at_inlay_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stati ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("node"), - ::jacquard_common::smol_str::SmolStr::new_static("cache") + ::jacquard_common::deps::smol_str::SmolStr::new_static("node"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cache") ], ), nullable: None, @@ -306,14 +318,18 @@ fn lexicon_doc_at_inlay_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stati #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cache"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cache", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#cachePolicy"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("node"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "node", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#element"), @@ -324,7 +340,7 @@ fn lexicon_doc_at_inlay_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stati }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tagLink"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("tagLink"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -332,14 +348,18 @@ fn lexicon_doc_at_inlay_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stati ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("subject")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("from"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "from", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -360,7 +380,9 @@ fn lexicon_doc_at_inlay_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stati }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -385,7 +407,7 @@ fn lexicon_doc_at_inlay_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stati }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tagRecord"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("tagRecord"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -393,14 +415,18 @@ fn lexicon_doc_at_inlay_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stati ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("uri")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -425,18 +451,22 @@ fn lexicon_doc_at_inlay_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stati }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("viaValtown"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("viaValtown"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("valId")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("valId") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("valId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "valId", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Val Town val UUID"), @@ -646,7 +676,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Element<'a> { @@ -719,37 +749,37 @@ pub mod response_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Node; type Cache; + type Node; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Node = Unset; type Cache = Unset; - } - ///State transition - sets the `node` field to Set - pub struct SetNode(PhantomData S>); - impl sealed::Sealed for SetNode {} - impl State for SetNode { - type Node = Set; - type Cache = S::Cache; + type Node = Unset; } ///State transition - sets the `cache` field to Set pub struct SetCache(PhantomData S>); impl sealed::Sealed for SetCache {} impl State for SetCache { - type Node = S::Node; type Cache = Set; + type Node = S::Node; + } + ///State transition - sets the `node` field to Set + pub struct SetNode(PhantomData S>); + impl sealed::Sealed for SetNode {} + impl State for SetNode { + type Cache = S::Cache; + type Node = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `node` field - pub struct node(()); ///Marker type for the `cache` field pub struct cache(()); + ///Marker type for the `node` field + pub struct node(()); } } @@ -822,8 +852,8 @@ where impl<'a, S> ResponseBuilder<'a, S> where S: response_state::State, - S::Node: response_state::IsSet, S::Cache: response_state::IsSet, + S::Node: response_state::IsSet, { /// Build the final struct pub fn build(self) -> Response<'a> { @@ -837,7 +867,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Response<'a> { @@ -1003,7 +1033,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> TagLink<'a> { @@ -1144,7 +1174,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> TagRecord<'a> { diff --git a/crates/jacquard-api/src/at_inlay/binding.rs b/crates/jacquard-api/src/at_inlay/binding.rs index bcbf4c166..2ac70a8f8 100644 --- a/crates/jacquard-api/src/at_inlay/binding.rs +++ b/crates/jacquard-api/src/at_inlay/binding.rs @@ -114,7 +114,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Binding<'a> { diff --git a/crates/jacquard-api/src/at_inlay/component.rs b/crates/jacquard-api/src/at_inlay/component.rs index 2cb8191e3..1cb557740 100644 --- a/crates/jacquard-api/src/at_inlay/component.rs +++ b/crates/jacquard-api/src/at_inlay/component.rs @@ -117,7 +117,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> BodyExternal<'a> { @@ -137,7 +137,7 @@ fn lexicon_doc_at_inlay_component() -> ::jacquard_lexicon::lexicon::LexiconDoc<' defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("bodyExternal"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("bodyExternal"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -145,14 +145,18 @@ fn lexicon_doc_at_inlay_component() -> ::jacquard_lexicon::lexicon::LexiconDoc<' ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("did")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("did") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -177,7 +181,7 @@ fn lexicon_doc_at_inlay_component() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("bodyTemplate"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("bodyTemplate"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -185,14 +189,18 @@ fn lexicon_doc_at_inlay_component() -> ::jacquard_lexicon::lexicon::LexiconDoc<' ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("node")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("node") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("node"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "node", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { description: None, }), @@ -202,7 +210,7 @@ fn lexicon_doc_at_inlay_component() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -214,7 +222,7 @@ fn lexicon_doc_at_inlay_component() -> ::jacquard_lexicon::lexicon::LexiconDoc<' description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("type") + ::jacquard_common::deps::smol_str::SmolStr::new_static("type") ], ), nullable: None, @@ -222,7 +230,9 @@ fn lexicon_doc_at_inlay_component() -> ::jacquard_lexicon::lexicon::LexiconDoc<' #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("body"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "body", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: Some( ::jacquard_common::CowStr::new_static( @@ -237,7 +247,7 @@ fn lexicon_doc_at_inlay_component() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -256,7 +266,7 @@ fn lexicon_doc_at_inlay_component() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -273,7 +283,9 @@ fn lexicon_doc_at_inlay_component() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("imports"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "imports", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -299,7 +311,9 @@ fn lexicon_doc_at_inlay_component() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "type", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -320,7 +334,7 @@ fn lexicon_doc_at_inlay_component() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -343,7 +357,9 @@ fn lexicon_doc_at_inlay_component() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("via"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "via", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: Some( ::jacquard_common::CowStr::new_static( @@ -357,7 +373,9 @@ fn lexicon_doc_at_inlay_component() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("view"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "view", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#view"), @@ -369,7 +387,7 @@ fn lexicon_doc_at_inlay_component() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("view"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("view"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -378,8 +396,8 @@ fn lexicon_doc_at_inlay_component() -> ::jacquard_lexicon::lexicon::LexiconDoc<' ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("prop"), - ::jacquard_common::smol_str::SmolStr::new_static("accepts") + ::jacquard_common::deps::smol_str::SmolStr::new_static("prop"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("accepts") ], ), nullable: None, @@ -387,7 +405,9 @@ fn lexicon_doc_at_inlay_component() -> ::jacquard_lexicon::lexicon::LexiconDoc<' #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("accepts"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "accepts", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -407,7 +427,9 @@ fn lexicon_doc_at_inlay_component() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("prop"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "prop", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -430,7 +452,7 @@ fn lexicon_doc_at_inlay_component() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("viewPrimitive"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("viewPrimitive"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -438,14 +460,18 @@ fn lexicon_doc_at_inlay_component() -> ::jacquard_lexicon::lexicon::LexiconDoc<' ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("type")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("type") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("format"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "format", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -464,7 +490,9 @@ fn lexicon_doc_at_inlay_component() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "type", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -487,7 +515,7 @@ fn lexicon_doc_at_inlay_component() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("viewRecord"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("viewRecord"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -500,7 +528,7 @@ fn lexicon_doc_at_inlay_component() -> ::jacquard_lexicon::lexicon::LexiconDoc<' #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "collection", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -523,7 +551,9 @@ fn lexicon_doc_at_inlay_component() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rkey"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "rkey", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -679,7 +709,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> BodyTemplate<'a> { @@ -981,7 +1011,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Component<'a> { @@ -1106,7 +1136,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Component<'a> { } if let Some(ref value) = self.description { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -1157,37 +1187,37 @@ pub mod view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Prop; type Accepts; + type Prop; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Prop = Unset; type Accepts = Unset; - } - ///State transition - sets the `prop` field to Set - pub struct SetProp(PhantomData S>); - impl sealed::Sealed for SetProp {} - impl State for SetProp { - type Prop = Set; - type Accepts = S::Accepts; + type Prop = Unset; } ///State transition - sets the `accepts` field to Set pub struct SetAccepts(PhantomData S>); impl sealed::Sealed for SetAccepts {} impl State for SetAccepts { - type Prop = S::Prop; type Accepts = Set; + type Prop = S::Prop; + } + ///State transition - sets the `prop` field to Set + pub struct SetProp(PhantomData S>); + impl sealed::Sealed for SetProp {} + impl State for SetProp { + type Accepts = S::Accepts; + type Prop = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `prop` field - pub struct prop(()); ///Marker type for the `accepts` field pub struct accepts(()); + ///Marker type for the `prop` field + pub struct prop(()); } } @@ -1260,8 +1290,8 @@ where impl<'a, S> ViewBuilder<'a, S> where S: view_state::State, - S::Prop: view_state::IsSet, S::Accepts: view_state::IsSet, + S::Prop: view_state::IsSet, { /// Build the final struct pub fn build(self) -> View<'a> { @@ -1275,7 +1305,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> View<'a> { diff --git a/crates/jacquard-api/src/at_inlay/fragment.rs b/crates/jacquard-api/src/at_inlay/fragment.rs index 821b767fa..3305f89ca 100644 --- a/crates/jacquard-api/src/at_inlay/fragment.rs +++ b/crates/jacquard-api/src/at_inlay/fragment.rs @@ -115,7 +115,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Fragment<'a> { diff --git a/crates/jacquard-api/src/at_inlay/loading.rs b/crates/jacquard-api/src/at_inlay/loading.rs index 13a54b8bc..eb3f764b2 100644 --- a/crates/jacquard-api/src/at_inlay/loading.rs +++ b/crates/jacquard-api/src/at_inlay/loading.rs @@ -151,7 +151,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Loading<'a> { diff --git a/crates/jacquard-api/src/at_inlay/maybe.rs b/crates/jacquard-api/src/at_inlay/maybe.rs index 4742c4467..dac4d8d81 100644 --- a/crates/jacquard-api/src/at_inlay/maybe.rs +++ b/crates/jacquard-api/src/at_inlay/maybe.rs @@ -139,7 +139,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Maybe<'a> { diff --git a/crates/jacquard-api/src/at_inlay/missing.rs b/crates/jacquard-api/src/at_inlay/missing.rs index 6c86dc2d5..87542dbdc 100644 --- a/crates/jacquard-api/src/at_inlay/missing.rs +++ b/crates/jacquard-api/src/at_inlay/missing.rs @@ -114,7 +114,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Missing<'a> { diff --git a/crates/jacquard-api/src/at_inlay/pack.rs b/crates/jacquard-api/src/at_inlay/pack.rs index ecc10bf28..05bd58dd3 100644 --- a/crates/jacquard-api/src/at_inlay/pack.rs +++ b/crates/jacquard-api/src/at_inlay/pack.rs @@ -35,37 +35,37 @@ pub mod export_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Component; type Type; + type Component; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Component = Unset; type Type = Unset; - } - ///State transition - sets the `component` field to Set - pub struct SetComponent(PhantomData S>); - impl sealed::Sealed for SetComponent {} - impl State for SetComponent { - type Component = Set; - type Type = S::Type; + type Component = Unset; } ///State transition - sets the `type` field to Set pub struct SetType(PhantomData S>); impl sealed::Sealed for SetType {} impl State for SetType { - type Component = S::Component; type Type = Set; + type Component = S::Component; + } + ///State transition - sets the `component` field to Set + pub struct SetComponent(PhantomData S>); + impl sealed::Sealed for SetComponent {} + impl State for SetComponent { + type Type = S::Type; + type Component = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `component` field - pub struct component(()); ///Marker type for the `type` field pub struct r#type(()); + ///Marker type for the `component` field + pub struct component(()); } } @@ -138,8 +138,8 @@ where impl<'a, S> ExportBuilder<'a, S> where S: export_state::State, - S::Component: export_state::IsSet, S::Type: export_state::IsSet, + S::Component: export_state::IsSet, { /// Build the final struct pub fn build(self) -> Export<'a> { @@ -153,7 +153,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Export<'a> { @@ -174,13 +174,13 @@ fn lexicon_doc_at_inlay_pack() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stati defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("export"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("export"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("type"), - ::jacquard_common::smol_str::SmolStr::new_static("component") + ::jacquard_common::deps::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("component") ], ), nullable: None, @@ -188,7 +188,7 @@ fn lexicon_doc_at_inlay_pack() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stati #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "component", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -211,7 +211,9 @@ fn lexicon_doc_at_inlay_pack() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stati }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "type", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -236,7 +238,7 @@ fn lexicon_doc_at_inlay_pack() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stati }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -248,8 +250,8 @@ fn lexicon_doc_at_inlay_pack() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stati description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("exports") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("exports") ], ), nullable: None, @@ -257,7 +259,7 @@ fn lexicon_doc_at_inlay_pack() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stati #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -276,7 +278,9 @@ fn lexicon_doc_at_inlay_pack() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stati }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("exports"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "exports", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -292,7 +296,9 @@ fn lexicon_doc_at_inlay_pack() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stati }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -370,37 +376,37 @@ pub mod pack_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Exports; type Name; + type Exports; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Exports = Unset; type Name = Unset; - } - ///State transition - sets the `exports` field to Set - pub struct SetExports(PhantomData S>); - impl sealed::Sealed for SetExports {} - impl State for SetExports { - type Exports = Set; - type Name = S::Name; + type Exports = Unset; } ///State transition - sets the `name` field to Set pub struct SetName(PhantomData S>); impl sealed::Sealed for SetName {} impl State for SetName { - type Exports = S::Exports; type Name = Set; + type Exports = S::Exports; + } + ///State transition - sets the `exports` field to Set + pub struct SetExports(PhantomData S>); + impl sealed::Sealed for SetExports {} + impl State for SetExports { + type Name = S::Name; + type Exports = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `exports` field - pub struct exports(()); ///Marker type for the `name` field pub struct name(()); + ///Marker type for the `exports` field + pub struct exports(()); } } @@ -493,8 +499,8 @@ where impl<'a, S> PackBuilder<'a, S> where S: pack_state::State, - S::Exports: pack_state::IsSet, S::Name: pack_state::IsSet, + S::Exports: pack_state::IsSet, { /// Build the final struct pub fn build(self) -> Pack<'a> { @@ -509,7 +515,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Pack<'a> { diff --git a/crates/jacquard-api/src/at_inlay/placeholder.rs b/crates/jacquard-api/src/at_inlay/placeholder.rs index 5cdf52cbd..5dfc7d926 100644 --- a/crates/jacquard-api/src/at_inlay/placeholder.rs +++ b/crates/jacquard-api/src/at_inlay/placeholder.rs @@ -33,37 +33,37 @@ pub mod placeholder_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Fallback; type Children; + type Fallback; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Fallback = Unset; type Children = Unset; - } - ///State transition - sets the `fallback` field to Set - pub struct SetFallback(PhantomData S>); - impl sealed::Sealed for SetFallback {} - impl State for SetFallback { - type Fallback = Set; - type Children = S::Children; + type Fallback = Unset; } ///State transition - sets the `children` field to Set pub struct SetChildren(PhantomData S>); impl sealed::Sealed for SetChildren {} impl State for SetChildren { - type Fallback = S::Fallback; type Children = Set; + type Fallback = S::Fallback; + } + ///State transition - sets the `fallback` field to Set + pub struct SetFallback(PhantomData S>); + impl sealed::Sealed for SetFallback {} + impl State for SetFallback { + type Children = S::Children; + type Fallback = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `fallback` field - pub struct fallback(()); ///Marker type for the `children` field pub struct children(()); + ///Marker type for the `fallback` field + pub struct fallback(()); } } @@ -136,8 +136,8 @@ where impl<'a, S> PlaceholderBuilder<'a, S> where S: placeholder_state::State, - S::Fallback: placeholder_state::IsSet, S::Children: placeholder_state::IsSet, + S::Fallback: placeholder_state::IsSet, { /// Build the final struct pub fn build(self) -> Placeholder<'a> { @@ -151,7 +151,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Placeholder<'a> { diff --git a/crates/jacquard-api/src/at_margin/annotation.rs b/crates/jacquard-api/src/at_margin/annotation.rs index 6f2779e03..6a7ea3a4b 100644 --- a/crates/jacquard-api/src/at_margin/annotation.rs +++ b/crates/jacquard-api/src/at_margin/annotation.rs @@ -48,7 +48,7 @@ fn lexicon_doc_at_margin_annotation() -> ::jacquard_lexicon::lexicon::LexiconDoc defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("body"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("body"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -61,7 +61,9 @@ fn lexicon_doc_at_margin_annotation() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("format"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "format", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -80,7 +82,9 @@ fn lexicon_doc_at_margin_annotation() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("language"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "language", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("BCP47 language tag"), @@ -97,7 +101,9 @@ fn lexicon_doc_at_margin_annotation() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -118,7 +124,9 @@ fn lexicon_doc_at_margin_annotation() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("value"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "value", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -141,7 +149,7 @@ fn lexicon_doc_at_margin_annotation() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cssSelector"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cssSelector"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -149,14 +157,18 @@ fn lexicon_doc_at_margin_annotation() -> ::jacquard_lexicon::lexicon::LexiconDoc ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("value")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("value") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "type", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -171,7 +183,9 @@ fn lexicon_doc_at_margin_annotation() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("value"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "value", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("CSS selector string"), @@ -192,7 +206,9 @@ fn lexicon_doc_at_margin_annotation() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("fragmentSelector"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "fragmentSelector", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -200,14 +216,16 @@ fn lexicon_doc_at_margin_annotation() -> ::jacquard_lexicon::lexicon::LexiconDoc ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("value")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("value") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "conformsTo", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -230,7 +248,9 @@ fn lexicon_doc_at_margin_annotation() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "type", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -245,7 +265,9 @@ fn lexicon_doc_at_margin_annotation() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("value"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "value", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -268,7 +290,7 @@ fn lexicon_doc_at_margin_annotation() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("generator"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("generator"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -281,7 +303,9 @@ fn lexicon_doc_at_margin_annotation() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("homepage"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "homepage", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -298,7 +322,7 @@ fn lexicon_doc_at_margin_annotation() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -315,7 +339,9 @@ fn lexicon_doc_at_margin_annotation() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -334,7 +360,7 @@ fn lexicon_doc_at_margin_annotation() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -346,8 +372,8 @@ fn lexicon_doc_at_margin_annotation() -> ::jacquard_lexicon::lexicon::LexiconDoc description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("target"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("target"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -355,14 +381,16 @@ fn lexicon_doc_at_margin_annotation() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("body"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "body", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#body"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -381,7 +409,7 @@ fn lexicon_doc_at_margin_annotation() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "generator", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -390,7 +418,9 @@ fn lexicon_doc_at_margin_annotation() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("labels"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "labels", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -399,7 +429,7 @@ fn lexicon_doc_at_margin_annotation() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "motivation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -420,7 +450,9 @@ fn lexicon_doc_at_margin_annotation() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rights"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "rights", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -441,7 +473,9 @@ fn lexicon_doc_at_margin_annotation() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tags", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -465,7 +499,9 @@ fn lexicon_doc_at_margin_annotation() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("target"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "target", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#target"), @@ -477,7 +513,7 @@ fn lexicon_doc_at_margin_annotation() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rangeSelector"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("rangeSelector"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -486,8 +522,8 @@ fn lexicon_doc_at_margin_annotation() -> ::jacquard_lexicon::lexicon::LexiconDoc ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("startSelector"), - ::jacquard_common::smol_str::SmolStr::new_static("endSelector") + ::jacquard_common::deps::smol_str::SmolStr::new_static("startSelector"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("endSelector") ], ), nullable: None, @@ -495,7 +531,7 @@ fn lexicon_doc_at_margin_annotation() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "endSelector", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -514,7 +550,7 @@ fn lexicon_doc_at_margin_annotation() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "startSelector", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -533,7 +569,9 @@ fn lexicon_doc_at_margin_annotation() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "type", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -552,7 +590,7 @@ fn lexicon_doc_at_margin_annotation() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("target"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("target"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -560,14 +598,18 @@ fn lexicon_doc_at_margin_annotation() -> ::jacquard_lexicon::lexicon::LexiconDoc ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("source")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("source") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("selector"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "selector", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: Some( ::jacquard_common::CowStr::new_static( @@ -586,7 +628,9 @@ fn lexicon_doc_at_margin_annotation() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("source"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "source", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -607,7 +651,7 @@ fn lexicon_doc_at_margin_annotation() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sourceHash", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -628,14 +672,18 @@ fn lexicon_doc_at_margin_annotation() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("state"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "state", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#timeState"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -658,7 +706,9 @@ fn lexicon_doc_at_margin_annotation() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("textPositionSelector"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "textPositionSelector", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -667,8 +717,8 @@ fn lexicon_doc_at_margin_annotation() -> ::jacquard_lexicon::lexicon::LexiconDoc ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("start"), - ::jacquard_common::smol_str::SmolStr::new_static("end") + ::jacquard_common::deps::smol_str::SmolStr::new_static("start"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("end") ], ), nullable: None, @@ -676,7 +726,9 @@ fn lexicon_doc_at_margin_annotation() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("end"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "end", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -687,7 +739,9 @@ fn lexicon_doc_at_margin_annotation() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("start"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "start", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -698,7 +752,9 @@ fn lexicon_doc_at_margin_annotation() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "type", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -717,7 +773,9 @@ fn lexicon_doc_at_margin_annotation() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("textQuoteSelector"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "textQuoteSelector", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -725,14 +783,18 @@ fn lexicon_doc_at_margin_annotation() -> ::jacquard_lexicon::lexicon::LexiconDoc ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("exact")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("exact") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("exact"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "exact", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -751,7 +813,9 @@ fn lexicon_doc_at_margin_annotation() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("prefix"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "prefix", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -770,7 +834,9 @@ fn lexicon_doc_at_margin_annotation() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("suffix"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "suffix", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -789,7 +855,9 @@ fn lexicon_doc_at_margin_annotation() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "type", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -808,7 +876,7 @@ fn lexicon_doc_at_margin_annotation() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("timeState"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("timeState"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -821,7 +889,9 @@ fn lexicon_doc_at_margin_annotation() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cached"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cached", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -842,7 +912,7 @@ fn lexicon_doc_at_margin_annotation() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sourceDate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -869,7 +939,7 @@ fn lexicon_doc_at_margin_annotation() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("xpathSelector"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("xpathSelector"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -877,14 +947,18 @@ fn lexicon_doc_at_margin_annotation() -> ::jacquard_lexicon::lexicon::LexiconDoc ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("value")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("value") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "type", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -899,7 +973,9 @@ fn lexicon_doc_at_margin_annotation() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("value"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "value", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("XPath expression"), @@ -951,7 +1027,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Body<'a> { } if let Some(ref value) = self.value { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -1174,37 +1250,37 @@ pub mod annotation_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type Target; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type Target = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Target = S::Target; + type CreatedAt = Unset; } ///State transition - sets the `target` field to Set pub struct SetTarget(PhantomData S>); impl sealed::Sealed for SetTarget {} impl State for SetTarget { - type CreatedAt = S::CreatedAt; type Target = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Target = S::Target; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `target` field pub struct target(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -1394,8 +1470,8 @@ where impl<'a, S> AnnotationBuilder<'a, S> where S: annotation_state::State, - S::CreatedAt: annotation_state::IsSet, S::Target: annotation_state::IsSet, + S::CreatedAt: annotation_state::IsSet, { /// Build the final struct pub fn build(self) -> Annotation<'a> { @@ -1415,7 +1491,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Annotation<'a> { @@ -1824,7 +1900,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> RangeSelector<'a> { @@ -2103,7 +2179,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Target<'a> { @@ -2206,37 +2282,37 @@ pub mod text_position_selector_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type End; type Start; + type End; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type End = Unset; type Start = Unset; - } - ///State transition - sets the `end` field to Set - pub struct SetEnd(PhantomData S>); - impl sealed::Sealed for SetEnd {} - impl State for SetEnd { - type End = Set; - type Start = S::Start; + type End = Unset; } ///State transition - sets the `start` field to Set pub struct SetStart(PhantomData S>); impl sealed::Sealed for SetStart {} impl State for SetStart { - type End = S::End; type Start = Set; + type End = S::End; + } + ///State transition - sets the `end` field to Set + pub struct SetEnd(PhantomData S>); + impl sealed::Sealed for SetEnd {} + impl State for SetEnd { + type Start = S::Start; + type End = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `end` field - pub struct end(()); ///Marker type for the `start` field pub struct start(()); + ///Marker type for the `end` field + pub struct end(()); } } @@ -2329,8 +2405,8 @@ impl<'a, S: text_position_selector_state::State> TextPositionSelectorBuilder<'a, impl<'a, S> TextPositionSelectorBuilder<'a, S> where S: text_position_selector_state::State, - S::End: text_position_selector_state::IsSet, S::Start: text_position_selector_state::IsSet, + S::End: text_position_selector_state::IsSet, { /// Build the final struct pub fn build(self) -> TextPositionSelector<'a> { @@ -2345,7 +2421,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> TextPositionSelector<'a> { @@ -2458,7 +2534,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for TextQuoteSelector<'a> { { let value = &self.exact; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -2488,7 +2564,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for TextQuoteSelector<'a> { } if let Some(ref value) = self.prefix { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -2518,7 +2594,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for TextQuoteSelector<'a> { } if let Some(ref value) = self.suffix { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) diff --git a/crates/jacquard-api/src/at_margin/apikey.rs b/crates/jacquard-api/src/at_margin/apikey.rs index 750e47377..af864564d 100644 --- a/crates/jacquard-api/src/at_margin/apikey.rs +++ b/crates/jacquard-api/src/at_margin/apikey.rs @@ -37,51 +37,51 @@ pub mod apikey_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Name; type KeyHash; type CreatedAt; - type Name; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Name = Unset; type KeyHash = Unset; type CreatedAt = Unset; - type Name = Unset; + } + ///State transition - sets the `name` field to Set + pub struct SetName(PhantomData S>); + impl sealed::Sealed for SetName {} + impl State for SetName { + type Name = Set; + type KeyHash = S::KeyHash; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `key_hash` field to Set pub struct SetKeyHash(PhantomData S>); impl sealed::Sealed for SetKeyHash {} impl State for SetKeyHash { + type Name = S::Name; type KeyHash = Set; type CreatedAt = S::CreatedAt; - type Name = S::Name; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type KeyHash = S::KeyHash; - type CreatedAt = Set; type Name = S::Name; - } - ///State transition - sets the `name` field to Set - pub struct SetName(PhantomData S>); - impl sealed::Sealed for SetName {} - impl State for SetName { type KeyHash = S::KeyHash; - type CreatedAt = S::CreatedAt; - type Name = Set; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `name` field + pub struct name(()); ///Marker type for the `key_hash` field pub struct key_hash(()); ///Marker type for the `created_at` field pub struct created_at(()); - ///Marker type for the `name` field - pub struct name(()); } } @@ -174,9 +174,9 @@ where impl<'a, S> ApikeyBuilder<'a, S> where S: apikey_state::State, + S::Name: apikey_state::IsSet, S::KeyHash: apikey_state::IsSet, S::CreatedAt: apikey_state::IsSet, - S::Name: apikey_state::IsSet, { /// Build the final struct pub fn build(self) -> Apikey<'a> { @@ -191,7 +191,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Apikey<'a> { @@ -304,7 +304,7 @@ fn lexicon_doc_at_margin_apikey() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -316,9 +316,9 @@ fn lexicon_doc_at_margin_apikey() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("keyHash"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("keyHash"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -326,7 +326,7 @@ fn lexicon_doc_at_margin_apikey() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -345,7 +345,9 @@ fn lexicon_doc_at_margin_apikey() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("keyHash"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "keyHash", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -364,7 +366,9 @@ fn lexicon_doc_at_margin_apikey() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/at_margin/collection.rs b/crates/jacquard-api/src/at_margin/collection.rs index 3abb75255..79643a713 100644 --- a/crates/jacquard-api/src/at_margin/collection.rs +++ b/crates/jacquard-api/src/at_margin/collection.rs @@ -199,7 +199,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Collection<'a> { @@ -301,7 +301,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Collection<'a> { } if let Some(ref value) = self.description { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -331,7 +331,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Collection<'a> { } if let Some(ref value) = self.icon { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -363,7 +363,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Collection<'a> { { let value = &self.name; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -394,7 +394,7 @@ fn lexicon_doc_at_margin_collection() -> ::jacquard_lexicon::lexicon::LexiconDoc defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -406,8 +406,8 @@ fn lexicon_doc_at_margin_collection() -> ::jacquard_lexicon::lexicon::LexiconDoc description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -415,7 +415,7 @@ fn lexicon_doc_at_margin_collection() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -434,7 +434,7 @@ fn lexicon_doc_at_margin_collection() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -455,7 +455,9 @@ fn lexicon_doc_at_margin_collection() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("icon"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "icon", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -474,7 +476,9 @@ fn lexicon_doc_at_margin_collection() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Collection name"), diff --git a/crates/jacquard-api/src/at_margin/collection_item.rs b/crates/jacquard-api/src/at_margin/collection_item.rs index bb60ed8d3..7a6db8b87 100644 --- a/crates/jacquard-api/src/at_margin/collection_item.rs +++ b/crates/jacquard-api/src/at_margin/collection_item.rs @@ -40,51 +40,51 @@ pub mod collection_item_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Annotation; type CreatedAt; type Collection; - type Annotation; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Annotation = Unset; type CreatedAt = Unset; type Collection = Unset; - type Annotation = Unset; + } + ///State transition - sets the `annotation` field to Set + pub struct SetAnnotation(PhantomData S>); + impl sealed::Sealed for SetAnnotation {} + impl State for SetAnnotation { + type Annotation = Set; + type CreatedAt = S::CreatedAt; + type Collection = S::Collection; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { + type Annotation = S::Annotation; type CreatedAt = Set; type Collection = S::Collection; - type Annotation = S::Annotation; } ///State transition - sets the `collection` field to Set pub struct SetCollection(PhantomData S>); impl sealed::Sealed for SetCollection {} impl State for SetCollection { - type CreatedAt = S::CreatedAt; - type Collection = Set; type Annotation = S::Annotation; - } - ///State transition - sets the `annotation` field to Set - pub struct SetAnnotation(PhantomData S>); - impl sealed::Sealed for SetAnnotation {} - impl State for SetAnnotation { type CreatedAt = S::CreatedAt; - type Collection = S::Collection; - type Annotation = Set; + type Collection = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `annotation` field + pub struct annotation(()); ///Marker type for the `created_at` field pub struct created_at(()); ///Marker type for the `collection` field pub struct collection(()); - ///Marker type for the `annotation` field - pub struct annotation(()); } } @@ -191,9 +191,9 @@ impl<'a, S: collection_item_state::State> CollectionItemBuilder<'a, S> { impl<'a, S> CollectionItemBuilder<'a, S> where S: collection_item_state::State, + S::Annotation: collection_item_state::IsSet, S::CreatedAt: collection_item_state::IsSet, S::Collection: collection_item_state::IsSet, - S::Annotation: collection_item_state::IsSet, { /// Build the final struct pub fn build(self) -> CollectionItem<'a> { @@ -209,7 +209,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> CollectionItem<'a> { @@ -323,7 +323,7 @@ fn lexicon_doc_at_margin_collectionItem() -> ::jacquard_lexicon::lexicon::Lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -335,9 +335,9 @@ fn lexicon_doc_at_margin_collectionItem() -> ::jacquard_lexicon::lexicon::Lexico description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("collection"), - ::jacquard_common::smol_str::SmolStr::new_static("annotation"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("collection"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("annotation"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -345,7 +345,7 @@ fn lexicon_doc_at_margin_collectionItem() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "annotation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -368,7 +368,7 @@ fn lexicon_doc_at_margin_collectionItem() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "collection", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -391,7 +391,7 @@ fn lexicon_doc_at_margin_collectionItem() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -410,7 +410,7 @@ fn lexicon_doc_at_margin_collectionItem() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "position", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { diff --git a/crates/jacquard-api/src/at_margin/like.rs b/crates/jacquard-api/src/at_margin/like.rs index f6b4bd9d2..5605475b1 100644 --- a/crates/jacquard-api/src/at_margin/like.rs +++ b/crates/jacquard-api/src/at_margin/like.rs @@ -34,37 +34,37 @@ pub mod like_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type Subject; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type Subject = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Subject = S::Subject; + type CreatedAt = Unset; } ///State transition - sets the `subject` field to Set pub struct SetSubject(PhantomData S>); impl sealed::Sealed for SetSubject {} impl State for SetSubject { - type CreatedAt = S::CreatedAt; type Subject = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Subject = S::Subject; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `subject` field pub struct subject(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -137,8 +137,8 @@ where impl<'a, S> LikeBuilder<'a, S> where S: like_state::State, - S::CreatedAt: like_state::IsSet, S::Subject: like_state::IsSet, + S::CreatedAt: like_state::IsSet, { /// Build the final struct pub fn build(self) -> Like<'a> { @@ -152,7 +152,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Like<'a> { @@ -251,7 +251,7 @@ fn lexicon_doc_at_margin_like() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -263,8 +263,8 @@ fn lexicon_doc_at_margin_like() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -272,7 +272,7 @@ fn lexicon_doc_at_margin_like() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -291,7 +291,9 @@ fn lexicon_doc_at_margin_like() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#subjectRef"), @@ -303,13 +305,13 @@ fn lexicon_doc_at_margin_like() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subjectRef"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("subjectRef"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("cid") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid") ], ), nullable: None, @@ -317,7 +319,9 @@ fn lexicon_doc_at_margin_like() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -334,7 +338,9 @@ fn lexicon_doc_at_margin_like() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -387,37 +393,37 @@ pub mod subject_ref_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Cid; type Uri; + type Cid; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Cid = Unset; type Uri = Unset; - } - ///State transition - sets the `cid` field to Set - pub struct SetCid(PhantomData S>); - impl sealed::Sealed for SetCid {} - impl State for SetCid { - type Cid = Set; - type Uri = S::Uri; + type Cid = Unset; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { - type Cid = S::Cid; type Uri = Set; + type Cid = S::Cid; + } + ///State transition - sets the `cid` field to Set + pub struct SetCid(PhantomData S>); + impl sealed::Sealed for SetCid {} + impl State for SetCid { + type Uri = S::Uri; + type Cid = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `cid` field - pub struct cid(()); ///Marker type for the `uri` field pub struct uri(()); + ///Marker type for the `cid` field + pub struct cid(()); } } @@ -490,8 +496,8 @@ where impl<'a, S> SubjectRefBuilder<'a, S> where S: subject_ref_state::State, - S::Cid: subject_ref_state::IsSet, S::Uri: subject_ref_state::IsSet, + S::Cid: subject_ref_state::IsSet, { /// Build the final struct pub fn build(self) -> SubjectRef<'a> { @@ -505,7 +511,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> SubjectRef<'a> { diff --git a/crates/jacquard-api/src/at_margin/preferences.rs b/crates/jacquard-api/src/at_margin/preferences.rs index 801c7b52c..21cabdc6e 100644 --- a/crates/jacquard-api/src/at_margin/preferences.rs +++ b/crates/jacquard-api/src/at_margin/preferences.rs @@ -136,14 +136,16 @@ fn lexicon_doc_at_margin_preferences() -> ::jacquard_lexicon::lexicon::LexiconDo defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("labelPreference"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "labelPreference", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("labelerDid"), - ::jacquard_common::smol_str::SmolStr::new_static("label"), - ::jacquard_common::smol_str::SmolStr::new_static("visibility") + ::jacquard_common::deps::smol_str::SmolStr::new_static("labelerDid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("label"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("visibility") ], ), nullable: None, @@ -151,7 +153,9 @@ fn lexicon_doc_at_margin_preferences() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("label"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "label", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -170,7 +174,7 @@ fn lexicon_doc_at_margin_preferences() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "labelerDid", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -191,7 +195,7 @@ fn lexicon_doc_at_margin_preferences() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "visibility", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -216,18 +220,24 @@ fn lexicon_doc_at_margin_preferences() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("labelerSubscription"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "labelerSubscription", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("did")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("did") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -250,7 +260,7 @@ fn lexicon_doc_at_margin_preferences() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -262,7 +272,7 @@ fn lexicon_doc_at_margin_preferences() -> ::jacquard_lexicon::lexicon::LexiconDo description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -270,7 +280,7 @@ fn lexicon_doc_at_margin_preferences() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -289,7 +299,7 @@ fn lexicon_doc_at_margin_preferences() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "disableExternalLinkWarning", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -299,7 +309,7 @@ fn lexicon_doc_at_margin_preferences() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "externalLinkSkippedHostnames", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -325,7 +335,7 @@ fn lexicon_doc_at_margin_preferences() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "labelPreferences", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -345,7 +355,7 @@ fn lexicon_doc_at_margin_preferences() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subscribedLabelers", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -642,7 +652,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Preferences<'a> { diff --git a/crates/jacquard-api/src/at_margin/profile.rs b/crates/jacquard-api/src/at_margin/profile.rs index a2f19c188..c58edd29d 100644 --- a/crates/jacquard-api/src/at_margin/profile.rs +++ b/crates/jacquard-api/src/at_margin/profile.rs @@ -231,7 +231,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Profile<'a> { @@ -382,7 +382,7 @@ fn lexicon_doc_at_margin_profile() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -394,7 +394,7 @@ fn lexicon_doc_at_margin_profile() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -402,7 +402,9 @@ fn lexicon_doc_at_margin_profile() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("avatar"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "avatar", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -410,7 +412,9 @@ fn lexicon_doc_at_margin_profile() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("bio"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "bio", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -429,7 +433,7 @@ fn lexicon_doc_at_margin_profile() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -448,7 +452,7 @@ fn lexicon_doc_at_margin_profile() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "displayName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -469,7 +473,9 @@ fn lexicon_doc_at_margin_profile() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("links"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "links", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -493,7 +499,9 @@ fn lexicon_doc_at_margin_profile() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("website"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "website", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("User website URL."), diff --git a/crates/jacquard-api/src/at_margin/reply.rs b/crates/jacquard-api/src/at_margin/reply.rs index c12630fcd..a0af4871e 100644 --- a/crates/jacquard-api/src/at_margin/reply.rs +++ b/crates/jacquard-api/src/at_margin/reply.rs @@ -44,67 +44,67 @@ pub mod reply_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Root; + type CreatedAt; type Parent; + type Root; type Text; - type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Root = Unset; + type CreatedAt = Unset; type Parent = Unset; + type Root = Unset; type Text = Unset; - type CreatedAt = Unset; } - ///State transition - sets the `root` field to Set - pub struct SetRoot(PhantomData S>); - impl sealed::Sealed for SetRoot {} - impl State for SetRoot { - type Root = Set; + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type CreatedAt = Set; type Parent = S::Parent; + type Root = S::Root; type Text = S::Text; - type CreatedAt = S::CreatedAt; } ///State transition - sets the `parent` field to Set pub struct SetParent(PhantomData S>); impl sealed::Sealed for SetParent {} impl State for SetParent { - type Root = S::Root; + type CreatedAt = S::CreatedAt; type Parent = Set; + type Root = S::Root; type Text = S::Text; + } + ///State transition - sets the `root` field to Set + pub struct SetRoot(PhantomData S>); + impl sealed::Sealed for SetRoot {} + impl State for SetRoot { type CreatedAt = S::CreatedAt; + type Parent = S::Parent; + type Root = Set; + type Text = S::Text; } ///State transition - sets the `text` field to Set pub struct SetText(PhantomData S>); impl sealed::Sealed for SetText {} impl State for SetText { - type Root = S::Root; - type Parent = S::Parent; - type Text = Set; type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type Root = S::Root; type Parent = S::Parent; - type Text = S::Text; - type CreatedAt = Set; + type Root = S::Root; + type Text = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `root` field - pub struct root(()); + ///Marker type for the `created_at` field + pub struct created_at(()); ///Marker type for the `parent` field pub struct parent(()); + ///Marker type for the `root` field + pub struct root(()); ///Marker type for the `text` field pub struct text(()); - ///Marker type for the `created_at` field - pub struct created_at(()); } } @@ -234,10 +234,10 @@ where impl<'a, S> ReplyBuilder<'a, S> where S: reply_state::State, - S::Root: reply_state::IsSet, + S::CreatedAt: reply_state::IsSet, S::Parent: reply_state::IsSet, + S::Root: reply_state::IsSet, S::Text: reply_state::IsSet, - S::CreatedAt: reply_state::IsSet, { /// Build the final struct pub fn build(self) -> Reply<'a> { @@ -254,7 +254,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Reply<'a> { @@ -359,7 +359,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Reply<'a> { { let value = &self.text; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -388,7 +388,7 @@ fn lexicon_doc_at_margin_reply() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -400,10 +400,10 @@ fn lexicon_doc_at_margin_reply() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("parent"), - ::jacquard_common::smol_str::SmolStr::new_static("root"), - ::jacquard_common::smol_str::SmolStr::new_static("text"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("parent"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("root"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -411,7 +411,7 @@ fn lexicon_doc_at_margin_reply() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -430,7 +430,9 @@ fn lexicon_doc_at_margin_reply() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("format"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "format", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -449,21 +451,27 @@ fn lexicon_doc_at_margin_reply() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("parent"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "parent", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#replyRef"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("root"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "root", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#replyRef"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Reply text content"), @@ -485,7 +493,7 @@ fn lexicon_doc_at_margin_reply() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("replyRef"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("replyRef"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -494,8 +502,8 @@ fn lexicon_doc_at_margin_reply() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("cid") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid") ], ), nullable: None, @@ -503,7 +511,9 @@ fn lexicon_doc_at_margin_reply() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -520,7 +530,9 @@ fn lexicon_doc_at_margin_reply() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -574,37 +586,37 @@ pub mod reply_ref_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Uri; type Cid; + type Uri; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Uri = Unset; type Cid = Unset; - } - ///State transition - sets the `uri` field to Set - pub struct SetUri(PhantomData S>); - impl sealed::Sealed for SetUri {} - impl State for SetUri { - type Uri = Set; - type Cid = S::Cid; + type Uri = Unset; } ///State transition - sets the `cid` field to Set pub struct SetCid(PhantomData S>); impl sealed::Sealed for SetCid {} impl State for SetCid { - type Uri = S::Uri; type Cid = Set; + type Uri = S::Uri; + } + ///State transition - sets the `uri` field to Set + pub struct SetUri(PhantomData S>); + impl sealed::Sealed for SetUri {} + impl State for SetUri { + type Cid = S::Cid; + type Uri = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `uri` field - pub struct uri(()); ///Marker type for the `cid` field pub struct cid(()); + ///Marker type for the `uri` field + pub struct uri(()); } } @@ -677,8 +689,8 @@ where impl<'a, S> ReplyRefBuilder<'a, S> where S: reply_ref_state::State, - S::Uri: reply_ref_state::IsSet, S::Cid: reply_ref_state::IsSet, + S::Uri: reply_ref_state::IsSet, { /// Build the final struct pub fn build(self) -> ReplyRef<'a> { @@ -692,7 +704,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ReplyRef<'a> { diff --git a/crates/jacquard-api/src/at_noted/link.rs b/crates/jacquard-api/src/at_noted/link.rs index 20387af38..d11185f80 100644 --- a/crates/jacquard-api/src/at_noted/link.rs +++ b/crates/jacquard-api/src/at_noted/link.rs @@ -219,7 +219,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Link<'a> { @@ -321,7 +321,7 @@ fn lexicon_doc_at_noted_link() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stati defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -329,8 +329,8 @@ fn lexicon_doc_at_noted_link() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stati description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("url"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -338,7 +338,7 @@ fn lexicon_doc_at_noted_link() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stati #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -357,7 +357,7 @@ fn lexicon_doc_at_noted_link() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stati }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -374,7 +374,9 @@ fn lexicon_doc_at_noted_link() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stati }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tags", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::String(::jacquard_lexicon::lexicon::LexString { @@ -394,7 +396,9 @@ fn lexicon_doc_at_noted_link() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stati }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -409,7 +413,9 @@ fn lexicon_doc_at_noted_link() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stati }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( diff --git a/crates/jacquard-api/src/at_noted/post.rs b/crates/jacquard-api/src/at_noted/post.rs index e1ec69704..0582ba41f 100644 --- a/crates/jacquard-api/src/at_noted/post.rs +++ b/crates/jacquard-api/src/at_noted/post.rs @@ -240,7 +240,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Post<'a> { @@ -343,7 +343,7 @@ fn lexicon_doc_at_noted_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stati defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -351,8 +351,8 @@ fn lexicon_doc_at_noted_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stati description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("slug") + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("slug") ], ), nullable: None, @@ -360,7 +360,9 @@ fn lexicon_doc_at_noted_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stati #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("body"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "body", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -375,7 +377,7 @@ fn lexicon_doc_at_noted_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stati }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -394,7 +396,7 @@ fn lexicon_doc_at_noted_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stati }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "extended", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -411,7 +413,9 @@ fn lexicon_doc_at_noted_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stati }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("slug"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "slug", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -426,7 +430,9 @@ fn lexicon_doc_at_noted_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stati }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tags", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::String(::jacquard_lexicon::lexicon::LexString { @@ -446,7 +452,9 @@ fn lexicon_doc_at_noted_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stati }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, diff --git a/crates/jacquard-api/src/at_pasteb/paste.rs b/crates/jacquard-api/src/at_pasteb/paste.rs index 083fef322..088d8a5dc 100644 --- a/crates/jacquard-api/src/at_pasteb/paste.rs +++ b/crates/jacquard-api/src/at_pasteb/paste.rs @@ -266,7 +266,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Paste<'a> { @@ -371,7 +371,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Paste<'a> { } if let Some(ref value) = self.description { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -424,7 +424,7 @@ fn lexicon_doc_at_pasteb_paste() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some(::jacquard_common::CowStr::new_static("A paste")), key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -432,8 +432,8 @@ fn lexicon_doc_at_pasteb_paste() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("content"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -441,7 +441,9 @@ fn lexicon_doc_at_pasteb_paste() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "content", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -449,7 +451,7 @@ fn lexicon_doc_at_pasteb_paste() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -468,7 +470,7 @@ fn lexicon_doc_at_pasteb_paste() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -489,7 +491,9 @@ fn lexicon_doc_at_pasteb_paste() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("lang"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "lang", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -508,7 +512,7 @@ fn lexicon_doc_at_pasteb_paste() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "thumbnail", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { @@ -518,7 +522,9 @@ fn lexicon_doc_at_pasteb_paste() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -533,7 +539,7 @@ fn lexicon_doc_at_pasteb_paste() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/at_podping/records/podping.rs b/crates/jacquard-api/src/at_podping/records/podping.rs index 6cc4de033..e9ffe5178 100644 --- a/crates/jacquard-api/src/at_podping/records/podping.rs +++ b/crates/jacquard-api/src/at_podping/records/podping.rs @@ -52,85 +52,85 @@ pub mod podping_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Medium; - type Version; - type Reason; type Timestamp; + type Reason; type Iris; + type Version; + type Medium; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Medium = Unset; - type Version = Unset; - type Reason = Unset; type Timestamp = Unset; + type Reason = Unset; type Iris = Unset; + type Version = Unset; + type Medium = Unset; } - ///State transition - sets the `medium` field to Set - pub struct SetMedium(PhantomData S>); - impl sealed::Sealed for SetMedium {} - impl State for SetMedium { - type Medium = Set; - type Version = S::Version; + ///State transition - sets the `timestamp` field to Set + pub struct SetTimestamp(PhantomData S>); + impl sealed::Sealed for SetTimestamp {} + impl State for SetTimestamp { + type Timestamp = Set; type Reason = S::Reason; - type Timestamp = S::Timestamp; type Iris = S::Iris; - } - ///State transition - sets the `version` field to Set - pub struct SetVersion(PhantomData S>); - impl sealed::Sealed for SetVersion {} - impl State for SetVersion { + type Version = S::Version; type Medium = S::Medium; - type Version = Set; - type Reason = S::Reason; - type Timestamp = S::Timestamp; - type Iris = S::Iris; } ///State transition - sets the `reason` field to Set pub struct SetReason(PhantomData S>); impl sealed::Sealed for SetReason {} impl State for SetReason { - type Medium = S::Medium; - type Version = S::Version; - type Reason = Set; type Timestamp = S::Timestamp; + type Reason = Set; type Iris = S::Iris; - } - ///State transition - sets the `timestamp` field to Set - pub struct SetTimestamp(PhantomData S>); - impl sealed::Sealed for SetTimestamp {} - impl State for SetTimestamp { - type Medium = S::Medium; type Version = S::Version; - type Reason = S::Reason; - type Timestamp = Set; - type Iris = S::Iris; + type Medium = S::Medium; } ///State transition - sets the `iris` field to Set pub struct SetIris(PhantomData S>); impl sealed::Sealed for SetIris {} impl State for SetIris { - type Medium = S::Medium; + type Timestamp = S::Timestamp; + type Reason = S::Reason; + type Iris = Set; type Version = S::Version; + type Medium = S::Medium; + } + ///State transition - sets the `version` field to Set + pub struct SetVersion(PhantomData S>); + impl sealed::Sealed for SetVersion {} + impl State for SetVersion { + type Timestamp = S::Timestamp; type Reason = S::Reason; + type Iris = S::Iris; + type Version = Set; + type Medium = S::Medium; + } + ///State transition - sets the `medium` field to Set + pub struct SetMedium(PhantomData S>); + impl sealed::Sealed for SetMedium {} + impl State for SetMedium { type Timestamp = S::Timestamp; - type Iris = Set; + type Reason = S::Reason; + type Iris = S::Iris; + type Version = S::Version; + type Medium = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `medium` field - pub struct medium(()); - ///Marker type for the `version` field - pub struct version(()); - ///Marker type for the `reason` field - pub struct reason(()); ///Marker type for the `timestamp` field pub struct timestamp(()); + ///Marker type for the `reason` field + pub struct reason(()); ///Marker type for the `iris` field pub struct iris(()); + ///Marker type for the `version` field + pub struct version(()); + ///Marker type for the `medium` field + pub struct medium(()); } } @@ -300,11 +300,11 @@ where impl<'a, S> PodpingBuilder<'a, S> where S: podping_state::State, - S::Medium: podping_state::IsSet, - S::Version: podping_state::IsSet, - S::Reason: podping_state::IsSet, S::Timestamp: podping_state::IsSet, + S::Reason: podping_state::IsSet, S::Iris: podping_state::IsSet, + S::Version: podping_state::IsSet, + S::Medium: podping_state::IsSet, { /// Build the final struct pub fn build(self) -> Podping<'a> { @@ -323,7 +323,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Podping<'a> { @@ -429,7 +429,7 @@ fn lexicon_doc_at_podping_records_podping() -> ::jacquard_lexicon::lexicon::Lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -441,11 +441,11 @@ fn lexicon_doc_at_podping_records_podping() -> ::jacquard_lexicon::lexicon::Lexi description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("version"), - ::jacquard_common::smol_str::SmolStr::new_static("medium"), - ::jacquard_common::smol_str::SmolStr::new_static("reason"), - ::jacquard_common::smol_str::SmolStr::new_static("iris"), - ::jacquard_common::smol_str::SmolStr::new_static("timestamp") + ::jacquard_common::deps::smol_str::SmolStr::new_static("version"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("medium"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("reason"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("iris"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("timestamp") ], ), nullable: None, @@ -453,7 +453,9 @@ fn lexicon_doc_at_podping_records_podping() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("iris"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "iris", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -479,7 +481,9 @@ fn lexicon_doc_at_podping_records_podping() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("medium"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "medium", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -498,7 +502,9 @@ fn lexicon_doc_at_podping_records_podping() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reason"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reason", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -517,7 +523,7 @@ fn lexicon_doc_at_podping_records_podping() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sessionId", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -538,7 +544,9 @@ fn lexicon_doc_at_podping_records_podping() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("source"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "source", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -557,7 +565,7 @@ fn lexicon_doc_at_podping_records_podping() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "timestamp", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -580,7 +588,9 @@ fn lexicon_doc_at_podping_records_podping() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("version"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "version", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/at_podping/records/startup.rs b/crates/jacquard-api/src/at_podping/records/startup.rs index 127f4aad2..1c925cfeb 100644 --- a/crates/jacquard-api/src/at_podping/records/startup.rs +++ b/crates/jacquard-api/src/at_podping/records/startup.rs @@ -69,51 +69,51 @@ pub mod startup_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type ServerAccount; type Message; type Timestamp; - type ServerAccount; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type ServerAccount = Unset; type Message = Unset; type Timestamp = Unset; - type ServerAccount = Unset; + } + ///State transition - sets the `server_account` field to Set + pub struct SetServerAccount(PhantomData S>); + impl sealed::Sealed for SetServerAccount {} + impl State for SetServerAccount { + type ServerAccount = Set; + type Message = S::Message; + type Timestamp = S::Timestamp; } ///State transition - sets the `message` field to Set pub struct SetMessage(PhantomData S>); impl sealed::Sealed for SetMessage {} impl State for SetMessage { + type ServerAccount = S::ServerAccount; type Message = Set; type Timestamp = S::Timestamp; - type ServerAccount = S::ServerAccount; } ///State transition - sets the `timestamp` field to Set pub struct SetTimestamp(PhantomData S>); impl sealed::Sealed for SetTimestamp {} impl State for SetTimestamp { - type Message = S::Message; - type Timestamp = Set; type ServerAccount = S::ServerAccount; - } - ///State transition - sets the `server_account` field to Set - pub struct SetServerAccount(PhantomData S>); - impl sealed::Sealed for SetServerAccount {} - impl State for SetServerAccount { type Message = S::Message; - type Timestamp = S::Timestamp; - type ServerAccount = Set; + type Timestamp = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `server_account` field + pub struct server_account(()); ///Marker type for the `message` field pub struct message(()); ///Marker type for the `timestamp` field pub struct timestamp(()); - ///Marker type for the `server_account` field - pub struct server_account(()); } } @@ -357,9 +357,9 @@ impl<'a, S: startup_state::State> StartupBuilder<'a, S> { impl<'a, S> StartupBuilder<'a, S> where S: startup_state::State, + S::ServerAccount: startup_state::IsSet, S::Message: startup_state::IsSet, S::Timestamp: startup_state::IsSet, - S::ServerAccount: startup_state::IsSet, { /// Build the final struct pub fn build(self) -> Startup<'a> { @@ -382,7 +382,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Startup<'a> { @@ -492,7 +492,7 @@ fn lexicon_doc_at_podping_records_startup() -> ::jacquard_lexicon::lexicon::Lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -504,9 +504,9 @@ fn lexicon_doc_at_podping_records_startup() -> ::jacquard_lexicon::lexicon::Lexi description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("serverAccount"), - ::jacquard_common::smol_str::SmolStr::new_static("message"), - ::jacquard_common::smol_str::SmolStr::new_static("timestamp") + ::jacquard_common::deps::smol_str::SmolStr::new_static("serverAccount"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("message"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("timestamp") ], ), nullable: None, @@ -514,7 +514,7 @@ fn lexicon_doc_at_podping_records_startup() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "capacity", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -535,7 +535,9 @@ fn lexicon_doc_at_podping_records_startup() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hive"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "hive", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -556,7 +558,9 @@ fn lexicon_doc_at_podping_records_startup() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("message"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "message", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -575,7 +579,7 @@ fn lexicon_doc_at_podping_records_startup() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "pingingApp", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -596,7 +600,7 @@ fn lexicon_doc_at_podping_records_startup() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "serverAccount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -615,7 +619,7 @@ fn lexicon_doc_at_podping_records_startup() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sessionId", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -636,7 +640,9 @@ fn lexicon_doc_at_podping_records_startup() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("source"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "source", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -655,7 +661,7 @@ fn lexicon_doc_at_podping_records_startup() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "timestamp", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -678,7 +684,7 @@ fn lexicon_doc_at_podping_records_startup() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "useTestNode", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -688,7 +694,9 @@ fn lexicon_doc_at_podping_records_startup() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uuid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uuid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -707,7 +715,7 @@ fn lexicon_doc_at_podping_records_startup() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("v"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("v"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( 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 3dead1f88..294e76c47 100644 --- a/crates/jacquard-api/src/at_unthread/document/put_draft.rs +++ b/crates/jacquard-api/src/at_unthread/document/put_draft.rs @@ -36,66 +36,66 @@ pub mod draft_view_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Tid; - type Content; type CreatedAt; type UpdatedAt; + type Content; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Tid = Unset; - type Content = Unset; type CreatedAt = Unset; type UpdatedAt = Unset; + type Content = Unset; } ///State transition - sets the `tid` field to Set pub struct SetTid(PhantomData S>); impl sealed::Sealed for SetTid {} impl State for SetTid { type Tid = Set; - type Content = S::Content; - type CreatedAt = S::CreatedAt; - type UpdatedAt = S::UpdatedAt; - } - ///State transition - sets the `content` field to Set - pub struct SetContent(PhantomData S>); - impl sealed::Sealed for SetContent {} - impl State for SetContent { - type Tid = S::Tid; - type Content = Set; type CreatedAt = S::CreatedAt; type UpdatedAt = S::UpdatedAt; + type Content = S::Content; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { type Tid = S::Tid; - type Content = S::Content; type CreatedAt = Set; type UpdatedAt = S::UpdatedAt; + type Content = S::Content; } ///State transition - sets the `updated_at` field to Set pub struct SetUpdatedAt(PhantomData S>); impl sealed::Sealed for SetUpdatedAt {} impl State for SetUpdatedAt { type Tid = S::Tid; - type Content = S::Content; type CreatedAt = S::CreatedAt; type UpdatedAt = Set; + type Content = S::Content; + } + ///State transition - sets the `content` field to Set + pub struct SetContent(PhantomData S>); + impl sealed::Sealed for SetContent {} + impl State for SetContent { + type Tid = S::Tid; + type CreatedAt = S::CreatedAt; + type UpdatedAt = S::UpdatedAt; + type Content = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `tid` field pub struct tid(()); - ///Marker type for the `content` field - pub struct content(()); ///Marker type for the `created_at` field pub struct created_at(()); ///Marker type for the `updated_at` field pub struct updated_at(()); + ///Marker type for the `content` field + pub struct content(()); } } @@ -209,9 +209,9 @@ impl<'a, S> DraftViewBuilder<'a, S> where S: draft_view_state::State, S::Tid: draft_view_state::IsSet, - S::Content: draft_view_state::IsSet, S::CreatedAt: draft_view_state::IsSet, S::UpdatedAt: draft_view_state::IsSet, + S::Content: draft_view_state::IsSet, { /// Build the final struct pub fn build(self) -> DraftView<'a> { @@ -227,7 +227,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> DraftView<'a> { @@ -252,15 +252,15 @@ fn lexicon_doc_at_unthread_document_putDraft() -> ::jacquard_lexicon::lexicon::L defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("draftView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("draftView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("tid"), - ::jacquard_common::smol_str::SmolStr::new_static("content"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt"), - ::jacquard_common::smol_str::SmolStr::new_static("updatedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("tid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("updatedAt") ], ), nullable: None, @@ -268,7 +268,9 @@ fn lexicon_doc_at_unthread_document_putDraft() -> ::jacquard_lexicon::lexicon::L #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "content", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -283,7 +285,7 @@ fn lexicon_doc_at_unthread_document_putDraft() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -302,7 +304,9 @@ fn lexicon_doc_at_unthread_document_putDraft() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -317,7 +321,7 @@ fn lexicon_doc_at_unthread_document_putDraft() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -340,7 +344,7 @@ fn lexicon_doc_at_unthread_document_putDraft() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcProcedure(::jacquard_lexicon::lexicon::LexXrpcProcedure { description: None, parameters: None, @@ -354,7 +358,7 @@ fn lexicon_doc_at_unthread_document_putDraft() -> ::jacquard_lexicon::lexicon::L description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("content") + ::jacquard_common::deps::smol_str::SmolStr::new_static("content") ], ), nullable: None, @@ -362,7 +366,9 @@ fn lexicon_doc_at_unthread_document_putDraft() -> ::jacquard_lexicon::lexicon::L #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "content", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -381,7 +387,9 @@ fn lexicon_doc_at_unthread_document_putDraft() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/beauty_cybernetic/trustcow/review.rs b/crates/jacquard-api/src/beauty_cybernetic/trustcow/review.rs index 0c7393245..bd78f992a 100644 --- a/crates/jacquard-api/src/beauty_cybernetic/trustcow/review.rs +++ b/crates/jacquard-api/src/beauty_cybernetic/trustcow/review.rs @@ -50,50 +50,50 @@ pub mod review_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Transaction; - type CreatedAt; type Rating; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Transaction = Unset; - type CreatedAt = Unset; type Rating = Unset; + type CreatedAt = Unset; } ///State transition - sets the `transaction` field to Set pub struct SetTransaction(PhantomData S>); impl sealed::Sealed for SetTransaction {} impl State for SetTransaction { type Transaction = Set; - type CreatedAt = S::CreatedAt; - type Rating = S::Rating; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type Transaction = S::Transaction; - type CreatedAt = Set; type Rating = S::Rating; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `rating` field to Set pub struct SetRating(PhantomData S>); impl sealed::Sealed for SetRating {} impl State for SetRating { type Transaction = S::Transaction; - type CreatedAt = S::CreatedAt; type Rating = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Transaction = S::Transaction; + type Rating = S::Rating; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `transaction` field pub struct transaction(()); - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `rating` field pub struct rating(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -241,8 +241,8 @@ impl<'a, S> ReviewBuilder<'a, S> where S: review_state::State, S::Transaction: review_state::IsSet, - S::CreatedAt: review_state::IsSet, S::Rating: review_state::IsSet, + S::CreatedAt: review_state::IsSet, { /// Build the final struct pub fn build(self) -> Review<'a> { @@ -260,7 +260,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Review<'a> { @@ -502,7 +502,7 @@ fn lexicon_doc_beauty_cybernetic_trustcow_review() -> ::jacquard_lexicon::lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -514,9 +514,9 @@ fn lexicon_doc_beauty_cybernetic_trustcow_review() -> ::jacquard_lexicon::lexico description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("transaction"), - ::jacquard_common::smol_str::SmolStr::new_static("rating"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("transaction"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("rating"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -524,7 +524,7 @@ fn lexicon_doc_beauty_cybernetic_trustcow_review() -> ::jacquard_lexicon::lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -547,7 +547,7 @@ fn lexicon_doc_beauty_cybernetic_trustcow_review() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -568,7 +568,9 @@ fn lexicon_doc_beauty_cybernetic_trustcow_review() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rating"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "rating", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -579,7 +581,7 @@ fn lexicon_doc_beauty_cybernetic_trustcow_review() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "reviewerRole", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -600,7 +602,9 @@ fn lexicon_doc_beauty_cybernetic_trustcow_review() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -619,7 +623,7 @@ fn lexicon_doc_beauty_cybernetic_trustcow_review() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "transaction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/beauty_cybernetic/trustcow/transaction.rs b/crates/jacquard-api/src/beauty_cybernetic/trustcow/transaction.rs index f7bc61c2b..f727560d3 100644 --- a/crates/jacquard-api/src/beauty_cybernetic/trustcow/transaction.rs +++ b/crates/jacquard-api/src/beauty_cybernetic/trustcow/transaction.rs @@ -53,67 +53,67 @@ pub mod transaction_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type TransactionId; type ServiceConsumer; type ServiceProvider; type CreatedAt; - type TransactionId; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type TransactionId = Unset; type ServiceConsumer = Unset; type ServiceProvider = Unset; type CreatedAt = Unset; - type TransactionId = Unset; + } + ///State transition - sets the `transaction_id` field to Set + pub struct SetTransactionId(PhantomData S>); + impl sealed::Sealed for SetTransactionId {} + impl State for SetTransactionId { + type TransactionId = Set; + type ServiceConsumer = S::ServiceConsumer; + type ServiceProvider = S::ServiceProvider; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `service_consumer` field to Set pub struct SetServiceConsumer(PhantomData S>); impl sealed::Sealed for SetServiceConsumer {} impl State for SetServiceConsumer { + type TransactionId = S::TransactionId; type ServiceConsumer = Set; type ServiceProvider = S::ServiceProvider; type CreatedAt = S::CreatedAt; - type TransactionId = S::TransactionId; } ///State transition - sets the `service_provider` field to Set pub struct SetServiceProvider(PhantomData S>); impl sealed::Sealed for SetServiceProvider {} impl State for SetServiceProvider { + type TransactionId = S::TransactionId; type ServiceConsumer = S::ServiceConsumer; type ServiceProvider = Set; type CreatedAt = S::CreatedAt; - type TransactionId = S::TransactionId; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type ServiceConsumer = S::ServiceConsumer; - type ServiceProvider = S::ServiceProvider; - type CreatedAt = Set; type TransactionId = S::TransactionId; - } - ///State transition - sets the `transaction_id` field to Set - pub struct SetTransactionId(PhantomData S>); - impl sealed::Sealed for SetTransactionId {} - impl State for SetTransactionId { type ServiceConsumer = S::ServiceConsumer; type ServiceProvider = S::ServiceProvider; - type CreatedAt = S::CreatedAt; - type TransactionId = Set; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `transaction_id` field + pub struct transaction_id(()); ///Marker type for the `service_consumer` field pub struct service_consumer(()); ///Marker type for the `service_provider` field pub struct service_provider(()); ///Marker type for the `created_at` field pub struct created_at(()); - ///Marker type for the `transaction_id` field - pub struct transaction_id(()); } } @@ -280,10 +280,10 @@ where impl<'a, S> TransactionBuilder<'a, S> where S: transaction_state::State, + S::TransactionId: transaction_state::IsSet, S::ServiceConsumer: transaction_state::IsSet, S::ServiceProvider: transaction_state::IsSet, S::CreatedAt: transaction_state::IsSet, - S::TransactionId: transaction_state::IsSet, { /// Build the final struct pub fn build(self) -> Transaction<'a> { @@ -302,7 +302,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Transaction<'a> { @@ -447,7 +447,7 @@ fn lexicon_doc_beauty_cybernetic_trustcow_transaction() -> ::jacquard_lexicon::l defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -459,10 +459,10 @@ fn lexicon_doc_beauty_cybernetic_trustcow_transaction() -> ::jacquard_lexicon::l description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("serviceProvider"), - ::jacquard_common::smol_str::SmolStr::new_static("serviceConsumer"), - ::jacquard_common::smol_str::SmolStr::new_static("transactionId"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("serviceProvider"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("serviceConsumer"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("transactionId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -470,7 +470,9 @@ fn lexicon_doc_beauty_cybernetic_trustcow_transaction() -> ::jacquard_lexicon::l #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("amount"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "amount", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -489,7 +491,7 @@ fn lexicon_doc_beauty_cybernetic_trustcow_transaction() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -512,7 +514,7 @@ fn lexicon_doc_beauty_cybernetic_trustcow_transaction() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "currency", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -533,7 +535,7 @@ fn lexicon_doc_beauty_cybernetic_trustcow_transaction() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -554,7 +556,7 @@ fn lexicon_doc_beauty_cybernetic_trustcow_transaction() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "serviceConsumer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -575,7 +577,7 @@ fn lexicon_doc_beauty_cybernetic_trustcow_transaction() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "serviceProvider", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -596,7 +598,7 @@ fn lexicon_doc_beauty_cybernetic_trustcow_transaction() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "transactionId", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/beauty_cybernetic/trustcow/warrant.rs b/crates/jacquard-api/src/beauty_cybernetic/trustcow/warrant.rs index 7468deee3..cb816f609 100644 --- a/crates/jacquard-api/src/beauty_cybernetic/trustcow/warrant.rs +++ b/crates/jacquard-api/src/beauty_cybernetic/trustcow/warrant.rs @@ -50,37 +50,37 @@ pub mod warrant_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Subject; type CreatedAt; + type Subject; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Subject = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `subject` field to Set - pub struct SetSubject(PhantomData S>); - impl sealed::Sealed for SetSubject {} - impl State for SetSubject { - type Subject = Set; - type CreatedAt = S::CreatedAt; + type Subject = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Subject = S::Subject; type CreatedAt = Set; + type Subject = S::Subject; + } + ///State transition - sets the `subject` field to Set + pub struct SetSubject(PhantomData S>); + impl sealed::Sealed for SetSubject {} + impl State for SetSubject { + type CreatedAt = S::CreatedAt; + type Subject = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `subject` field - pub struct subject(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `subject` field + pub struct subject(()); } } @@ -227,8 +227,8 @@ impl<'a, S: warrant_state::State> WarrantBuilder<'a, S> { impl<'a, S> WarrantBuilder<'a, S> where S: warrant_state::State, - S::Subject: warrant_state::IsSet, S::CreatedAt: warrant_state::IsSet, + S::Subject: warrant_state::IsSet, { /// Build the final struct pub fn build(self) -> Warrant<'a> { @@ -246,7 +246,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Warrant<'a> { @@ -566,7 +566,7 @@ fn lexicon_doc_beauty_cybernetic_trustcow_warrant() -> ::jacquard_lexicon::lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -578,8 +578,8 @@ fn lexicon_doc_beauty_cybernetic_trustcow_warrant() -> ::jacquard_lexicon::lexic description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -587,7 +587,7 @@ fn lexicon_doc_beauty_cybernetic_trustcow_warrant() -> ::jacquard_lexicon::lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -610,7 +610,7 @@ fn lexicon_doc_beauty_cybernetic_trustcow_warrant() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -631,7 +631,7 @@ fn lexicon_doc_beauty_cybernetic_trustcow_warrant() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "expiresAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -654,7 +654,9 @@ fn lexicon_doc_beauty_cybernetic_trustcow_warrant() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -673,7 +675,7 @@ fn lexicon_doc_beauty_cybernetic_trustcow_warrant() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "trustLevel", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -694,7 +696,7 @@ fn lexicon_doc_beauty_cybernetic_trustcow_warrant() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "warrantType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/blog_pckt/block/blockquote.rs b/crates/jacquard-api/src/blog_pckt/block/blockquote.rs index 80c7a6bb8..4875fb540 100644 --- a/crates/jacquard-api/src/blog_pckt/block/blockquote.rs +++ b/crates/jacquard-api/src/blog_pckt/block/blockquote.rs @@ -116,7 +116,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Blockquote<'a> { @@ -138,18 +138,22 @@ fn lexicon_doc_blog_pckt_block_blockquote() -> ::jacquard_lexicon::lexicon::Lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("content")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("content") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "content", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( 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 5c63e178f..052e056c9 100644 --- a/crates/jacquard-api/src/blog_pckt/block/bluesky_embed.rs +++ b/crates/jacquard-api/src/blog_pckt/block/bluesky_embed.rs @@ -116,7 +116,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> BlueskyEmbed<'a> { @@ -138,18 +138,22 @@ fn lexicon_doc_blog_pckt_block_blueskyEmbed() -> ::jacquard_lexicon::lexicon::Le defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("postRef")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("postRef") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("postRef"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "postRef", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( 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 223955ab6..22c9ac96e 100644 --- a/crates/jacquard-api/src/blog_pckt/block/bullet_list.rs +++ b/crates/jacquard-api/src/blog_pckt/block/bullet_list.rs @@ -116,7 +116,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> BulletList<'a> { @@ -138,18 +138,22 @@ fn lexicon_doc_blog_pckt_block_bulletList() -> ::jacquard_lexicon::lexicon::Lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("content")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("content") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "content", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static("Array of list items"), 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 83bdf3884..bd1053747 100644 --- a/crates/jacquard-api/src/blog_pckt/block/code_block.rs +++ b/crates/jacquard-api/src/blog_pckt/block/code_block.rs @@ -38,12 +38,12 @@ fn lexicon_doc_blog_pckt_block_codeBlock() -> ::jacquard_lexicon::lexicon::Lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("plaintext") + ::jacquard_common::deps::smol_str::SmolStr::new_static("plaintext") ], ), nullable: None, @@ -51,7 +51,9 @@ fn lexicon_doc_blog_pckt_block_codeBlock() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("language"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "language", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -70,7 +72,7 @@ fn lexicon_doc_blog_pckt_block_codeBlock() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "plaintext", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/blog_pckt/block/gallery.rs b/crates/jacquard-api/src/blog_pckt/block/gallery.rs index 419bb760c..7d91d786f 100644 --- a/crates/jacquard-api/src/blog_pckt/block/gallery.rs +++ b/crates/jacquard-api/src/blog_pckt/block/gallery.rs @@ -116,7 +116,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Gallery<'a> { @@ -138,18 +138,22 @@ fn lexicon_doc_blog_pckt_block_gallery() -> ::jacquard_lexicon::lexicon::Lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("ref")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("ref") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("ref"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "ref", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( 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 72624bc57..1b6aa4db4 100644 --- a/crates/jacquard-api/src/blog_pckt/block/hard_break.rs +++ b/crates/jacquard-api/src/blog_pckt/block/hard_break.rs @@ -29,7 +29,7 @@ fn lexicon_doc_blog_pckt_block_hardBreak() -> ::jacquard_lexicon::lexicon::Lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some(vec![]), diff --git a/crates/jacquard-api/src/blog_pckt/block/heading.rs b/crates/jacquard-api/src/blog_pckt/block/heading.rs index c4f698451..a016d8ce0 100644 --- a/crates/jacquard-api/src/blog_pckt/block/heading.rs +++ b/crates/jacquard-api/src/blog_pckt/block/heading.rs @@ -41,12 +41,12 @@ fn lexicon_doc_blog_pckt_block_heading() -> ::jacquard_lexicon::lexicon::Lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("plaintext") + ::jacquard_common::deps::smol_str::SmolStr::new_static("plaintext") ], ), nullable: None, @@ -54,7 +54,9 @@ fn lexicon_doc_blog_pckt_block_heading() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("facets"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "facets", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -72,7 +74,9 @@ fn lexicon_doc_blog_pckt_block_heading() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("level"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "level", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -83,7 +87,7 @@ fn lexicon_doc_blog_pckt_block_heading() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "plaintext", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { 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 dc82e3e9b..54520aa1b 100644 --- a/crates/jacquard-api/src/blog_pckt/block/horizontal_rule.rs +++ b/crates/jacquard-api/src/blog_pckt/block/horizontal_rule.rs @@ -29,7 +29,7 @@ fn lexicon_doc_blog_pckt_block_horizontalRule() -> ::jacquard_lexicon::lexicon:: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some(vec![]), diff --git a/crates/jacquard-api/src/blog_pckt/block/iframe.rs b/crates/jacquard-api/src/blog_pckt/block/iframe.rs index fad79a56c..be9a4c3f0 100644 --- a/crates/jacquard-api/src/blog_pckt/block/iframe.rs +++ b/crates/jacquard-api/src/blog_pckt/block/iframe.rs @@ -134,7 +134,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Iframe<'a> { @@ -157,18 +157,22 @@ fn lexicon_doc_blog_pckt_block_iframe() -> ::jacquard_lexicon::lexicon::LexiconD defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("url")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("url") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("height"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "height", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -179,7 +183,9 @@ fn lexicon_doc_blog_pckt_block_iframe() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/blog_pckt/block/image.rs b/crates/jacquard-api/src/blog_pckt/block/image.rs index 315dd5457..a6c454f20 100644 --- a/crates/jacquard-api/src/blog_pckt/block/image.rs +++ b/crates/jacquard-api/src/blog_pckt/block/image.rs @@ -149,7 +149,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> AspectRatio<'a> { @@ -172,7 +172,7 @@ fn lexicon_doc_blog_pckt_block_image() -> ::jacquard_lexicon::lexicon::LexiconDo defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("aspectRatio"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("aspectRatio"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -181,8 +181,8 @@ fn lexicon_doc_blog_pckt_block_image() -> ::jacquard_lexicon::lexicon::LexiconDo ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("width"), - ::jacquard_common::smol_str::SmolStr::new_static("height") + ::jacquard_common::deps::smol_str::SmolStr::new_static("width"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("height") ], ), nullable: None, @@ -190,7 +190,9 @@ fn lexicon_doc_blog_pckt_block_image() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("height"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "height", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -201,7 +203,9 @@ fn lexicon_doc_blog_pckt_block_image() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("width"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "width", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -216,20 +220,24 @@ fn lexicon_doc_blog_pckt_block_image() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("imageAttrs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("imageAttrs"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static("Image attributes"), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("src")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("src") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("align"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "align", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -248,7 +256,9 @@ fn lexicon_doc_blog_pckt_block_image() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("alt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "alt", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -267,7 +277,7 @@ fn lexicon_doc_blog_pckt_block_image() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "aspectRatio", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -276,7 +286,9 @@ fn lexicon_doc_blog_pckt_block_image() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("blob"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "blob", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -284,7 +296,9 @@ fn lexicon_doc_blog_pckt_block_image() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("src"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "src", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -303,7 +317,9 @@ fn lexicon_doc_blog_pckt_block_image() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -326,18 +342,22 @@ fn lexicon_doc_blog_pckt_block_image() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("attrs")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("attrs") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("attrs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "attrs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#imageAttrs"), @@ -461,7 +481,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ImageAttrs<'a> { } if let Some(ref value) = self.alt { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -504,7 +524,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ImageAttrs<'a> { } if let Some(ref value) = self.title { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -635,7 +655,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Image<'a> { 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 d18439b9b..794130042 100644 --- a/crates/jacquard-api/src/blog_pckt/block/list_item.rs +++ b/crates/jacquard-api/src/blog_pckt/block/list_item.rs @@ -114,7 +114,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ListItem<'a> { @@ -157,18 +157,22 @@ fn lexicon_doc_blog_pckt_block_listItem() -> ::jacquard_lexicon::lexicon::Lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("content")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("content") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "content", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/blog_pckt/block/mention.rs b/crates/jacquard-api/src/blog_pckt/block/mention.rs index 6b656224e..6532b40fa 100644 --- a/crates/jacquard-api/src/blog_pckt/block/mention.rs +++ b/crates/jacquard-api/src/blog_pckt/block/mention.rs @@ -153,7 +153,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Mention<'a> { @@ -176,13 +176,13 @@ fn lexicon_doc_blog_pckt_block_mention() -> ::jacquard_lexicon::lexicon::Lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("did"), - ::jacquard_common::smol_str::SmolStr::new_static("handle") + ::jacquard_common::deps::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("handle") ], ), nullable: None, @@ -190,7 +190,9 @@ fn lexicon_doc_blog_pckt_block_mention() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -211,7 +213,9 @@ fn lexicon_doc_blog_pckt_block_mention() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("handle"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "handle", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( 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 cacb15da1..2c97072e1 100644 --- a/crates/jacquard-api/src/blog_pckt/block/ordered_list.rs +++ b/crates/jacquard-api/src/blog_pckt/block/ordered_list.rs @@ -134,7 +134,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> OrderedList<'a> { @@ -157,18 +157,22 @@ fn lexicon_doc_blog_pckt_block_orderedList() -> ::jacquard_lexicon::lexicon::Lex defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("content")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("content") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "content", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static("Array of list items"), @@ -184,7 +188,9 @@ fn lexicon_doc_blog_pckt_block_orderedList() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("start"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "start", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, diff --git a/crates/jacquard-api/src/blog_pckt/block/paragraph.rs b/crates/jacquard-api/src/blog_pckt/block/paragraph.rs index ce3f7d754..bca88615f 100644 --- a/crates/jacquard-api/src/blog_pckt/block/paragraph.rs +++ b/crates/jacquard-api/src/blog_pckt/block/paragraph.rs @@ -60,7 +60,7 @@ fn lexicon_doc_blog_pckt_block_paragraph() -> ::jacquard_lexicon::lexicon::Lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -69,7 +69,9 @@ fn lexicon_doc_blog_pckt_block_paragraph() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "content", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -90,7 +92,9 @@ fn lexicon_doc_blog_pckt_block_paragraph() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("facets"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "facets", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/blog_pckt/block/table.rs b/crates/jacquard-api/src/blog_pckt/block/table.rs index e73305d48..f301fbd26 100644 --- a/crates/jacquard-api/src/blog_pckt/block/table.rs +++ b/crates/jacquard-api/src/blog_pckt/block/table.rs @@ -116,7 +116,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Table<'a> { @@ -138,18 +138,22 @@ fn lexicon_doc_blog_pckt_block_table() -> ::jacquard_lexicon::lexicon::LexiconDo defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("content")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("content") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "content", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static("Array of table rows"), 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 98722bdd4..935db70d9 100644 --- a/crates/jacquard-api/src/blog_pckt/block/table_cell.rs +++ b/crates/jacquard-api/src/blog_pckt/block/table_cell.rs @@ -152,7 +152,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> TableCell<'a> { @@ -176,18 +176,22 @@ fn lexicon_doc_blog_pckt_block_tableCell() -> ::jacquard_lexicon::lexicon::Lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("content")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("content") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("colspan"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "colspan", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -198,7 +202,9 @@ fn lexicon_doc_blog_pckt_block_tableCell() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "content", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -217,7 +223,9 @@ fn lexicon_doc_blog_pckt_block_tableCell() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rowspan"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "rowspan", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, 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 c2a324175..43274da34 100644 --- a/crates/jacquard-api/src/blog_pckt/block/table_header.rs +++ b/crates/jacquard-api/src/blog_pckt/block/table_header.rs @@ -152,7 +152,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> TableHeader<'a> { @@ -176,18 +176,22 @@ fn lexicon_doc_blog_pckt_block_tableHeader() -> ::jacquard_lexicon::lexicon::Lex defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("content")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("content") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("colspan"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "colspan", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -198,7 +202,9 @@ fn lexicon_doc_blog_pckt_block_tableHeader() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "content", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -217,7 +223,9 @@ fn lexicon_doc_blog_pckt_block_tableHeader() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rowspan"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "rowspan", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, 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 036ada8a5..d8661a755 100644 --- a/crates/jacquard-api/src/blog_pckt/block/table_row.rs +++ b/crates/jacquard-api/src/blog_pckt/block/table_row.rs @@ -114,7 +114,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> TableRow<'a> { @@ -155,18 +155,22 @@ fn lexicon_doc_blog_pckt_block_tableRow() -> ::jacquard_lexicon::lexicon::Lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("content")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("content") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "content", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( 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 8caef905d..c7a925b21 100644 --- a/crates/jacquard-api/src/blog_pckt/block/task_item.rs +++ b/crates/jacquard-api/src/blog_pckt/block/task_item.rs @@ -152,7 +152,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> TaskItem<'a> { @@ -175,13 +175,13 @@ fn lexicon_doc_blog_pckt_block_taskItem() -> ::jacquard_lexicon::lexicon::Lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("checked"), - ::jacquard_common::smol_str::SmolStr::new_static("content") + ::jacquard_common::deps::smol_str::SmolStr::new_static("checked"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("content") ], ), nullable: None, @@ -189,7 +189,9 @@ fn lexicon_doc_blog_pckt_block_taskItem() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("checked"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "checked", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -197,7 +199,9 @@ fn lexicon_doc_blog_pckt_block_taskItem() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "content", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( 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 db9f490b3..8c69ec50c 100644 --- a/crates/jacquard-api/src/blog_pckt/block/task_list.rs +++ b/crates/jacquard-api/src/blog_pckt/block/task_list.rs @@ -116,7 +116,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> TaskList<'a> { @@ -138,18 +138,22 @@ fn lexicon_doc_blog_pckt_block_taskList() -> ::jacquard_lexicon::lexicon::Lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("content")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("content") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "content", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static("Array of task items"), diff --git a/crates/jacquard-api/src/blog_pckt/block/text.rs b/crates/jacquard-api/src/blog_pckt/block/text.rs index 8a578124e..1ebe16aa4 100644 --- a/crates/jacquard-api/src/blog_pckt/block/text.rs +++ b/crates/jacquard-api/src/blog_pckt/block/text.rs @@ -38,12 +38,12 @@ fn lexicon_doc_blog_pckt_block_text() -> ::jacquard_lexicon::lexicon::LexiconDoc defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("plaintext") + ::jacquard_common::deps::smol_str::SmolStr::new_static("plaintext") ], ), nullable: None, @@ -51,7 +51,9 @@ fn lexicon_doc_blog_pckt_block_text() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("facets"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "facets", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -69,7 +71,7 @@ fn lexicon_doc_blog_pckt_block_text() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "plaintext", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/blog_pckt/block/website.rs b/crates/jacquard-api/src/blog_pckt/block/website.rs index 3e374c71b..63fb8b575 100644 --- a/crates/jacquard-api/src/blog_pckt/block/website.rs +++ b/crates/jacquard-api/src/blog_pckt/block/website.rs @@ -188,7 +188,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Website<'a> { @@ -213,18 +213,20 @@ fn lexicon_doc_blog_pckt_block_website() -> ::jacquard_lexicon::lexicon::Lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("src")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("src") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -245,7 +247,7 @@ fn lexicon_doc_blog_pckt_block_website() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "previewImage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -268,7 +270,9 @@ fn lexicon_doc_blog_pckt_block_website() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("src"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "src", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -289,7 +293,9 @@ fn lexicon_doc_blog_pckt_block_website() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/blog_pckt/blog.rs b/crates/jacquard-api/src/blog_pckt/blog.rs index 648c2fce1..9132f5c3b 100644 --- a/crates/jacquard-api/src/blog_pckt/blog.rs +++ b/crates/jacquard-api/src/blog_pckt/blog.rs @@ -258,7 +258,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Blog<'a> { @@ -362,7 +362,7 @@ fn lexicon_doc_blog_pckt_blog() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -370,7 +370,7 @@ fn lexicon_doc_blog_pckt_blog() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name") ], ), nullable: None, @@ -378,7 +378,7 @@ fn lexicon_doc_blog_pckt_blog() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -395,7 +395,9 @@ fn lexicon_doc_blog_pckt_blog() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("icon"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "icon", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -403,7 +405,9 @@ fn lexicon_doc_blog_pckt_blog() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -418,7 +422,9 @@ fn lexicon_doc_blog_pckt_blog() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rss"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "rss", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -435,14 +441,16 @@ fn lexicon_doc_blog_pckt_blog() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("theme"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "theme", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#theme"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -461,7 +469,9 @@ fn lexicon_doc_blog_pckt_blog() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -483,7 +493,7 @@ fn lexicon_doc_blog_pckt_blog() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("palette"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("palette"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -492,7 +502,9 @@ fn lexicon_doc_blog_pckt_blog() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("accent"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "accent", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -507,7 +519,7 @@ fn lexicon_doc_blog_pckt_blog() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "background", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -524,7 +536,9 @@ fn lexicon_doc_blog_pckt_blog() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("link"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "link", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -539,7 +553,7 @@ fn lexicon_doc_blog_pckt_blog() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "surfaceHover", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -556,7 +570,9 @@ fn lexicon_doc_blog_pckt_blog() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -575,7 +591,7 @@ fn lexicon_doc_blog_pckt_blog() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("theme"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("theme"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -584,14 +600,18 @@ fn lexicon_doc_blog_pckt_blog() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("dark"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "dark", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#palette"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("font"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "font", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -606,7 +626,9 @@ fn lexicon_doc_blog_pckt_blog() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("light"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "light", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#palette"), diff --git a/crates/jacquard-api/src/blog_pckt/content.rs b/crates/jacquard-api/src/blog_pckt/content.rs index dd1df9de1..5d784582d 100644 --- a/crates/jacquard-api/src/blog_pckt/content.rs +++ b/crates/jacquard-api/src/blog_pckt/content.rs @@ -42,7 +42,7 @@ fn lexicon_doc_blog_pckt_content() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -55,7 +55,9 @@ fn lexicon_doc_blog_pckt_content() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("blob"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "blob", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -63,7 +65,9 @@ fn lexicon_doc_blog_pckt_content() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("items"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "items", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -80,7 +84,7 @@ fn lexicon_doc_blog_pckt_content() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "references", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { diff --git a/crates/jacquard-api/src/blog_pckt/document.rs b/crates/jacquard-api/src/blog_pckt/document.rs index c07ea9132..c7f7d7842 100644 --- a/crates/jacquard-api/src/blog_pckt/document.rs +++ b/crates/jacquard-api/src/blog_pckt/document.rs @@ -33,37 +33,37 @@ pub mod document_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Site; type Document; + type Site; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Site = Unset; type Document = Unset; - } - ///State transition - sets the `site` field to Set - pub struct SetSite(PhantomData S>); - impl sealed::Sealed for SetSite {} - impl State for SetSite { - type Site = Set; - type Document = S::Document; + type Site = Unset; } ///State transition - sets the `document` field to Set pub struct SetDocument(PhantomData S>); impl sealed::Sealed for SetDocument {} impl State for SetDocument { - type Site = S::Site; type Document = Set; + type Site = S::Site; + } + ///State transition - sets the `site` field to Set + pub struct SetSite(PhantomData S>); + impl sealed::Sealed for SetSite {} + impl State for SetSite { + type Document = S::Document; + type Site = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `site` field - pub struct site(()); ///Marker type for the `document` field pub struct document(()); + ///Marker type for the `site` field + pub struct site(()); } } @@ -136,8 +136,8 @@ where impl<'a, S> DocumentBuilder<'a, S> where S: document_state::State, - S::Site: document_state::IsSet, S::Document: document_state::IsSet, + S::Site: document_state::IsSet, { /// Build the final struct pub fn build(self) -> Document<'a> { @@ -151,7 +151,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Document<'a> { @@ -250,7 +250,7 @@ fn lexicon_doc_blog_pckt_document() -> ::jacquard_lexicon::lexicon::LexiconDoc<' defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -258,8 +258,8 @@ fn lexicon_doc_blog_pckt_document() -> ::jacquard_lexicon::lexicon::LexiconDoc<' description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("document"), - ::jacquard_common::smol_str::SmolStr::new_static("site") + ::jacquard_common::deps::smol_str::SmolStr::new_static("document"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("site") ], ), nullable: None, @@ -267,7 +267,7 @@ fn lexicon_doc_blog_pckt_document() -> ::jacquard_lexicon::lexicon::LexiconDoc<' #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "document", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -278,7 +278,9 @@ fn lexicon_doc_blog_pckt_document() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("site"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "site", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( diff --git a/crates/jacquard-api/src/blog_pckt/gallery.rs b/crates/jacquard-api/src/blog_pckt/gallery.rs index bf915eb07..b0b04c5e6 100644 --- a/crates/jacquard-api/src/blog_pckt/gallery.rs +++ b/crates/jacquard-api/src/blog_pckt/gallery.rs @@ -182,7 +182,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Gallery<'a> { @@ -284,7 +284,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Gallery<'a> { } if let Some(ref value) = self.caption { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -363,7 +363,7 @@ fn lexicon_doc_blog_pckt_gallery() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -371,7 +371,7 @@ fn lexicon_doc_blog_pckt_gallery() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("images") + ::jacquard_common::deps::smol_str::SmolStr::new_static("images") ], ), nullable: None, @@ -379,7 +379,9 @@ fn lexicon_doc_blog_pckt_gallery() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("caption"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "caption", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -398,7 +400,9 @@ fn lexicon_doc_blog_pckt_gallery() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("images"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "images", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -416,7 +420,9 @@ fn lexicon_doc_blog_pckt_gallery() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("layout"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "layout", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -435,7 +441,9 @@ fn lexicon_doc_blog_pckt_gallery() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/blog_pckt/mark/bold.rs b/crates/jacquard-api/src/blog_pckt/mark/bold.rs index 1f85f1c31..dd5402dc2 100644 --- a/crates/jacquard-api/src/blog_pckt/mark/bold.rs +++ b/crates/jacquard-api/src/blog_pckt/mark/bold.rs @@ -29,7 +29,7 @@ fn lexicon_doc_blog_pckt_mark_bold() -> ::jacquard_lexicon::lexicon::LexiconDoc< defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some(vec![]), diff --git a/crates/jacquard-api/src/blog_pckt/mark/code.rs b/crates/jacquard-api/src/blog_pckt/mark/code.rs index 5e3cf1fc0..5f973a429 100644 --- a/crates/jacquard-api/src/blog_pckt/mark/code.rs +++ b/crates/jacquard-api/src/blog_pckt/mark/code.rs @@ -29,7 +29,7 @@ fn lexicon_doc_blog_pckt_mark_code() -> ::jacquard_lexicon::lexicon::LexiconDoc< defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some(vec![]), diff --git a/crates/jacquard-api/src/blog_pckt/mark/italic.rs b/crates/jacquard-api/src/blog_pckt/mark/italic.rs index 6e8196333..e568b90fd 100644 --- a/crates/jacquard-api/src/blog_pckt/mark/italic.rs +++ b/crates/jacquard-api/src/blog_pckt/mark/italic.rs @@ -29,7 +29,7 @@ fn lexicon_doc_blog_pckt_mark_italic() -> ::jacquard_lexicon::lexicon::LexiconDo defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some(vec![]), diff --git a/crates/jacquard-api/src/blog_pckt/mark/link.rs b/crates/jacquard-api/src/blog_pckt/mark/link.rs index 75079d293..37512d94e 100644 --- a/crates/jacquard-api/src/blog_pckt/mark/link.rs +++ b/crates/jacquard-api/src/blog_pckt/mark/link.rs @@ -180,7 +180,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> LinkAttrs<'a> { @@ -205,20 +205,24 @@ fn lexicon_doc_blog_pckt_mark_link() -> ::jacquard_lexicon::lexicon::LexiconDoc< defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("linkAttrs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("linkAttrs"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static("Link attributes"), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("href")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("href") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("href"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "href", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -239,7 +243,9 @@ fn lexicon_doc_blog_pckt_mark_link() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rel"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "rel", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -258,7 +264,9 @@ fn lexicon_doc_blog_pckt_mark_link() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("target"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "target", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -277,7 +285,9 @@ fn lexicon_doc_blog_pckt_mark_link() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -300,18 +310,22 @@ fn lexicon_doc_blog_pckt_mark_link() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("attrs")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("attrs") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("attrs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "attrs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#linkAttrs"), @@ -503,7 +517,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Link<'a> { diff --git a/crates/jacquard-api/src/blog_pckt/mark/strike.rs b/crates/jacquard-api/src/blog_pckt/mark/strike.rs index d7dfb729f..5a80453c9 100644 --- a/crates/jacquard-api/src/blog_pckt/mark/strike.rs +++ b/crates/jacquard-api/src/blog_pckt/mark/strike.rs @@ -29,7 +29,7 @@ fn lexicon_doc_blog_pckt_mark_strike() -> ::jacquard_lexicon::lexicon::LexiconDo defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some(vec![]), diff --git a/crates/jacquard-api/src/blog_pckt/mark/underline.rs b/crates/jacquard-api/src/blog_pckt/mark/underline.rs index a65e97f91..7c6649ff9 100644 --- a/crates/jacquard-api/src/blog_pckt/mark/underline.rs +++ b/crates/jacquard-api/src/blog_pckt/mark/underline.rs @@ -29,7 +29,7 @@ fn lexicon_doc_blog_pckt_mark_underline() -> ::jacquard_lexicon::lexicon::Lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some(vec![]), diff --git a/crates/jacquard-api/src/blog_pckt/post.rs b/crates/jacquard-api/src/blog_pckt/post.rs index a458776c1..28f86674d 100644 --- a/crates/jacquard-api/src/blog_pckt/post.rs +++ b/crates/jacquard-api/src/blog_pckt/post.rs @@ -53,67 +53,67 @@ pub mod post_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Blocks; type Url; - type Title; type Blog; + type Blocks; + type Title; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Blocks = Unset; type Url = Unset; - type Title = Unset; type Blog = Unset; - } - ///State transition - sets the `blocks` field to Set - pub struct SetBlocks(PhantomData S>); - impl sealed::Sealed for SetBlocks {} - impl State for SetBlocks { - type Blocks = Set; - type Url = S::Url; - type Title = S::Title; - type Blog = S::Blog; + type Blocks = Unset; + type Title = Unset; } ///State transition - sets the `url` field to Set pub struct SetUrl(PhantomData S>); impl sealed::Sealed for SetUrl {} impl State for SetUrl { - type Blocks = S::Blocks; type Url = Set; - type Title = S::Title; type Blog = S::Blog; - } - ///State transition - sets the `title` field to Set - pub struct SetTitle(PhantomData S>); - impl sealed::Sealed for SetTitle {} - impl State for SetTitle { type Blocks = S::Blocks; - type Url = S::Url; - type Title = Set; - type Blog = S::Blog; + type Title = S::Title; } ///State transition - sets the `blog` field to Set pub struct SetBlog(PhantomData S>); impl sealed::Sealed for SetBlog {} impl State for SetBlog { + type Url = S::Url; + type Blog = Set; type Blocks = S::Blocks; + type Title = S::Title; + } + ///State transition - sets the `blocks` field to Set + pub struct SetBlocks(PhantomData S>); + impl sealed::Sealed for SetBlocks {} + impl State for SetBlocks { type Url = S::Url; + type Blog = S::Blog; + type Blocks = Set; type Title = S::Title; - type Blog = Set; + } + ///State transition - sets the `title` field to Set + pub struct SetTitle(PhantomData S>); + impl sealed::Sealed for SetTitle {} + impl State for SetTitle { + type Url = S::Url; + type Blog = S::Blog; + type Blocks = S::Blocks; + type Title = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `blocks` field - pub struct blocks(()); ///Marker type for the `url` field pub struct url(()); - ///Marker type for the `title` field - pub struct title(()); ///Marker type for the `blog` field pub struct blog(()); + ///Marker type for the `blocks` field + pub struct blocks(()); + ///Marker type for the `title` field + pub struct title(()); } } @@ -357,10 +357,10 @@ where impl<'a, S> PostBuilder<'a, S> where S: post_state::State, - S::Blocks: post_state::IsSet, S::Url: post_state::IsSet, - S::Title: post_state::IsSet, S::Blog: post_state::IsSet, + S::Blocks: post_state::IsSet, + S::Title: post_state::IsSet, { /// Build the final struct pub fn build(self) -> Post<'a> { @@ -382,7 +382,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Post<'a> { @@ -489,7 +489,7 @@ fn lexicon_doc_blog_pckt_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -497,10 +497,10 @@ fn lexicon_doc_blog_pckt_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("blocks"), - ::jacquard_common::smol_str::SmolStr::new_static("url"), - ::jacquard_common::smol_str::SmolStr::new_static("blog") + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("blocks"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("blog") ], ), nullable: None, @@ -508,7 +508,9 @@ fn lexicon_doc_blog_pckt_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("blocks"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "blocks", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![], @@ -516,7 +518,9 @@ fn lexicon_doc_blog_pckt_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("blog"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "blog", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -525,7 +529,7 @@ fn lexicon_doc_blog_pckt_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "bodyPlain", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -542,7 +546,9 @@ fn lexicon_doc_blog_pckt_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cover"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cover", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -550,7 +556,9 @@ fn lexicon_doc_blog_pckt_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("images"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "images", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Blob(::jacquard_lexicon::lexicon::LexBlob { @@ -563,7 +571,7 @@ fn lexicon_doc_blog_pckt_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publishedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -582,7 +590,9 @@ fn lexicon_doc_blog_pckt_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tags", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::String(::jacquard_lexicon::lexicon::LexString { @@ -602,7 +612,9 @@ fn lexicon_doc_blog_pckt_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -617,7 +629,7 @@ fn lexicon_doc_blog_pckt_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -636,7 +648,9 @@ fn lexicon_doc_blog_pckt_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( diff --git a/crates/jacquard-api/src/blog_pckt/publication.rs b/crates/jacquard-api/src/blog_pckt/publication.rs index 98947f6df..c5e334990 100644 --- a/crates/jacquard-api/src/blog_pckt/publication.rs +++ b/crates/jacquard-api/src/blog_pckt/publication.rs @@ -115,7 +115,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Publication<'a> { @@ -215,7 +215,7 @@ fn lexicon_doc_blog_pckt_publication() -> ::jacquard_lexicon::lexicon::LexiconDo defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -223,7 +223,7 @@ fn lexicon_doc_blog_pckt_publication() -> ::jacquard_lexicon::lexicon::LexiconDo description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("publication") + ::jacquard_common::deps::smol_str::SmolStr::new_static("publication") ], ), nullable: None, @@ -231,7 +231,7 @@ fn lexicon_doc_blog_pckt_publication() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publication", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { diff --git a/crates/jacquard-api/src/blog_pckt/richtext/facet.rs b/crates/jacquard-api/src/blog_pckt/richtext/facet.rs index 03e73fe39..907da92a6 100644 --- a/crates/jacquard-api/src/blog_pckt/richtext/facet.rs +++ b/crates/jacquard-api/src/blog_pckt/richtext/facet.rs @@ -116,7 +116,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> AtMention<'a> { @@ -138,7 +138,7 @@ fn lexicon_doc_blog_pckt_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("atMention"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("atMention"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -146,14 +146,18 @@ fn lexicon_doc_blog_pckt_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexico ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("atURI")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("atURI") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("atURI"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "atURI", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -174,7 +178,7 @@ fn lexicon_doc_blog_pckt_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("bold"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("bold"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -191,7 +195,7 @@ fn lexicon_doc_blog_pckt_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("byteSlice"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("byteSlice"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -200,8 +204,8 @@ fn lexicon_doc_blog_pckt_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexico ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("byteStart"), - ::jacquard_common::smol_str::SmolStr::new_static("byteEnd") + ::jacquard_common::deps::smol_str::SmolStr::new_static("byteStart"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("byteEnd") ], ), nullable: None, @@ -209,7 +213,9 @@ fn lexicon_doc_blog_pckt_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("byteEnd"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "byteEnd", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -220,7 +226,7 @@ fn lexicon_doc_blog_pckt_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "byteStart", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -237,7 +243,7 @@ fn lexicon_doc_blog_pckt_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("code"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("code"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -254,7 +260,7 @@ fn lexicon_doc_blog_pckt_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("didMention"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("didMention"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -262,14 +268,18 @@ fn lexicon_doc_blog_pckt_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexico ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("did")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("did") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -290,7 +300,7 @@ fn lexicon_doc_blog_pckt_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("highlight"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("highlight"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -307,7 +317,7 @@ fn lexicon_doc_blog_pckt_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -320,7 +330,7 @@ fn lexicon_doc_blog_pckt_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -339,7 +349,7 @@ fn lexicon_doc_blog_pckt_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("italic"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("italic"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -356,7 +366,7 @@ fn lexicon_doc_blog_pckt_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("link"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("link"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -364,14 +374,18 @@ fn lexicon_doc_blog_pckt_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexico ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("uri")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -390,13 +404,13 @@ fn lexicon_doc_blog_pckt_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("index"), - ::jacquard_common::smol_str::SmolStr::new_static("features") + ::jacquard_common::deps::smol_str::SmolStr::new_static("index"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("features") ], ), nullable: None, @@ -404,7 +418,9 @@ fn lexicon_doc_blog_pckt_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("features"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "features", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -428,7 +444,9 @@ fn lexicon_doc_blog_pckt_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("index"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "index", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#byteSlice"), @@ -439,7 +457,7 @@ fn lexicon_doc_blog_pckt_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("strikethrough"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("strikethrough"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -456,7 +474,7 @@ fn lexicon_doc_blog_pckt_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("underline"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("underline"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -667,7 +685,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ByteSlice<'a> { @@ -862,7 +880,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> DidMention<'a> { @@ -1051,37 +1069,37 @@ pub mod facet_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Index; type Features; + type Index; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Index = Unset; type Features = Unset; - } - ///State transition - sets the `index` field to Set - pub struct SetIndex(PhantomData S>); - impl sealed::Sealed for SetIndex {} - impl State for SetIndex { - type Index = Set; - type Features = S::Features; + type Index = Unset; } ///State transition - sets the `features` field to Set pub struct SetFeatures(PhantomData S>); impl sealed::Sealed for SetFeatures {} impl State for SetFeatures { - type Index = S::Index; type Features = Set; + type Index = S::Index; + } + ///State transition - sets the `index` field to Set + pub struct SetIndex(PhantomData S>); + impl sealed::Sealed for SetIndex {} + impl State for SetIndex { + type Features = S::Features; + type Index = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `index` field - pub struct index(()); ///Marker type for the `features` field pub struct features(()); + ///Marker type for the `index` field + pub struct index(()); } } @@ -1154,8 +1172,8 @@ where impl<'a, S> FacetBuilder<'a, S> where S: facet_state::State, - S::Index: facet_state::IsSet, S::Features: facet_state::IsSet, + S::Index: facet_state::IsSet, { /// Build the final struct pub fn build(self) -> Facet<'a> { @@ -1169,7 +1187,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Facet<'a> { diff --git a/crates/jacquard-api/src/blog_pckt/theme.rs b/crates/jacquard-api/src/blog_pckt/theme.rs index cd7b11f49..994540031 100644 --- a/crates/jacquard-api/src/blog_pckt/theme.rs +++ b/crates/jacquard-api/src/blog_pckt/theme.rs @@ -43,37 +43,37 @@ pub mod theme_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Light; type Dark; + type Light; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Light = Unset; type Dark = Unset; - } - ///State transition - sets the `light` field to Set - pub struct SetLight(PhantomData S>); - impl sealed::Sealed for SetLight {} - impl State for SetLight { - type Light = Set; - type Dark = S::Dark; + type Light = Unset; } ///State transition - sets the `dark` field to Set pub struct SetDark(PhantomData S>); impl sealed::Sealed for SetDark {} impl State for SetDark { - type Light = S::Light; type Dark = Set; + type Light = S::Light; + } + ///State transition - sets the `light` field to Set + pub struct SetLight(PhantomData S>); + impl sealed::Sealed for SetLight {} + impl State for SetLight { + type Dark = S::Dark; + type Light = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `light` field - pub struct light(()); ///Marker type for the `dark` field pub struct dark(()); + ///Marker type for the `light` field + pub struct light(()); } } @@ -177,8 +177,8 @@ impl<'a, S: theme_state::State> ThemeBuilder<'a, S> { impl<'a, S> ThemeBuilder<'a, S> where S: theme_state::State, - S::Light: theme_state::IsSet, S::Dark: theme_state::IsSet, + S::Light: theme_state::IsSet, { /// Build the final struct pub fn build(self) -> Theme<'a> { @@ -194,7 +194,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Theme<'a> { @@ -217,7 +217,7 @@ fn lexicon_doc_blog_pckt_theme() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -226,8 +226,8 @@ fn lexicon_doc_blog_pckt_theme() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("light"), - ::jacquard_common::smol_str::SmolStr::new_static("dark") + ::jacquard_common::deps::smol_str::SmolStr::new_static("light"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("dark") ], ), nullable: None, @@ -235,14 +235,18 @@ fn lexicon_doc_blog_pckt_theme() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("dark"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "dark", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#palette"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("font"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "font", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -261,14 +265,16 @@ fn lexicon_doc_blog_pckt_theme() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("light"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "light", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#palette"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "transparency", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -285,7 +291,7 @@ fn lexicon_doc_blog_pckt_theme() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("palette"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("palette"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -294,11 +300,11 @@ fn lexicon_doc_blog_pckt_theme() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("link"), - ::jacquard_common::smol_str::SmolStr::new_static("text"), - ::jacquard_common::smol_str::SmolStr::new_static("accent"), - ::jacquard_common::smol_str::SmolStr::new_static("background"), - ::jacquard_common::smol_str::SmolStr::new_static("surfaceHover") + ::jacquard_common::deps::smol_str::SmolStr::new_static("link"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("accent"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("background"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("surfaceHover") ], ), nullable: None, @@ -306,7 +312,9 @@ fn lexicon_doc_blog_pckt_theme() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("accent"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "accent", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -325,7 +333,7 @@ fn lexicon_doc_blog_pckt_theme() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "background", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -346,7 +354,9 @@ fn lexicon_doc_blog_pckt_theme() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("link"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "link", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -365,7 +375,7 @@ fn lexicon_doc_blog_pckt_theme() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "surfaceHover", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -386,7 +396,9 @@ fn lexicon_doc_blog_pckt_theme() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/blue__2048.rs b/crates/jacquard-api/src/blue__2048.rs index 072f98c2d..32099240b 100644 --- a/crates/jacquard-api/src/blue__2048.rs +++ b/crates/jacquard-api/src/blue__2048.rs @@ -43,66 +43,66 @@ pub mod sync_status_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type CreatedAt; + type UpdatedAt; type Hash; type SyncedWithAtRepo; - type UpdatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type CreatedAt = Unset; + type UpdatedAt = Unset; type Hash = Unset; type SyncedWithAtRepo = Unset; - type UpdatedAt = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { type CreatedAt = Set; + type UpdatedAt = S::UpdatedAt; + type Hash = S::Hash; + type SyncedWithAtRepo = S::SyncedWithAtRepo; + } + ///State transition - sets the `updated_at` field to Set + pub struct SetUpdatedAt(PhantomData S>); + impl sealed::Sealed for SetUpdatedAt {} + impl State for SetUpdatedAt { + type CreatedAt = S::CreatedAt; + type UpdatedAt = Set; type Hash = S::Hash; type SyncedWithAtRepo = S::SyncedWithAtRepo; - type UpdatedAt = S::UpdatedAt; } ///State transition - sets the `hash` field to Set pub struct SetHash(PhantomData S>); impl sealed::Sealed for SetHash {} impl State for SetHash { type CreatedAt = S::CreatedAt; + type UpdatedAt = S::UpdatedAt; type Hash = Set; type SyncedWithAtRepo = S::SyncedWithAtRepo; - type UpdatedAt = S::UpdatedAt; } ///State transition - sets the `synced_with_at_repo` field to Set pub struct SetSyncedWithAtRepo(PhantomData S>); impl sealed::Sealed for SetSyncedWithAtRepo {} impl State for SetSyncedWithAtRepo { type CreatedAt = S::CreatedAt; - type Hash = S::Hash; - type SyncedWithAtRepo = Set; type UpdatedAt = S::UpdatedAt; - } - ///State transition - sets the `updated_at` field to Set - pub struct SetUpdatedAt(PhantomData S>); - impl sealed::Sealed for SetUpdatedAt {} - impl State for SetUpdatedAt { - type CreatedAt = S::CreatedAt; type Hash = S::Hash; - type SyncedWithAtRepo = S::SyncedWithAtRepo; - type UpdatedAt = Set; + type SyncedWithAtRepo = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `updated_at` field + pub struct updated_at(()); ///Marker type for the `hash` field pub struct hash(()); ///Marker type for the `synced_with_at_repo` field pub struct synced_with_at_repo(()); - ///Marker type for the `updated_at` field - pub struct updated_at(()); } } @@ -216,9 +216,9 @@ impl<'a, S> SyncStatusBuilder<'a, S> where S: sync_status_state::State, S::CreatedAt: sync_status_state::IsSet, + S::UpdatedAt: sync_status_state::IsSet, S::Hash: sync_status_state::IsSet, S::SyncedWithAtRepo: sync_status_state::IsSet, - S::UpdatedAt: sync_status_state::IsSet, { /// Build the final struct pub fn build(self) -> SyncStatus<'a> { @@ -234,7 +234,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> SyncStatus<'a> { @@ -257,7 +257,7 @@ fn lexicon_doc_blue_2048_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("syncStatus"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("syncStatus"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -266,10 +266,10 @@ fn lexicon_doc_blue_2048_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("hash"), - ::jacquard_common::smol_str::SmolStr::new_static("updatedAt"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt"), - ::jacquard_common::smol_str::SmolStr::new_static("syncedWithATRepo") + ::jacquard_common::deps::smol_str::SmolStr::new_static("hash"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("updatedAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("syncedWithATRepo") ], ), nullable: None, @@ -277,7 +277,7 @@ fn lexicon_doc_blue_2048_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -296,7 +296,9 @@ fn lexicon_doc_blue_2048_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hash"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "hash", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -315,7 +317,7 @@ fn lexicon_doc_blue_2048_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "syncedWithATRepo", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -325,7 +327,7 @@ fn lexicon_doc_blue_2048_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/blue__2048/game.rs b/crates/jacquard-api/src/blue__2048/game.rs index 87e10a07c..b46010a8a 100644 --- a/crates/jacquard-api/src/blue__2048/game.rs +++ b/crates/jacquard-api/src/blue__2048/game.rs @@ -43,105 +43,105 @@ pub mod game_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type SeededRecording; type Won; + type SyncStatus; type CreatedAt; type Completed; type CurrentScore; - type SeededRecording; - type SyncStatus; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type SeededRecording = Unset; type Won = Unset; + type SyncStatus = Unset; type CreatedAt = Unset; type Completed = Unset; type CurrentScore = Unset; - type SeededRecording = Unset; - type SyncStatus = Unset; + } + ///State transition - sets the `seeded_recording` field to Set + pub struct SetSeededRecording(PhantomData S>); + impl sealed::Sealed for SetSeededRecording {} + impl State for SetSeededRecording { + type SeededRecording = Set; + type Won = S::Won; + type SyncStatus = S::SyncStatus; + type CreatedAt = S::CreatedAt; + type Completed = S::Completed; + type CurrentScore = S::CurrentScore; } ///State transition - sets the `won` field to Set pub struct SetWon(PhantomData S>); impl sealed::Sealed for SetWon {} impl State for SetWon { + type SeededRecording = S::SeededRecording; type Won = Set; + type SyncStatus = S::SyncStatus; type CreatedAt = S::CreatedAt; type Completed = S::Completed; type CurrentScore = S::CurrentScore; + } + ///State transition - sets the `sync_status` field to Set + pub struct SetSyncStatus(PhantomData S>); + impl sealed::Sealed for SetSyncStatus {} + impl State for SetSyncStatus { type SeededRecording = S::SeededRecording; - type SyncStatus = S::SyncStatus; + type Won = S::Won; + type SyncStatus = Set; + type CreatedAt = S::CreatedAt; + type Completed = S::Completed; + type CurrentScore = S::CurrentScore; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { + type SeededRecording = S::SeededRecording; type Won = S::Won; + type SyncStatus = S::SyncStatus; type CreatedAt = Set; type Completed = S::Completed; type CurrentScore = S::CurrentScore; - type SeededRecording = S::SeededRecording; - type SyncStatus = S::SyncStatus; } ///State transition - sets the `completed` field to Set pub struct SetCompleted(PhantomData S>); impl sealed::Sealed for SetCompleted {} impl State for SetCompleted { + type SeededRecording = S::SeededRecording; type Won = S::Won; + type SyncStatus = S::SyncStatus; type CreatedAt = S::CreatedAt; type Completed = Set; type CurrentScore = S::CurrentScore; - type SeededRecording = S::SeededRecording; - type SyncStatus = S::SyncStatus; } ///State transition - sets the `current_score` field to Set pub struct SetCurrentScore(PhantomData S>); impl sealed::Sealed for SetCurrentScore {} impl State for SetCurrentScore { - type Won = S::Won; - type CreatedAt = S::CreatedAt; - type Completed = S::Completed; - type CurrentScore = Set; type SeededRecording = S::SeededRecording; - type SyncStatus = S::SyncStatus; - } - ///State transition - sets the `seeded_recording` field to Set - pub struct SetSeededRecording(PhantomData S>); - impl sealed::Sealed for SetSeededRecording {} - impl State for SetSeededRecording { type Won = S::Won; - type CreatedAt = S::CreatedAt; - type Completed = S::Completed; - type CurrentScore = S::CurrentScore; - type SeededRecording = Set; type SyncStatus = S::SyncStatus; - } - ///State transition - sets the `sync_status` field to Set - pub struct SetSyncStatus(PhantomData S>); - impl sealed::Sealed for SetSyncStatus {} - impl State for SetSyncStatus { - type Won = S::Won; type CreatedAt = S::CreatedAt; type Completed = S::Completed; - type CurrentScore = S::CurrentScore; - type SeededRecording = S::SeededRecording; - type SyncStatus = Set; + type CurrentScore = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `seeded_recording` field + pub struct seeded_recording(()); ///Marker type for the `won` field pub struct won(()); + ///Marker type for the `sync_status` field + pub struct sync_status(()); ///Marker type for the `created_at` field pub struct created_at(()); ///Marker type for the `completed` field pub struct completed(()); ///Marker type for the `current_score` field pub struct current_score(()); - ///Marker type for the `seeded_recording` field - pub struct seeded_recording(()); - ///Marker type for the `sync_status` field - pub struct sync_status(()); } } @@ -294,12 +294,12 @@ where impl<'a, S> GameBuilder<'a, S> where S: game_state::State, + S::SeededRecording: game_state::IsSet, S::Won: game_state::IsSet, + S::SyncStatus: game_state::IsSet, S::CreatedAt: game_state::IsSet, S::Completed: game_state::IsSet, S::CurrentScore: game_state::IsSet, - S::SeededRecording: game_state::IsSet, - S::SyncStatus: game_state::IsSet, { /// Build the final struct pub fn build(self) -> Game<'a> { @@ -317,7 +317,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Game<'a> { @@ -420,7 +420,7 @@ fn lexicon_doc_blue_2048_game() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -432,12 +432,12 @@ fn lexicon_doc_blue_2048_game() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("currentScore"), - ::jacquard_common::smol_str::SmolStr::new_static("won"), - ::jacquard_common::smol_str::SmolStr::new_static("completed"), - ::jacquard_common::smol_str::SmolStr::new_static("seededRecording"), - ::jacquard_common::smol_str::SmolStr::new_static("syncStatus"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("currentScore"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("won"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("completed"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("seededRecording"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("syncStatus"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -445,7 +445,7 @@ fn lexicon_doc_blue_2048_game() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "completed", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -455,7 +455,7 @@ fn lexicon_doc_blue_2048_game() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -474,7 +474,7 @@ fn lexicon_doc_blue_2048_game() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "currentScore", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -487,7 +487,7 @@ fn lexicon_doc_blue_2048_game() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "seededRecording", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -508,7 +508,7 @@ fn lexicon_doc_blue_2048_game() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "syncStatus", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -519,7 +519,9 @@ fn lexicon_doc_blue_2048_game() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("won"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "won", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, diff --git a/crates/jacquard-api/src/blue__2048/key.rs b/crates/jacquard-api/src/blue__2048/key.rs index b8d250591..c0b784c7c 100644 --- a/crates/jacquard-api/src/blue__2048/key.rs +++ b/crates/jacquard-api/src/blue__2048/key.rs @@ -155,7 +155,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Key<'a> { @@ -176,7 +176,7 @@ fn lexicon_doc_blue_2048_key_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("key"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("key"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -185,8 +185,8 @@ fn lexicon_doc_blue_2048_key_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("key"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("key"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -194,7 +194,7 @@ fn lexicon_doc_blue_2048_key_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -213,7 +213,9 @@ fn lexicon_doc_blue_2048_key_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("key"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "key", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -236,7 +238,7 @@ fn lexicon_doc_blue_2048_key_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("signatureRef"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("signatureRef"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -245,9 +247,9 @@ fn lexicon_doc_blue_2048_key_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("atURI"), - ::jacquard_common::smol_str::SmolStr::new_static("signature"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("atURI"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("signature"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -255,7 +257,9 @@ fn lexicon_doc_blue_2048_key_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("atURI"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "atURI", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -274,7 +278,7 @@ fn lexicon_doc_blue_2048_key_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -293,7 +297,7 @@ fn lexicon_doc_blue_2048_key_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "signature", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -371,49 +375,49 @@ pub mod signature_ref_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type AtUri; type Signature; + type AtUri; type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type AtUri = Unset; type Signature = Unset; + type AtUri = Unset; type CreatedAt = Unset; } - ///State transition - sets the `at_uri` field to Set - pub struct SetAtUri(PhantomData S>); - impl sealed::Sealed for SetAtUri {} - impl State for SetAtUri { - type AtUri = Set; - type Signature = S::Signature; - type CreatedAt = S::CreatedAt; - } ///State transition - sets the `signature` field to Set pub struct SetSignature(PhantomData S>); impl sealed::Sealed for SetSignature {} impl State for SetSignature { - type AtUri = S::AtUri; type Signature = Set; + type AtUri = S::AtUri; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `at_uri` field to Set + pub struct SetAtUri(PhantomData S>); + impl sealed::Sealed for SetAtUri {} + impl State for SetAtUri { + type Signature = S::Signature; + type AtUri = Set; type CreatedAt = S::CreatedAt; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type AtUri = S::AtUri; type Signature = S::Signature; + type AtUri = S::AtUri; type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `at_uri` field - pub struct at_uri(()); ///Marker type for the `signature` field pub struct signature(()); + ///Marker type for the `at_uri` field + pub struct at_uri(()); ///Marker type for the `created_at` field pub struct created_at(()); } @@ -508,8 +512,8 @@ where impl<'a, S> SignatureRefBuilder<'a, S> where S: signature_ref_state::State, - S::AtUri: signature_ref_state::IsSet, S::Signature: signature_ref_state::IsSet, + S::AtUri: signature_ref_state::IsSet, S::CreatedAt: signature_ref_state::IsSet, { /// Build the final struct @@ -525,7 +529,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> SignatureRef<'a> { diff --git a/crates/jacquard-api/src/blue__2048/key/game.rs b/crates/jacquard-api/src/blue__2048/key/game.rs index 190b4d3d3..0ff7a63fc 100644 --- a/crates/jacquard-api/src/blue__2048/key/game.rs +++ b/crates/jacquard-api/src/blue__2048/key/game.rs @@ -34,37 +34,37 @@ pub mod game_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Key; type CreatedAt; + type Key; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Key = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `key` field to Set - pub struct SetKey(PhantomData S>); - impl sealed::Sealed for SetKey {} - impl State for SetKey { - type Key = Set; - type CreatedAt = S::CreatedAt; + type Key = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Key = S::Key; type CreatedAt = Set; + type Key = S::Key; + } + ///State transition - sets the `key` field to Set + pub struct SetKey(PhantomData S>); + impl sealed::Sealed for SetKey {} + impl State for SetKey { + type CreatedAt = S::CreatedAt; + type Key = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `key` field - pub struct key(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `key` field + pub struct key(()); } } @@ -137,8 +137,8 @@ where impl<'a, S> GameBuilder<'a, S> where S: game_state::State, - S::Key: game_state::IsSet, S::CreatedAt: game_state::IsSet, + S::Key: game_state::IsSet, { /// Build the final struct pub fn build(self) -> Game<'a> { @@ -152,7 +152,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Game<'a> { @@ -251,7 +251,7 @@ fn lexicon_doc_blue_2048_key_game() -> ::jacquard_lexicon::lexicon::LexiconDoc<' defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -263,8 +263,8 @@ fn lexicon_doc_blue_2048_key_game() -> ::jacquard_lexicon::lexicon::LexiconDoc<' description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("key"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("key"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -272,7 +272,7 @@ fn lexicon_doc_blue_2048_key_game() -> ::jacquard_lexicon::lexicon::LexiconDoc<' #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -291,7 +291,9 @@ fn lexicon_doc_blue_2048_key_game() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("key"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "key", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( 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 e3d856cf3..699cd2cae 100644 --- a/crates/jacquard-api/src/blue__2048/key/player/stats.rs +++ b/crates/jacquard-api/src/blue__2048/key/player/stats.rs @@ -34,37 +34,37 @@ pub mod stats_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Key; type CreatedAt; + type Key; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Key = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `key` field to Set - pub struct SetKey(PhantomData S>); - impl sealed::Sealed for SetKey {} - impl State for SetKey { - type Key = Set; - type CreatedAt = S::CreatedAt; + type Key = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Key = S::Key; type CreatedAt = Set; + type Key = S::Key; + } + ///State transition - sets the `key` field to Set + pub struct SetKey(PhantomData S>); + impl sealed::Sealed for SetKey {} + impl State for SetKey { + type CreatedAt = S::CreatedAt; + type Key = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `key` field - pub struct key(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `key` field + pub struct key(()); } } @@ -137,8 +137,8 @@ where impl<'a, S> StatsBuilder<'a, S> where S: stats_state::State, - S::Key: stats_state::IsSet, S::CreatedAt: stats_state::IsSet, + S::Key: stats_state::IsSet, { /// Build the final struct pub fn build(self) -> Stats<'a> { @@ -152,7 +152,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Stats<'a> { @@ -253,7 +253,7 @@ fn lexicon_doc_blue_2048_key_player_stats() -> ::jacquard_lexicon::lexicon::Lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -265,8 +265,8 @@ fn lexicon_doc_blue_2048_key_player_stats() -> ::jacquard_lexicon::lexicon::Lexi description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("key"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("key"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -274,7 +274,7 @@ fn lexicon_doc_blue_2048_key_player_stats() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -293,7 +293,9 @@ fn lexicon_doc_blue_2048_key_player_stats() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("key"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "key", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/blue__2048/player/profile.rs b/crates/jacquard-api/src/blue__2048/player/profile.rs index 14ddfb839..8ab6a3985 100644 --- a/crates/jacquard-api/src/blue__2048/player/profile.rs +++ b/crates/jacquard-api/src/blue__2048/player/profile.rs @@ -36,49 +36,49 @@ pub mod profile_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type SoloPlay; type SyncStatus; + type SoloPlay; type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type SoloPlay = Unset; type SyncStatus = Unset; + type SoloPlay = Unset; type CreatedAt = Unset; } - ///State transition - sets the `solo_play` field to Set - pub struct SetSoloPlay(PhantomData S>); - impl sealed::Sealed for SetSoloPlay {} - impl State for SetSoloPlay { - type SoloPlay = Set; - type SyncStatus = S::SyncStatus; - type CreatedAt = S::CreatedAt; - } ///State transition - sets the `sync_status` field to Set pub struct SetSyncStatus(PhantomData S>); impl sealed::Sealed for SetSyncStatus {} impl State for SetSyncStatus { - type SoloPlay = S::SoloPlay; type SyncStatus = Set; + type SoloPlay = S::SoloPlay; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `solo_play` field to Set + pub struct SetSoloPlay(PhantomData S>); + impl sealed::Sealed for SetSoloPlay {} + impl State for SetSoloPlay { + type SyncStatus = S::SyncStatus; + type SoloPlay = Set; type CreatedAt = S::CreatedAt; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type SoloPlay = S::SoloPlay; type SyncStatus = S::SyncStatus; + type SoloPlay = S::SoloPlay; type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `solo_play` field - pub struct solo_play(()); ///Marker type for the `sync_status` field pub struct sync_status(()); + ///Marker type for the `solo_play` field + pub struct solo_play(()); ///Marker type for the `created_at` field pub struct created_at(()); } @@ -173,8 +173,8 @@ where impl<'a, S> ProfileBuilder<'a, S> where S: profile_state::State, - S::SoloPlay: profile_state::IsSet, S::SyncStatus: profile_state::IsSet, + S::SoloPlay: profile_state::IsSet, S::CreatedAt: profile_state::IsSet, { /// Build the final struct @@ -190,7 +190,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Profile<'a> { @@ -292,7 +292,7 @@ fn lexicon_doc_blue_2048_player_profile() -> ::jacquard_lexicon::lexicon::Lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -304,9 +304,9 @@ fn lexicon_doc_blue_2048_player_profile() -> ::jacquard_lexicon::lexicon::Lexico description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("soloPlay"), - ::jacquard_common::smol_str::SmolStr::new_static("syncStatus"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("soloPlay"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("syncStatus"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -314,7 +314,7 @@ fn lexicon_doc_blue_2048_player_profile() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -333,7 +333,7 @@ fn lexicon_doc_blue_2048_player_profile() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "soloPlay", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -343,7 +343,7 @@ fn lexicon_doc_blue_2048_player_profile() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "syncStatus", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { diff --git a/crates/jacquard-api/src/blue__2048/player/stats.rs b/crates/jacquard-api/src/blue__2048/player/stats.rs index 2d59f4908..84497d36e 100644 --- a/crates/jacquard-api/src/blue__2048/player/stats.rs +++ b/crates/jacquard-api/src/blue__2048/player/stats.rs @@ -48,57 +48,85 @@ pub mod stats_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type TotalScore; type AverageScore; + type GamesPlayed; + type HighestScore; + type TotalScore; type TimesTwentyFortyEightBeenFound; + type CreatedAt; type LeastMovesToFindTwentyFortyEight; - type HighestScore; - type GamesPlayed; type SyncStatus; type HighestNumberBlock; - type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type TotalScore = Unset; type AverageScore = Unset; + type GamesPlayed = Unset; + type HighestScore = Unset; + type TotalScore = Unset; type TimesTwentyFortyEightBeenFound = Unset; + type CreatedAt = Unset; type LeastMovesToFindTwentyFortyEight = Unset; - type HighestScore = Unset; - type GamesPlayed = Unset; type SyncStatus = Unset; type HighestNumberBlock = Unset; - type CreatedAt = Unset; - } - ///State transition - sets the `total_score` field to Set - pub struct SetTotalScore(PhantomData S>); - impl sealed::Sealed for SetTotalScore {} - impl State for SetTotalScore { - type TotalScore = Set; - type AverageScore = S::AverageScore; - type TimesTwentyFortyEightBeenFound = S::TimesTwentyFortyEightBeenFound; - type LeastMovesToFindTwentyFortyEight = S::LeastMovesToFindTwentyFortyEight; - type HighestScore = S::HighestScore; - type GamesPlayed = S::GamesPlayed; - type SyncStatus = S::SyncStatus; - type HighestNumberBlock = S::HighestNumberBlock; - type CreatedAt = S::CreatedAt; } ///State transition - sets the `average_score` field to Set pub struct SetAverageScore(PhantomData S>); impl sealed::Sealed for SetAverageScore {} impl State for SetAverageScore { - type TotalScore = S::TotalScore; type AverageScore = Set; + type GamesPlayed = S::GamesPlayed; + type HighestScore = S::HighestScore; + type TotalScore = S::TotalScore; type TimesTwentyFortyEightBeenFound = S::TimesTwentyFortyEightBeenFound; + type CreatedAt = S::CreatedAt; type LeastMovesToFindTwentyFortyEight = S::LeastMovesToFindTwentyFortyEight; + type SyncStatus = S::SyncStatus; + type HighestNumberBlock = S::HighestNumberBlock; + } + ///State transition - sets the `games_played` field to Set + pub struct SetGamesPlayed(PhantomData S>); + impl sealed::Sealed for SetGamesPlayed {} + impl State for SetGamesPlayed { + type AverageScore = S::AverageScore; + type GamesPlayed = Set; type HighestScore = S::HighestScore; + type TotalScore = S::TotalScore; + type TimesTwentyFortyEightBeenFound = S::TimesTwentyFortyEightBeenFound; + type CreatedAt = S::CreatedAt; + type LeastMovesToFindTwentyFortyEight = S::LeastMovesToFindTwentyFortyEight; + type SyncStatus = S::SyncStatus; + type HighestNumberBlock = S::HighestNumberBlock; + } + ///State transition - sets the `highest_score` field to Set + pub struct SetHighestScore(PhantomData S>); + impl sealed::Sealed for SetHighestScore {} + impl State for SetHighestScore { + type AverageScore = S::AverageScore; type GamesPlayed = S::GamesPlayed; + type HighestScore = Set; + type TotalScore = S::TotalScore; + type TimesTwentyFortyEightBeenFound = S::TimesTwentyFortyEightBeenFound; + type CreatedAt = S::CreatedAt; + type LeastMovesToFindTwentyFortyEight = S::LeastMovesToFindTwentyFortyEight; type SyncStatus = S::SyncStatus; type HighestNumberBlock = S::HighestNumberBlock; + } + ///State transition - sets the `total_score` field to Set + pub struct SetTotalScore(PhantomData S>); + impl sealed::Sealed for SetTotalScore {} + impl State for SetTotalScore { + type AverageScore = S::AverageScore; + type GamesPlayed = S::GamesPlayed; + type HighestScore = S::HighestScore; + type TotalScore = Set; + type TimesTwentyFortyEightBeenFound = S::TimesTwentyFortyEightBeenFound; type CreatedAt = S::CreatedAt; + type LeastMovesToFindTwentyFortyEight = S::LeastMovesToFindTwentyFortyEight; + type SyncStatus = S::SyncStatus; + type HighestNumberBlock = S::HighestNumberBlock; } ///State transition - sets the `times_twenty_forty_eight_been_found` field to Set pub struct SetTimesTwentyFortyEightBeenFound( @@ -106,17 +134,31 @@ pub mod stats_state { ); impl sealed::Sealed for SetTimesTwentyFortyEightBeenFound {} impl State for SetTimesTwentyFortyEightBeenFound { - type TotalScore = S::TotalScore; type AverageScore = S::AverageScore; + type GamesPlayed = S::GamesPlayed; + type HighestScore = S::HighestScore; + type TotalScore = S::TotalScore; type TimesTwentyFortyEightBeenFound = Set< members::times_twenty_forty_eight_been_found, >; + type CreatedAt = S::CreatedAt; type LeastMovesToFindTwentyFortyEight = S::LeastMovesToFindTwentyFortyEight; - type HighestScore = S::HighestScore; + type SyncStatus = S::SyncStatus; + type HighestNumberBlock = S::HighestNumberBlock; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type AverageScore = S::AverageScore; type GamesPlayed = S::GamesPlayed; + type HighestScore = S::HighestScore; + type TotalScore = S::TotalScore; + type TimesTwentyFortyEightBeenFound = S::TimesTwentyFortyEightBeenFound; + type CreatedAt = Set; + type LeastMovesToFindTwentyFortyEight = S::LeastMovesToFindTwentyFortyEight; type SyncStatus = S::SyncStatus; type HighestNumberBlock = S::HighestNumberBlock; - type CreatedAt = S::CreatedAt; } ///State transition - sets the `least_moves_to_find_twenty_forty_eight` field to Set pub struct SetLeastMovesToFindTwentyFortyEight( @@ -124,109 +166,67 @@ pub mod stats_state { ); impl sealed::Sealed for SetLeastMovesToFindTwentyFortyEight {} impl State for SetLeastMovesToFindTwentyFortyEight { - type TotalScore = S::TotalScore; type AverageScore = S::AverageScore; - type TimesTwentyFortyEightBeenFound = S::TimesTwentyFortyEightBeenFound; - type LeastMovesToFindTwentyFortyEight = Set< - members::least_moves_to_find_twenty_forty_eight, - >; - type HighestScore = S::HighestScore; type GamesPlayed = S::GamesPlayed; - type SyncStatus = S::SyncStatus; - type HighestNumberBlock = S::HighestNumberBlock; - type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `highest_score` field to Set - pub struct SetHighestScore(PhantomData S>); - impl sealed::Sealed for SetHighestScore {} - impl State for SetHighestScore { + type HighestScore = S::HighestScore; type TotalScore = S::TotalScore; - type AverageScore = S::AverageScore; type TimesTwentyFortyEightBeenFound = S::TimesTwentyFortyEightBeenFound; - type LeastMovesToFindTwentyFortyEight = S::LeastMovesToFindTwentyFortyEight; - type HighestScore = Set; - type GamesPlayed = S::GamesPlayed; - type SyncStatus = S::SyncStatus; - type HighestNumberBlock = S::HighestNumberBlock; type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `games_played` field to Set - pub struct SetGamesPlayed(PhantomData S>); - impl sealed::Sealed for SetGamesPlayed {} - impl State for SetGamesPlayed { - type TotalScore = S::TotalScore; - type AverageScore = S::AverageScore; - type TimesTwentyFortyEightBeenFound = S::TimesTwentyFortyEightBeenFound; - type LeastMovesToFindTwentyFortyEight = S::LeastMovesToFindTwentyFortyEight; - type HighestScore = S::HighestScore; - type GamesPlayed = Set; + type LeastMovesToFindTwentyFortyEight = Set< + members::least_moves_to_find_twenty_forty_eight, + >; type SyncStatus = S::SyncStatus; type HighestNumberBlock = S::HighestNumberBlock; - type CreatedAt = S::CreatedAt; } ///State transition - sets the `sync_status` field to Set pub struct SetSyncStatus(PhantomData S>); impl sealed::Sealed for SetSyncStatus {} impl State for SetSyncStatus { - type TotalScore = S::TotalScore; type AverageScore = S::AverageScore; + type GamesPlayed = S::GamesPlayed; + type HighestScore = S::HighestScore; + type TotalScore = S::TotalScore; type TimesTwentyFortyEightBeenFound = S::TimesTwentyFortyEightBeenFound; + type CreatedAt = S::CreatedAt; type LeastMovesToFindTwentyFortyEight = S::LeastMovesToFindTwentyFortyEight; - type HighestScore = S::HighestScore; - type GamesPlayed = S::GamesPlayed; type SyncStatus = Set; type HighestNumberBlock = S::HighestNumberBlock; - type CreatedAt = S::CreatedAt; } ///State transition - sets the `highest_number_block` field to Set pub struct SetHighestNumberBlock(PhantomData S>); impl sealed::Sealed for SetHighestNumberBlock {} impl State for SetHighestNumberBlock { - type TotalScore = S::TotalScore; type AverageScore = S::AverageScore; - type TimesTwentyFortyEightBeenFound = S::TimesTwentyFortyEightBeenFound; - type LeastMovesToFindTwentyFortyEight = S::LeastMovesToFindTwentyFortyEight; - type HighestScore = S::HighestScore; type GamesPlayed = S::GamesPlayed; - type SyncStatus = S::SyncStatus; - type HighestNumberBlock = Set; - type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { + type HighestScore = S::HighestScore; type TotalScore = S::TotalScore; - type AverageScore = S::AverageScore; type TimesTwentyFortyEightBeenFound = S::TimesTwentyFortyEightBeenFound; + type CreatedAt = S::CreatedAt; type LeastMovesToFindTwentyFortyEight = S::LeastMovesToFindTwentyFortyEight; - type HighestScore = S::HighestScore; - type GamesPlayed = S::GamesPlayed; type SyncStatus = S::SyncStatus; - type HighestNumberBlock = S::HighestNumberBlock; - type CreatedAt = Set; + type HighestNumberBlock = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `total_score` field - pub struct total_score(()); ///Marker type for the `average_score` field pub struct average_score(()); + ///Marker type for the `games_played` field + pub struct games_played(()); + ///Marker type for the `highest_score` field + pub struct highest_score(()); + ///Marker type for the `total_score` field + pub struct total_score(()); ///Marker type for the `times_twenty_forty_eight_been_found` field pub struct times_twenty_forty_eight_been_found(()); + ///Marker type for the `created_at` field + pub struct created_at(()); ///Marker type for the `least_moves_to_find_twenty_forty_eight` field pub struct least_moves_to_find_twenty_forty_eight(()); - ///Marker type for the `highest_score` field - pub struct highest_score(()); - ///Marker type for the `games_played` field - pub struct games_played(()); ///Marker type for the `sync_status` field pub struct sync_status(()); ///Marker type for the `highest_number_block` field pub struct highest_number_block(()); - ///Marker type for the `created_at` field - pub struct created_at(()); } } @@ -449,15 +449,15 @@ where impl<'a, S> StatsBuilder<'a, S> where S: stats_state::State, - S::TotalScore: stats_state::IsSet, S::AverageScore: stats_state::IsSet, + S::GamesPlayed: stats_state::IsSet, + S::HighestScore: stats_state::IsSet, + S::TotalScore: stats_state::IsSet, S::TimesTwentyFortyEightBeenFound: stats_state::IsSet, + S::CreatedAt: stats_state::IsSet, S::LeastMovesToFindTwentyFortyEight: stats_state::IsSet, - S::HighestScore: stats_state::IsSet, - S::GamesPlayed: stats_state::IsSet, S::SyncStatus: stats_state::IsSet, S::HighestNumberBlock: stats_state::IsSet, - S::CreatedAt: stats_state::IsSet, { /// Build the final struct pub fn build(self) -> Stats<'a> { @@ -481,7 +481,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Stats<'a> { @@ -592,7 +592,7 @@ fn lexicon_doc_blue_2048_player_stats() -> ::jacquard_lexicon::lexicon::LexiconD defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -604,15 +604,15 @@ fn lexicon_doc_blue_2048_player_stats() -> ::jacquard_lexicon::lexicon::LexiconD description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("highestScore"), - ::jacquard_common::smol_str::SmolStr::new_static("gamesPlayed"), - ::jacquard_common::smol_str::SmolStr::new_static("totalScore"), - ::jacquard_common::smol_str::SmolStr::new_static("highestNumberBlock"), - ::jacquard_common::smol_str::SmolStr::new_static("timesTwentyFortyEightBeenFound"), - ::jacquard_common::smol_str::SmolStr::new_static("leastMovesToFindTwentyFortyEight"), - ::jacquard_common::smol_str::SmolStr::new_static("averageScore"), - ::jacquard_common::smol_str::SmolStr::new_static("syncStatus"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("highestScore"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("gamesPlayed"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("totalScore"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("highestNumberBlock"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("timesTwentyFortyEightBeenFound"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("leastMovesToFindTwentyFortyEight"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("averageScore"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("syncStatus"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -620,7 +620,7 @@ fn lexicon_doc_blue_2048_player_stats() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "averageScore", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -633,7 +633,7 @@ fn lexicon_doc_blue_2048_player_stats() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -652,7 +652,7 @@ fn lexicon_doc_blue_2048_player_stats() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "gamesPlayed", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -665,7 +665,7 @@ fn lexicon_doc_blue_2048_player_stats() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "highestNumberBlock", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -678,7 +678,7 @@ fn lexicon_doc_blue_2048_player_stats() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "highestScore", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -691,7 +691,7 @@ fn lexicon_doc_blue_2048_player_stats() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "leastMovesToFindTwentyFortyEight", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -704,7 +704,7 @@ fn lexicon_doc_blue_2048_player_stats() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "syncStatus", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -715,7 +715,7 @@ fn lexicon_doc_blue_2048_player_stats() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "timesTwentyFortyEightBeenFound", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -728,7 +728,7 @@ fn lexicon_doc_blue_2048_player_stats() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "totalScore", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { diff --git a/crates/jacquard-api/src/blue__2048/verification.rs b/crates/jacquard-api/src/blue__2048/verification.rs index 2de289b2f..b80cf29f3 100644 --- a/crates/jacquard-api/src/blue__2048/verification.rs +++ b/crates/jacquard-api/src/blue__2048/verification.rs @@ -46,85 +46,85 @@ pub mod verification_ref_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Subject; type CreatedAt; - type RecordRef; type KeyRef; + type Subject; type Signature; + type RecordRef; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Subject = Unset; type CreatedAt = Unset; - type RecordRef = Unset; type KeyRef = Unset; + type Subject = Unset; type Signature = Unset; - } - ///State transition - sets the `subject` field to Set - pub struct SetSubject(PhantomData S>); - impl sealed::Sealed for SetSubject {} - impl State for SetSubject { - type Subject = Set; - type CreatedAt = S::CreatedAt; - type RecordRef = S::RecordRef; - type KeyRef = S::KeyRef; - type Signature = S::Signature; + type RecordRef = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Subject = S::Subject; type CreatedAt = Set; - type RecordRef = S::RecordRef; type KeyRef = S::KeyRef; - type Signature = S::Signature; - } - ///State transition - sets the `record_ref` field to Set - pub struct SetRecordRef(PhantomData S>); - impl sealed::Sealed for SetRecordRef {} - impl State for SetRecordRef { type Subject = S::Subject; - type CreatedAt = S::CreatedAt; - type RecordRef = Set; - type KeyRef = S::KeyRef; type Signature = S::Signature; + type RecordRef = S::RecordRef; } ///State transition - sets the `key_ref` field to Set pub struct SetKeyRef(PhantomData S>); impl sealed::Sealed for SetKeyRef {} impl State for SetKeyRef { - type Subject = S::Subject; type CreatedAt = S::CreatedAt; - type RecordRef = S::RecordRef; type KeyRef = Set; + type Subject = S::Subject; + type Signature = S::Signature; + type RecordRef = S::RecordRef; + } + ///State transition - sets the `subject` field to Set + pub struct SetSubject(PhantomData S>); + impl sealed::Sealed for SetSubject {} + impl State for SetSubject { + type CreatedAt = S::CreatedAt; + type KeyRef = S::KeyRef; + type Subject = Set; type Signature = S::Signature; + type RecordRef = S::RecordRef; } ///State transition - sets the `signature` field to Set pub struct SetSignature(PhantomData S>); impl sealed::Sealed for SetSignature {} impl State for SetSignature { - type Subject = S::Subject; type CreatedAt = S::CreatedAt; - type RecordRef = S::RecordRef; type KeyRef = S::KeyRef; + type Subject = S::Subject; type Signature = Set; + type RecordRef = S::RecordRef; + } + ///State transition - sets the `record_ref` field to Set + pub struct SetRecordRef(PhantomData S>); + impl sealed::Sealed for SetRecordRef {} + impl State for SetRecordRef { + type CreatedAt = S::CreatedAt; + type KeyRef = S::KeyRef; + type Subject = S::Subject; + type Signature = S::Signature; + type RecordRef = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `subject` field - pub struct subject(()); ///Marker type for the `created_at` field pub struct created_at(()); - ///Marker type for the `record_ref` field - pub struct record_ref(()); ///Marker type for the `key_ref` field pub struct key_ref(()); + ///Marker type for the `subject` field + pub struct subject(()); ///Marker type for the `signature` field pub struct signature(()); + ///Marker type for the `record_ref` field + pub struct record_ref(()); } } @@ -257,11 +257,11 @@ where impl<'a, S> VerificationRefBuilder<'a, S> where S: verification_ref_state::State, - S::Subject: verification_ref_state::IsSet, S::CreatedAt: verification_ref_state::IsSet, - S::RecordRef: verification_ref_state::IsSet, S::KeyRef: verification_ref_state::IsSet, + S::Subject: verification_ref_state::IsSet, S::Signature: verification_ref_state::IsSet, + S::RecordRef: verification_ref_state::IsSet, { /// Build the final struct pub fn build(self) -> VerificationRef<'a> { @@ -278,7 +278,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> VerificationRef<'a> { @@ -304,7 +304,9 @@ fn lexicon_doc_blue_2048_verification_defs() -> ::jacquard_lexicon::lexicon::Lex defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("verificationRef"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "verificationRef", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -313,11 +315,11 @@ fn lexicon_doc_blue_2048_verification_defs() -> ::jacquard_lexicon::lexicon::Lex ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("keyRef"), - ::jacquard_common::smol_str::SmolStr::new_static("recordRef"), - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("signature"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("keyRef"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("recordRef"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("signature"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -325,7 +327,7 @@ fn lexicon_doc_blue_2048_verification_defs() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -344,7 +346,9 @@ fn lexicon_doc_blue_2048_verification_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("keyRef"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "keyRef", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -365,7 +369,7 @@ fn lexicon_doc_blue_2048_verification_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "recordRef", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -388,7 +392,7 @@ fn lexicon_doc_blue_2048_verification_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "signature", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -409,7 +413,9 @@ fn lexicon_doc_blue_2048_verification_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/blue__2048/verification/game.rs b/crates/jacquard-api/src/blue__2048/verification/game.rs index 769f94ac8..4ff5cd579 100644 --- a/crates/jacquard-api/src/blue__2048/verification/game.rs +++ b/crates/jacquard-api/src/blue__2048/verification/game.rs @@ -129,7 +129,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Game<'a> { @@ -230,7 +230,7 @@ fn lexicon_doc_blue_2048_verification_game() -> ::jacquard_lexicon::lexicon::Lex defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -246,7 +246,7 @@ fn lexicon_doc_blue_2048_verification_game() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -265,7 +265,7 @@ fn lexicon_doc_blue_2048_verification_game() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "verifiedRef", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { diff --git a/crates/jacquard-api/src/blue__2048/verification/stats.rs b/crates/jacquard-api/src/blue__2048/verification/stats.rs index 3f9913be4..62f603472 100644 --- a/crates/jacquard-api/src/blue__2048/verification/stats.rs +++ b/crates/jacquard-api/src/blue__2048/verification/stats.rs @@ -129,7 +129,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Stats<'a> { @@ -230,7 +230,7 @@ fn lexicon_doc_blue_2048_verification_stats() -> ::jacquard_lexicon::lexicon::Le defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -246,7 +246,7 @@ fn lexicon_doc_blue_2048_verification_stats() -> ::jacquard_lexicon::lexicon::Le #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -265,7 +265,7 @@ fn lexicon_doc_blue_2048_verification_stats() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "verifiedRef", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { diff --git a/crates/jacquard-api/src/blue_atplane/fav_client.rs b/crates/jacquard-api/src/blue_atplane/fav_client.rs index bf655a44d..10355dd51 100644 --- a/crates/jacquard-api/src/blue_atplane/fav_client.rs +++ b/crates/jacquard-api/src/blue_atplane/fav_client.rs @@ -115,7 +115,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> FavClient<'a> { @@ -228,7 +228,7 @@ fn lexicon_doc_blue_atplane_favClient() -> ::jacquard_lexicon::lexicon::LexiconD defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -240,7 +240,7 @@ fn lexicon_doc_blue_atplane_favClient() -> ::jacquard_lexicon::lexicon::LexiconD description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("favClient") + ::jacquard_common::deps::smol_str::SmolStr::new_static("favClient") ], ), nullable: None, @@ -248,7 +248,7 @@ fn lexicon_doc_blue_atplane_favClient() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "favClient", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/blue_atplay/score.rs b/crates/jacquard-api/src/blue_atplay/score.rs index d9acb6756..ea3c18541 100644 --- a/crates/jacquard-api/src/blue_atplay/score.rs +++ b/crates/jacquard-api/src/blue_atplay/score.rs @@ -26,7 +26,7 @@ pub struct Attestation<'a> { pub key: jacquard_common::CowStr<'a>, /// ES256 signature over the score record CID #[serde(with = "jacquard_common::serde_bytes_helper")] - pub signature: bytes::Bytes, + pub signature: jacquard_common::deps::bytes::Bytes, } pub mod attestation_state { @@ -39,37 +39,37 @@ pub mod attestation_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Signature; type Key; + type Signature; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Signature = Unset; type Key = Unset; - } - ///State transition - sets the `signature` field to Set - pub struct SetSignature(PhantomData S>); - impl sealed::Sealed for SetSignature {} - impl State for SetSignature { - type Signature = Set; - type Key = S::Key; + type Signature = Unset; } ///State transition - sets the `key` field to Set pub struct SetKey(PhantomData S>); impl sealed::Sealed for SetKey {} impl State for SetKey { - type Signature = S::Signature; type Key = Set; + type Signature = S::Signature; + } + ///State transition - sets the `signature` field to Set + pub struct SetSignature(PhantomData S>); + impl sealed::Sealed for SetSignature {} + impl State for SetSignature { + type Key = S::Key; + type Signature = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `signature` field - pub struct signature(()); ///Marker type for the `key` field pub struct key(()); + ///Marker type for the `signature` field + pub struct signature(()); } } @@ -79,7 +79,7 @@ pub struct AttestationBuilder<'a, S: attestation_state::State> { __unsafe_private_named: ( ::core::option::Option, ::core::option::Option>, - ::core::option::Option, + ::core::option::Option, ), _phantom: ::core::marker::PhantomData<&'a ()>, } @@ -148,7 +148,7 @@ where /// Set the `signature` field (required) pub fn signature( mut self, - value: impl Into, + value: impl Into, ) -> AttestationBuilder<'a, attestation_state::SetSignature> { self.__unsafe_private_named.2 = ::core::option::Option::Some(value.into()); AttestationBuilder { @@ -162,8 +162,8 @@ where impl<'a, S> AttestationBuilder<'a, S> where S: attestation_state::State, - S::Signature: attestation_state::IsSet, S::Key: attestation_state::IsSet, + S::Signature: attestation_state::IsSet, { /// Build the final struct pub fn build(self) -> Attestation<'a> { @@ -178,7 +178,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Attestation<'a> { @@ -202,7 +202,7 @@ fn lexicon_doc_blue_atplay_score_defs() -> ::jacquard_lexicon::lexicon::LexiconD defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("attestation"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("attestation"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -211,8 +211,8 @@ fn lexicon_doc_blue_atplay_score_defs() -> ::jacquard_lexicon::lexicon::LexiconD ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("key"), - ::jacquard_common::smol_str::SmolStr::new_static("signature") + ::jacquard_common::deps::smol_str::SmolStr::new_static("key"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("signature") ], ), nullable: None, @@ -220,7 +220,7 @@ fn lexicon_doc_blue_atplay_score_defs() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "attestedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -243,7 +243,9 @@ fn lexicon_doc_blue_atplay_score_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("key"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "key", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -262,7 +264,7 @@ fn lexicon_doc_blue_atplay_score_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "signature", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Bytes(::jacquard_lexicon::lexicon::LexBytes { diff --git a/crates/jacquard-api/src/blue_atroom/room/layout.rs b/crates/jacquard-api/src/blue_atroom/room/layout.rs index c17ee3c65..343a9a361 100644 --- a/crates/jacquard-api/src/blue_atroom/room/layout.rs +++ b/crates/jacquard-api/src/blue_atroom/room/layout.rs @@ -33,49 +33,49 @@ pub mod color_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Red; type Blue; + type Red; type Green; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Red = Unset; type Blue = Unset; + type Red = Unset; type Green = Unset; } - ///State transition - sets the `red` field to Set - pub struct SetRed(PhantomData S>); - impl sealed::Sealed for SetRed {} - impl State for SetRed { - type Red = Set; - type Blue = S::Blue; - type Green = S::Green; - } ///State transition - sets the `blue` field to Set pub struct SetBlue(PhantomData S>); impl sealed::Sealed for SetBlue {} impl State for SetBlue { - type Red = S::Red; type Blue = Set; + type Red = S::Red; + type Green = S::Green; + } + ///State transition - sets the `red` field to Set + pub struct SetRed(PhantomData S>); + impl sealed::Sealed for SetRed {} + impl State for SetRed { + type Blue = S::Blue; + type Red = Set; type Green = S::Green; } ///State transition - sets the `green` field to Set pub struct SetGreen(PhantomData S>); impl sealed::Sealed for SetGreen {} impl State for SetGreen { - type Red = S::Red; type Blue = S::Blue; + type Red = S::Red; type Green = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `red` field - pub struct red(()); ///Marker type for the `blue` field pub struct blue(()); + ///Marker type for the `red` field + pub struct red(()); ///Marker type for the `green` field pub struct green(()); } @@ -170,8 +170,8 @@ where impl<'a, S> ColorBuilder<'a, S> where S: color_state::State, - S::Red: color_state::IsSet, S::Blue: color_state::IsSet, + S::Red: color_state::IsSet, S::Green: color_state::IsSet, { /// Build the final struct @@ -187,7 +187,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Color<'a> { @@ -211,7 +211,7 @@ fn lexicon_doc_blue_atroom_room_layout() -> ::jacquard_lexicon::lexicon::Lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("color"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("color"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -220,9 +220,9 @@ fn lexicon_doc_blue_atroom_room_layout() -> ::jacquard_lexicon::lexicon::Lexicon ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("red"), - ::jacquard_common::smol_str::SmolStr::new_static("green"), - ::jacquard_common::smol_str::SmolStr::new_static("blue") + ::jacquard_common::deps::smol_str::SmolStr::new_static("red"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("green"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("blue") ], ), nullable: None, @@ -230,7 +230,9 @@ fn lexicon_doc_blue_atroom_room_layout() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("blue"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "blue", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -241,7 +243,9 @@ fn lexicon_doc_blue_atroom_room_layout() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("green"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "green", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -252,7 +256,9 @@ fn lexicon_doc_blue_atroom_room_layout() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("red"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "red", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -267,18 +273,22 @@ fn lexicon_doc_blue_atroom_room_layout() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("floor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("floor"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("surface")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("surface") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("surface"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "surface", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#surface"), @@ -289,7 +299,7 @@ fn lexicon_doc_blue_atroom_room_layout() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("furnishing"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("furnishing"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -298,9 +308,9 @@ fn lexicon_doc_blue_atroom_room_layout() -> ::jacquard_lexicon::lexicon::Lexicon ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("object"), - ::jacquard_common::smol_str::SmolStr::new_static("position"), - ::jacquard_common::smol_str::SmolStr::new_static("rotation") + ::jacquard_common::deps::smol_str::SmolStr::new_static("object"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("position"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("rotation") ], ), nullable: None, @@ -308,7 +318,9 @@ fn lexicon_doc_blue_atroom_room_layout() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("object"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "object", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -317,7 +329,9 @@ fn lexicon_doc_blue_atroom_room_layout() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("position"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "position", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -337,7 +351,9 @@ fn lexicon_doc_blue_atroom_room_layout() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rotation"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "rotation", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -361,7 +377,7 @@ fn lexicon_doc_blue_atroom_room_layout() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -373,11 +389,11 @@ fn lexicon_doc_blue_atroom_room_layout() -> ::jacquard_lexicon::lexicon::Lexicon description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("size"), - ::jacquard_common::smol_str::SmolStr::new_static("floor"), - ::jacquard_common::smol_str::SmolStr::new_static("wall"), - ::jacquard_common::smol_str::SmolStr::new_static("furnishings"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("size"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("floor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("wall"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("furnishings"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -385,7 +401,7 @@ fn lexicon_doc_blue_atroom_room_layout() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -404,14 +420,16 @@ fn lexicon_doc_blue_atroom_room_layout() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("floor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "floor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#floor"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "furnishings", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -425,7 +443,9 @@ fn lexicon_doc_blue_atroom_room_layout() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "size", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -436,7 +456,9 @@ fn lexicon_doc_blue_atroom_room_layout() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("wall"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "wall", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#wall"), @@ -448,25 +470,31 @@ fn lexicon_doc_blue_atroom_room_layout() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("surface"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("surface"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("color")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("color") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("color"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "color", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#color"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("texture"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "texture", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Texture identifier."), @@ -483,7 +511,7 @@ fn lexicon_doc_blue_atroom_room_layout() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "textureTiling", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -509,16 +537,16 @@ fn lexicon_doc_blue_atroom_room_layout() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("wall"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("wall"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static("Wall configuration."), ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("height"), - ::jacquard_common::smol_str::SmolStr::new_static("thickness"), - ::jacquard_common::smol_str::SmolStr::new_static("surface") + ::jacquard_common::deps::smol_str::SmolStr::new_static("height"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("thickness"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("surface") ], ), nullable: None, @@ -526,7 +554,9 @@ fn lexicon_doc_blue_atroom_room_layout() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("height"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "height", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -537,14 +567,16 @@ fn lexicon_doc_blue_atroom_room_layout() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("surface"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "surface", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#surface"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "thickness", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -764,7 +796,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Floor<'a> { @@ -825,50 +857,50 @@ pub mod furnishing_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Object; - type Rotation; type Position; + type Rotation; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Object = Unset; - type Rotation = Unset; type Position = Unset; + type Rotation = Unset; } ///State transition - sets the `object` field to Set pub struct SetObject(PhantomData S>); impl sealed::Sealed for SetObject {} impl State for SetObject { type Object = Set; - type Rotation = S::Rotation; - type Position = S::Position; - } - ///State transition - sets the `rotation` field to Set - pub struct SetRotation(PhantomData S>); - impl sealed::Sealed for SetRotation {} - impl State for SetRotation { - type Object = S::Object; - type Rotation = Set; type Position = S::Position; + type Rotation = S::Rotation; } ///State transition - sets the `position` field to Set pub struct SetPosition(PhantomData S>); impl sealed::Sealed for SetPosition {} impl State for SetPosition { type Object = S::Object; - type Rotation = S::Rotation; type Position = Set; + type Rotation = S::Rotation; + } + ///State transition - sets the `rotation` field to Set + pub struct SetRotation(PhantomData S>); + impl sealed::Sealed for SetRotation {} + impl State for SetRotation { + type Object = S::Object; + type Position = S::Position; + type Rotation = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `object` field pub struct object(()); - ///Marker type for the `rotation` field - pub struct rotation(()); ///Marker type for the `position` field pub struct position(()); + ///Marker type for the `rotation` field + pub struct rotation(()); } } @@ -962,8 +994,8 @@ impl<'a, S> FurnishingBuilder<'a, S> where S: furnishing_state::State, S::Object: furnishing_state::IsSet, - S::Rotation: furnishing_state::IsSet, S::Position: furnishing_state::IsSet, + S::Rotation: furnishing_state::IsSet, { /// Build the final struct pub fn build(self) -> Furnishing<'a> { @@ -978,7 +1010,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Furnishing<'a> { @@ -1094,85 +1126,85 @@ pub mod layout_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Size; type Floor; - type Wall; type Furnishings; type CreatedAt; + type Size; + type Wall; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Size = Unset; type Floor = Unset; - type Wall = Unset; type Furnishings = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `size` field to Set - pub struct SetSize(PhantomData S>); - impl sealed::Sealed for SetSize {} - impl State for SetSize { - type Size = Set; - type Floor = S::Floor; - type Wall = S::Wall; - type Furnishings = S::Furnishings; - type CreatedAt = S::CreatedAt; + type Size = Unset; + type Wall = Unset; } ///State transition - sets the `floor` field to Set pub struct SetFloor(PhantomData S>); impl sealed::Sealed for SetFloor {} impl State for SetFloor { - type Size = S::Size; type Floor = Set; - type Wall = S::Wall; type Furnishings = S::Furnishings; type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `wall` field to Set - pub struct SetWall(PhantomData S>); - impl sealed::Sealed for SetWall {} - impl State for SetWall { type Size = S::Size; - type Floor = S::Floor; - type Wall = Set; - type Furnishings = S::Furnishings; - type CreatedAt = S::CreatedAt; + type Wall = S::Wall; } ///State transition - sets the `furnishings` field to Set pub struct SetFurnishings(PhantomData S>); impl sealed::Sealed for SetFurnishings {} impl State for SetFurnishings { - type Size = S::Size; type Floor = S::Floor; - type Wall = S::Wall; type Furnishings = Set; type CreatedAt = S::CreatedAt; + type Size = S::Size; + type Wall = S::Wall; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { + type Floor = S::Floor; + type Furnishings = S::Furnishings; + type CreatedAt = Set; type Size = S::Size; + type Wall = S::Wall; + } + ///State transition - sets the `size` field to Set + pub struct SetSize(PhantomData S>); + impl sealed::Sealed for SetSize {} + impl State for SetSize { type Floor = S::Floor; + type Furnishings = S::Furnishings; + type CreatedAt = S::CreatedAt; + type Size = Set; type Wall = S::Wall; + } + ///State transition - sets the `wall` field to Set + pub struct SetWall(PhantomData S>); + impl sealed::Sealed for SetWall {} + impl State for SetWall { + type Floor = S::Floor; type Furnishings = S::Furnishings; - type CreatedAt = Set; + type CreatedAt = S::CreatedAt; + type Size = S::Size; + type Wall = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `size` field - pub struct size(()); ///Marker type for the `floor` field pub struct floor(()); - ///Marker type for the `wall` field - pub struct wall(()); ///Marker type for the `furnishings` field pub struct furnishings(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `size` field + pub struct size(()); + ///Marker type for the `wall` field + pub struct wall(()); } } @@ -1305,11 +1337,11 @@ where impl<'a, S> LayoutBuilder<'a, S> where S: layout_state::State, - S::Size: layout_state::IsSet, S::Floor: layout_state::IsSet, - S::Wall: layout_state::IsSet, S::Furnishings: layout_state::IsSet, S::CreatedAt: layout_state::IsSet, + S::Size: layout_state::IsSet, + S::Wall: layout_state::IsSet, { /// Build the final struct pub fn build(self) -> Layout<'a> { @@ -1326,7 +1358,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Layout<'a> { @@ -1606,7 +1638,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Surface<'a> { @@ -1691,51 +1723,51 @@ pub mod wall_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Height; - type Surface; type Thickness; + type Surface; + type Height; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Height = Unset; - type Surface = Unset; type Thickness = Unset; + type Surface = Unset; + type Height = Unset; } - ///State transition - sets the `height` field to Set - pub struct SetHeight(PhantomData S>); - impl sealed::Sealed for SetHeight {} - impl State for SetHeight { - type Height = Set; + ///State transition - sets the `thickness` field to Set + pub struct SetThickness(PhantomData S>); + impl sealed::Sealed for SetThickness {} + impl State for SetThickness { + type Thickness = Set; type Surface = S::Surface; - type Thickness = S::Thickness; + type Height = S::Height; } ///State transition - sets the `surface` field to Set pub struct SetSurface(PhantomData S>); impl sealed::Sealed for SetSurface {} impl State for SetSurface { - type Height = S::Height; - type Surface = Set; type Thickness = S::Thickness; - } - ///State transition - sets the `thickness` field to Set - pub struct SetThickness(PhantomData S>); - impl sealed::Sealed for SetThickness {} - impl State for SetThickness { + type Surface = Set; type Height = S::Height; + } + ///State transition - sets the `height` field to Set + pub struct SetHeight(PhantomData S>); + impl sealed::Sealed for SetHeight {} + impl State for SetHeight { + type Thickness = S::Thickness; type Surface = S::Surface; - type Thickness = Set; + type Height = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `height` field - pub struct height(()); - ///Marker type for the `surface` field - pub struct surface(()); ///Marker type for the `thickness` field pub struct thickness(()); + ///Marker type for the `surface` field + pub struct surface(()); + ///Marker type for the `height` field + pub struct height(()); } } @@ -1828,9 +1860,9 @@ where impl<'a, S> WallBuilder<'a, S> where S: wall_state::State, - S::Height: wall_state::IsSet, - S::Surface: wall_state::IsSet, S::Thickness: wall_state::IsSet, + S::Surface: wall_state::IsSet, + S::Height: wall_state::IsSet, { /// Build the final struct pub fn build(self) -> Wall<'a> { @@ -1845,7 +1877,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Wall<'a> { diff --git a/crates/jacquard-api/src/blue_linkat/board.rs b/crates/jacquard-api/src/blue_linkat/board.rs index 05bd6d8e1..5bcb32f03 100644 --- a/crates/jacquard-api/src/blue_linkat/board.rs +++ b/crates/jacquard-api/src/blue_linkat/board.rs @@ -41,7 +41,7 @@ fn lexicon_doc_blue_linkat_board() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("card"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("card"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -50,7 +50,9 @@ fn lexicon_doc_blue_linkat_board() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("emoji"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "emoji", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Emoji of the card"), @@ -67,7 +69,9 @@ fn lexicon_doc_blue_linkat_board() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Text of the card"), @@ -84,7 +88,9 @@ fn lexicon_doc_blue_linkat_board() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("URL of the card"), @@ -105,7 +111,7 @@ fn lexicon_doc_blue_linkat_board() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -117,7 +123,7 @@ fn lexicon_doc_blue_linkat_board() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("cards") + ::jacquard_common::deps::smol_str::SmolStr::new_static("cards") ], ), nullable: None, @@ -125,7 +131,9 @@ fn lexicon_doc_blue_linkat_board() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cards"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cards", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -279,7 +287,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Board<'a> { diff --git a/crates/jacquard-api/src/blue_recipes/actor.rs b/crates/jacquard-api/src/blue_recipes/actor.rs index 6f35c8150..e64aa8d28 100644 --- a/crates/jacquard-api/src/blue_recipes/actor.rs +++ b/crates/jacquard-api/src/blue_recipes/actor.rs @@ -48,37 +48,37 @@ pub mod profile_view_basic_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Did; type Handle; + type Did; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Did = Unset; type Handle = Unset; - } - ///State transition - sets the `did` field to Set - pub struct SetDid(PhantomData S>); - impl sealed::Sealed for SetDid {} - impl State for SetDid { - type Did = Set; - type Handle = S::Handle; + type Did = Unset; } ///State transition - sets the `handle` field to Set pub struct SetHandle(PhantomData S>); impl sealed::Sealed for SetHandle {} impl State for SetHandle { - type Did = S::Did; type Handle = Set; + type Did = S::Did; + } + ///State transition - sets the `did` field to Set + pub struct SetDid(PhantomData S>); + impl sealed::Sealed for SetDid {} + impl State for SetDid { + type Handle = S::Handle; + type Did = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `did` field - pub struct did(()); ///Marker type for the `handle` field pub struct handle(()); + ///Marker type for the `did` field + pub struct did(()); } } @@ -228,8 +228,8 @@ impl<'a, S: profile_view_basic_state::State> ProfileViewBasicBuilder<'a, S> { impl<'a, S> ProfileViewBasicBuilder<'a, S> where S: profile_view_basic_state::State, - S::Did: profile_view_basic_state::IsSet, S::Handle: profile_view_basic_state::IsSet, + S::Did: profile_view_basic_state::IsSet, { /// Build the final struct pub fn build(self) -> ProfileViewBasic<'a> { @@ -247,7 +247,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ProfileViewBasic<'a> { @@ -274,13 +274,15 @@ fn lexicon_doc_blue_recipes_actor_defs() -> ::jacquard_lexicon::lexicon::Lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("profileViewBasic"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "profileViewBasic", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("did"), - ::jacquard_common::smol_str::SmolStr::new_static("handle") + ::jacquard_common::deps::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("handle") ], ), nullable: None, @@ -288,7 +290,9 @@ fn lexicon_doc_blue_recipes_actor_defs() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("avatar"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "avatar", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -296,7 +300,7 @@ fn lexicon_doc_blue_recipes_actor_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -313,7 +317,9 @@ fn lexicon_doc_blue_recipes_actor_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -330,7 +336,7 @@ fn lexicon_doc_blue_recipes_actor_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "displayName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -347,7 +353,9 @@ fn lexicon_doc_blue_recipes_actor_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("handle"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "handle", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -364,7 +372,9 @@ fn lexicon_doc_blue_recipes_actor_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("pronouns"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "pronouns", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -414,7 +424,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ProfileViewBasic<'a> { } if let Some(ref value) = self.display_name { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) diff --git a/crates/jacquard-api/src/blue_recipes/actor/profile.rs b/crates/jacquard-api/src/blue_recipes/actor/profile.rs index c8fa566c3..17d912c0b 100644 --- a/crates/jacquard-api/src/blue_recipes/actor/profile.rs +++ b/crates/jacquard-api/src/blue_recipes/actor/profile.rs @@ -257,7 +257,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Profile<'a> { @@ -362,7 +362,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Profile<'a> { } if let Some(ref value) = self.description { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -394,7 +394,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Profile<'a> { { let value = &self.display_name; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -424,7 +424,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Profile<'a> { } if let Some(ref value) = self.pronouns { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -455,7 +455,7 @@ fn lexicon_doc_blue_recipes_actor_profile() -> ::jacquard_lexicon::lexicon::Lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("literal:self")), @@ -463,7 +463,7 @@ fn lexicon_doc_blue_recipes_actor_profile() -> ::jacquard_lexicon::lexicon::Lexi description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("displayName") + ::jacquard_common::deps::smol_str::SmolStr::new_static("displayName") ], ), nullable: None, @@ -471,7 +471,9 @@ fn lexicon_doc_blue_recipes_actor_profile() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("avatar"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "avatar", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -479,7 +481,9 @@ fn lexicon_doc_blue_recipes_actor_profile() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("banner"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "banner", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -487,7 +491,7 @@ fn lexicon_doc_blue_recipes_actor_profile() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -504,7 +508,7 @@ fn lexicon_doc_blue_recipes_actor_profile() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -525,7 +529,7 @@ fn lexicon_doc_blue_recipes_actor_profile() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "displayName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -542,7 +546,7 @@ fn lexicon_doc_blue_recipes_actor_profile() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "pronouns", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -563,7 +567,9 @@ fn lexicon_doc_blue_recipes_actor_profile() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("website"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "website", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, diff --git a/crates/jacquard-api/src/blue_recipes/feed.rs b/crates/jacquard-api/src/blue_recipes/feed.rs index 6abd65e81..d58a1c50e 100644 --- a/crates/jacquard-api/src/blue_recipes/feed.rs +++ b/crates/jacquard-api/src/blue_recipes/feed.rs @@ -36,37 +36,37 @@ pub mod not_found_recipe_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Uri; type NotFound; + type Uri; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Uri = Unset; type NotFound = Unset; - } - ///State transition - sets the `uri` field to Set - pub struct SetUri(PhantomData S>); - impl sealed::Sealed for SetUri {} - impl State for SetUri { - type Uri = Set; - type NotFound = S::NotFound; + type Uri = Unset; } ///State transition - sets the `not_found` field to Set pub struct SetNotFound(PhantomData S>); impl sealed::Sealed for SetNotFound {} impl State for SetNotFound { - type Uri = S::Uri; type NotFound = Set; + type Uri = S::Uri; + } + ///State transition - sets the `uri` field to Set + pub struct SetUri(PhantomData S>); + impl sealed::Sealed for SetUri {} + impl State for SetUri { + type NotFound = S::NotFound; + type Uri = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `uri` field - pub struct uri(()); ///Marker type for the `not_found` field pub struct not_found(()); + ///Marker type for the `uri` field + pub struct uri(()); } } @@ -139,8 +139,8 @@ where impl<'a, S> NotFoundRecipeBuilder<'a, S> where S: not_found_recipe_state::State, - S::Uri: not_found_recipe_state::IsSet, S::NotFound: not_found_recipe_state::IsSet, + S::Uri: not_found_recipe_state::IsSet, { /// Build the final struct pub fn build(self) -> NotFoundRecipe<'a> { @@ -154,7 +154,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> NotFoundRecipe<'a> { @@ -177,13 +177,13 @@ fn lexicon_doc_blue_recipes_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconD defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("notFoundRecipe"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("notFoundRecipe"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("notFound") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("notFound") ], ), nullable: None, @@ -191,7 +191,9 @@ fn lexicon_doc_blue_recipes_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("notFound"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "notFound", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -199,7 +201,9 @@ fn lexicon_doc_blue_recipes_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -220,7 +224,7 @@ fn lexicon_doc_blue_recipes_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("recipeView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("recipeView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -229,11 +233,11 @@ fn lexicon_doc_blue_recipes_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconD ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("cid"), - ::jacquard_common::smol_str::SmolStr::new_static("author"), - ::jacquard_common::smol_str::SmolStr::new_static("record"), - ::jacquard_common::smol_str::SmolStr::new_static("indexedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("record"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("indexedAt") ], ), nullable: None, @@ -241,7 +245,9 @@ fn lexicon_doc_blue_recipes_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "author", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -250,7 +256,9 @@ fn lexicon_doc_blue_recipes_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -267,7 +275,7 @@ fn lexicon_doc_blue_recipes_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "indexedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -286,7 +294,9 @@ fn lexicon_doc_blue_recipes_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("record"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "record", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -295,7 +305,9 @@ fn lexicon_doc_blue_recipes_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -371,85 +383,85 @@ pub mod recipe_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Author; + type Record; type IndexedAt; type Uri; + type Author; type Cid; - type Record; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Author = Unset; + type Record = Unset; type IndexedAt = Unset; type Uri = Unset; + type Author = Unset; type Cid = Unset; - type Record = Unset; } - ///State transition - sets the `author` field to Set - pub struct SetAuthor(PhantomData S>); - impl sealed::Sealed for SetAuthor {} - impl State for SetAuthor { - type Author = Set; + ///State transition - sets the `record` field to Set + pub struct SetRecord(PhantomData S>); + impl sealed::Sealed for SetRecord {} + impl State for SetRecord { + type Record = Set; type IndexedAt = S::IndexedAt; type Uri = S::Uri; + type Author = S::Author; type Cid = S::Cid; - type Record = S::Record; } ///State transition - sets the `indexed_at` field to Set pub struct SetIndexedAt(PhantomData S>); impl sealed::Sealed for SetIndexedAt {} impl State for SetIndexedAt { - type Author = S::Author; + type Record = S::Record; type IndexedAt = Set; type Uri = S::Uri; + type Author = S::Author; type Cid = S::Cid; - type Record = S::Record; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { - type Author = S::Author; + type Record = S::Record; type IndexedAt = S::IndexedAt; type Uri = Set; + type Author = S::Author; type Cid = S::Cid; + } + ///State transition - sets the `author` field to Set + pub struct SetAuthor(PhantomData S>); + impl sealed::Sealed for SetAuthor {} + impl State for SetAuthor { type Record = S::Record; + type IndexedAt = S::IndexedAt; + type Uri = S::Uri; + type Author = Set; + type Cid = S::Cid; } ///State transition - sets the `cid` field to Set pub struct SetCid(PhantomData S>); impl sealed::Sealed for SetCid {} impl State for SetCid { - type Author = S::Author; - type IndexedAt = S::IndexedAt; - type Uri = S::Uri; - type Cid = Set; type Record = S::Record; - } - ///State transition - sets the `record` field to Set - pub struct SetRecord(PhantomData S>); - impl sealed::Sealed for SetRecord {} - impl State for SetRecord { - type Author = S::Author; type IndexedAt = S::IndexedAt; type Uri = S::Uri; - type Cid = S::Cid; - type Record = Set; + type Author = S::Author; + type Cid = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `author` field - pub struct author(()); + ///Marker type for the `record` field + pub struct record(()); ///Marker type for the `indexed_at` field pub struct indexed_at(()); ///Marker type for the `uri` field pub struct uri(()); + ///Marker type for the `author` field + pub struct author(()); ///Marker type for the `cid` field pub struct cid(()); - ///Marker type for the `record` field - pub struct record(()); } } @@ -582,11 +594,11 @@ where impl<'a, S> RecipeViewBuilder<'a, S> where S: recipe_view_state::State, - S::Author: recipe_view_state::IsSet, + S::Record: recipe_view_state::IsSet, S::IndexedAt: recipe_view_state::IsSet, S::Uri: recipe_view_state::IsSet, + S::Author: recipe_view_state::IsSet, S::Cid: recipe_view_state::IsSet, - S::Record: recipe_view_state::IsSet, { /// Build the final struct pub fn build(self) -> RecipeView<'a> { @@ -603,7 +615,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> RecipeView<'a> { diff --git a/crates/jacquard-api/src/blue_recipes/feed/recipe.rs b/crates/jacquard-api/src/blue_recipes/feed/recipe.rs index 530e2c69e..3a64ac279 100644 --- a/crates/jacquard-api/src/blue_recipes/feed/recipe.rs +++ b/crates/jacquard-api/src/blue_recipes/feed/recipe.rs @@ -38,18 +38,22 @@ fn lexicon_doc_blue_recipes_feed_recipe() -> ::jacquard_lexicon::lexicon::Lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("ingredient"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("ingredient"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("name")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("name") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("amount"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "amount", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -68,7 +72,9 @@ fn lexicon_doc_blue_recipes_feed_recipe() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -91,7 +97,7 @@ fn lexicon_doc_blue_recipes_feed_recipe() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -103,9 +109,9 @@ fn lexicon_doc_blue_recipes_feed_recipe() -> ::jacquard_lexicon::lexicon::Lexico description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("steps"), - ::jacquard_common::smol_str::SmolStr::new_static("ingredients") + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("steps"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("ingredients") ], ), nullable: None, @@ -113,7 +119,7 @@ fn lexicon_doc_blue_recipes_feed_recipe() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -130,7 +136,7 @@ fn lexicon_doc_blue_recipes_feed_recipe() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -151,7 +157,9 @@ fn lexicon_doc_blue_recipes_feed_recipe() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -159,7 +167,7 @@ fn lexicon_doc_blue_recipes_feed_recipe() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "ingredients", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -173,7 +181,9 @@ fn lexicon_doc_blue_recipes_feed_recipe() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("serves"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "serves", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -184,7 +194,9 @@ fn lexicon_doc_blue_recipes_feed_recipe() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("steps"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "steps", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -196,7 +208,9 @@ fn lexicon_doc_blue_recipes_feed_recipe() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("time"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "time", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -207,7 +221,9 @@ fn lexicon_doc_blue_recipes_feed_recipe() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -227,18 +243,22 @@ fn lexicon_doc_blue_recipes_feed_recipe() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("step"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("step"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("text")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("text") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -294,7 +314,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Ingredient<'a> { { let value = &self.name; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -363,50 +383,50 @@ pub mod recipe_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Steps; - type Title; type Ingredients; + type Title; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Steps = Unset; - type Title = Unset; type Ingredients = Unset; + type Title = Unset; } ///State transition - sets the `steps` field to Set pub struct SetSteps(PhantomData S>); impl sealed::Sealed for SetSteps {} impl State for SetSteps { type Steps = Set; - type Title = S::Title; - type Ingredients = S::Ingredients; - } - ///State transition - sets the `title` field to Set - pub struct SetTitle(PhantomData S>); - impl sealed::Sealed for SetTitle {} - impl State for SetTitle { - type Steps = S::Steps; - type Title = Set; type Ingredients = S::Ingredients; + type Title = S::Title; } ///State transition - sets the `ingredients` field to Set pub struct SetIngredients(PhantomData S>); impl sealed::Sealed for SetIngredients {} impl State for SetIngredients { type Steps = S::Steps; - type Title = S::Title; type Ingredients = Set; + type Title = S::Title; + } + ///State transition - sets the `title` field to Set + pub struct SetTitle(PhantomData S>); + impl sealed::Sealed for SetTitle {} + impl State for SetTitle { + type Steps = S::Steps; + type Ingredients = S::Ingredients; + type Title = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `steps` field pub struct steps(()); - ///Marker type for the `title` field - pub struct title(()); ///Marker type for the `ingredients` field pub struct ingredients(()); + ///Marker type for the `title` field + pub struct title(()); } } @@ -588,8 +608,8 @@ impl<'a, S> RecipeBuilder<'a, S> where S: recipe_state::State, S::Steps: recipe_state::IsSet, - S::Title: recipe_state::IsSet, S::Ingredients: recipe_state::IsSet, + S::Title: recipe_state::IsSet, { /// Build the final struct pub fn build(self) -> Recipe<'a> { @@ -609,7 +629,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Recipe<'a> { @@ -715,7 +735,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Recipe<'a> { } if let Some(ref value) = self.description { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -747,7 +767,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Recipe<'a> { { let value = &self.title; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -814,7 +834,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Step<'a> { { let value = &self.text; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) diff --git a/crates/jacquard-api/src/blue_rito/feed/bookmark.rs b/crates/jacquard-api/src/blue_rito/feed/bookmark.rs index c1b41510b..45d5c6a49 100644 --- a/crates/jacquard-api/src/blue_rito/feed/bookmark.rs +++ b/crates/jacquard-api/src/blue_rito/feed/bookmark.rs @@ -41,13 +41,13 @@ fn lexicon_doc_blue_rito_feed_bookmark() -> ::jacquard_lexicon::lexicon::Lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("locale"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("locale"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("lang"), - ::jacquard_common::smol_str::SmolStr::new_static("title") + ::jacquard_common::deps::smol_str::SmolStr::new_static("lang"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("title") ], ), nullable: None, @@ -55,7 +55,9 @@ fn lexicon_doc_blue_rito_feed_bookmark() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "comment", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -74,7 +76,9 @@ fn lexicon_doc_blue_rito_feed_bookmark() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("lang"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "lang", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Comments Language"), @@ -91,7 +95,9 @@ fn lexicon_doc_blue_rito_feed_bookmark() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("URI's title"), @@ -112,7 +118,7 @@ fn lexicon_doc_blue_rito_feed_bookmark() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static("Records a bookmark."), @@ -122,9 +128,9 @@ fn lexicon_doc_blue_rito_feed_bookmark() -> ::jacquard_lexicon::lexicon::Lexicon description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("comments"), - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("comments"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -132,7 +138,7 @@ fn lexicon_doc_blue_rito_feed_bookmark() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "comments", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -152,7 +158,7 @@ fn lexicon_doc_blue_rito_feed_bookmark() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -171,7 +177,7 @@ fn lexicon_doc_blue_rito_feed_bookmark() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "ogpDescription", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -190,7 +196,7 @@ fn lexicon_doc_blue_rito_feed_bookmark() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "ogpImage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -211,7 +217,7 @@ fn lexicon_doc_blue_rito_feed_bookmark() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "ogpTitle", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -230,7 +236,9 @@ fn lexicon_doc_blue_rito_feed_bookmark() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -247,7 +255,9 @@ fn lexicon_doc_blue_rito_feed_bookmark() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tags", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -307,7 +317,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Locale<'a> { } if let Some(ref value) = self.comment { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -352,7 +362,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Locale<'a> { { let value = &self.title; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -419,51 +429,51 @@ pub mod bookmark_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type Subject; type Comments; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type Subject = Unset; type Comments = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Subject = S::Subject; - type Comments = S::Comments; + type CreatedAt = Unset; } ///State transition - sets the `subject` field to Set pub struct SetSubject(PhantomData S>); impl sealed::Sealed for SetSubject {} impl State for SetSubject { - type CreatedAt = S::CreatedAt; type Subject = Set; type Comments = S::Comments; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `comments` field to Set pub struct SetComments(PhantomData S>); impl sealed::Sealed for SetComments {} impl State for SetComments { - type CreatedAt = S::CreatedAt; type Subject = S::Subject; type Comments = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Subject = S::Subject; + type Comments = S::Comments; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `subject` field pub struct subject(()); ///Marker type for the `comments` field pub struct comments(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -636,9 +646,9 @@ impl<'a, S: bookmark_state::State> BookmarkBuilder<'a, S> { impl<'a, S> BookmarkBuilder<'a, S> where S: bookmark_state::State, - S::CreatedAt: bookmark_state::IsSet, S::Subject: bookmark_state::IsSet, S::Comments: bookmark_state::IsSet, + S::CreatedAt: bookmark_state::IsSet, { /// Build the final struct pub fn build(self) -> Bookmark<'a> { @@ -657,7 +667,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Bookmark<'a> { diff --git a/crates/jacquard-api/src/blue_rito/feed/like.rs b/crates/jacquard-api/src/blue_rito/feed/like.rs index a2754c599..8e2c6fb4e 100644 --- a/crates/jacquard-api/src/blue_rito/feed/like.rs +++ b/crates/jacquard-api/src/blue_rito/feed/like.rs @@ -151,7 +151,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Like<'a> { @@ -252,7 +252,7 @@ fn lexicon_doc_blue_rito_feed_like() -> ::jacquard_lexicon::lexicon::LexiconDoc< defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static("Records a like."), @@ -262,8 +262,8 @@ fn lexicon_doc_blue_rito_feed_like() -> ::jacquard_lexicon::lexicon::LexiconDoc< description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -271,7 +271,7 @@ fn lexicon_doc_blue_rito_feed_like() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -290,7 +290,9 @@ fn lexicon_doc_blue_rito_feed_like() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( 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 e29eb7814..be59b9c97 100644 --- a/crates/jacquard-api/src/blue_rito/label/auto/like.rs +++ b/crates/jacquard-api/src/blue_rito/label/auto/like.rs @@ -154,7 +154,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Like<'a> { @@ -255,7 +255,7 @@ fn lexicon_doc_blue_rito_label_auto_like() -> ::jacquard_lexicon::lexicon::Lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -267,8 +267,8 @@ fn lexicon_doc_blue_rito_label_auto_like() -> ::jacquard_lexicon::lexicon::Lexic description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -276,7 +276,7 @@ fn lexicon_doc_blue_rito_label_auto_like() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -295,7 +295,9 @@ fn lexicon_doc_blue_rito_label_auto_like() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( 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 4e6750fe7..43f676230 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 @@ -185,7 +185,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Settings<'a> { @@ -287,7 +287,7 @@ fn lexicon_doc_blue_rito_label_auto_like_settings() -> ::jacquard_lexicon::lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -299,8 +299,8 @@ fn lexicon_doc_blue_rito_label_auto_like_settings() -> ::jacquard_lexicon::lexic description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("apply"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("apply"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -308,7 +308,9 @@ fn lexicon_doc_blue_rito_label_auto_like_settings() -> ::jacquard_lexicon::lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("apply"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "apply", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: Some( ::jacquard_common::CowStr::new_static( @@ -322,7 +324,7 @@ fn lexicon_doc_blue_rito_label_auto_like_settings() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -341,7 +343,9 @@ fn lexicon_doc_blue_rito_label_auto_like_settings() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("delete"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "delete", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: Some( ::jacquard_common::CowStr::new_static( @@ -360,13 +364,13 @@ fn lexicon_doc_blue_rito_label_auto_like_settings() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("postRef"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("postRef"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("cid") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid") ], ), nullable: None, @@ -374,7 +378,9 @@ fn lexicon_doc_blue_rito_label_auto_like_settings() -> ::jacquard_lexicon::lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("CID of the post"), @@ -391,7 +397,9 @@ fn lexicon_doc_blue_rito_label_auto_like_settings() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("URI of the post"), @@ -448,37 +456,37 @@ pub mod post_ref_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Uri; type Cid; + type Uri; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Uri = Unset; type Cid = Unset; - } - ///State transition - sets the `uri` field to Set - pub struct SetUri(PhantomData S>); - impl sealed::Sealed for SetUri {} - impl State for SetUri { - type Uri = Set; - type Cid = S::Cid; + type Uri = Unset; } ///State transition - sets the `cid` field to Set pub struct SetCid(PhantomData S>); impl sealed::Sealed for SetCid {} impl State for SetCid { - type Uri = S::Uri; type Cid = Set; + type Uri = S::Uri; + } + ///State transition - sets the `uri` field to Set + pub struct SetUri(PhantomData S>); + impl sealed::Sealed for SetUri {} + impl State for SetUri { + type Cid = S::Cid; + type Uri = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `uri` field - pub struct uri(()); ///Marker type for the `cid` field pub struct cid(()); + ///Marker type for the `uri` field + pub struct uri(()); } } @@ -551,8 +559,8 @@ where impl<'a, S> PostRefBuilder<'a, S> where S: post_ref_state::State, - S::Uri: post_ref_state::IsSet, S::Cid: post_ref_state::IsSet, + S::Uri: post_ref_state::IsSet, { /// Build the final struct pub fn build(self) -> PostRef<'a> { @@ -566,7 +574,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> PostRef<'a> { 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 2b6a5da02..ed323b5a4 100644 --- a/crates/jacquard-api/src/blue_rito/label/auto/post.rs +++ b/crates/jacquard-api/src/blue_rito/label/auto/post.rs @@ -46,85 +46,85 @@ pub mod post_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type AppliedTo; type Label; + type DurationInHours; type Condition; + type AppliedTo; type CreatedAt; - type DurationInHours; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type AppliedTo = Unset; type Label = Unset; + type DurationInHours = Unset; type Condition = Unset; + type AppliedTo = Unset; type CreatedAt = Unset; - type DurationInHours = Unset; - } - ///State transition - sets the `applied_to` field to Set - pub struct SetAppliedTo(PhantomData S>); - impl sealed::Sealed for SetAppliedTo {} - impl State for SetAppliedTo { - type AppliedTo = Set; - type Label = S::Label; - type Condition = S::Condition; - type CreatedAt = S::CreatedAt; - type DurationInHours = S::DurationInHours; } ///State transition - sets the `label` field to Set pub struct SetLabel(PhantomData S>); impl sealed::Sealed for SetLabel {} impl State for SetLabel { - type AppliedTo = S::AppliedTo; type Label = Set; + type DurationInHours = S::DurationInHours; type Condition = S::Condition; + type AppliedTo = S::AppliedTo; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `duration_in_hours` field to Set + pub struct SetDurationInHours(PhantomData S>); + impl sealed::Sealed for SetDurationInHours {} + impl State for SetDurationInHours { + type Label = S::Label; + type DurationInHours = Set; + type Condition = S::Condition; + type AppliedTo = S::AppliedTo; type CreatedAt = S::CreatedAt; - type DurationInHours = S::DurationInHours; } ///State transition - sets the `condition` field to Set pub struct SetCondition(PhantomData S>); impl sealed::Sealed for SetCondition {} impl State for SetCondition { - type AppliedTo = S::AppliedTo; type Label = S::Label; + type DurationInHours = S::DurationInHours; type Condition = Set; + type AppliedTo = S::AppliedTo; type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `applied_to` field to Set + pub struct SetAppliedTo(PhantomData S>); + impl sealed::Sealed for SetAppliedTo {} + impl State for SetAppliedTo { + type Label = S::Label; type DurationInHours = S::DurationInHours; + type Condition = S::Condition; + type AppliedTo = Set; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type AppliedTo = S::AppliedTo; type Label = S::Label; - type Condition = S::Condition; - type CreatedAt = Set; type DurationInHours = S::DurationInHours; - } - ///State transition - sets the `duration_in_hours` field to Set - pub struct SetDurationInHours(PhantomData S>); - impl sealed::Sealed for SetDurationInHours {} - impl State for SetDurationInHours { - type AppliedTo = S::AppliedTo; - type Label = S::Label; type Condition = S::Condition; - type CreatedAt = S::CreatedAt; - type DurationInHours = Set; + type AppliedTo = S::AppliedTo; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `applied_to` field - pub struct applied_to(()); ///Marker type for the `label` field pub struct label(()); + ///Marker type for the `duration_in_hours` field + pub struct duration_in_hours(()); ///Marker type for the `condition` field pub struct condition(()); + ///Marker type for the `applied_to` field + pub struct applied_to(()); ///Marker type for the `created_at` field pub struct created_at(()); - ///Marker type for the `duration_in_hours` field - pub struct duration_in_hours(()); } } @@ -274,11 +274,11 @@ where impl<'a, S> PostBuilder<'a, S> where S: post_state::State, - S::AppliedTo: post_state::IsSet, S::Label: post_state::IsSet, + S::DurationInHours: post_state::IsSet, S::Condition: post_state::IsSet, + S::AppliedTo: post_state::IsSet, S::CreatedAt: post_state::IsSet, - S::DurationInHours: post_state::IsSet, { /// Build the final struct pub fn build(self) -> Post<'a> { @@ -296,7 +296,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Post<'a> { @@ -401,7 +401,7 @@ fn lexicon_doc_blue_rito_label_auto_post() -> ::jacquard_lexicon::lexicon::Lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -413,11 +413,11 @@ fn lexicon_doc_blue_rito_label_auto_post() -> ::jacquard_lexicon::lexicon::Lexic description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("label"), - ::jacquard_common::smol_str::SmolStr::new_static("condition"), - ::jacquard_common::smol_str::SmolStr::new_static("appliedTo"), - ::jacquard_common::smol_str::SmolStr::new_static("durationInHours"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("label"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("condition"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("appliedTo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("durationInHours"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -425,7 +425,9 @@ fn lexicon_doc_blue_rito_label_auto_post() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("action"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "action", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -444,7 +446,7 @@ fn lexicon_doc_blue_rito_label_auto_post() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "appliedTo", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -463,7 +465,7 @@ fn lexicon_doc_blue_rito_label_auto_post() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "condition", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -484,7 +486,7 @@ fn lexicon_doc_blue_rito_label_auto_post() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -503,7 +505,7 @@ fn lexicon_doc_blue_rito_label_auto_post() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "durationInHours", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -516,7 +518,9 @@ fn lexicon_doc_blue_rito_label_auto_post() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("label"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "label", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( 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 276abf644..b841aa9a9 100644 --- a/crates/jacquard-api/src/blue_rito/service/get_schema.rs +++ b/crates/jacquard-api/src/blue_rito/service/get_schema.rs @@ -38,51 +38,51 @@ pub mod langs_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Lang; - type Title; type Moderation; + type Title; + type Lang; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Lang = Unset; - type Title = Unset; type Moderation = Unset; + type Title = Unset; + type Lang = Unset; } - ///State transition - sets the `lang` field to Set - pub struct SetLang(PhantomData S>); - impl sealed::Sealed for SetLang {} - impl State for SetLang { - type Lang = Set; + ///State transition - sets the `moderation` field to Set + pub struct SetModeration(PhantomData S>); + impl sealed::Sealed for SetModeration {} + impl State for SetModeration { + type Moderation = Set; type Title = S::Title; - type Moderation = S::Moderation; + type Lang = S::Lang; } ///State transition - sets the `title` field to Set pub struct SetTitle(PhantomData S>); impl sealed::Sealed for SetTitle {} impl State for SetTitle { - type Lang = S::Lang; - type Title = Set; type Moderation = S::Moderation; - } - ///State transition - sets the `moderation` field to Set - pub struct SetModeration(PhantomData S>); - impl sealed::Sealed for SetModeration {} - impl State for SetModeration { + type Title = Set; type Lang = S::Lang; + } + ///State transition - sets the `lang` field to Set + pub struct SetLang(PhantomData S>); + impl sealed::Sealed for SetLang {} + impl State for SetLang { + type Moderation = S::Moderation; type Title = S::Title; - type Moderation = Set; + type Lang = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `lang` field - pub struct lang(()); - ///Marker type for the `title` field - pub struct title(()); ///Marker type for the `moderation` field pub struct moderation(()); + ///Marker type for the `title` field + pub struct title(()); + ///Marker type for the `lang` field + pub struct lang(()); } } @@ -192,9 +192,9 @@ where impl<'a, S> LangsBuilder<'a, S> where S: langs_state::State, - S::Lang: langs_state::IsSet, - S::Title: langs_state::IsSet, S::Moderation: langs_state::IsSet, + S::Title: langs_state::IsSet, + S::Lang: langs_state::IsSet, { /// Build the final struct pub fn build(self) -> Langs<'a> { @@ -210,7 +210,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Langs<'a> { @@ -235,14 +235,14 @@ fn lexicon_doc_blue_rito_service_getSchema() -> ::jacquard_lexicon::lexicon::Lex defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("langs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("langs"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("lang"), - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("moderation") + ::jacquard_common::deps::smol_str::SmolStr::new_static("lang"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("moderation") ], ), nullable: None, @@ -250,7 +250,9 @@ fn lexicon_doc_blue_rito_service_getSchema() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "comment", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -265,7 +267,9 @@ fn lexicon_doc_blue_rito_service_getSchema() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("lang"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "lang", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -280,7 +284,7 @@ fn lexicon_doc_blue_rito_service_getSchema() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "moderation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -302,7 +306,9 @@ fn lexicon_doc_blue_rito_service_getSchema() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -321,7 +327,7 @@ fn lexicon_doc_blue_rito_service_getSchema() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcProcedure(::jacquard_lexicon::lexicon::LexXrpcProcedure { description: None, parameters: None, @@ -335,7 +341,7 @@ fn lexicon_doc_blue_rito_service_getSchema() -> ::jacquard_lexicon::lexicon::Lex description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("nsid") + ::jacquard_common::deps::smol_str::SmolStr::new_static("nsid") ], ), nullable: None, @@ -343,7 +349,9 @@ fn lexicon_doc_blue_rito_service_getSchema() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("nsid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "nsid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, diff --git a/crates/jacquard-api/src/blue_rito/service/schema.rs b/crates/jacquard-api/src/blue_rito/service/schema.rs index f6047b2e6..eb45773d1 100644 --- a/crates/jacquard-api/src/blue_rito/service/schema.rs +++ b/crates/jacquard-api/src/blue_rito/service/schema.rs @@ -117,7 +117,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Schema<'a> { @@ -217,7 +217,7 @@ fn lexicon_doc_blue_rito_service_schema() -> ::jacquard_lexicon::lexicon::Lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -229,7 +229,7 @@ fn lexicon_doc_blue_rito_service_schema() -> ::jacquard_lexicon::lexicon::Lexico description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("schema") + ::jacquard_common::deps::smol_str::SmolStr::new_static("schema") ], ), nullable: None, @@ -237,7 +237,9 @@ fn lexicon_doc_blue_rito_service_schema() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("schema"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "schema", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/blue_skytalk/talk/comment.rs b/crates/jacquard-api/src/blue_skytalk/talk/comment.rs index 4bb56750b..b4c11ed2a 100644 --- a/crates/jacquard-api/src/blue_skytalk/talk/comment.rs +++ b/crates/jacquard-api/src/blue_skytalk/talk/comment.rs @@ -42,51 +42,51 @@ pub mod comment_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; - type Text; type ThreadUri; + type Text; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; - type Text = Unset; type ThreadUri = Unset; + type Text = Unset; + type CreatedAt = Unset; } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; + ///State transition - sets the `thread_uri` field to Set + pub struct SetThreadUri(PhantomData S>); + impl sealed::Sealed for SetThreadUri {} + impl State for SetThreadUri { + type ThreadUri = Set; type Text = S::Text; - type ThreadUri = S::ThreadUri; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `text` field to Set pub struct SetText(PhantomData S>); impl sealed::Sealed for SetText {} impl State for SetText { - type CreatedAt = S::CreatedAt; - type Text = Set; type ThreadUri = S::ThreadUri; - } - ///State transition - sets the `thread_uri` field to Set - pub struct SetThreadUri(PhantomData S>); - impl sealed::Sealed for SetThreadUri {} - impl State for SetThreadUri { + type Text = Set; type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type ThreadUri = S::ThreadUri; type Text = S::Text; - type ThreadUri = Set; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); - ///Marker type for the `text` field - pub struct text(()); ///Marker type for the `thread_uri` field pub struct thread_uri(()); + ///Marker type for the `text` field + pub struct text(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -199,9 +199,9 @@ where impl<'a, S> CommentBuilder<'a, S> where S: comment_state::State, - S::CreatedAt: comment_state::IsSet, - S::Text: comment_state::IsSet, S::ThreadUri: comment_state::IsSet, + S::Text: comment_state::IsSet, + S::CreatedAt: comment_state::IsSet, { /// Build the final struct pub fn build(self) -> Comment<'a> { @@ -217,7 +217,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Comment<'a> { @@ -333,7 +333,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Comment<'a> { { let value = &self.text; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -364,7 +364,7 @@ fn lexicon_doc_blue_skytalk_talk_comment() -> ::jacquard_lexicon::lexicon::Lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -376,9 +376,9 @@ fn lexicon_doc_blue_skytalk_talk_comment() -> ::jacquard_lexicon::lexicon::Lexic description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("threadUri"), - ::jacquard_common::smol_str::SmolStr::new_static("text"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("threadUri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -386,7 +386,9 @@ fn lexicon_doc_blue_skytalk_talk_comment() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("blobs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "blobs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -403,7 +405,7 @@ fn lexicon_doc_blue_skytalk_talk_comment() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -426,7 +428,9 @@ fn lexicon_doc_blue_skytalk_talk_comment() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -445,7 +449,7 @@ fn lexicon_doc_blue_skytalk_talk_comment() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "threadUri", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/blue_skytalk/talk/thread.rs b/crates/jacquard-api/src/blue_skytalk/talk/thread.rs index 2c5953460..5047e475c 100644 --- a/crates/jacquard-api/src/blue_skytalk/talk/thread.rs +++ b/crates/jacquard-api/src/blue_skytalk/talk/thread.rs @@ -46,51 +46,51 @@ pub mod thread_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Title; type CreatedAt; type ChannelId; - type Title; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Title = Unset; type CreatedAt = Unset; type ChannelId = Unset; - type Title = Unset; + } + ///State transition - sets the `title` field to Set + pub struct SetTitle(PhantomData S>); + impl sealed::Sealed for SetTitle {} + impl State for SetTitle { + type Title = Set; + type CreatedAt = S::CreatedAt; + type ChannelId = S::ChannelId; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { + type Title = S::Title; type CreatedAt = Set; type ChannelId = S::ChannelId; - type Title = S::Title; } ///State transition - sets the `channel_id` field to Set pub struct SetChannelId(PhantomData S>); impl sealed::Sealed for SetChannelId {} impl State for SetChannelId { - type CreatedAt = S::CreatedAt; - type ChannelId = Set; type Title = S::Title; - } - ///State transition - sets the `title` field to Set - pub struct SetTitle(PhantomData S>); - impl sealed::Sealed for SetTitle {} - impl State for SetTitle { type CreatedAt = S::CreatedAt; - type ChannelId = S::ChannelId; - type Title = Set; + type ChannelId = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `title` field + pub struct title(()); ///Marker type for the `created_at` field pub struct created_at(()); ///Marker type for the `channel_id` field pub struct channel_id(()); - ///Marker type for the `title` field - pub struct title(()); } } @@ -220,9 +220,9 @@ where impl<'a, S> ThreadBuilder<'a, S> where S: thread_state::State, + S::Title: thread_state::IsSet, S::CreatedAt: thread_state::IsSet, S::ChannelId: thread_state::IsSet, - S::Title: thread_state::IsSet, { /// Build the final struct pub fn build(self) -> Thread<'a> { @@ -239,7 +239,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Thread<'a> { @@ -354,7 +354,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Thread<'a> { } if let Some(ref value) = self.text { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -386,7 +386,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Thread<'a> { { let value = &self.title; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -417,7 +417,7 @@ fn lexicon_doc_blue_skytalk_talk_thread() -> ::jacquard_lexicon::lexicon::Lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static("A thread in a channel"), @@ -427,9 +427,9 @@ fn lexicon_doc_blue_skytalk_talk_thread() -> ::jacquard_lexicon::lexicon::Lexico description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("channelId"), - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("channelId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -437,7 +437,9 @@ fn lexicon_doc_blue_skytalk_talk_thread() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("blobs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "blobs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -454,7 +456,7 @@ fn lexicon_doc_blue_skytalk_talk_thread() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "channelId", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -475,7 +477,7 @@ fn lexicon_doc_blue_skytalk_talk_thread() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -498,7 +500,9 @@ fn lexicon_doc_blue_skytalk_talk_thread() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -517,7 +521,9 @@ fn lexicon_doc_blue_skytalk_talk_thread() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/blue_zio/atfile/finger.rs b/crates/jacquard-api/src/blue_zio/atfile/finger.rs index ca519c933..10f5979f2 100644 --- a/crates/jacquard-api/src/blue_zio/atfile/finger.rs +++ b/crates/jacquard-api/src/blue_zio/atfile/finger.rs @@ -38,7 +38,7 @@ fn lexicon_doc_blue_zio_atfile_finger() -> ::jacquard_lexicon::lexicon::LexiconD defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("browser"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("browser"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -51,7 +51,7 @@ fn lexicon_doc_blue_zio_atfile_finger() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -66,7 +66,7 @@ fn lexicon_doc_blue_zio_atfile_finger() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "userAgent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -87,7 +87,7 @@ fn lexicon_doc_blue_zio_atfile_finger() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("machine"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("machine"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -100,7 +100,9 @@ fn lexicon_doc_blue_zio_atfile_finger() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("app"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "app", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -115,7 +117,9 @@ fn lexicon_doc_blue_zio_atfile_finger() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("host"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "host", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -130,7 +134,7 @@ fn lexicon_doc_blue_zio_atfile_finger() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -145,7 +149,7 @@ fn lexicon_doc_blue_zio_atfile_finger() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("os"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("os"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, diff --git a/crates/jacquard-api/src/blue_zio/atfile/lock.rs b/crates/jacquard-api/src/blue_zio/atfile/lock.rs index 7986ceb45..9f4e52579 100644 --- a/crates/jacquard-api/src/blue_zio/atfile/lock.rs +++ b/crates/jacquard-api/src/blue_zio/atfile/lock.rs @@ -94,7 +94,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Lock<'a> { @@ -194,7 +194,7 @@ fn lexicon_doc_blue_zio_atfile_lock() -> ::jacquard_lexicon::lexicon::LexiconDoc defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -210,7 +210,9 @@ fn lexicon_doc_blue_zio_atfile_lock() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("lock"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "lock", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, diff --git a/crates/jacquard-api/src/blue_zio/atfile/meta.rs b/crates/jacquard-api/src/blue_zio/atfile/meta.rs index 7930cfdb4..78fb3f69a 100644 --- a/crates/jacquard-api/src/blue_zio/atfile/meta.rs +++ b/crates/jacquard-api/src/blue_zio/atfile/meta.rs @@ -35,7 +35,7 @@ fn lexicon_doc_blue_zio_atfile_meta() -> ::jacquard_lexicon::lexicon::LexiconDoc defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("unknown"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("unknown"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -48,7 +48,9 @@ fn lexicon_doc_blue_zio_atfile_meta() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reason"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reason", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, diff --git a/crates/jacquard-api/src/bond_biblio.rs b/crates/jacquard-api/src/bond_biblio.rs index 637be9bde..27f8ee3ba 100644 --- a/crates/jacquard-api/src/bond_biblio.rs +++ b/crates/jacquard-api/src/bond_biblio.rs @@ -39,7 +39,9 @@ fn lexicon_doc_bond_biblio_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("bookRequirement"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "bookRequirement", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -48,8 +50,8 @@ fn lexicon_doc_bond_biblio_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("authors") + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("authors") ], ), nullable: None, @@ -57,7 +59,9 @@ fn lexicon_doc_bond_biblio_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("authors"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "authors", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -76,7 +80,9 @@ fn lexicon_doc_bond_biblio_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -128,7 +134,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for BookRequirement<'a> { { let value = &self.authors; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -160,7 +166,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for BookRequirement<'a> { { let value = &self.title; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) diff --git a/crates/jacquard-api/src/bond_biblio/book.rs b/crates/jacquard-api/src/bond_biblio/book.rs index 0d16b65c4..d3ca9e256 100644 --- a/crates/jacquard-api/src/bond_biblio/book.rs +++ b/crates/jacquard-api/src/bond_biblio/book.rs @@ -42,51 +42,51 @@ pub mod book_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Authors; - type Title; type CreatedAt; + type Title; + type Authors; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Authors = Unset; - type Title = Unset; type CreatedAt = Unset; + type Title = Unset; + type Authors = Unset; } - ///State transition - sets the `authors` field to Set - pub struct SetAuthors(PhantomData S>); - impl sealed::Sealed for SetAuthors {} - impl State for SetAuthors { - type Authors = Set; + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type CreatedAt = Set; type Title = S::Title; - type CreatedAt = S::CreatedAt; + type Authors = S::Authors; } ///State transition - sets the `title` field to Set pub struct SetTitle(PhantomData S>); impl sealed::Sealed for SetTitle {} impl State for SetTitle { - type Authors = S::Authors; - type Title = Set; type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { + type Title = Set; type Authors = S::Authors; + } + ///State transition - sets the `authors` field to Set + pub struct SetAuthors(PhantomData S>); + impl sealed::Sealed for SetAuthors {} + impl State for SetAuthors { + type CreatedAt = S::CreatedAt; type Title = S::Title; - type CreatedAt = Set; + type Authors = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `authors` field - pub struct authors(()); - ///Marker type for the `title` field - pub struct title(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `title` field + pub struct title(()); + ///Marker type for the `authors` field + pub struct authors(()); } } @@ -199,9 +199,9 @@ where impl<'a, S> BookBuilder<'a, S> where S: book_state::State, - S::Authors: book_state::IsSet, - S::Title: book_state::IsSet, S::CreatedAt: book_state::IsSet, + S::Title: book_state::IsSet, + S::Authors: book_state::IsSet, { /// Build the final struct pub fn build(self) -> Book<'a> { @@ -217,7 +217,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Book<'a> { @@ -334,7 +334,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Book<'a> { { let value = &self.title; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -363,7 +363,7 @@ fn lexicon_doc_bond_biblio_book() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -375,9 +375,9 @@ fn lexicon_doc_bond_biblio_book() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("authors"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("authors"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -385,7 +385,9 @@ fn lexicon_doc_bond_biblio_book() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("authors"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "authors", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -404,7 +406,7 @@ fn lexicon_doc_bond_biblio_book() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -427,7 +429,9 @@ fn lexicon_doc_bond_biblio_book() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("lists"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "lists", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -453,7 +457,9 @@ fn lexicon_doc_bond_biblio_book() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("The book's title"), diff --git a/crates/jacquard-api/src/bond_biblio/list.rs b/crates/jacquard-api/src/bond_biblio/list.rs index 86ec0c8ae..a86e085c1 100644 --- a/crates/jacquard-api/src/bond_biblio/list.rs +++ b/crates/jacquard-api/src/bond_biblio/list.rs @@ -47,85 +47,85 @@ pub mod list_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Librarians; - type Title; - type Books; type Duedate; + type Title; type CreatedAt; + type Books; + type Librarians; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Librarians = Unset; - type Title = Unset; - type Books = Unset; type Duedate = Unset; + type Title = Unset; type CreatedAt = Unset; + type Books = Unset; + type Librarians = Unset; } - ///State transition - sets the `librarians` field to Set - pub struct SetLibrarians(PhantomData S>); - impl sealed::Sealed for SetLibrarians {} - impl State for SetLibrarians { - type Librarians = Set; + ///State transition - sets the `duedate` field to Set + pub struct SetDuedate(PhantomData S>); + impl sealed::Sealed for SetDuedate {} + impl State for SetDuedate { + type Duedate = Set; type Title = S::Title; - type Books = S::Books; - type Duedate = S::Duedate; type CreatedAt = S::CreatedAt; + type Books = S::Books; + type Librarians = S::Librarians; } ///State transition - sets the `title` field to Set pub struct SetTitle(PhantomData S>); impl sealed::Sealed for SetTitle {} impl State for SetTitle { - type Librarians = S::Librarians; + type Duedate = S::Duedate; type Title = Set; + type CreatedAt = S::CreatedAt; type Books = S::Books; + type Librarians = S::Librarians; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { type Duedate = S::Duedate; - type CreatedAt = S::CreatedAt; + type Title = S::Title; + type CreatedAt = Set; + type Books = S::Books; + type Librarians = S::Librarians; } ///State transition - sets the `books` field to Set pub struct SetBooks(PhantomData S>); impl sealed::Sealed for SetBooks {} impl State for SetBooks { - type Librarians = S::Librarians; - type Title = S::Title; - type Books = Set; type Duedate = S::Duedate; - type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `duedate` field to Set - pub struct SetDuedate(PhantomData S>); - impl sealed::Sealed for SetDuedate {} - impl State for SetDuedate { - type Librarians = S::Librarians; type Title = S::Title; - type Books = S::Books; - type Duedate = Set; type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { + type Books = Set; type Librarians = S::Librarians; + } + ///State transition - sets the `librarians` field to Set + pub struct SetLibrarians(PhantomData S>); + impl sealed::Sealed for SetLibrarians {} + impl State for SetLibrarians { + type Duedate = S::Duedate; type Title = S::Title; + type CreatedAt = S::CreatedAt; type Books = S::Books; - type Duedate = S::Duedate; - type CreatedAt = Set; + type Librarians = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `librarians` field - pub struct librarians(()); - ///Marker type for the `title` field - pub struct title(()); - ///Marker type for the `books` field - pub struct books(()); ///Marker type for the `duedate` field pub struct duedate(()); + ///Marker type for the `title` field + pub struct title(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `books` field + pub struct books(()); + ///Marker type for the `librarians` field + pub struct librarians(()); } } @@ -278,11 +278,11 @@ where impl<'a, S> ListBuilder<'a, S> where S: list_state::State, - S::Librarians: list_state::IsSet, - S::Title: list_state::IsSet, - S::Books: list_state::IsSet, S::Duedate: list_state::IsSet, + S::Title: list_state::IsSet, S::CreatedAt: list_state::IsSet, + S::Books: list_state::IsSet, + S::Librarians: list_state::IsSet, { /// Build the final struct pub fn build(self) -> List<'a> { @@ -300,7 +300,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> List<'a> { @@ -404,7 +404,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for List<'a> { } if let Some(ref value) = self.description { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -436,7 +436,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for List<'a> { { let value = &self.title; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -465,7 +465,7 @@ fn lexicon_doc_bond_biblio_list() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -477,11 +477,11 @@ fn lexicon_doc_bond_biblio_list() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("librarians"), - ::jacquard_common::smol_str::SmolStr::new_static("books"), - ::jacquard_common::smol_str::SmolStr::new_static("duedate"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("librarians"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("books"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("duedate"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -489,7 +489,9 @@ fn lexicon_doc_bond_biblio_list() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("books"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "books", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -507,7 +509,7 @@ fn lexicon_doc_bond_biblio_list() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -530,7 +532,7 @@ fn lexicon_doc_bond_biblio_list() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -551,7 +553,9 @@ fn lexicon_doc_bond_biblio_list() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("duedate"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "duedate", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -572,7 +576,7 @@ fn lexicon_doc_bond_biblio_list() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "librarians", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -600,7 +604,9 @@ fn lexicon_doc_bond_biblio_list() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/bond_biblio/stamp.rs b/crates/jacquard-api/src/bond_biblio/stamp.rs index 174f40d68..388dbd4fa 100644 --- a/crates/jacquard-api/src/bond_biblio/stamp.rs +++ b/crates/jacquard-api/src/bond_biblio/stamp.rs @@ -39,50 +39,50 @@ pub mod stamp_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type List; - type Book; type CreatedAt; + type Book; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type List = Unset; - type Book = Unset; type CreatedAt = Unset; + type Book = Unset; } ///State transition - sets the `list` field to Set pub struct SetList(PhantomData S>); impl sealed::Sealed for SetList {} impl State for SetList { type List = Set; - type Book = S::Book; - type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `book` field to Set - pub struct SetBook(PhantomData S>); - impl sealed::Sealed for SetBook {} - impl State for SetBook { - type List = S::List; - type Book = Set; type CreatedAt = S::CreatedAt; + type Book = S::Book; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { type List = S::List; - type Book = S::Book; type CreatedAt = Set; + type Book = S::Book; + } + ///State transition - sets the `book` field to Set + pub struct SetBook(PhantomData S>); + impl sealed::Sealed for SetBook {} + impl State for SetBook { + type List = S::List; + type CreatedAt = S::CreatedAt; + type Book = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `list` field pub struct list(()); - ///Marker type for the `book` field - pub struct book(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `book` field + pub struct book(()); } } @@ -176,8 +176,8 @@ impl<'a, S> StampBuilder<'a, S> where S: stamp_state::State, S::List: stamp_state::IsSet, - S::Book: stamp_state::IsSet, S::CreatedAt: stamp_state::IsSet, + S::Book: stamp_state::IsSet, { /// Build the final struct pub fn build(self) -> Stamp<'a> { @@ -192,7 +192,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Stamp<'a> { @@ -292,7 +292,7 @@ fn lexicon_doc_bond_biblio_stamp() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -304,9 +304,9 @@ fn lexicon_doc_bond_biblio_stamp() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("list"), - ::jacquard_common::smol_str::SmolStr::new_static("book"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("list"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("book"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -314,7 +314,9 @@ fn lexicon_doc_bond_biblio_stamp() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("book"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "book", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -335,7 +337,7 @@ fn lexicon_doc_bond_biblio_stamp() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -358,7 +360,9 @@ fn lexicon_doc_bond_biblio_stamp() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("list"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "list", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/builder_types.rs b/crates/jacquard-api/src/builder_types.rs index 5deeb864e..2ced845e1 100644 --- a/crates/jacquard-api/src/builder_types.rs +++ b/crates/jacquard-api/src/builder_types.rs @@ -16,7 +16,7 @@ impl Set { /// Marker type indicating a builder field has not been set pub struct Unset; /// Trait indicating a builder field is set (has a value) -#[rustversion::attr( +#[jacquard_common::deps::codegen::rustversion::attr( since(1.78.0), diagnostic::on_unimplemented( message = "the field `{Self}` was not set, but this method requires it to be set", @@ -25,7 +25,7 @@ pub struct Unset; )] pub trait IsSet: private::Sealed {} /// Trait indicating a builder field is unset (no value yet) -#[rustversion::attr( +#[jacquard_common::deps::codegen::rustversion::attr( since(1.78.0), diagnostic::on_unimplemented( message = "the field `{Self}` was already set, but this method requires it to be unset", diff --git a/crates/jacquard-api/src/buzz_bookhive.rs b/crates/jacquard-api/src/buzz_bookhive.rs index 88e729548..48d87d766 100644 --- a/crates/jacquard-api/src/buzz_bookhive.rs +++ b/crates/jacquard-api/src/buzz_bookhive.rs @@ -71,105 +71,105 @@ pub mod activity_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type UserDid; - type CreatedAt; type Type; + type CreatedAt; + type HiveId; type Title; type UserHandle; - type HiveId; + type UserDid; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type UserDid = Unset; - type CreatedAt = Unset; type Type = Unset; + type CreatedAt = Unset; + type HiveId = Unset; type Title = Unset; type UserHandle = Unset; - type HiveId = Unset; + type UserDid = Unset; } - ///State transition - sets the `user_did` field to Set - pub struct SetUserDid(PhantomData S>); - impl sealed::Sealed for SetUserDid {} - impl State for SetUserDid { - type UserDid = Set; + ///State transition - sets the `type` field to Set + pub struct SetType(PhantomData S>); + impl sealed::Sealed for SetType {} + impl State for SetType { + type Type = Set; type CreatedAt = S::CreatedAt; - type Type = S::Type; + type HiveId = S::HiveId; type Title = S::Title; type UserHandle = S::UserHandle; - type HiveId = S::HiveId; + type UserDid = S::UserDid; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type UserDid = S::UserDid; - type CreatedAt = Set; type Type = S::Type; + type CreatedAt = Set; + type HiveId = S::HiveId; type Title = S::Title; type UserHandle = S::UserHandle; - type HiveId = S::HiveId; - } - ///State transition - sets the `type` field to Set - pub struct SetType(PhantomData S>); - impl sealed::Sealed for SetType {} - impl State for SetType { type UserDid = S::UserDid; + } + ///State transition - sets the `hive_id` field to Set + pub struct SetHiveId(PhantomData S>); + impl sealed::Sealed for SetHiveId {} + impl State for SetHiveId { + type Type = S::Type; type CreatedAt = S::CreatedAt; - type Type = Set; + type HiveId = Set; type Title = S::Title; type UserHandle = S::UserHandle; - type HiveId = S::HiveId; + type UserDid = S::UserDid; } ///State transition - sets the `title` field to Set pub struct SetTitle(PhantomData S>); impl sealed::Sealed for SetTitle {} impl State for SetTitle { - type UserDid = S::UserDid; - type CreatedAt = S::CreatedAt; type Type = S::Type; + type CreatedAt = S::CreatedAt; + type HiveId = S::HiveId; type Title = Set; type UserHandle = S::UserHandle; - type HiveId = S::HiveId; + type UserDid = S::UserDid; } ///State transition - sets the `user_handle` field to Set pub struct SetUserHandle(PhantomData S>); impl sealed::Sealed for SetUserHandle {} impl State for SetUserHandle { - type UserDid = S::UserDid; - type CreatedAt = S::CreatedAt; type Type = S::Type; + type CreatedAt = S::CreatedAt; + type HiveId = S::HiveId; type Title = S::Title; type UserHandle = Set; - type HiveId = S::HiveId; - } - ///State transition - sets the `hive_id` field to Set - pub struct SetHiveId(PhantomData S>); - impl sealed::Sealed for SetHiveId {} - impl State for SetHiveId { type UserDid = S::UserDid; - type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `user_did` field to Set + pub struct SetUserDid(PhantomData S>); + impl sealed::Sealed for SetUserDid {} + impl State for SetUserDid { type Type = S::Type; + type CreatedAt = S::CreatedAt; + type HiveId = S::HiveId; type Title = S::Title; type UserHandle = S::UserHandle; - type HiveId = Set; + type UserDid = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `user_did` field - pub struct user_did(()); - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `type` field pub struct r#type(()); + ///Marker type for the `created_at` field + pub struct created_at(()); + ///Marker type for the `hive_id` field + pub struct hive_id(()); ///Marker type for the `title` field pub struct title(()); ///Marker type for the `user_handle` field pub struct user_handle(()); - ///Marker type for the `hive_id` field - pub struct hive_id(()); + ///Marker type for the `user_did` field + pub struct user_did(()); } } @@ -322,12 +322,12 @@ where impl<'a, S> ActivityBuilder<'a, S> where S: activity_state::State, - S::UserDid: activity_state::IsSet, - S::CreatedAt: activity_state::IsSet, S::Type: activity_state::IsSet, + S::CreatedAt: activity_state::IsSet, + S::HiveId: activity_state::IsSet, S::Title: activity_state::IsSet, S::UserHandle: activity_state::IsSet, - S::HiveId: activity_state::IsSet, + S::UserDid: activity_state::IsSet, { /// Build the final struct pub fn build(self) -> Activity<'a> { @@ -345,7 +345,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Activity<'a> { @@ -468,23 +468,23 @@ fn lexicon_doc_buzz_bookhive_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("abandoned"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("abandoned"), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("activity"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("activity"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("type"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt"), - ::jacquard_common::smol_str::SmolStr::new_static("hiveId"), - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("userDid"), - ::jacquard_common::smol_str::SmolStr::new_static("userHandle") + ::jacquard_common::deps::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("hiveId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("userDid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("userHandle") ], ), nullable: None, @@ -492,7 +492,7 @@ fn lexicon_doc_buzz_bookhive_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -511,7 +511,9 @@ fn lexicon_doc_buzz_bookhive_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hiveId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "hiveId", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -530,7 +532,9 @@ fn lexicon_doc_buzz_bookhive_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -549,7 +553,9 @@ fn lexicon_doc_buzz_bookhive_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "type", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -564,7 +570,9 @@ fn lexicon_doc_buzz_bookhive_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("userDid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "userDid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -583,7 +591,7 @@ fn lexicon_doc_buzz_bookhive_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "userHandle", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -608,7 +616,9 @@ fn lexicon_doc_buzz_bookhive_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("bookIdentifiers"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "bookIdentifiers", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -621,7 +631,7 @@ fn lexicon_doc_buzz_bookhive_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "goodreadsId", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -640,7 +650,9 @@ fn lexicon_doc_buzz_bookhive_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hiveId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "hiveId", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -659,7 +671,9 @@ fn lexicon_doc_buzz_bookhive_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("isbn10"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "isbn10", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("10-digit ISBN"), @@ -676,7 +690,9 @@ fn lexicon_doc_buzz_bookhive_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("isbn13"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "isbn13", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("13-digit ISBN"), @@ -697,7 +713,7 @@ fn lexicon_doc_buzz_bookhive_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("bookProgress"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("bookProgress"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -706,7 +722,7 @@ fn lexicon_doc_buzz_bookhive_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("updatedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("updatedAt") ], ), nullable: None, @@ -714,7 +730,7 @@ fn lexicon_doc_buzz_bookhive_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "currentChapter", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -727,7 +743,7 @@ fn lexicon_doc_buzz_bookhive_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "currentPage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -740,7 +756,9 @@ fn lexicon_doc_buzz_bookhive_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("percent"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "percent", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -751,7 +769,7 @@ fn lexicon_doc_buzz_bookhive_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "totalChapters", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -764,7 +782,7 @@ fn lexicon_doc_buzz_bookhive_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "totalPages", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -777,7 +795,7 @@ fn lexicon_doc_buzz_bookhive_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -804,17 +822,17 @@ fn lexicon_doc_buzz_bookhive_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("comment"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("comment"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt"), - ::jacquard_common::smol_str::SmolStr::new_static("book"), - ::jacquard_common::smol_str::SmolStr::new_static("parent"), - ::jacquard_common::smol_str::SmolStr::new_static("did"), - ::jacquard_common::smol_str::SmolStr::new_static("handle") + ::jacquard_common::deps::smol_str::SmolStr::new_static("comment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("book"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("parent"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("handle") ], ), nullable: None, @@ -822,7 +840,9 @@ fn lexicon_doc_buzz_bookhive_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("book"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "book", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -831,7 +851,9 @@ fn lexicon_doc_buzz_bookhive_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "comment", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -850,7 +872,7 @@ fn lexicon_doc_buzz_bookhive_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -873,7 +895,9 @@ fn lexicon_doc_buzz_bookhive_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -892,7 +916,9 @@ fn lexicon_doc_buzz_bookhive_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("handle"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "handle", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -911,7 +937,9 @@ fn lexicon_doc_buzz_bookhive_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("parent"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "parent", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -924,27 +952,27 @@ fn lexicon_doc_buzz_bookhive_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("finished"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("finished"), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("owned"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("owned"), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("profile"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("profile"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("displayName"), - ::jacquard_common::smol_str::SmolStr::new_static("handle"), - ::jacquard_common::smol_str::SmolStr::new_static("booksRead"), - ::jacquard_common::smol_str::SmolStr::new_static("reviews") + ::jacquard_common::deps::smol_str::SmolStr::new_static("displayName"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("handle"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("booksRead"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("reviews") ], ), nullable: None, @@ -952,7 +980,9 @@ fn lexicon_doc_buzz_bookhive_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("avatar"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "avatar", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -967,7 +997,7 @@ fn lexicon_doc_buzz_bookhive_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "booksRead", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -980,7 +1010,7 @@ fn lexicon_doc_buzz_bookhive_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -997,7 +1027,7 @@ fn lexicon_doc_buzz_bookhive_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "displayName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1014,7 +1044,9 @@ fn lexicon_doc_buzz_bookhive_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("handle"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "handle", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -1029,7 +1061,7 @@ fn lexicon_doc_buzz_bookhive_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isFollowing", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -1039,7 +1071,9 @@ fn lexicon_doc_buzz_bookhive_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reviews", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -1054,21 +1088,21 @@ fn lexicon_doc_buzz_bookhive_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reading"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("reading"), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("review"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("review"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt"), - ::jacquard_common::smol_str::SmolStr::new_static("did"), - ::jacquard_common::smol_str::SmolStr::new_static("handle") + ::jacquard_common::deps::smol_str::SmolStr::new_static("review"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("handle") ], ), nullable: None, @@ -1076,7 +1110,7 @@ fn lexicon_doc_buzz_bookhive_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1099,7 +1133,9 @@ fn lexicon_doc_buzz_bookhive_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1118,7 +1154,9 @@ fn lexicon_doc_buzz_bookhive_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("handle"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "handle", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1137,7 +1175,9 @@ fn lexicon_doc_buzz_bookhive_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "review", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("The review content"), @@ -1154,7 +1194,9 @@ fn lexicon_doc_buzz_bookhive_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("stars"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "stars", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -1169,17 +1211,17 @@ fn lexicon_doc_buzz_bookhive_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("userBook"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("userBook"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("userDid"), - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("authors"), - ::jacquard_common::smol_str::SmolStr::new_static("hiveId"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt"), - ::jacquard_common::smol_str::SmolStr::new_static("thumbnail") + ::jacquard_common::deps::smol_str::SmolStr::new_static("userDid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("authors"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("hiveId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("thumbnail") ], ), nullable: None, @@ -1187,7 +1229,9 @@ fn lexicon_doc_buzz_bookhive_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("authors"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "authors", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1206,7 +1250,7 @@ fn lexicon_doc_buzz_bookhive_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "bookProgress", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -1217,7 +1261,9 @@ fn lexicon_doc_buzz_bookhive_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cover"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cover", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1236,7 +1282,7 @@ fn lexicon_doc_buzz_bookhive_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1255,7 +1301,7 @@ fn lexicon_doc_buzz_bookhive_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1276,7 +1322,7 @@ fn lexicon_doc_buzz_bookhive_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "finishedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1299,7 +1345,9 @@ fn lexicon_doc_buzz_bookhive_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hiveId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "hiveId", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1318,7 +1366,9 @@ fn lexicon_doc_buzz_bookhive_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rating"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "rating", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -1329,7 +1379,9 @@ fn lexicon_doc_buzz_bookhive_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "review", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("The book's review"), @@ -1346,7 +1398,9 @@ fn lexicon_doc_buzz_bookhive_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("stars"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "stars", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -1357,7 +1411,7 @@ fn lexicon_doc_buzz_bookhive_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "startedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1380,7 +1434,9 @@ fn lexicon_doc_buzz_bookhive_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("status"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "status", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -1395,7 +1451,7 @@ fn lexicon_doc_buzz_bookhive_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "thumbnail", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1416,7 +1472,9 @@ fn lexicon_doc_buzz_bookhive_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1435,7 +1493,9 @@ fn lexicon_doc_buzz_bookhive_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("userDid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "userDid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1454,7 +1514,7 @@ fn lexicon_doc_buzz_bookhive_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "userHandle", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1479,7 +1539,7 @@ fn lexicon_doc_buzz_bookhive_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("wantToRead"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("wantToRead"), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), @@ -1756,7 +1816,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> BookProgress<'a> { @@ -1895,104 +1955,104 @@ pub mod comment_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Handle; + type Did; + type Book; type Comment; - type Parent; type CreatedAt; - type Book; - type Did; + type Parent; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Handle = Unset; + type Did = Unset; + type Book = Unset; type Comment = Unset; - type Parent = Unset; type CreatedAt = Unset; - type Book = Unset; - type Did = Unset; + type Parent = Unset; } ///State transition - sets the `handle` field to Set pub struct SetHandle(PhantomData S>); impl sealed::Sealed for SetHandle {} impl State for SetHandle { type Handle = Set; + type Did = S::Did; + type Book = S::Book; type Comment = S::Comment; - type Parent = S::Parent; type CreatedAt = S::CreatedAt; + type Parent = S::Parent; + } + ///State transition - sets the `did` field to Set + pub struct SetDid(PhantomData S>); + impl sealed::Sealed for SetDid {} + impl State for SetDid { + type Handle = S::Handle; + type Did = Set; type Book = S::Book; + type Comment = S::Comment; + type CreatedAt = S::CreatedAt; + type Parent = S::Parent; + } + ///State transition - sets the `book` field to Set + pub struct SetBook(PhantomData S>); + impl sealed::Sealed for SetBook {} + impl State for SetBook { + type Handle = S::Handle; type Did = S::Did; + type Book = Set; + type Comment = S::Comment; + type CreatedAt = S::CreatedAt; + type Parent = S::Parent; } ///State transition - sets the `comment` field to Set pub struct SetComment(PhantomData S>); impl sealed::Sealed for SetComment {} impl State for SetComment { type Handle = S::Handle; - type Comment = Set; - type Parent = S::Parent; - type CreatedAt = S::CreatedAt; - type Book = S::Book; type Did = S::Did; - } - ///State transition - sets the `parent` field to Set - pub struct SetParent(PhantomData S>); - impl sealed::Sealed for SetParent {} - impl State for SetParent { - type Handle = S::Handle; - type Comment = S::Comment; - type Parent = Set; - type CreatedAt = S::CreatedAt; type Book = S::Book; - type Did = S::Did; + type Comment = Set; + type CreatedAt = S::CreatedAt; + type Parent = S::Parent; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { type Handle = S::Handle; - type Comment = S::Comment; - type Parent = S::Parent; - type CreatedAt = Set; - type Book = S::Book; type Did = S::Did; - } - ///State transition - sets the `book` field to Set - pub struct SetBook(PhantomData S>); - impl sealed::Sealed for SetBook {} - impl State for SetBook { - type Handle = S::Handle; + type Book = S::Book; type Comment = S::Comment; + type CreatedAt = Set; type Parent = S::Parent; - type CreatedAt = S::CreatedAt; - type Book = Set; - type Did = S::Did; } - ///State transition - sets the `did` field to Set - pub struct SetDid(PhantomData S>); - impl sealed::Sealed for SetDid {} - impl State for SetDid { + ///State transition - sets the `parent` field to Set + pub struct SetParent(PhantomData S>); + impl sealed::Sealed for SetParent {} + impl State for SetParent { type Handle = S::Handle; + type Did = S::Did; + type Book = S::Book; type Comment = S::Comment; - type Parent = S::Parent; type CreatedAt = S::CreatedAt; - type Book = S::Book; - type Did = Set; + type Parent = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `handle` field pub struct handle(()); + ///Marker type for the `did` field + pub struct did(()); + ///Marker type for the `book` field + pub struct book(()); ///Marker type for the `comment` field pub struct comment(()); - ///Marker type for the `parent` field - pub struct parent(()); ///Marker type for the `created_at` field pub struct created_at(()); - ///Marker type for the `book` field - pub struct book(()); - ///Marker type for the `did` field - pub struct did(()); + ///Marker type for the `parent` field + pub struct parent(()); } } @@ -2146,11 +2206,11 @@ impl<'a, S> CommentBuilder<'a, S> where S: comment_state::State, S::Handle: comment_state::IsSet, + S::Did: comment_state::IsSet, + S::Book: comment_state::IsSet, S::Comment: comment_state::IsSet, - S::Parent: comment_state::IsSet, S::CreatedAt: comment_state::IsSet, - S::Book: comment_state::IsSet, - S::Did: comment_state::IsSet, + S::Parent: comment_state::IsSet, { /// Build the final struct pub fn build(self) -> Comment<'a> { @@ -2168,7 +2228,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Comment<'a> { @@ -2213,7 +2273,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Comment<'a> { { let value = &self.comment; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -2308,67 +2368,67 @@ pub mod profile_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Reviews; - type BooksRead; type DisplayName; type Handle; + type Reviews; + type BooksRead; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Reviews = Unset; - type BooksRead = Unset; type DisplayName = Unset; type Handle = Unset; - } - ///State transition - sets the `reviews` field to Set - pub struct SetReviews(PhantomData S>); - impl sealed::Sealed for SetReviews {} - impl State for SetReviews { - type Reviews = Set; - type BooksRead = S::BooksRead; - type DisplayName = S::DisplayName; - type Handle = S::Handle; - } - ///State transition - sets the `books_read` field to Set - pub struct SetBooksRead(PhantomData S>); - impl sealed::Sealed for SetBooksRead {} - impl State for SetBooksRead { - type Reviews = S::Reviews; - type BooksRead = Set; - type DisplayName = S::DisplayName; - type Handle = S::Handle; + type Reviews = Unset; + type BooksRead = Unset; } ///State transition - sets the `display_name` field to Set pub struct SetDisplayName(PhantomData S>); impl sealed::Sealed for SetDisplayName {} impl State for SetDisplayName { - type Reviews = S::Reviews; - type BooksRead = S::BooksRead; type DisplayName = Set; type Handle = S::Handle; + type Reviews = S::Reviews; + type BooksRead = S::BooksRead; } ///State transition - sets the `handle` field to Set pub struct SetHandle(PhantomData S>); impl sealed::Sealed for SetHandle {} impl State for SetHandle { + type DisplayName = S::DisplayName; + type Handle = Set; type Reviews = S::Reviews; type BooksRead = S::BooksRead; + } + ///State transition - sets the `reviews` field to Set + pub struct SetReviews(PhantomData S>); + impl sealed::Sealed for SetReviews {} + impl State for SetReviews { type DisplayName = S::DisplayName; - type Handle = Set; + type Handle = S::Handle; + type Reviews = Set; + type BooksRead = S::BooksRead; + } + ///State transition - sets the `books_read` field to Set + pub struct SetBooksRead(PhantomData S>); + impl sealed::Sealed for SetBooksRead {} + impl State for SetBooksRead { + type DisplayName = S::DisplayName; + type Handle = S::Handle; + type Reviews = S::Reviews; + type BooksRead = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `reviews` field - pub struct reviews(()); - ///Marker type for the `books_read` field - pub struct books_read(()); ///Marker type for the `display_name` field pub struct display_name(()); ///Marker type for the `handle` field pub struct handle(()); + ///Marker type for the `reviews` field + pub struct reviews(()); + ///Marker type for the `books_read` field + pub struct books_read(()); } } @@ -2532,10 +2592,10 @@ where impl<'a, S> ProfileBuilder<'a, S> where S: profile_state::State, - S::Reviews: profile_state::IsSet, - S::BooksRead: profile_state::IsSet, S::DisplayName: profile_state::IsSet, S::Handle: profile_state::IsSet, + S::Reviews: profile_state::IsSet, + S::BooksRead: profile_state::IsSet, { /// Build the final struct pub fn build(self) -> Profile<'a> { @@ -2554,7 +2614,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Profile<'a> { @@ -2668,65 +2728,65 @@ pub mod review_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Handle; type CreatedAt; type Review; - type Handle; type Did; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Handle = Unset; type CreatedAt = Unset; type Review = Unset; - type Handle = Unset; type Did = Unset; } + ///State transition - sets the `handle` field to Set + pub struct SetHandle(PhantomData S>); + impl sealed::Sealed for SetHandle {} + impl State for SetHandle { + type Handle = Set; + type CreatedAt = S::CreatedAt; + type Review = S::Review; + type Did = S::Did; + } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { + type Handle = S::Handle; type CreatedAt = Set; type Review = S::Review; - type Handle = S::Handle; type Did = S::Did; } ///State transition - sets the `review` field to Set pub struct SetReview(PhantomData S>); impl sealed::Sealed for SetReview {} impl State for SetReview { - type CreatedAt = S::CreatedAt; - type Review = Set; type Handle = S::Handle; - type Did = S::Did; - } - ///State transition - sets the `handle` field to Set - pub struct SetHandle(PhantomData S>); - impl sealed::Sealed for SetHandle {} - impl State for SetHandle { type CreatedAt = S::CreatedAt; - type Review = S::Review; - type Handle = Set; + type Review = Set; type Did = S::Did; } ///State transition - sets the `did` field to Set pub struct SetDid(PhantomData S>); impl sealed::Sealed for SetDid {} impl State for SetDid { + type Handle = S::Handle; type CreatedAt = S::CreatedAt; type Review = S::Review; - type Handle = S::Handle; type Did = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `handle` field + pub struct handle(()); ///Marker type for the `created_at` field pub struct created_at(()); ///Marker type for the `review` field pub struct review(()); - ///Marker type for the `handle` field - pub struct handle(()); ///Marker type for the `did` field pub struct did(()); } @@ -2855,9 +2915,9 @@ impl<'a, S: review_state::State> ReviewBuilder<'a, S> { impl<'a, S> ReviewBuilder<'a, S> where S: review_state::State, + S::Handle: review_state::IsSet, S::CreatedAt: review_state::IsSet, S::Review: review_state::IsSet, - S::Handle: review_state::IsSet, S::Did: review_state::IsSet, { /// Build the final struct @@ -2875,7 +2935,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Review<'a> { @@ -2982,105 +3042,105 @@ pub mod user_book_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Authors; - type CreatedAt; + type HiveId; + type Thumbnail; type Title; type UserDid; - type Thumbnail; - type HiveId; + type Authors; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Authors = Unset; - type CreatedAt = Unset; + type HiveId = Unset; + type Thumbnail = Unset; type Title = Unset; type UserDid = Unset; - type Thumbnail = Unset; - type HiveId = Unset; + type Authors = Unset; + type CreatedAt = Unset; } - ///State transition - sets the `authors` field to Set - pub struct SetAuthors(PhantomData S>); - impl sealed::Sealed for SetAuthors {} - impl State for SetAuthors { - type Authors = Set; - type CreatedAt = S::CreatedAt; + ///State transition - sets the `hive_id` field to Set + pub struct SetHiveId(PhantomData S>); + impl sealed::Sealed for SetHiveId {} + impl State for SetHiveId { + type HiveId = Set; + type Thumbnail = S::Thumbnail; type Title = S::Title; type UserDid = S::UserDid; - type Thumbnail = S::Thumbnail; - type HiveId = S::HiveId; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { type Authors = S::Authors; - type CreatedAt = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `thumbnail` field to Set + pub struct SetThumbnail(PhantomData S>); + impl sealed::Sealed for SetThumbnail {} + impl State for SetThumbnail { + type HiveId = S::HiveId; + type Thumbnail = Set; type Title = S::Title; type UserDid = S::UserDid; - type Thumbnail = S::Thumbnail; - type HiveId = S::HiveId; + type Authors = S::Authors; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `title` field to Set pub struct SetTitle(PhantomData S>); impl sealed::Sealed for SetTitle {} impl State for SetTitle { - type Authors = S::Authors; - type CreatedAt = S::CreatedAt; + type HiveId = S::HiveId; + type Thumbnail = S::Thumbnail; type Title = Set; type UserDid = S::UserDid; - type Thumbnail = S::Thumbnail; - type HiveId = S::HiveId; + type Authors = S::Authors; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `user_did` field to Set pub struct SetUserDid(PhantomData S>); impl sealed::Sealed for SetUserDid {} impl State for SetUserDid { - type Authors = S::Authors; - type CreatedAt = S::CreatedAt; + type HiveId = S::HiveId; + type Thumbnail = S::Thumbnail; type Title = S::Title; type UserDid = Set; - type Thumbnail = S::Thumbnail; - type HiveId = S::HiveId; - } - ///State transition - sets the `thumbnail` field to Set - pub struct SetThumbnail(PhantomData S>); - impl sealed::Sealed for SetThumbnail {} - impl State for SetThumbnail { type Authors = S::Authors; type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `authors` field to Set + pub struct SetAuthors(PhantomData S>); + impl sealed::Sealed for SetAuthors {} + impl State for SetAuthors { + type HiveId = S::HiveId; + type Thumbnail = S::Thumbnail; type Title = S::Title; type UserDid = S::UserDid; - type Thumbnail = Set; - type HiveId = S::HiveId; - } - ///State transition - sets the `hive_id` field to Set - pub struct SetHiveId(PhantomData S>); - impl sealed::Sealed for SetHiveId {} - impl State for SetHiveId { - type Authors = S::Authors; + type Authors = Set; type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type HiveId = S::HiveId; + type Thumbnail = S::Thumbnail; type Title = S::Title; type UserDid = S::UserDid; - type Thumbnail = S::Thumbnail; - type HiveId = Set; + type Authors = S::Authors; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `authors` field - pub struct authors(()); - ///Marker type for the `created_at` field - pub struct created_at(()); + ///Marker type for the `hive_id` field + pub struct hive_id(()); + ///Marker type for the `thumbnail` field + pub struct thumbnail(()); ///Marker type for the `title` field pub struct title(()); ///Marker type for the `user_did` field pub struct user_did(()); - ///Marker type for the `thumbnail` field - pub struct thumbnail(()); - ///Marker type for the `hive_id` field - pub struct hive_id(()); + ///Marker type for the `authors` field + pub struct authors(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -3426,12 +3486,12 @@ impl<'a, S: user_book_state::State> UserBookBuilder<'a, S> { impl<'a, S> UserBookBuilder<'a, S> where S: user_book_state::State, - S::Authors: user_book_state::IsSet, - S::CreatedAt: user_book_state::IsSet, + S::HiveId: user_book_state::IsSet, + S::Thumbnail: user_book_state::IsSet, S::Title: user_book_state::IsSet, S::UserDid: user_book_state::IsSet, - S::Thumbnail: user_book_state::IsSet, - S::HiveId: user_book_state::IsSet, + S::Authors: user_book_state::IsSet, + S::CreatedAt: user_book_state::IsSet, { /// Build the final struct pub fn build(self) -> UserBook<'a> { @@ -3459,7 +3519,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> UserBook<'a> { @@ -3663,7 +3723,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for UserBook<'a> { } if let Some(ref value) = self.review { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) diff --git a/crates/jacquard-api/src/buzz_bookhive/book.rs b/crates/jacquard-api/src/buzz_bookhive/book.rs index de219a073..216bf6431 100644 --- a/crates/jacquard-api/src/buzz_bookhive/book.rs +++ b/crates/jacquard-api/src/buzz_bookhive/book.rs @@ -65,66 +65,66 @@ pub mod book_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Title; - type Authors; - type CreatedAt; type HiveId; + type CreatedAt; + type Authors; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Title = Unset; - type Authors = Unset; - type CreatedAt = Unset; type HiveId = Unset; + type CreatedAt = Unset; + type Authors = Unset; } ///State transition - sets the `title` field to Set pub struct SetTitle(PhantomData S>); impl sealed::Sealed for SetTitle {} impl State for SetTitle { type Title = Set; - type Authors = S::Authors; - type CreatedAt = S::CreatedAt; type HiveId = S::HiveId; + type CreatedAt = S::CreatedAt; + type Authors = S::Authors; } - ///State transition - sets the `authors` field to Set - pub struct SetAuthors(PhantomData S>); - impl sealed::Sealed for SetAuthors {} - impl State for SetAuthors { + ///State transition - sets the `hive_id` field to Set + pub struct SetHiveId(PhantomData S>); + impl sealed::Sealed for SetHiveId {} + impl State for SetHiveId { type Title = S::Title; - type Authors = Set; + type HiveId = Set; type CreatedAt = S::CreatedAt; - type HiveId = S::HiveId; + type Authors = S::Authors; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { type Title = S::Title; - type Authors = S::Authors; - type CreatedAt = Set; type HiveId = S::HiveId; + type CreatedAt = Set; + type Authors = S::Authors; } - ///State transition - sets the `hive_id` field to Set - pub struct SetHiveId(PhantomData S>); - impl sealed::Sealed for SetHiveId {} - impl State for SetHiveId { + ///State transition - sets the `authors` field to Set + pub struct SetAuthors(PhantomData S>); + impl sealed::Sealed for SetAuthors {} + impl State for SetAuthors { type Title = S::Title; - type Authors = S::Authors; + type HiveId = S::HiveId; type CreatedAt = S::CreatedAt; - type HiveId = Set; + type Authors = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `title` field pub struct title(()); - ///Marker type for the `authors` field - pub struct authors(()); - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `hive_id` field pub struct hive_id(()); + ///Marker type for the `created_at` field + pub struct created_at(()); + ///Marker type for the `authors` field + pub struct authors(()); } } @@ -375,9 +375,9 @@ impl<'a, S> BookBuilder<'a, S> where S: book_state::State, S::Title: book_state::IsSet, - S::Authors: book_state::IsSet, - S::CreatedAt: book_state::IsSet, S::HiveId: book_state::IsSet, + S::CreatedAt: book_state::IsSet, + S::Authors: book_state::IsSet, { /// Build the final struct pub fn build(self) -> Book<'a> { @@ -400,7 +400,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Book<'a> { @@ -626,7 +626,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Book<'a> { } if let Some(ref value) = self.review { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -703,7 +703,7 @@ fn lexicon_doc_buzz_bookhive_book() -> ::jacquard_lexicon::lexicon::LexiconDoc<' defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -715,10 +715,10 @@ fn lexicon_doc_buzz_bookhive_book() -> ::jacquard_lexicon::lexicon::LexiconDoc<' description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("authors"), - ::jacquard_common::smol_str::SmolStr::new_static("hiveId"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("authors"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("hiveId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -726,7 +726,9 @@ fn lexicon_doc_buzz_bookhive_book() -> ::jacquard_lexicon::lexicon::LexiconDoc<' #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("authors"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "authors", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -745,7 +747,7 @@ fn lexicon_doc_buzz_bookhive_book() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "bookProgress", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -756,7 +758,9 @@ fn lexicon_doc_buzz_bookhive_book() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cover"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cover", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -764,7 +768,7 @@ fn lexicon_doc_buzz_bookhive_book() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -783,7 +787,7 @@ fn lexicon_doc_buzz_bookhive_book() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "finishedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -806,7 +810,9 @@ fn lexicon_doc_buzz_bookhive_book() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hiveId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "hiveId", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -825,7 +831,9 @@ fn lexicon_doc_buzz_bookhive_book() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "review", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("The book's review"), @@ -842,7 +850,9 @@ fn lexicon_doc_buzz_bookhive_book() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("stars"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "stars", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -853,7 +863,7 @@ fn lexicon_doc_buzz_bookhive_book() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "startedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -876,7 +886,9 @@ fn lexicon_doc_buzz_bookhive_book() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("status"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "status", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -891,7 +903,9 @@ fn lexicon_doc_buzz_bookhive_book() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/buzz_bookhive/buzz.rs b/crates/jacquard-api/src/buzz_bookhive/buzz.rs index 96d268efa..b3d87b3dd 100644 --- a/crates/jacquard-api/src/buzz_bookhive/buzz.rs +++ b/crates/jacquard-api/src/buzz_bookhive/buzz.rs @@ -39,67 +39,67 @@ pub mod buzz_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Parent; type CreatedAt; - type Book; + type Parent; type Comment; + type Book; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Parent = Unset; type CreatedAt = Unset; - type Book = Unset; + type Parent = Unset; type Comment = Unset; - } - ///State transition - sets the `parent` field to Set - pub struct SetParent(PhantomData S>); - impl sealed::Sealed for SetParent {} - impl State for SetParent { - type Parent = Set; - type CreatedAt = S::CreatedAt; - type Book = S::Book; - type Comment = S::Comment; + type Book = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Parent = S::Parent; type CreatedAt = Set; - type Book = S::Book; + type Parent = S::Parent; type Comment = S::Comment; + type Book = S::Book; } - ///State transition - sets the `book` field to Set - pub struct SetBook(PhantomData S>); - impl sealed::Sealed for SetBook {} - impl State for SetBook { - type Parent = S::Parent; + ///State transition - sets the `parent` field to Set + pub struct SetParent(PhantomData S>); + impl sealed::Sealed for SetParent {} + impl State for SetParent { type CreatedAt = S::CreatedAt; - type Book = Set; + type Parent = Set; type Comment = S::Comment; + type Book = S::Book; } ///State transition - sets the `comment` field to Set pub struct SetComment(PhantomData S>); impl sealed::Sealed for SetComment {} impl State for SetComment { - type Parent = S::Parent; type CreatedAt = S::CreatedAt; - type Book = S::Book; + type Parent = S::Parent; type Comment = Set; + type Book = S::Book; + } + ///State transition - sets the `book` field to Set + pub struct SetBook(PhantomData S>); + impl sealed::Sealed for SetBook {} + impl State for SetBook { + type CreatedAt = S::CreatedAt; + type Parent = S::Parent; + type Comment = S::Comment; + type Book = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `parent` field - pub struct parent(()); ///Marker type for the `created_at` field pub struct created_at(()); - ///Marker type for the `book` field - pub struct book(()); + ///Marker type for the `parent` field + pub struct parent(()); ///Marker type for the `comment` field pub struct comment(()); + ///Marker type for the `book` field + pub struct book(()); } } @@ -212,10 +212,10 @@ where impl<'a, S> BuzzBuilder<'a, S> where S: buzz_state::State, - S::Parent: buzz_state::IsSet, S::CreatedAt: buzz_state::IsSet, - S::Book: buzz_state::IsSet, + S::Parent: buzz_state::IsSet, S::Comment: buzz_state::IsSet, + S::Book: buzz_state::IsSet, { /// Build the final struct pub fn build(self) -> Buzz<'a> { @@ -231,7 +231,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Buzz<'a> { @@ -335,7 +335,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Buzz<'a> { { let value = &self.comment; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -364,7 +364,7 @@ fn lexicon_doc_buzz_bookhive_buzz() -> ::jacquard_lexicon::lexicon::LexiconDoc<' defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -376,10 +376,10 @@ fn lexicon_doc_buzz_bookhive_buzz() -> ::jacquard_lexicon::lexicon::LexiconDoc<' description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("comment"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt"), - ::jacquard_common::smol_str::SmolStr::new_static("book"), - ::jacquard_common::smol_str::SmolStr::new_static("parent") + ::jacquard_common::deps::smol_str::SmolStr::new_static("comment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("book"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("parent") ], ), nullable: None, @@ -387,7 +387,9 @@ fn lexicon_doc_buzz_bookhive_buzz() -> ::jacquard_lexicon::lexicon::LexiconDoc<' #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("book"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "book", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -396,7 +398,9 @@ fn lexicon_doc_buzz_bookhive_buzz() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "comment", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -415,7 +419,7 @@ fn lexicon_doc_buzz_bookhive_buzz() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -438,7 +442,9 @@ fn lexicon_doc_buzz_bookhive_buzz() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("parent"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "parent", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/buzz_bookhive/hive_book.rs b/crates/jacquard-api/src/buzz_bookhive/hive_book.rs index d2faea6e5..fe2384f1a 100644 --- a/crates/jacquard-api/src/buzz_bookhive/hive_book.rs +++ b/crates/jacquard-api/src/buzz_bookhive/hive_book.rs @@ -74,103 +74,103 @@ pub mod hive_book_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Id; - type Authors; type Title; type CreatedAt; + type Authors; type UpdatedAt; + type Id; type Thumbnail; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Id = Unset; - type Authors = Unset; type Title = Unset; type CreatedAt = Unset; + type Authors = Unset; type UpdatedAt = Unset; + type Id = Unset; type Thumbnail = Unset; } - ///State transition - sets the `id` field to Set - pub struct SetId(PhantomData S>); - impl sealed::Sealed for SetId {} - impl State for SetId { - type Id = Set; - type Authors = S::Authors; - type Title = S::Title; - type CreatedAt = S::CreatedAt; - type UpdatedAt = S::UpdatedAt; - type Thumbnail = S::Thumbnail; - } - ///State transition - sets the `authors` field to Set - pub struct SetAuthors(PhantomData S>); - impl sealed::Sealed for SetAuthors {} - impl State for SetAuthors { - type Id = S::Id; - type Authors = Set; - type Title = S::Title; - type CreatedAt = S::CreatedAt; - type UpdatedAt = S::UpdatedAt; - type Thumbnail = S::Thumbnail; - } ///State transition - sets the `title` field to Set pub struct SetTitle(PhantomData S>); impl sealed::Sealed for SetTitle {} impl State for SetTitle { - type Id = S::Id; - type Authors = S::Authors; type Title = Set; type CreatedAt = S::CreatedAt; + type Authors = S::Authors; type UpdatedAt = S::UpdatedAt; + type Id = S::Id; type Thumbnail = S::Thumbnail; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Id = S::Id; - type Authors = S::Authors; type Title = S::Title; type CreatedAt = Set; + type Authors = S::Authors; + type UpdatedAt = S::UpdatedAt; + type Id = S::Id; + type Thumbnail = S::Thumbnail; + } + ///State transition - sets the `authors` field to Set + pub struct SetAuthors(PhantomData S>); + impl sealed::Sealed for SetAuthors {} + impl State for SetAuthors { + type Title = S::Title; + type CreatedAt = S::CreatedAt; + type Authors = Set; type UpdatedAt = S::UpdatedAt; + type Id = S::Id; type Thumbnail = S::Thumbnail; } ///State transition - sets the `updated_at` field to Set pub struct SetUpdatedAt(PhantomData S>); impl sealed::Sealed for SetUpdatedAt {} impl State for SetUpdatedAt { - type Id = S::Id; - type Authors = S::Authors; type Title = S::Title; type CreatedAt = S::CreatedAt; + type Authors = S::Authors; type UpdatedAt = Set; + type Id = S::Id; + type Thumbnail = S::Thumbnail; + } + ///State transition - sets the `id` field to Set + pub struct SetId(PhantomData S>); + impl sealed::Sealed for SetId {} + impl State for SetId { + type Title = S::Title; + type CreatedAt = S::CreatedAt; + type Authors = S::Authors; + type UpdatedAt = S::UpdatedAt; + type Id = Set; type Thumbnail = S::Thumbnail; } ///State transition - sets the `thumbnail` field to Set pub struct SetThumbnail(PhantomData S>); impl sealed::Sealed for SetThumbnail {} impl State for SetThumbnail { - type Id = S::Id; - type Authors = S::Authors; type Title = S::Title; type CreatedAt = S::CreatedAt; + type Authors = S::Authors; type UpdatedAt = S::UpdatedAt; + type Id = S::Id; type Thumbnail = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `id` field - pub struct id(()); - ///Marker type for the `authors` field - pub struct authors(()); ///Marker type for the `title` field pub struct title(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `authors` field + pub struct authors(()); ///Marker type for the `updated_at` field pub struct updated_at(()); + ///Marker type for the `id` field + pub struct id(()); ///Marker type for the `thumbnail` field pub struct thumbnail(()); } @@ -482,11 +482,11 @@ where impl<'a, S> HiveBookBuilder<'a, S> where S: hive_book_state::State, - S::Id: hive_book_state::IsSet, - S::Authors: hive_book_state::IsSet, S::Title: hive_book_state::IsSet, S::CreatedAt: hive_book_state::IsSet, + S::Authors: hive_book_state::IsSet, S::UpdatedAt: hive_book_state::IsSet, + S::Id: hive_book_state::IsSet, S::Thumbnail: hive_book_state::IsSet, { /// Build the final struct @@ -513,7 +513,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> HiveBook<'a> { @@ -712,7 +712,7 @@ fn lexicon_doc_buzz_bookhive_hiveBook() -> ::jacquard_lexicon::lexicon::LexiconD defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static("A book within the hive"), @@ -722,12 +722,12 @@ fn lexicon_doc_buzz_bookhive_hiveBook() -> ::jacquard_lexicon::lexicon::LexiconD description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("id"), - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("authors"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt"), - ::jacquard_common::smol_str::SmolStr::new_static("updatedAt"), - ::jacquard_common::smol_str::SmolStr::new_static("thumbnail") + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("authors"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("updatedAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("thumbnail") ], ), nullable: None, @@ -735,7 +735,9 @@ fn lexicon_doc_buzz_bookhive_hiveBook() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("authors"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "authors", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -754,7 +756,9 @@ fn lexicon_doc_buzz_bookhive_hiveBook() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cover"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cover", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -773,7 +777,7 @@ fn lexicon_doc_buzz_bookhive_hiveBook() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -792,7 +796,7 @@ fn lexicon_doc_buzz_bookhive_hiveBook() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -813,7 +817,9 @@ fn lexicon_doc_buzz_bookhive_hiveBook() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "id", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -832,7 +838,7 @@ fn lexicon_doc_buzz_bookhive_hiveBook() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "identifiers", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -843,7 +849,9 @@ fn lexicon_doc_buzz_bookhive_hiveBook() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rating"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "rating", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -854,7 +862,7 @@ fn lexicon_doc_buzz_bookhive_hiveBook() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "ratingsCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -867,7 +875,9 @@ fn lexicon_doc_buzz_bookhive_hiveBook() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("source"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "source", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -886,7 +896,7 @@ fn lexicon_doc_buzz_bookhive_hiveBook() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sourceId", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -907,7 +917,7 @@ fn lexicon_doc_buzz_bookhive_hiveBook() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sourceUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -928,7 +938,7 @@ fn lexicon_doc_buzz_bookhive_hiveBook() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "thumbnail", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -949,7 +959,9 @@ fn lexicon_doc_buzz_bookhive_hiveBook() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -968,7 +980,7 @@ fn lexicon_doc_buzz_bookhive_hiveBook() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/buzz_bookhive/list_genres.rs b/crates/jacquard-api/src/buzz_bookhive/list_genres.rs index c3b476998..34d7e03b6 100644 --- a/crates/jacquard-api/src/buzz_bookhive/list_genres.rs +++ b/crates/jacquard-api/src/buzz_bookhive/list_genres.rs @@ -34,37 +34,37 @@ pub mod genre_with_count_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Count; type Genre; + type Count; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Count = Unset; type Genre = Unset; - } - ///State transition - sets the `count` field to Set - pub struct SetCount(PhantomData S>); - impl sealed::Sealed for SetCount {} - impl State for SetCount { - type Count = Set; - type Genre = S::Genre; + type Count = Unset; } ///State transition - sets the `genre` field to Set pub struct SetGenre(PhantomData S>); impl sealed::Sealed for SetGenre {} impl State for SetGenre { - type Count = S::Count; type Genre = Set; + type Count = S::Count; + } + ///State transition - sets the `count` field to Set + pub struct SetCount(PhantomData S>); + impl sealed::Sealed for SetCount {} + impl State for SetCount { + type Genre = S::Genre; + type Count = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `count` field - pub struct count(()); ///Marker type for the `genre` field pub struct genre(()); + ///Marker type for the `count` field + pub struct count(()); } } @@ -137,8 +137,8 @@ where impl<'a, S> GenreWithCountBuilder<'a, S> where S: genre_with_count_state::State, - S::Count: genre_with_count_state::IsSet, S::Genre: genre_with_count_state::IsSet, + S::Count: genre_with_count_state::IsSet, { /// Build the final struct pub fn build(self) -> GenreWithCount<'a> { @@ -152,7 +152,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> GenreWithCount<'a> { @@ -175,13 +175,13 @@ fn lexicon_doc_buzz_bookhive_listGenres() -> ::jacquard_lexicon::lexicon::Lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("genreWithCount"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("genreWithCount"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("genre"), - ::jacquard_common::smol_str::SmolStr::new_static("count") + ::jacquard_common::deps::smol_str::SmolStr::new_static("genre"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("count") ], ), nullable: None, @@ -189,7 +189,9 @@ fn lexicon_doc_buzz_bookhive_listGenres() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("count"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "count", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -200,7 +202,9 @@ fn lexicon_doc_buzz_bookhive_listGenres() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("genre"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "genre", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Genre name"), @@ -221,7 +225,7 @@ fn lexicon_doc_buzz_bookhive_listGenres() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcQuery(::jacquard_lexicon::lexicon::LexXrpcQuery { description: None, parameters: Some( @@ -232,7 +236,9 @@ fn lexicon_doc_buzz_bookhive_listGenres() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("limit"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "limit", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -243,7 +249,7 @@ fn lexicon_doc_buzz_bookhive_listGenres() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "minBooks", ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -256,7 +262,9 @@ fn lexicon_doc_buzz_bookhive_listGenres() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("offset"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "offset", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, 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 6df9ba1cc..6dfaa8a7b 100644 --- a/crates/jacquard-api/src/ca_jmaingot/board_game_play.rs +++ b/crates/jacquard-api/src/ca_jmaingot/board_game_play.rs @@ -37,49 +37,49 @@ pub mod board_game_play_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Name; type BggId; + type Name; type PlayedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Name = Unset; type BggId = Unset; + type Name = Unset; type PlayedAt = Unset; } - ///State transition - sets the `name` field to Set - pub struct SetName(PhantomData S>); - impl sealed::Sealed for SetName {} - impl State for SetName { - type Name = Set; - type BggId = S::BggId; - type PlayedAt = S::PlayedAt; - } ///State transition - sets the `bgg_id` field to Set pub struct SetBggId(PhantomData S>); impl sealed::Sealed for SetBggId {} impl State for SetBggId { - type Name = S::Name; type BggId = Set; + type Name = S::Name; + type PlayedAt = S::PlayedAt; + } + ///State transition - sets the `name` field to Set + pub struct SetName(PhantomData S>); + impl sealed::Sealed for SetName {} + impl State for SetName { + type BggId = S::BggId; + type Name = Set; type PlayedAt = S::PlayedAt; } ///State transition - sets the `played_at` field to Set pub struct SetPlayedAt(PhantomData S>); impl sealed::Sealed for SetPlayedAt {} impl State for SetPlayedAt { - type Name = S::Name; type BggId = S::BggId; + type Name = S::Name; type PlayedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `name` field - pub struct name(()); ///Marker type for the `bgg_id` field pub struct bgg_id(()); + ///Marker type for the `name` field + pub struct name(()); ///Marker type for the `played_at` field pub struct played_at(()); } @@ -174,8 +174,8 @@ where impl<'a, S> BoardGamePlayBuilder<'a, S> where S: board_game_play_state::State, - S::Name: board_game_play_state::IsSet, S::BggId: board_game_play_state::IsSet, + S::Name: board_game_play_state::IsSet, S::PlayedAt: board_game_play_state::IsSet, { /// Build the final struct @@ -191,7 +191,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> BoardGamePlay<'a> { @@ -293,7 +293,7 @@ fn lexicon_doc_ca_jmaingot_boardGamePlay() -> ::jacquard_lexicon::lexicon::Lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static("A single board game play"), @@ -303,9 +303,9 @@ fn lexicon_doc_ca_jmaingot_boardGamePlay() -> ::jacquard_lexicon::lexicon::Lexic description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("bggId"), - ::jacquard_common::smol_str::SmolStr::new_static("playedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("bggId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("playedAt") ], ), nullable: None, @@ -313,7 +313,9 @@ fn lexicon_doc_ca_jmaingot_boardGamePlay() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("bggId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "bggId", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -332,7 +334,9 @@ fn lexicon_doc_ca_jmaingot_boardGamePlay() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -347,7 +351,7 @@ fn lexicon_doc_ca_jmaingot_boardGamePlay() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "playedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/cat_vt3e/gallery/group.rs b/crates/jacquard-api/src/cat_vt3e/gallery/group.rs index b89804f6e..1df7df5dd 100644 --- a/crates/jacquard-api/src/cat_vt3e/gallery/group.rs +++ b/crates/jacquard-api/src/cat_vt3e/gallery/group.rs @@ -160,7 +160,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Group<'a> { @@ -286,7 +286,7 @@ fn lexicon_doc_cat_vt3e_gallery_group() -> ::jacquard_lexicon::lexicon::LexiconD defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -298,7 +298,7 @@ fn lexicon_doc_cat_vt3e_gallery_group() -> ::jacquard_lexicon::lexicon::LexiconD description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -306,7 +306,7 @@ fn lexicon_doc_cat_vt3e_gallery_group() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -325,7 +325,7 @@ fn lexicon_doc_cat_vt3e_gallery_group() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -342,7 +342,9 @@ fn lexicon_doc_cat_vt3e_gallery_group() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, 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 d249910b4..0cdc26a2e 100644 --- a/crates/jacquard-api/src/cat_vt3e/gallery/group_item.rs +++ b/crates/jacquard-api/src/cat_vt3e/gallery/group_item.rs @@ -40,51 +40,51 @@ pub mod group_item_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Image; type Group; type AddedAt; + type Image; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Image = Unset; type Group = Unset; type AddedAt = Unset; - } - ///State transition - sets the `image` field to Set - pub struct SetImage(PhantomData S>); - impl sealed::Sealed for SetImage {} - impl State for SetImage { - type Image = Set; - type Group = S::Group; - type AddedAt = S::AddedAt; + type Image = Unset; } ///State transition - sets the `group` field to Set pub struct SetGroup(PhantomData S>); impl sealed::Sealed for SetGroup {} impl State for SetGroup { - type Image = S::Image; type Group = Set; type AddedAt = S::AddedAt; + type Image = S::Image; } ///State transition - sets the `added_at` field to Set pub struct SetAddedAt(PhantomData S>); impl sealed::Sealed for SetAddedAt {} impl State for SetAddedAt { - type Image = S::Image; type Group = S::Group; type AddedAt = Set; + type Image = S::Image; + } + ///State transition - sets the `image` field to Set + pub struct SetImage(PhantomData S>); + impl sealed::Sealed for SetImage {} + impl State for SetImage { + type Group = S::Group; + type AddedAt = S::AddedAt; + type Image = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `image` field - pub struct image(()); ///Marker type for the `group` field pub struct group(()); ///Marker type for the `added_at` field pub struct added_at(()); + ///Marker type for the `image` field + pub struct image(()); } } @@ -194,9 +194,9 @@ impl<'a, S: group_item_state::State> GroupItemBuilder<'a, S> { impl<'a, S> GroupItemBuilder<'a, S> where S: group_item_state::State, - S::Image: group_item_state::IsSet, S::Group: group_item_state::IsSet, S::AddedAt: group_item_state::IsSet, + S::Image: group_item_state::IsSet, { /// Build the final struct pub fn build(self) -> GroupItem<'a> { @@ -212,7 +212,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> GroupItem<'a> { @@ -315,7 +315,7 @@ fn lexicon_doc_cat_vt3e_gallery_groupItem() -> ::jacquard_lexicon::lexicon::Lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -327,9 +327,9 @@ fn lexicon_doc_cat_vt3e_gallery_groupItem() -> ::jacquard_lexicon::lexicon::Lexi description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("group"), - ::jacquard_common::smol_str::SmolStr::new_static("image"), - ::jacquard_common::smol_str::SmolStr::new_static("addedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("group"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("addedAt") ], ), nullable: None, @@ -337,7 +337,9 @@ fn lexicon_doc_cat_vt3e_gallery_groupItem() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("addedAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "addedAt", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -354,7 +356,9 @@ fn lexicon_doc_cat_vt3e_gallery_groupItem() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("group"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "group", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -375,7 +379,9 @@ fn lexicon_doc_cat_vt3e_gallery_groupItem() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -396,7 +402,9 @@ fn lexicon_doc_cat_vt3e_gallery_groupItem() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("note"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "note", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, diff --git a/crates/jacquard-api/src/cat_vt3e/gallery/image.rs b/crates/jacquard-api/src/cat_vt3e/gallery/image.rs index 12fd2c75b..5817fd231 100644 --- a/crates/jacquard-api/src/cat_vt3e/gallery/image.rs +++ b/crates/jacquard-api/src/cat_vt3e/gallery/image.rs @@ -60,37 +60,37 @@ pub mod image_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Image; type CreatedAt; + type Image; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Image = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `image` field to Set - pub struct SetImage(PhantomData S>); - impl sealed::Sealed for SetImage {} - impl State for SetImage { - type Image = Set; - type CreatedAt = S::CreatedAt; + type Image = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Image = S::Image; type CreatedAt = Set; + type Image = S::Image; + } + ///State transition - sets the `image` field to Set + pub struct SetImage(PhantomData S>); + impl sealed::Sealed for SetImage {} + impl State for SetImage { + type CreatedAt = S::CreatedAt; + type Image = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `image` field - pub struct image(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `image` field + pub struct image(()); } } @@ -334,8 +334,8 @@ impl<'a, S: image_state::State> ImageBuilder<'a, S> { impl<'a, S> ImageBuilder<'a, S> where S: image_state::State, - S::Image: image_state::IsSet, S::CreatedAt: image_state::IsSet, + S::Image: image_state::IsSet, { /// Build the final struct pub fn build(self) -> Image<'a> { @@ -359,7 +359,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Image<'a> { @@ -506,7 +506,7 @@ fn lexicon_doc_cat_vt3e_gallery_image() -> ::jacquard_lexicon::lexicon::LexiconD defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -518,8 +518,8 @@ fn lexicon_doc_cat_vt3e_gallery_image() -> ::jacquard_lexicon::lexicon::LexiconD description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("image"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -527,7 +527,9 @@ fn lexicon_doc_cat_vt3e_gallery_image() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("alt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "alt", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -542,7 +544,7 @@ fn lexicon_doc_cat_vt3e_gallery_image() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "aspectRatio", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -555,7 +557,7 @@ fn lexicon_doc_cat_vt3e_gallery_image() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "blurhash", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -576,7 +578,9 @@ fn lexicon_doc_cat_vt3e_gallery_image() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("caption"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "caption", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -591,7 +595,7 @@ fn lexicon_doc_cat_vt3e_gallery_image() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "checksum", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -608,7 +612,7 @@ fn lexicon_doc_cat_vt3e_gallery_image() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -627,7 +631,7 @@ fn lexicon_doc_cat_vt3e_gallery_image() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dominantColour", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -644,7 +648,9 @@ fn lexicon_doc_cat_vt3e_gallery_image() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("height"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "height", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -655,7 +661,9 @@ fn lexicon_doc_cat_vt3e_gallery_image() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -663,7 +671,7 @@ fn lexicon_doc_cat_vt3e_gallery_image() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sizeInBytes", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -676,7 +684,9 @@ fn lexicon_doc_cat_vt3e_gallery_image() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -691,7 +701,9 @@ fn lexicon_doc_cat_vt3e_gallery_image() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("width"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "width", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, 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 095b1cfcb..baa910f76 100644 --- a/crates/jacquard-api/src/ch_indiemusi/alpha/actor/artist.rs +++ b/crates/jacquard-api/src/ch_indiemusi/alpha/actor/artist.rs @@ -98,7 +98,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Artist<'a> { @@ -210,7 +210,7 @@ fn lexicon_doc_ch_indiemusi_alpha_actor_artist() -> ::jacquard_lexicon::lexicon: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -226,7 +226,9 @@ fn lexicon_doc_ch_indiemusi_alpha_actor_artist() -> ::jacquard_lexicon::lexicon: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, 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 22a839367..00d247a2c 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 @@ -114,7 +114,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> MasterOwner<'a> { @@ -229,7 +229,7 @@ fn lexicon_doc_ch_indiemusi_alpha_actor_masterOwner() -> ::jacquard_lexicon::lex defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -241,7 +241,7 @@ fn lexicon_doc_ch_indiemusi_alpha_actor_masterOwner() -> ::jacquard_lexicon::lex description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name") ], ), nullable: None, @@ -249,7 +249,9 @@ fn lexicon_doc_ch_indiemusi_alpha_actor_masterOwner() -> ::jacquard_lexicon::lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, 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 e09cb60bf..3a72fa78c 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 @@ -194,7 +194,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> PublishingOwner<'a> { @@ -360,7 +360,7 @@ fn lexicon_doc_ch_indiemusi_alpha_actor_publishingOwner() -> ::jacquard_lexicon: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -376,7 +376,7 @@ fn lexicon_doc_ch_indiemusi_alpha_actor_publishingOwner() -> ::jacquard_lexicon: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "collectingSociety", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -393,7 +393,7 @@ fn lexicon_doc_ch_indiemusi_alpha_actor_publishingOwner() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "companyName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -410,7 +410,7 @@ fn lexicon_doc_ch_indiemusi_alpha_actor_publishingOwner() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "firstName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -427,7 +427,9 @@ fn lexicon_doc_ch_indiemusi_alpha_actor_publishingOwner() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("ipi"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "ipi", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -446,7 +448,7 @@ fn lexicon_doc_ch_indiemusi_alpha_actor_publishingOwner() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "lastName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/ch_indiemusi/alpha/recording.rs b/crates/jacquard-api/src/ch_indiemusi/alpha/recording.rs index 4a44a7b07..b9d97efed 100644 --- a/crates/jacquard-api/src/ch_indiemusi/alpha/recording.rs +++ b/crates/jacquard-api/src/ch_indiemusi/alpha/recording.rs @@ -42,7 +42,7 @@ fn lexicon_doc_ch_indiemusi_alpha_recording() -> ::jacquard_lexicon::lexicon::Le defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("artist"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("artist"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -50,14 +50,18 @@ fn lexicon_doc_ch_indiemusi_alpha_recording() -> ::jacquard_lexicon::lexicon::Le ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("name")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("name") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("artist"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "artist", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -66,7 +70,9 @@ fn lexicon_doc_ch_indiemusi_alpha_recording() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -83,7 +89,9 @@ fn lexicon_doc_ch_indiemusi_alpha_recording() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -102,7 +110,7 @@ fn lexicon_doc_ch_indiemusi_alpha_recording() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -114,8 +122,8 @@ fn lexicon_doc_ch_indiemusi_alpha_recording() -> ::jacquard_lexicon::lexicon::Le description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("artists") + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("artists") ], ), nullable: None, @@ -123,7 +131,9 @@ fn lexicon_doc_ch_indiemusi_alpha_recording() -> ::jacquard_lexicon::lexicon::Le #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("artists"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "artists", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -135,7 +145,7 @@ fn lexicon_doc_ch_indiemusi_alpha_recording() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "audioFile", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { @@ -145,7 +155,7 @@ fn lexicon_doc_ch_indiemusi_alpha_recording() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "duration", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -158,7 +168,9 @@ fn lexicon_doc_ch_indiemusi_alpha_recording() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("isrc"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "isrc", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -177,7 +189,7 @@ fn lexicon_doc_ch_indiemusi_alpha_recording() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "masterOwner", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -188,7 +200,9 @@ fn lexicon_doc_ch_indiemusi_alpha_recording() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("song"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "song", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -197,7 +211,9 @@ fn lexicon_doc_ch_indiemusi_alpha_recording() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -217,7 +233,9 @@ fn lexicon_doc_ch_indiemusi_alpha_recording() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("masterOwnerInfo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "masterOwnerInfo", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -230,7 +248,9 @@ fn lexicon_doc_ch_indiemusi_alpha_recording() -> ::jacquard_lexicon::lexicon::Le #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -247,7 +267,7 @@ fn lexicon_doc_ch_indiemusi_alpha_recording() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "masterOwner", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -258,7 +278,9 @@ fn lexicon_doc_ch_indiemusi_alpha_recording() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -576,7 +598,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Recording<'a> { diff --git a/crates/jacquard-api/src/ch_indiemusi/alpha/release.rs b/crates/jacquard-api/src/ch_indiemusi/alpha/release.rs index ebdffc4b0..cabbe499f 100644 --- a/crates/jacquard-api/src/ch_indiemusi/alpha/release.rs +++ b/crates/jacquard-api/src/ch_indiemusi/alpha/release.rs @@ -42,7 +42,7 @@ fn lexicon_doc_ch_indiemusi_alpha_release() -> ::jacquard_lexicon::lexicon::Lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("artist"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("artist"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -50,14 +50,18 @@ fn lexicon_doc_ch_indiemusi_alpha_release() -> ::jacquard_lexicon::lexicon::Lexi ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("name")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("name") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("artist"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "artist", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -66,7 +70,9 @@ fn lexicon_doc_ch_indiemusi_alpha_release() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -83,7 +89,9 @@ fn lexicon_doc_ch_indiemusi_alpha_release() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -102,7 +110,7 @@ fn lexicon_doc_ch_indiemusi_alpha_release() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -114,9 +122,9 @@ fn lexicon_doc_ch_indiemusi_alpha_release() -> ::jacquard_lexicon::lexicon::Lexi description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("artists"), - ::jacquard_common::smol_str::SmolStr::new_static("recordings") + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("artists"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("recordings") ], ), nullable: None, @@ -124,7 +132,9 @@ fn lexicon_doc_ch_indiemusi_alpha_release() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("artists"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "artists", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -136,7 +146,7 @@ fn lexicon_doc_ch_indiemusi_alpha_release() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "artworkImage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { @@ -146,7 +156,9 @@ fn lexicon_doc_ch_indiemusi_alpha_release() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("gtin"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "gtin", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -165,7 +177,7 @@ fn lexicon_doc_ch_indiemusi_alpha_release() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "recordings", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -185,7 +197,7 @@ fn lexicon_doc_ch_indiemusi_alpha_release() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "releaseDate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -204,7 +216,9 @@ fn lexicon_doc_ch_indiemusi_alpha_release() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -299,51 +313,51 @@ pub mod release_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Title; type Recordings; type Artists; - type Title; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Title = Unset; type Recordings = Unset; type Artists = Unset; - type Title = Unset; + } + ///State transition - sets the `title` field to Set + pub struct SetTitle(PhantomData S>); + impl sealed::Sealed for SetTitle {} + impl State for SetTitle { + type Title = Set; + type Recordings = S::Recordings; + type Artists = S::Artists; } ///State transition - sets the `recordings` field to Set pub struct SetRecordings(PhantomData S>); impl sealed::Sealed for SetRecordings {} impl State for SetRecordings { + type Title = S::Title; type Recordings = Set; type Artists = S::Artists; - type Title = S::Title; } ///State transition - sets the `artists` field to Set pub struct SetArtists(PhantomData S>); impl sealed::Sealed for SetArtists {} impl State for SetArtists { - type Recordings = S::Recordings; - type Artists = Set; type Title = S::Title; - } - ///State transition - sets the `title` field to Set - pub struct SetTitle(PhantomData S>); - impl sealed::Sealed for SetTitle {} - impl State for SetTitle { type Recordings = S::Recordings; - type Artists = S::Artists; - type Title = Set; + type Artists = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `title` field + pub struct title(()); ///Marker type for the `recordings` field pub struct recordings(()); ///Marker type for the `artists` field pub struct artists(()); - ///Marker type for the `title` field - pub struct title(()); } } @@ -495,9 +509,9 @@ where impl<'a, S> ReleaseBuilder<'a, S> where S: release_state::State, + S::Title: release_state::IsSet, S::Recordings: release_state::IsSet, S::Artists: release_state::IsSet, - S::Title: release_state::IsSet, { /// Build the final struct pub fn build(self) -> Release<'a> { @@ -515,7 +529,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Release<'a> { diff --git a/crates/jacquard-api/src/ch_indiemusi/alpha/song.rs b/crates/jacquard-api/src/ch_indiemusi/alpha/song.rs index 46e0cdb41..f6de81c18 100644 --- a/crates/jacquard-api/src/ch_indiemusi/alpha/song.rs +++ b/crates/jacquard-api/src/ch_indiemusi/alpha/song.rs @@ -59,7 +59,9 @@ fn lexicon_doc_ch_indiemusi_alpha_song() -> ::jacquard_lexicon::lexicon::Lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("interestedParty"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "interestedParty", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -72,7 +74,7 @@ fn lexicon_doc_ch_indiemusi_alpha_song() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "collectingSociety", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -89,7 +91,9 @@ fn lexicon_doc_ch_indiemusi_alpha_song() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -106,7 +110,9 @@ fn lexicon_doc_ch_indiemusi_alpha_song() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("ipi"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "ipi", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -121,7 +127,7 @@ fn lexicon_doc_ch_indiemusi_alpha_song() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mechanicalRoyaltiesPercentage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -134,7 +140,9 @@ fn lexicon_doc_ch_indiemusi_alpha_song() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -149,7 +157,7 @@ fn lexicon_doc_ch_indiemusi_alpha_song() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "performanceRoyaltiesPercentage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -162,7 +170,7 @@ fn lexicon_doc_ch_indiemusi_alpha_song() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publishingOwner", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -173,7 +181,9 @@ fn lexicon_doc_ch_indiemusi_alpha_song() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("role"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "role", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -196,7 +206,7 @@ fn lexicon_doc_ch_indiemusi_alpha_song() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -208,8 +218,8 @@ fn lexicon_doc_ch_indiemusi_alpha_song() -> ::jacquard_lexicon::lexicon::Lexicon description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("interestedParties") + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("interestedParties") ], ), nullable: None, @@ -217,7 +227,7 @@ fn lexicon_doc_ch_indiemusi_alpha_song() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interestedParties", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -237,7 +247,9 @@ fn lexicon_doc_ch_indiemusi_alpha_song() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("iswc"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "iswc", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -256,7 +268,9 @@ fn lexicon_doc_ch_indiemusi_alpha_song() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -379,37 +393,37 @@ pub mod song_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Title; type InterestedParties; + type Title; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Title = Unset; type InterestedParties = Unset; - } - ///State transition - sets the `title` field to Set - pub struct SetTitle(PhantomData S>); - impl sealed::Sealed for SetTitle {} - impl State for SetTitle { - type Title = Set; - type InterestedParties = S::InterestedParties; + type Title = Unset; } ///State transition - sets the `interested_parties` field to Set pub struct SetInterestedParties(PhantomData S>); impl sealed::Sealed for SetInterestedParties {} impl State for SetInterestedParties { - type Title = S::Title; type InterestedParties = Set; + type Title = S::Title; + } + ///State transition - sets the `title` field to Set + pub struct SetTitle(PhantomData S>); + impl sealed::Sealed for SetTitle {} + impl State for SetTitle { + type InterestedParties = S::InterestedParties; + type Title = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `title` field - pub struct title(()); ///Marker type for the `interested_parties` field pub struct interested_parties(()); + ///Marker type for the `title` field + pub struct title(()); } } @@ -501,8 +515,8 @@ where impl<'a, S> SongBuilder<'a, S> where S: song_state::State, - S::Title: song_state::IsSet, S::InterestedParties: song_state::IsSet, + S::Title: song_state::IsSet, { /// Build the final struct pub fn build(self) -> Song<'a> { @@ -517,7 +531,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Song<'a> { diff --git a/crates/jacquard-api/src/ch_indiemusi/social/join.rs b/crates/jacquard-api/src/ch_indiemusi/social/join.rs index 67781e476..7d41a9b94 100644 --- a/crates/jacquard-api/src/ch_indiemusi/social/join.rs +++ b/crates/jacquard-api/src/ch_indiemusi/social/join.rs @@ -117,7 +117,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Join<'a> { @@ -217,7 +217,7 @@ fn lexicon_doc_ch_indiemusi_social_join() -> ::jacquard_lexicon::lexicon::Lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -229,7 +229,7 @@ fn lexicon_doc_ch_indiemusi_social_join() -> ::jacquard_lexicon::lexicon::Lexico description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("song") + ::jacquard_common::deps::smol_str::SmolStr::new_static("song") ], ), nullable: None, @@ -237,7 +237,9 @@ fn lexicon_doc_ch_indiemusi_social_join() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("song"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "song", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/ch_indiemusi/social/song.rs b/crates/jacquard-api/src/ch_indiemusi/social/song.rs index 56b0637d7..f7a38da45 100644 --- a/crates/jacquard-api/src/ch_indiemusi/social/song.rs +++ b/crates/jacquard-api/src/ch_indiemusi/social/song.rs @@ -153,7 +153,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Song<'a> { @@ -280,7 +280,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Song<'a> { { let value = &self.name; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -311,7 +311,7 @@ fn lexicon_doc_ch_indiemusi_social_song() -> ::jacquard_lexicon::lexicon::Lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -323,8 +323,8 @@ fn lexicon_doc_ch_indiemusi_social_song() -> ::jacquard_lexicon::lexicon::Lexico description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("joinersNeeded") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("joinersNeeded") ], ), nullable: None, @@ -332,7 +332,7 @@ fn lexicon_doc_ch_indiemusi_social_song() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "joinersNeeded", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -345,7 +345,9 @@ fn lexicon_doc_ch_indiemusi_social_song() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Name of the song"), diff --git a/crates/jacquard-api/src/chat_bsky/actor.rs b/crates/jacquard-api/src/chat_bsky/actor.rs index 2b55ebb6b..2babc532e 100644 --- a/crates/jacquard-api/src/chat_bsky/actor.rs +++ b/crates/jacquard-api/src/chat_bsky/actor.rs @@ -58,37 +58,37 @@ pub mod profile_view_basic_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Did; type Handle; + type Did; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Did = Unset; type Handle = Unset; - } - ///State transition - sets the `did` field to Set - pub struct SetDid(PhantomData S>); - impl sealed::Sealed for SetDid {} - impl State for SetDid { - type Did = Set; - type Handle = S::Handle; + type Did = Unset; } ///State transition - sets the `handle` field to Set pub struct SetHandle(PhantomData S>); impl sealed::Sealed for SetHandle {} impl State for SetHandle { - type Did = S::Did; type Handle = Set; + type Did = S::Did; + } + ///State transition - sets the `did` field to Set + pub struct SetDid(PhantomData S>); + impl sealed::Sealed for SetDid {} + impl State for SetDid { + type Handle = S::Handle; + type Did = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `did` field - pub struct did(()); ///Marker type for the `handle` field pub struct handle(()); + ///Marker type for the `did` field + pub struct did(()); } } @@ -305,8 +305,8 @@ impl<'a, S: profile_view_basic_state::State> ProfileViewBasicBuilder<'a, S> { impl<'a, S> ProfileViewBasicBuilder<'a, S> where S: profile_view_basic_state::State, - S::Did: profile_view_basic_state::IsSet, S::Handle: profile_view_basic_state::IsSet, + S::Did: profile_view_basic_state::IsSet, { /// Build the final struct pub fn build(self) -> ProfileViewBasic<'a> { @@ -327,7 +327,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ProfileViewBasic<'a> { @@ -357,13 +357,15 @@ fn lexicon_doc_chat_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("profileViewBasic"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "profileViewBasic", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("did"), - ::jacquard_common::smol_str::SmolStr::new_static("handle") + ::jacquard_common::deps::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("handle") ], ), nullable: None, @@ -371,7 +373,7 @@ fn lexicon_doc_chat_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "associated", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -382,7 +384,9 @@ fn lexicon_doc_chat_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("avatar"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "avatar", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -399,7 +403,7 @@ fn lexicon_doc_chat_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "chatDisabled", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -409,7 +413,9 @@ fn lexicon_doc_chat_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -426,7 +432,7 @@ fn lexicon_doc_chat_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "displayName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -443,7 +449,9 @@ fn lexicon_doc_chat_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("handle"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "handle", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -460,7 +468,9 @@ fn lexicon_doc_chat_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("labels"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "labels", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -474,7 +484,7 @@ fn lexicon_doc_chat_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "verification", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -485,7 +495,9 @@ fn lexicon_doc_chat_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("viewer"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "viewer", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -529,7 +541,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ProfileViewBasic<'a> { } if let Some(ref value) = self.display_name { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) diff --git a/crates/jacquard-api/src/chat_bsky/actor/declaration.rs b/crates/jacquard-api/src/chat_bsky/actor/declaration.rs index fb84892a2..1b0948611 100644 --- a/crates/jacquard-api/src/chat_bsky/actor/declaration.rs +++ b/crates/jacquard-api/src/chat_bsky/actor/declaration.rs @@ -114,7 +114,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Declaration<'a> { @@ -309,7 +309,7 @@ fn lexicon_doc_chat_bsky_actor_declaration() -> ::jacquard_lexicon::lexicon::Lex defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -321,7 +321,7 @@ fn lexicon_doc_chat_bsky_actor_declaration() -> ::jacquard_lexicon::lexicon::Lex description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("allowIncoming") + ::jacquard_common::deps::smol_str::SmolStr::new_static("allowIncoming") ], ), nullable: None, @@ -329,7 +329,7 @@ fn lexicon_doc_chat_bsky_actor_declaration() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "allowIncoming", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { 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 0f3ea2755..ab2ed065b 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 @@ -16,7 +16,7 @@ )] #[serde(rename_all = "camelCase")] pub struct ExportAccountDataOutput { - pub body: bytes::Bytes, + pub body: jacquard_common::deps::bytes::Bytes, } /// XRPC request marker type @@ -51,7 +51,7 @@ impl jacquard_common::xrpc::XrpcResp for ExportAccountDataResponse { Self::Output<'de>: serde::Deserialize<'de>, { Ok(ExportAccountDataOutput { - body: bytes::Bytes::copy_from_slice(body), + body: jacquard_common::deps::bytes::Bytes::copy_from_slice(body), }) } } diff --git a/crates/jacquard-api/src/chat_bsky/buzz_bookhive/book.rs b/crates/jacquard-api/src/chat_bsky/buzz_bookhive/book.rs deleted file mode 100644 index 92961da20..000000000 --- a/crates/jacquard-api/src/chat_bsky/buzz_bookhive/book.rs +++ /dev/null @@ -1,55 +0,0 @@ -// @generated by jacquard-lexicon. DO NOT EDIT. -// -// Lexicon: buzz.bookhive.book -// -// This file was automatically generated from Lexicon schemas. -// Any manual changes will be overwritten on the next regeneration. - -///A book in the user's library -#[jacquard_derive::lexicon] -#[derive( - serde::Serialize, - serde::Deserialize, - Debug, - Clone, - PartialEq, - Eq, - jacquard_derive::IntoStatic -)] -#[serde(rename_all = "camelCase")] -pub struct Book<'a> { - ///The authors of the book (tab separated) - #[serde(borrow)] - pub authors: jacquard_common::CowStr<'a>, - ///Cover image of the book - #[serde(skip_serializing_if = "std::option::Option::is_none")] - #[serde(borrow)] - pub cover: std::option::Option>, - pub created_at: jacquard_common::types::string::Datetime, - ///The date the user finished reading the book - #[serde(skip_serializing_if = "std::option::Option::is_none")] - pub finished_at: std::option::Option, - ///The book's hive id, used to correlate user's books with the hive - #[serde(borrow)] - pub hive_id: jacquard_common::CowStr<'a>, - ///The book's review - #[serde(skip_serializing_if = "std::option::Option::is_none")] - #[serde(borrow)] - pub review: std::option::Option>, - ///Number of stars given to the book (1-10) which will be mapped to 1-5 stars - #[serde(skip_serializing_if = "std::option::Option::is_none")] - pub stars: std::option::Option, - ///The date the user started reading the book - #[serde(skip_serializing_if = "std::option::Option::is_none")] - pub started_at: std::option::Option, - #[serde(skip_serializing_if = "std::option::Option::is_none")] - #[serde(borrow)] - pub status: std::option::Option>, - ///The title of the book - #[serde(borrow)] - pub title: jacquard_common::CowStr<'a>, -} - -impl jacquard_common::types::collection::Collection for Book<'_> { - const NSID: &'static str = "buzz.bookhive.book"; -} \ No newline at end of file diff --git a/crates/jacquard-api/src/chat_bsky/buzz_bookhive/buzz.rs b/crates/jacquard-api/src/chat_bsky/buzz_bookhive/buzz.rs deleted file mode 100644 index 469c3c05d..000000000 --- a/crates/jacquard-api/src/chat_bsky/buzz_bookhive/buzz.rs +++ /dev/null @@ -1,34 +0,0 @@ -// @generated by jacquard-lexicon. DO NOT EDIT. -// -// Lexicon: buzz.bookhive.buzz -// -// This file was automatically generated from Lexicon schemas. -// Any manual changes will be overwritten on the next regeneration. - -///Record containing a Bookhive comment. -#[jacquard_derive::lexicon] -#[derive( - serde::Serialize, - serde::Deserialize, - Debug, - Clone, - PartialEq, - Eq, - jacquard_derive::IntoStatic -)] -#[serde(rename_all = "camelCase")] -pub struct Buzz<'a> { - #[serde(borrow)] - pub book: crate::com_atproto::repo::strong_ref::StrongRef<'a>, - ///The content of the comment. - #[serde(borrow)] - pub comment: jacquard_common::CowStr<'a>, - ///Client-declared timestamp when this comment was originally created. - pub created_at: jacquard_common::types::string::Datetime, - #[serde(borrow)] - pub parent: crate::com_atproto::repo::strong_ref::StrongRef<'a>, -} - -impl jacquard_common::types::collection::Collection for Buzz<'_> { - const NSID: &'static str = "buzz.bookhive.buzz"; -} \ No newline at end of file diff --git a/crates/jacquard-api/src/chat_bsky/buzz_bookhive/get_book.rs b/crates/jacquard-api/src/chat_bsky/buzz_bookhive/get_book.rs deleted file mode 100644 index c89c88fe2..000000000 --- a/crates/jacquard-api/src/chat_bsky/buzz_bookhive/get_book.rs +++ /dev/null @@ -1,85 +0,0 @@ -// @generated by jacquard-lexicon. DO NOT EDIT. -// -// Lexicon: buzz.bookhive.getBook -// -// This file was automatically generated from Lexicon schemas. -// Any manual changes will be overwritten on the next regeneration. - -#[derive( - serde::Serialize, - serde::Deserialize, - Debug, - Clone, - PartialEq, - Eq, - bon::Builder, - jacquard_derive::IntoStatic -)] -#[builder(start_fn = new)] -#[serde(rename_all = "camelCase")] -pub struct GetBook<'a> { - #[serde(borrow)] - #[builder(into)] - pub id: jacquard_common::CowStr<'a>, -} - -#[jacquard_derive::lexicon] -#[derive( - serde::Serialize, - serde::Deserialize, - Debug, - Clone, - PartialEq, - Eq, - jacquard_derive::IntoStatic -)] -#[serde(rename_all = "camelCase")] -pub struct GetBookOutput<'a> { - ///The hive book's info - #[serde(borrow)] - pub book: jacquard_common::types::value::Data<'a>, - ///Comments on the book - #[serde(borrow)] - pub comments: Vec>, - ///Cover image of the book - #[serde(skip_serializing_if = "std::option::Option::is_none")] - #[serde(borrow)] - pub cover: std::option::Option>, - #[serde(skip_serializing_if = "std::option::Option::is_none")] - pub created_at: std::option::Option, - ///The date the user finished reading the book - #[serde(skip_serializing_if = "std::option::Option::is_none")] - pub finished_at: std::option::Option, - ///The book's review - #[serde(skip_serializing_if = "std::option::Option::is_none")] - #[serde(borrow)] - pub review: std::option::Option>, - ///Reviews of the book - #[serde(borrow)] - pub reviews: Vec>, - ///Number of stars given to the book (1-10) which will be mapped to 1-5 stars - #[serde(skip_serializing_if = "std::option::Option::is_none")] - pub stars: std::option::Option, - ///The date the user started reading the book - #[serde(skip_serializing_if = "std::option::Option::is_none")] - pub started_at: std::option::Option, - #[serde(skip_serializing_if = "std::option::Option::is_none")] - #[serde(borrow)] - pub status: std::option::Option>, -} - -///Response type for -///buzz.bookhive.getBook -pub struct GetBookResponse; -impl jacquard_common::xrpc::XrpcResp for GetBookResponse { - const NSID: &'static str = "buzz.bookhive.getBook"; - const ENCODING: &'static str = "application/json"; - type Output<'de> = GetBookOutput<'de>; - type Err<'de> = jacquard_common::xrpc::GenericError<'de>; -} - -impl<'de> jacquard_common::xrpc::XrpcRequest<'de> for GetBook<'de> { - const NSID: &'static str = "buzz.bookhive.getBook"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Query; - type Response = GetBookResponse; -} \ No newline at end of file diff --git a/crates/jacquard-api/src/chat_bsky/buzz_bookhive/get_profile.rs b/crates/jacquard-api/src/chat_bsky/buzz_bookhive/get_profile.rs deleted file mode 100644 index ea751b383..000000000 --- a/crates/jacquard-api/src/chat_bsky/buzz_bookhive/get_profile.rs +++ /dev/null @@ -1,68 +0,0 @@ -// @generated by jacquard-lexicon. DO NOT EDIT. -// -// Lexicon: buzz.bookhive.getProfile -// -// This file was automatically generated from Lexicon schemas. -// Any manual changes will be overwritten on the next regeneration. - -#[derive( - serde::Serialize, - serde::Deserialize, - Debug, - Clone, - PartialEq, - Eq, - bon::Builder, - jacquard_derive::IntoStatic -)] -#[builder(start_fn = new)] -#[serde(rename_all = "camelCase")] -pub struct GetProfile<'a> { - #[serde(skip_serializing_if = "std::option::Option::is_none")] - #[serde(borrow)] - #[builder(into)] - pub did: std::option::Option>, - #[serde(skip_serializing_if = "std::option::Option::is_none")] - #[serde(borrow)] - #[builder(into)] - pub handle: std::option::Option>, -} - -#[jacquard_derive::lexicon] -#[derive( - serde::Serialize, - serde::Deserialize, - Debug, - Clone, - PartialEq, - Eq, - jacquard_derive::IntoStatic -)] -#[serde(rename_all = "camelCase")] -pub struct GetProfileOutput<'a> { - ///The user's activity - #[serde(borrow)] - pub activity: Vec>, - ///All books in the user's library - #[serde(borrow)] - pub books: Vec>, - ///The user's profile - #[serde(borrow)] - pub profile: crate::buzz_bookhive::Profile<'a>, -} - -///Response type for -///buzz.bookhive.getProfile -pub struct GetProfileResponse; -impl jacquard_common::xrpc::XrpcResp for GetProfileResponse { - const NSID: &'static str = "buzz.bookhive.getProfile"; - const ENCODING: &'static str = "application/json"; - type Output<'de> = GetProfileOutput<'de>; - type Err<'de> = jacquard_common::xrpc::GenericError<'de>; -} - -impl<'de> jacquard_common::xrpc::XrpcRequest<'de> for GetProfile<'de> { - const NSID: &'static str = "buzz.bookhive.getProfile"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Query; - type Response = GetProfileResponse; -} \ No newline at end of file diff --git a/crates/jacquard-api/src/chat_bsky/buzz_bookhive/hive_book.rs b/crates/jacquard-api/src/chat_bsky/buzz_bookhive/hive_book.rs deleted file mode 100644 index 448ff651b..000000000 --- a/crates/jacquard-api/src/chat_bsky/buzz_bookhive/hive_book.rs +++ /dev/null @@ -1,65 +0,0 @@ -// @generated by jacquard-lexicon. DO NOT EDIT. -// -// Lexicon: buzz.bookhive.hiveBook -// -// This file was automatically generated from Lexicon schemas. -// Any manual changes will be overwritten on the next regeneration. - -///A book within the hive -#[jacquard_derive::lexicon] -#[derive( - serde::Serialize, - serde::Deserialize, - Debug, - Clone, - PartialEq, - Eq, - jacquard_derive::IntoStatic -)] -#[serde(rename_all = "camelCase")] -pub struct HiveBook<'a> { - ///The authors of the book (tab separated) - #[serde(borrow)] - pub authors: jacquard_common::CowStr<'a>, - ///URL to full-size cover image - #[serde(skip_serializing_if = "std::option::Option::is_none")] - #[serde(borrow)] - pub cover: std::option::Option>, - pub created_at: jacquard_common::types::string::Datetime, - ///Book description/summary - #[serde(skip_serializing_if = "std::option::Option::is_none")] - #[serde(borrow)] - pub description: std::option::Option>, - ///The book's hive id, used to correlate user's books with the hive - #[serde(borrow)] - pub id: jacquard_common::CowStr<'a>, - ///Average rating (0-1000) - #[serde(skip_serializing_if = "std::option::Option::is_none")] - pub rating: std::option::Option, - ///Number of ratings - #[serde(skip_serializing_if = "std::option::Option::is_none")] - pub ratings_count: std::option::Option, - ///The source service name (e.g. Goodreads) - #[serde(skip_serializing_if = "std::option::Option::is_none")] - #[serde(borrow)] - pub source: std::option::Option>, - ///ID of the book in the source service - #[serde(skip_serializing_if = "std::option::Option::is_none")] - #[serde(borrow)] - pub source_id: std::option::Option>, - ///URL to the book on the source service - #[serde(skip_serializing_if = "std::option::Option::is_none")] - #[serde(borrow)] - pub source_url: std::option::Option>, - ///URL to thumbnail image - #[serde(borrow)] - pub thumbnail: jacquard_common::CowStr<'a>, - ///The title of the book - #[serde(borrow)] - pub title: jacquard_common::CowStr<'a>, - pub updated_at: jacquard_common::types::string::Datetime, -} - -impl jacquard_common::types::collection::Collection for HiveBook<'_> { - const NSID: &'static str = "buzz.bookhive.hiveBook"; -} \ No newline at end of file diff --git a/crates/jacquard-api/src/chat_bsky/buzz_bookhive/search_books.rs b/crates/jacquard-api/src/chat_bsky/buzz_bookhive/search_books.rs deleted file mode 100644 index 61d645aeb..000000000 --- a/crates/jacquard-api/src/chat_bsky/buzz_bookhive/search_books.rs +++ /dev/null @@ -1,68 +0,0 @@ -// @generated by jacquard-lexicon. DO NOT EDIT. -// -// Lexicon: buzz.bookhive.searchBooks -// -// This file was automatically generated from Lexicon schemas. -// Any manual changes will be overwritten on the next regeneration. - -#[derive( - serde::Serialize, - serde::Deserialize, - Debug, - Clone, - PartialEq, - Eq, - bon::Builder, - jacquard_derive::IntoStatic -)] -#[builder(start_fn = new)] -#[serde(rename_all = "camelCase")] -pub struct SearchBooks<'a> { - #[serde(skip_serializing_if = "std::option::Option::is_none")] - #[serde(borrow)] - #[builder(into)] - pub id: std::option::Option>, - ///(default: 25, min: 1, max: 100) - #[serde(skip_serializing_if = "std::option::Option::is_none")] - pub limit: std::option::Option, - #[serde(skip_serializing_if = "std::option::Option::is_none")] - pub offset: std::option::Option, - #[serde(borrow)] - #[builder(into)] - pub q: jacquard_common::CowStr<'a>, -} - -#[jacquard_derive::lexicon] -#[derive( - serde::Serialize, - serde::Deserialize, - Debug, - Clone, - PartialEq, - Eq, - jacquard_derive::IntoStatic -)] -#[serde(rename_all = "camelCase")] -pub struct SearchBooksOutput<'a> { - #[serde(borrow)] - pub books: Vec>, - ///The next offset to use for pagination (result of limit + offset) - #[serde(skip_serializing_if = "std::option::Option::is_none")] - pub offset: std::option::Option, -} - -///Response type for -///buzz.bookhive.searchBooks -pub struct SearchBooksResponse; -impl jacquard_common::xrpc::XrpcResp for SearchBooksResponse { - const NSID: &'static str = "buzz.bookhive.searchBooks"; - const ENCODING: &'static str = "application/json"; - type Output<'de> = SearchBooksOutput<'de>; - type Err<'de> = jacquard_common::xrpc::GenericError<'de>; -} - -impl<'de> jacquard_common::xrpc::XrpcRequest<'de> for SearchBooks<'de> { - const NSID: &'static str = "buzz.bookhive.searchBooks"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Query; - type Response = SearchBooksResponse; -} \ 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 ea6cf1b7b..ee297dad8 100644 --- a/crates/jacquard-api/src/chat_bsky/convo.rs +++ b/crates/jacquard-api/src/chat_bsky/convo.rs @@ -66,85 +66,85 @@ pub mod convo_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Id; type Rev; + type Members; type Muted; type UnreadCount; - type Members; - type Id; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Id = Unset; type Rev = Unset; + type Members = Unset; type Muted = Unset; type UnreadCount = Unset; - type Members = Unset; - type Id = Unset; + } + ///State transition - sets the `id` field to Set + pub struct SetId(PhantomData S>); + impl sealed::Sealed for SetId {} + impl State for SetId { + type Id = Set; + type Rev = S::Rev; + type Members = S::Members; + type Muted = S::Muted; + type UnreadCount = S::UnreadCount; } ///State transition - sets the `rev` field to Set pub struct SetRev(PhantomData S>); impl sealed::Sealed for SetRev {} impl State for SetRev { + type Id = S::Id; type Rev = Set; + type Members = S::Members; type Muted = S::Muted; type UnreadCount = S::UnreadCount; - type Members = S::Members; + } + ///State transition - sets the `members` field to Set + pub struct SetMembers(PhantomData S>); + impl sealed::Sealed for SetMembers {} + impl State for SetMembers { type Id = S::Id; + type Rev = S::Rev; + type Members = Set; + type Muted = S::Muted; + type UnreadCount = S::UnreadCount; } ///State transition - sets the `muted` field to Set pub struct SetMuted(PhantomData S>); impl sealed::Sealed for SetMuted {} impl State for SetMuted { + type Id = S::Id; type Rev = S::Rev; + type Members = S::Members; type Muted = Set; type UnreadCount = S::UnreadCount; - type Members = S::Members; - type Id = S::Id; } ///State transition - sets the `unread_count` field to Set pub struct SetUnreadCount(PhantomData S>); impl sealed::Sealed for SetUnreadCount {} impl State for SetUnreadCount { - type Rev = S::Rev; - type Muted = S::Muted; - type UnreadCount = Set; - type Members = S::Members; - type Id = S::Id; - } - ///State transition - sets the `members` field to Set - pub struct SetMembers(PhantomData S>); - impl sealed::Sealed for SetMembers {} - impl State for SetMembers { - type Rev = S::Rev; - type Muted = S::Muted; - type UnreadCount = S::UnreadCount; - type Members = Set; type Id = S::Id; - } - ///State transition - sets the `id` field to Set - pub struct SetId(PhantomData S>); - impl sealed::Sealed for SetId {} - impl State for SetId { type Rev = S::Rev; - type Muted = S::Muted; - type UnreadCount = S::UnreadCount; type Members = S::Members; - type Id = Set; + type Muted = S::Muted; + type UnreadCount = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `id` field + pub struct id(()); ///Marker type for the `rev` field pub struct rev(()); + ///Marker type for the `members` field + pub struct members(()); ///Marker type for the `muted` field pub struct muted(()); ///Marker type for the `unread_count` field pub struct unread_count(()); - ///Marker type for the `members` field - pub struct members(()); - ///Marker type for the `id` field - pub struct id(()); } } @@ -331,11 +331,11 @@ where impl<'a, S> ConvoViewBuilder<'a, S> where S: convo_view_state::State, + S::Id: convo_view_state::IsSet, S::Rev: convo_view_state::IsSet, + S::Members: convo_view_state::IsSet, S::Muted: convo_view_state::IsSet, S::UnreadCount: convo_view_state::IsSet, - S::Members: convo_view_state::IsSet, - S::Id: convo_view_state::IsSet, { /// Build the final struct pub fn build(self) -> ConvoView<'a> { @@ -355,7 +355,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ConvoView<'a> { @@ -491,16 +491,16 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("convoView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("convoView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("id"), - ::jacquard_common::smol_str::SmolStr::new_static("rev"), - ::jacquard_common::smol_str::SmolStr::new_static("members"), - ::jacquard_common::smol_str::SmolStr::new_static("muted"), - ::jacquard_common::smol_str::SmolStr::new_static("unreadCount") + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("rev"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("members"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("muted"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("unreadCount") ], ), nullable: None, @@ -508,7 +508,7 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -523,7 +523,7 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "lastMessage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -536,7 +536,7 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "lastReaction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -548,7 +548,9 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("members"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "members", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -562,7 +564,9 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("muted"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "muted", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -570,7 +574,9 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rev"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "rev", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -585,7 +591,9 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("status"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "status", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -600,7 +608,7 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "unreadCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -617,15 +625,17 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("deletedMessageView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "deletedMessageView", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("id"), - ::jacquard_common::smol_str::SmolStr::new_static("rev"), - ::jacquard_common::smol_str::SmolStr::new_static("sender"), - ::jacquard_common::smol_str::SmolStr::new_static("sentAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("rev"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("sender"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("sentAt") ], ), nullable: None, @@ -633,7 +643,7 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -648,7 +658,9 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rev"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "rev", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -663,7 +675,9 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sender"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sender", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -672,7 +686,9 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sentAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sentAt", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -693,13 +709,13 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("logAcceptConvo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("logAcceptConvo"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("rev"), - ::jacquard_common::smol_str::SmolStr::new_static("convoId") + ::jacquard_common::deps::smol_str::SmolStr::new_static("rev"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("convoId") ], ), nullable: None, @@ -707,7 +723,9 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("convoId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "convoId", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -722,7 +740,9 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rev"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "rev", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -741,15 +761,15 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("logAddReaction"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("logAddReaction"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("rev"), - ::jacquard_common::smol_str::SmolStr::new_static("convoId"), - ::jacquard_common::smol_str::SmolStr::new_static("message"), - ::jacquard_common::smol_str::SmolStr::new_static("reaction") + ::jacquard_common::deps::smol_str::SmolStr::new_static("rev"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("convoId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("message"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("reaction") ], ), nullable: None, @@ -757,7 +777,9 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("convoId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "convoId", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -772,7 +794,9 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("message"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "message", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -783,7 +807,9 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reaction"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reaction", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -792,7 +818,9 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rev"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "rev", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -811,13 +839,13 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("logBeginConvo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("logBeginConvo"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("rev"), - ::jacquard_common::smol_str::SmolStr::new_static("convoId") + ::jacquard_common::deps::smol_str::SmolStr::new_static("rev"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("convoId") ], ), nullable: None, @@ -825,7 +853,9 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("convoId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "convoId", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -840,7 +870,9 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rev"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "rev", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -859,14 +891,16 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("logCreateMessage"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "logCreateMessage", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("rev"), - ::jacquard_common::smol_str::SmolStr::new_static("convoId"), - ::jacquard_common::smol_str::SmolStr::new_static("message") + ::jacquard_common::deps::smol_str::SmolStr::new_static("rev"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("convoId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("message") ], ), nullable: None, @@ -874,7 +908,9 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("convoId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "convoId", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -889,7 +925,9 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("message"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "message", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -900,7 +938,9 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rev"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "rev", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -919,14 +959,16 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("logDeleteMessage"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "logDeleteMessage", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("rev"), - ::jacquard_common::smol_str::SmolStr::new_static("convoId"), - ::jacquard_common::smol_str::SmolStr::new_static("message") + ::jacquard_common::deps::smol_str::SmolStr::new_static("rev"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("convoId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("message") ], ), nullable: None, @@ -934,7 +976,9 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("convoId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "convoId", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -949,7 +993,9 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("message"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "message", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -960,7 +1006,9 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rev"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "rev", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -979,13 +1027,13 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("logLeaveConvo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("logLeaveConvo"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("rev"), - ::jacquard_common::smol_str::SmolStr::new_static("convoId") + ::jacquard_common::deps::smol_str::SmolStr::new_static("rev"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("convoId") ], ), nullable: None, @@ -993,7 +1041,9 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("convoId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "convoId", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -1008,7 +1058,9 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rev"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "rev", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -1027,13 +1079,13 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("logMuteConvo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("logMuteConvo"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("rev"), - ::jacquard_common::smol_str::SmolStr::new_static("convoId") + ::jacquard_common::deps::smol_str::SmolStr::new_static("rev"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("convoId") ], ), nullable: None, @@ -1041,7 +1093,9 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("convoId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "convoId", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -1056,7 +1110,9 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rev"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "rev", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -1075,14 +1131,14 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("logReadMessage"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("logReadMessage"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("rev"), - ::jacquard_common::smol_str::SmolStr::new_static("convoId"), - ::jacquard_common::smol_str::SmolStr::new_static("message") + ::jacquard_common::deps::smol_str::SmolStr::new_static("rev"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("convoId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("message") ], ), nullable: None, @@ -1090,7 +1146,9 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("convoId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "convoId", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -1105,7 +1163,9 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("message"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "message", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1116,7 +1176,9 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rev"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "rev", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -1135,15 +1197,17 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("logRemoveReaction"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "logRemoveReaction", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("rev"), - ::jacquard_common::smol_str::SmolStr::new_static("convoId"), - ::jacquard_common::smol_str::SmolStr::new_static("message"), - ::jacquard_common::smol_str::SmolStr::new_static("reaction") + ::jacquard_common::deps::smol_str::SmolStr::new_static("rev"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("convoId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("message"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("reaction") ], ), nullable: None, @@ -1151,7 +1215,9 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("convoId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "convoId", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -1166,7 +1232,9 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("message"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "message", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1177,7 +1245,9 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reaction"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reaction", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -1186,7 +1256,9 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rev"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "rev", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -1205,13 +1277,13 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("logUnmuteConvo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("logUnmuteConvo"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("rev"), - ::jacquard_common::smol_str::SmolStr::new_static("convoId") + ::jacquard_common::deps::smol_str::SmolStr::new_static("rev"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("convoId") ], ), nullable: None, @@ -1219,7 +1291,9 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("convoId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "convoId", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -1234,7 +1308,9 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rev"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "rev", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -1253,15 +1329,15 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "messageAndReactionView", ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("message"), - ::jacquard_common::smol_str::SmolStr::new_static("reaction") + ::jacquard_common::deps::smol_str::SmolStr::new_static("message"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("reaction") ], ), nullable: None, @@ -1269,14 +1345,18 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("message"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "message", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#messageView"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reaction"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reaction", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -1289,18 +1369,22 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("messageInput"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("messageInput"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("text")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("text") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("embed"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "embed", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1310,7 +1394,9 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("facets"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "facets", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -1328,7 +1414,9 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -1347,14 +1435,14 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("messageRef"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("messageRef"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("did"), - ::jacquard_common::smol_str::SmolStr::new_static("messageId"), - ::jacquard_common::smol_str::SmolStr::new_static("convoId") + ::jacquard_common::deps::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("messageId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("convoId") ], ), nullable: None, @@ -1362,7 +1450,9 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("convoId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "convoId", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -1377,7 +1467,9 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -1394,7 +1486,7 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "messageId", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1415,16 +1507,16 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("messageView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("messageView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("id"), - ::jacquard_common::smol_str::SmolStr::new_static("rev"), - ::jacquard_common::smol_str::SmolStr::new_static("text"), - ::jacquard_common::smol_str::SmolStr::new_static("sender"), - ::jacquard_common::smol_str::SmolStr::new_static("sentAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("rev"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("sender"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("sentAt") ], ), nullable: None, @@ -1432,7 +1524,9 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("embed"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "embed", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1442,7 +1536,9 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("facets"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "facets", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -1460,7 +1556,7 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -1475,7 +1571,7 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "reactions", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -1495,7 +1591,9 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rev"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "rev", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -1510,7 +1608,9 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sender"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sender", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -1519,7 +1619,9 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sentAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sentAt", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -1536,7 +1638,9 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -1555,18 +1659,24 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("messageViewSender"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "messageViewSender", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("did")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("did") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -1587,14 +1697,14 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reactionView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("reactionView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("value"), - ::jacquard_common::smol_str::SmolStr::new_static("sender"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("value"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("sender"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -1602,7 +1712,7 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1621,7 +1731,9 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sender"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sender", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -1630,7 +1742,9 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("value"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "value", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -1649,18 +1763,24 @@ fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reactionViewSender"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reactionViewSender", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("did")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("did") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -1733,67 +1853,67 @@ pub mod deleted_message_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Sender; + type Id; type Rev; type SentAt; - type Id; + type Sender; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Sender = Unset; + type Id = Unset; type Rev = Unset; type SentAt = Unset; - type Id = Unset; + type Sender = Unset; } - ///State transition - sets the `sender` field to Set - pub struct SetSender(PhantomData S>); - impl sealed::Sealed for SetSender {} - impl State for SetSender { - type Sender = Set; + ///State transition - sets the `id` field to Set + pub struct SetId(PhantomData S>); + impl sealed::Sealed for SetId {} + impl State for SetId { + type Id = Set; type Rev = S::Rev; type SentAt = S::SentAt; - type Id = S::Id; + type Sender = S::Sender; } ///State transition - sets the `rev` field to Set pub struct SetRev(PhantomData S>); impl sealed::Sealed for SetRev {} impl State for SetRev { - type Sender = S::Sender; + type Id = S::Id; type Rev = Set; type SentAt = S::SentAt; - type Id = S::Id; + type Sender = S::Sender; } ///State transition - sets the `sent_at` field to Set pub struct SetSentAt(PhantomData S>); impl sealed::Sealed for SetSentAt {} impl State for SetSentAt { - type Sender = S::Sender; + type Id = S::Id; type Rev = S::Rev; type SentAt = Set; - type Id = S::Id; - } - ///State transition - sets the `id` field to Set - pub struct SetId(PhantomData S>); - impl sealed::Sealed for SetId {} - impl State for SetId { type Sender = S::Sender; + } + ///State transition - sets the `sender` field to Set + pub struct SetSender(PhantomData S>); + impl sealed::Sealed for SetSender {} + impl State for SetSender { + type Id = S::Id; type Rev = S::Rev; type SentAt = S::SentAt; - type Id = Set; + type Sender = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `sender` field - pub struct sender(()); + ///Marker type for the `id` field + pub struct id(()); ///Marker type for the `rev` field pub struct rev(()); ///Marker type for the `sent_at` field pub struct sent_at(()); - ///Marker type for the `id` field - pub struct id(()); + ///Marker type for the `sender` field + pub struct sender(()); } } @@ -1906,10 +2026,10 @@ where impl<'a, S> DeletedMessageViewBuilder<'a, S> where S: deleted_message_view_state::State, - S::Sender: deleted_message_view_state::IsSet, + S::Id: deleted_message_view_state::IsSet, S::Rev: deleted_message_view_state::IsSet, S::SentAt: deleted_message_view_state::IsSet, - S::Id: deleted_message_view_state::IsSet, + S::Sender: deleted_message_view_state::IsSet, { /// Build the final struct pub fn build(self) -> DeletedMessageView<'a> { @@ -1925,7 +2045,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> DeletedMessageView<'a> { @@ -2025,8 +2145,8 @@ pub mod log_add_reaction_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Rev; - type Message; type ConvoId; + type Message; type Reaction; } /// Empty state - all required fields are unset @@ -2034,8 +2154,8 @@ pub mod log_add_reaction_state { impl sealed::Sealed for Empty {} impl State for Empty { type Rev = Unset; - type Message = Unset; type ConvoId = Unset; + type Message = Unset; type Reaction = Unset; } ///State transition - sets the `rev` field to Set @@ -2043,17 +2163,8 @@ pub mod log_add_reaction_state { impl sealed::Sealed for SetRev {} impl State for SetRev { type Rev = Set; - type Message = S::Message; - type ConvoId = S::ConvoId; - type Reaction = S::Reaction; - } - ///State transition - sets the `message` field to Set - pub struct SetMessage(PhantomData S>); - impl sealed::Sealed for SetMessage {} - impl State for SetMessage { - type Rev = S::Rev; - type Message = Set; type ConvoId = S::ConvoId; + type Message = S::Message; type Reaction = S::Reaction; } ///State transition - sets the `convo_id` field to Set @@ -2061,8 +2172,17 @@ pub mod log_add_reaction_state { impl sealed::Sealed for SetConvoId {} impl State for SetConvoId { type Rev = S::Rev; - type Message = S::Message; type ConvoId = Set; + type Message = S::Message; + type Reaction = S::Reaction; + } + ///State transition - sets the `message` field to Set + pub struct SetMessage(PhantomData S>); + impl sealed::Sealed for SetMessage {} + impl State for SetMessage { + type Rev = S::Rev; + type ConvoId = S::ConvoId; + type Message = Set; type Reaction = S::Reaction; } ///State transition - sets the `reaction` field to Set @@ -2070,8 +2190,8 @@ pub mod log_add_reaction_state { impl sealed::Sealed for SetReaction {} impl State for SetReaction { type Rev = S::Rev; - type Message = S::Message; type ConvoId = S::ConvoId; + type Message = S::Message; type Reaction = Set; } /// Marker types for field names @@ -2079,10 +2199,10 @@ pub mod log_add_reaction_state { pub mod members { ///Marker type for the `rev` field pub struct rev(()); - ///Marker type for the `message` field - pub struct message(()); ///Marker type for the `convo_id` field pub struct convo_id(()); + ///Marker type for the `message` field + pub struct message(()); ///Marker type for the `reaction` field pub struct reaction(()); } @@ -2198,8 +2318,8 @@ impl<'a, S> LogAddReactionBuilder<'a, S> where S: log_add_reaction_state::State, S::Rev: log_add_reaction_state::IsSet, - S::Message: log_add_reaction_state::IsSet, S::ConvoId: log_add_reaction_state::IsSet, + S::Message: log_add_reaction_state::IsSet, S::Reaction: log_add_reaction_state::IsSet, { /// Build the final struct @@ -2216,7 +2336,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> LogAddReaction<'a> { @@ -2332,51 +2452,51 @@ pub mod log_create_message_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type ConvoId; type Message; type Rev; - type ConvoId; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type ConvoId = Unset; type Message = Unset; type Rev = Unset; - type ConvoId = Unset; + } + ///State transition - sets the `convo_id` field to Set + pub struct SetConvoId(PhantomData S>); + impl sealed::Sealed for SetConvoId {} + impl State for SetConvoId { + type ConvoId = Set; + type Message = S::Message; + type Rev = S::Rev; } ///State transition - sets the `message` field to Set pub struct SetMessage(PhantomData S>); impl sealed::Sealed for SetMessage {} impl State for SetMessage { + type ConvoId = S::ConvoId; type Message = Set; type Rev = S::Rev; - type ConvoId = S::ConvoId; } ///State transition - sets the `rev` field to Set pub struct SetRev(PhantomData S>); impl sealed::Sealed for SetRev {} impl State for SetRev { - type Message = S::Message; - type Rev = Set; type ConvoId = S::ConvoId; - } - ///State transition - sets the `convo_id` field to Set - pub struct SetConvoId(PhantomData S>); - impl sealed::Sealed for SetConvoId {} - impl State for SetConvoId { type Message = S::Message; - type Rev = S::Rev; - type ConvoId = Set; + type Rev = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `convo_id` field + pub struct convo_id(()); ///Marker type for the `message` field pub struct message(()); ///Marker type for the `rev` field pub struct rev(()); - ///Marker type for the `convo_id` field - pub struct convo_id(()); } } @@ -2469,9 +2589,9 @@ where impl<'a, S> LogCreateMessageBuilder<'a, S> where S: log_create_message_state::State, + S::ConvoId: log_create_message_state::IsSet, S::Message: log_create_message_state::IsSet, S::Rev: log_create_message_state::IsSet, - S::ConvoId: log_create_message_state::IsSet, { /// Build the final struct pub fn build(self) -> LogCreateMessage<'a> { @@ -2486,7 +2606,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> LogCreateMessage<'a> { @@ -2566,50 +2686,50 @@ pub mod log_delete_message_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Message; - type Rev; type ConvoId; + type Rev; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Message = Unset; - type Rev = Unset; type ConvoId = Unset; + type Rev = Unset; } ///State transition - sets the `message` field to Set pub struct SetMessage(PhantomData S>); impl sealed::Sealed for SetMessage {} impl State for SetMessage { type Message = Set; - type Rev = S::Rev; - type ConvoId = S::ConvoId; - } - ///State transition - sets the `rev` field to Set - pub struct SetRev(PhantomData S>); - impl sealed::Sealed for SetRev {} - impl State for SetRev { - type Message = S::Message; - type Rev = Set; type ConvoId = S::ConvoId; + type Rev = S::Rev; } ///State transition - sets the `convo_id` field to Set pub struct SetConvoId(PhantomData S>); impl sealed::Sealed for SetConvoId {} impl State for SetConvoId { type Message = S::Message; - type Rev = S::Rev; type ConvoId = Set; + type Rev = S::Rev; + } + ///State transition - sets the `rev` field to Set + pub struct SetRev(PhantomData S>); + impl sealed::Sealed for SetRev {} + impl State for SetRev { + type Message = S::Message; + type ConvoId = S::ConvoId; + type Rev = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `message` field pub struct message(()); - ///Marker type for the `rev` field - pub struct rev(()); ///Marker type for the `convo_id` field pub struct convo_id(()); + ///Marker type for the `rev` field + pub struct rev(()); } } @@ -2703,8 +2823,8 @@ impl<'a, S> LogDeleteMessageBuilder<'a, S> where S: log_delete_message_state::State, S::Message: log_delete_message_state::IsSet, - S::Rev: log_delete_message_state::IsSet, S::ConvoId: log_delete_message_state::IsSet, + S::Rev: log_delete_message_state::IsSet, { /// Build the final struct pub fn build(self) -> LogDeleteMessage<'a> { @@ -2719,7 +2839,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> LogDeleteMessage<'a> { @@ -3024,7 +3144,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> LogReadMessage<'a> { @@ -3105,65 +3225,65 @@ pub mod log_remove_reaction_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Reaction; type Message; type ConvoId; - type Reaction; type Rev; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Reaction = Unset; type Message = Unset; type ConvoId = Unset; - type Reaction = Unset; type Rev = Unset; } + ///State transition - sets the `reaction` field to Set + pub struct SetReaction(PhantomData S>); + impl sealed::Sealed for SetReaction {} + impl State for SetReaction { + type Reaction = Set; + type Message = S::Message; + type ConvoId = S::ConvoId; + type Rev = S::Rev; + } ///State transition - sets the `message` field to Set pub struct SetMessage(PhantomData S>); impl sealed::Sealed for SetMessage {} impl State for SetMessage { + type Reaction = S::Reaction; type Message = Set; type ConvoId = S::ConvoId; - type Reaction = S::Reaction; type Rev = S::Rev; } ///State transition - sets the `convo_id` field to Set pub struct SetConvoId(PhantomData S>); impl sealed::Sealed for SetConvoId {} impl State for SetConvoId { - type Message = S::Message; - type ConvoId = Set; type Reaction = S::Reaction; - type Rev = S::Rev; - } - ///State transition - sets the `reaction` field to Set - pub struct SetReaction(PhantomData S>); - impl sealed::Sealed for SetReaction {} - impl State for SetReaction { type Message = S::Message; - type ConvoId = S::ConvoId; - type Reaction = Set; + type ConvoId = Set; type Rev = S::Rev; } ///State transition - sets the `rev` field to Set pub struct SetRev(PhantomData S>); impl sealed::Sealed for SetRev {} impl State for SetRev { + type Reaction = S::Reaction; type Message = S::Message; type ConvoId = S::ConvoId; - type Reaction = S::Reaction; type Rev = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `reaction` field + pub struct reaction(()); ///Marker type for the `message` field pub struct message(()); ///Marker type for the `convo_id` field pub struct convo_id(()); - ///Marker type for the `reaction` field - pub struct reaction(()); ///Marker type for the `rev` field pub struct rev(()); } @@ -3278,9 +3398,9 @@ where impl<'a, S> LogRemoveReactionBuilder<'a, S> where S: log_remove_reaction_state::State, + S::Reaction: log_remove_reaction_state::IsSet, S::Message: log_remove_reaction_state::IsSet, S::ConvoId: log_remove_reaction_state::IsSet, - S::Reaction: log_remove_reaction_state::IsSet, S::Rev: log_remove_reaction_state::IsSet, { /// Build the final struct @@ -3297,7 +3417,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> LogRemoveReaction<'a> { @@ -3411,37 +3531,37 @@ pub mod message_and_reaction_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Message; type Reaction; + type Message; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Message = Unset; type Reaction = Unset; - } - ///State transition - sets the `message` field to Set - pub struct SetMessage(PhantomData S>); - impl sealed::Sealed for SetMessage {} - impl State for SetMessage { - type Message = Set; - type Reaction = S::Reaction; + type Message = Unset; } ///State transition - sets the `reaction` field to Set pub struct SetReaction(PhantomData S>); impl sealed::Sealed for SetReaction {} impl State for SetReaction { - type Message = S::Message; type Reaction = Set; + type Message = S::Message; + } + ///State transition - sets the `message` field to Set + pub struct SetMessage(PhantomData S>); + impl sealed::Sealed for SetMessage {} + impl State for SetMessage { + type Reaction = S::Reaction; + type Message = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `message` field - pub struct message(()); ///Marker type for the `reaction` field pub struct reaction(()); + ///Marker type for the `message` field + pub struct message(()); } } @@ -3523,8 +3643,8 @@ where impl<'a, S> MessageAndReactionViewBuilder<'a, S> where S: message_and_reaction_view_state::State, - S::Message: message_and_reaction_view_state::IsSet, S::Reaction: message_and_reaction_view_state::IsSet, + S::Message: message_and_reaction_view_state::IsSet, { /// Build the final struct pub fn build(self) -> MessageAndReactionView<'a> { @@ -3538,7 +3658,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> MessageAndReactionView<'a> { @@ -3620,7 +3740,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for MessageInput<'a> { { let value = &self.text; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -3670,49 +3790,49 @@ pub mod message_ref_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Did; type MessageId; + type Did; type ConvoId; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Did = Unset; type MessageId = Unset; + type Did = Unset; type ConvoId = Unset; } - ///State transition - sets the `did` field to Set - pub struct SetDid(PhantomData S>); - impl sealed::Sealed for SetDid {} - impl State for SetDid { - type Did = Set; - type MessageId = S::MessageId; - type ConvoId = S::ConvoId; - } ///State transition - sets the `message_id` field to Set pub struct SetMessageId(PhantomData S>); impl sealed::Sealed for SetMessageId {} impl State for SetMessageId { - type Did = S::Did; type MessageId = Set; + type Did = S::Did; + type ConvoId = S::ConvoId; + } + ///State transition - sets the `did` field to Set + pub struct SetDid(PhantomData S>); + impl sealed::Sealed for SetDid {} + impl State for SetDid { + type MessageId = S::MessageId; + type Did = Set; type ConvoId = S::ConvoId; } ///State transition - sets the `convo_id` field to Set pub struct SetConvoId(PhantomData S>); impl sealed::Sealed for SetConvoId {} impl State for SetConvoId { - type Did = S::Did; type MessageId = S::MessageId; + type Did = S::Did; type ConvoId = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `did` field - pub struct did(()); ///Marker type for the `message_id` field pub struct message_id(()); + ///Marker type for the `did` field + pub struct did(()); ///Marker type for the `convo_id` field pub struct convo_id(()); } @@ -3807,8 +3927,8 @@ where impl<'a, S> MessageRefBuilder<'a, S> where S: message_ref_state::State, - S::Did: message_ref_state::IsSet, S::MessageId: message_ref_state::IsSet, + S::Did: message_ref_state::IsSet, S::ConvoId: message_ref_state::IsSet, { /// Build the final struct @@ -3824,7 +3944,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> MessageRef<'a> { @@ -3898,85 +4018,85 @@ pub mod message_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Rev; - type Sender; + type Id; type Text; + type Sender; + type Rev; type SentAt; - type Id; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Rev = Unset; - type Sender = Unset; + type Id = Unset; type Text = Unset; + type Sender = Unset; + type Rev = Unset; type SentAt = Unset; - type Id = Unset; } - ///State transition - sets the `rev` field to Set - pub struct SetRev(PhantomData S>); - impl sealed::Sealed for SetRev {} - impl State for SetRev { - type Rev = Set; - type Sender = S::Sender; + ///State transition - sets the `id` field to Set + pub struct SetId(PhantomData S>); + impl sealed::Sealed for SetId {} + impl State for SetId { + type Id = Set; type Text = S::Text; + type Sender = S::Sender; + type Rev = S::Rev; type SentAt = S::SentAt; + } + ///State transition - sets the `text` field to Set + pub struct SetText(PhantomData S>); + impl sealed::Sealed for SetText {} + impl State for SetText { type Id = S::Id; + type Text = Set; + type Sender = S::Sender; + type Rev = S::Rev; + type SentAt = S::SentAt; } ///State transition - sets the `sender` field to Set pub struct SetSender(PhantomData S>); impl sealed::Sealed for SetSender {} impl State for SetSender { - type Rev = S::Rev; - type Sender = Set; + type Id = S::Id; type Text = S::Text; + type Sender = Set; + type Rev = S::Rev; type SentAt = S::SentAt; - type Id = S::Id; } - ///State transition - sets the `text` field to Set - pub struct SetText(PhantomData S>); - impl sealed::Sealed for SetText {} - impl State for SetText { - type Rev = S::Rev; + ///State transition - sets the `rev` field to Set + pub struct SetRev(PhantomData S>); + impl sealed::Sealed for SetRev {} + impl State for SetRev { + type Id = S::Id; + type Text = S::Text; type Sender = S::Sender; - type Text = Set; + type Rev = Set; type SentAt = S::SentAt; - type Id = S::Id; } ///State transition - sets the `sent_at` field to Set pub struct SetSentAt(PhantomData S>); impl sealed::Sealed for SetSentAt {} impl State for SetSentAt { - type Rev = S::Rev; - type Sender = S::Sender; - type Text = S::Text; - type SentAt = Set; type Id = S::Id; - } - ///State transition - sets the `id` field to Set - pub struct SetId(PhantomData S>); - impl sealed::Sealed for SetId {} - impl State for SetId { - type Rev = S::Rev; - type Sender = S::Sender; type Text = S::Text; - type SentAt = S::SentAt; - type Id = Set; + type Sender = S::Sender; + type Rev = S::Rev; + type SentAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `rev` field - pub struct rev(()); - ///Marker type for the `sender` field - pub struct sender(()); + ///Marker type for the `id` field + pub struct id(()); ///Marker type for the `text` field pub struct text(()); + ///Marker type for the `sender` field + pub struct sender(()); + ///Marker type for the `rev` field + pub struct rev(()); ///Marker type for the `sent_at` field pub struct sent_at(()); - ///Marker type for the `id` field - pub struct id(()); } } @@ -4169,11 +4289,11 @@ where impl<'a, S> MessageViewBuilder<'a, S> where S: message_view_state::State, - S::Rev: message_view_state::IsSet, - S::Sender: message_view_state::IsSet, + S::Id: message_view_state::IsSet, S::Text: message_view_state::IsSet, + S::Sender: message_view_state::IsSet, + S::Rev: message_view_state::IsSet, S::SentAt: message_view_state::IsSet, - S::Id: message_view_state::IsSet, { /// Build the final struct pub fn build(self) -> MessageView<'a> { @@ -4193,7 +4313,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> MessageView<'a> { @@ -4240,7 +4360,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for MessageView<'a> { { let value = &self.text; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -4370,7 +4490,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> MessageViewSender<'a> { @@ -4427,51 +4547,51 @@ pub mod reaction_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Value; type Sender; type CreatedAt; + type Value; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Value = Unset; type Sender = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `value` field to Set - pub struct SetValue(PhantomData S>); - impl sealed::Sealed for SetValue {} - impl State for SetValue { - type Value = Set; - type Sender = S::Sender; - type CreatedAt = S::CreatedAt; + type Value = Unset; } ///State transition - sets the `sender` field to Set pub struct SetSender(PhantomData S>); impl sealed::Sealed for SetSender {} impl State for SetSender { - type Value = S::Value; type Sender = Set; type CreatedAt = S::CreatedAt; + type Value = S::Value; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Value = S::Value; type Sender = S::Sender; type CreatedAt = Set; + type Value = S::Value; + } + ///State transition - sets the `value` field to Set + pub struct SetValue(PhantomData S>); + impl sealed::Sealed for SetValue {} + impl State for SetValue { + type Sender = S::Sender; + type CreatedAt = S::CreatedAt; + type Value = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `value` field - pub struct value(()); ///Marker type for the `sender` field pub struct sender(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `value` field + pub struct value(()); } } @@ -4564,9 +4684,9 @@ where impl<'a, S> ReactionViewBuilder<'a, S> where S: reaction_view_state::State, - S::Value: reaction_view_state::IsSet, S::Sender: reaction_view_state::IsSet, S::CreatedAt: reaction_view_state::IsSet, + S::Value: reaction_view_state::IsSet, { /// Build the final struct pub fn build(self) -> ReactionView<'a> { @@ -4581,7 +4701,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ReactionView<'a> { @@ -4721,7 +4841,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ReactionViewSender<'a> { 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 5950b13a1..f6379c0d1 100644 --- a/crates/jacquard-api/src/chat_bsky/convo/send_message.rs +++ b/crates/jacquard-api/src/chat_bsky/convo/send_message.rs @@ -151,7 +151,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> SendMessage<'a> { 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 a875bcdac..bd7c77c3a 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 @@ -33,37 +33,37 @@ pub mod batch_item_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Message; type ConvoId; + type Message; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Message = Unset; type ConvoId = Unset; - } - ///State transition - sets the `message` field to Set - pub struct SetMessage(PhantomData S>); - impl sealed::Sealed for SetMessage {} - impl State for SetMessage { - type Message = Set; - type ConvoId = S::ConvoId; + type Message = Unset; } ///State transition - sets the `convo_id` field to Set pub struct SetConvoId(PhantomData S>); impl sealed::Sealed for SetConvoId {} impl State for SetConvoId { - type Message = S::Message; type ConvoId = Set; + type Message = S::Message; + } + ///State transition - sets the `message` field to Set + pub struct SetMessage(PhantomData S>); + impl sealed::Sealed for SetMessage {} + impl State for SetMessage { + type ConvoId = S::ConvoId; + type Message = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `message` field - pub struct message(()); ///Marker type for the `convo_id` field pub struct convo_id(()); + ///Marker type for the `message` field + pub struct message(()); } } @@ -136,8 +136,8 @@ where impl<'a, S> BatchItemBuilder<'a, S> where S: batch_item_state::State, - S::Message: batch_item_state::IsSet, S::ConvoId: batch_item_state::IsSet, + S::Message: batch_item_state::IsSet, { /// Build the final struct pub fn build(self) -> BatchItem<'a> { @@ -151,7 +151,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> BatchItem<'a> { @@ -174,13 +174,13 @@ fn lexicon_doc_chat_bsky_convo_sendMessageBatch() -> ::jacquard_lexicon::lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("batchItem"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("batchItem"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("convoId"), - ::jacquard_common::smol_str::SmolStr::new_static("message") + ::jacquard_common::deps::smol_str::SmolStr::new_static("convoId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("message") ], ), nullable: None, @@ -188,7 +188,9 @@ fn lexicon_doc_chat_bsky_convo_sendMessageBatch() -> ::jacquard_lexicon::lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("convoId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "convoId", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -203,7 +205,9 @@ fn lexicon_doc_chat_bsky_convo_sendMessageBatch() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("message"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "message", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -216,7 +220,7 @@ fn lexicon_doc_chat_bsky_convo_sendMessageBatch() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcProcedure(::jacquard_lexicon::lexicon::LexXrpcProcedure { description: None, parameters: None, @@ -230,7 +234,7 @@ fn lexicon_doc_chat_bsky_convo_sendMessageBatch() -> ::jacquard_lexicon::lexicon description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("items") + ::jacquard_common::deps::smol_str::SmolStr::new_static("items") ], ), nullable: None, @@ -238,7 +242,9 @@ fn lexicon_doc_chat_bsky_convo_sendMessageBatch() -> ::jacquard_lexicon::lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("items"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "items", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -392,7 +398,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> SendMessageBatch<'a> { 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 416ecc464..797bb4fd1 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 @@ -185,67 +185,67 @@ pub mod metadata_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type MessagesSent; + type MessagesReceived; type Convos; + type MessagesSent; type ConvosStarted; - type MessagesReceived; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type MessagesSent = Unset; + type MessagesReceived = Unset; type Convos = Unset; + type MessagesSent = Unset; type ConvosStarted = Unset; - type MessagesReceived = Unset; } - ///State transition - sets the `messages_sent` field to Set - pub struct SetMessagesSent(PhantomData S>); - impl sealed::Sealed for SetMessagesSent {} - impl State for SetMessagesSent { - type MessagesSent = Set; + ///State transition - sets the `messages_received` field to Set + pub struct SetMessagesReceived(PhantomData S>); + impl sealed::Sealed for SetMessagesReceived {} + impl State for SetMessagesReceived { + type MessagesReceived = Set; type Convos = S::Convos; + type MessagesSent = S::MessagesSent; type ConvosStarted = S::ConvosStarted; - type MessagesReceived = S::MessagesReceived; } ///State transition - sets the `convos` field to Set pub struct SetConvos(PhantomData S>); impl sealed::Sealed for SetConvos {} impl State for SetConvos { - type MessagesSent = S::MessagesSent; + type MessagesReceived = S::MessagesReceived; type Convos = Set; + type MessagesSent = S::MessagesSent; type ConvosStarted = S::ConvosStarted; + } + ///State transition - sets the `messages_sent` field to Set + pub struct SetMessagesSent(PhantomData S>); + impl sealed::Sealed for SetMessagesSent {} + impl State for SetMessagesSent { type MessagesReceived = S::MessagesReceived; + type Convos = S::Convos; + type MessagesSent = Set; + type ConvosStarted = S::ConvosStarted; } ///State transition - sets the `convos_started` field to Set pub struct SetConvosStarted(PhantomData S>); impl sealed::Sealed for SetConvosStarted {} impl State for SetConvosStarted { - type MessagesSent = S::MessagesSent; - type Convos = S::Convos; - type ConvosStarted = Set; type MessagesReceived = S::MessagesReceived; - } - ///State transition - sets the `messages_received` field to Set - pub struct SetMessagesReceived(PhantomData S>); - impl sealed::Sealed for SetMessagesReceived {} - impl State for SetMessagesReceived { - type MessagesSent = S::MessagesSent; type Convos = S::Convos; - type ConvosStarted = S::ConvosStarted; - type MessagesReceived = Set; + type MessagesSent = S::MessagesSent; + type ConvosStarted = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `messages_sent` field - pub struct messages_sent(()); + ///Marker type for the `messages_received` field + pub struct messages_received(()); ///Marker type for the `convos` field pub struct convos(()); + ///Marker type for the `messages_sent` field + pub struct messages_sent(()); ///Marker type for the `convos_started` field pub struct convos_started(()); - ///Marker type for the `messages_received` field - pub struct messages_received(()); } } @@ -358,10 +358,10 @@ where impl<'a, S> MetadataBuilder<'a, S> where S: metadata_state::State, - S::MessagesSent: metadata_state::IsSet, + S::MessagesReceived: metadata_state::IsSet, S::Convos: metadata_state::IsSet, + S::MessagesSent: metadata_state::IsSet, S::ConvosStarted: metadata_state::IsSet, - S::MessagesReceived: metadata_state::IsSet, { /// Build the final struct pub fn build(self) -> Metadata<'a> { @@ -377,7 +377,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Metadata<'a> { @@ -404,7 +404,7 @@ fn lexicon_doc_chat_bsky_moderation_getActorMetadata() -> ::jacquard_lexicon::le defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcQuery(::jacquard_lexicon::lexicon::LexXrpcQuery { description: None, parameters: Some( @@ -412,14 +412,16 @@ fn lexicon_doc_chat_bsky_moderation_getActorMetadata() -> ::jacquard_lexicon::le description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("actor") + ::jacquard_common::deps::smol_str::SmolStr::new_static("actor") ], ), properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("actor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "actor", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -444,15 +446,15 @@ fn lexicon_doc_chat_bsky_moderation_getActorMetadata() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("metadata"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("metadata"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("messagesSent"), - ::jacquard_common::smol_str::SmolStr::new_static("messagesReceived"), - ::jacquard_common::smol_str::SmolStr::new_static("convos"), - ::jacquard_common::smol_str::SmolStr::new_static("convosStarted") + ::jacquard_common::deps::smol_str::SmolStr::new_static("messagesSent"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("messagesReceived"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("convos"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("convosStarted") ], ), nullable: None, @@ -460,7 +462,9 @@ fn lexicon_doc_chat_bsky_moderation_getActorMetadata() -> ::jacquard_lexicon::le #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("convos"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "convos", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -471,7 +475,7 @@ fn lexicon_doc_chat_bsky_moderation_getActorMetadata() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "convosStarted", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -484,7 +488,7 @@ fn lexicon_doc_chat_bsky_moderation_getActorMetadata() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "messagesReceived", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -497,7 +501,7 @@ fn lexicon_doc_chat_bsky_moderation_getActorMetadata() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "messagesSent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { 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 ebdd92b2b..dee07f6a4 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 @@ -35,37 +35,37 @@ pub mod update_actor_access_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Actor; type AllowAccess; + type Actor; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Actor = Unset; type AllowAccess = Unset; - } - ///State transition - sets the `actor` field to Set - pub struct SetActor(PhantomData S>); - impl sealed::Sealed for SetActor {} - impl State for SetActor { - type Actor = Set; - type AllowAccess = S::AllowAccess; + type Actor = Unset; } ///State transition - sets the `allow_access` field to Set pub struct SetAllowAccess(PhantomData S>); impl sealed::Sealed for SetAllowAccess {} impl State for SetAllowAccess { - type Actor = S::Actor; type AllowAccess = Set; + type Actor = S::Actor; + } + ///State transition - sets the `actor` field to Set + pub struct SetActor(PhantomData S>); + impl sealed::Sealed for SetActor {} + impl State for SetActor { + type AllowAccess = S::AllowAccess; + type Actor = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `actor` field - pub struct actor(()); ///Marker type for the `allow_access` field pub struct allow_access(()); + ///Marker type for the `actor` field + pub struct actor(()); } } @@ -155,8 +155,8 @@ impl<'a, S: update_actor_access_state::State> UpdateActorAccessBuilder<'a, S> { impl<'a, S> UpdateActorAccessBuilder<'a, S> where S: update_actor_access_state::State, - S::Actor: update_actor_access_state::IsSet, S::AllowAccess: update_actor_access_state::IsSet, + S::Actor: update_actor_access_state::IsSet, { /// Build the final struct pub fn build(self) -> UpdateActorAccess<'a> { @@ -171,7 +171,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> UpdateActorAccess<'a> { 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 34299549b..eb6c2e90a 100644 --- a/crates/jacquard-api/src/chat_firehose/get_user_channels.rs +++ b/crates/jacquard-api/src/chat_firehose/get_user_channels.rs @@ -37,7 +37,7 @@ fn lexicon_doc_chat_firehose_getUserChannels() -> ::jacquard_lexicon::lexicon::L defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("channel"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("channel"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -46,7 +46,9 @@ fn lexicon_doc_chat_firehose_getUserChannels() -> ::jacquard_lexicon::lexicon::L #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -61,7 +63,9 @@ fn lexicon_doc_chat_firehose_getUserChannels() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -80,7 +84,7 @@ fn lexicon_doc_chat_firehose_getUserChannels() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcQuery(::jacquard_lexicon::lexicon::LexXrpcQuery { description: None, parameters: None, diff --git a/crates/jacquard-api/src/city_yoyle/status.rs b/crates/jacquard-api/src/city_yoyle/status.rs index 1a12e75ef..f62e49f7b 100644 --- a/crates/jacquard-api/src/city_yoyle/status.rs +++ b/crates/jacquard-api/src/city_yoyle/status.rs @@ -139,7 +139,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Status<'a> { @@ -241,7 +241,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Status<'a> { { let value = &self.text; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -270,7 +270,7 @@ fn lexicon_doc_city_yoyle_status() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static("Short status update"), @@ -280,7 +280,7 @@ fn lexicon_doc_city_yoyle_status() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("text") + ::jacquard_common::deps::smol_str::SmolStr::new_static("text") ], ), nullable: None, @@ -288,7 +288,7 @@ fn lexicon_doc_city_yoyle_status() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -307,7 +307,9 @@ fn lexicon_doc_city_yoyle_status() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, 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 f9ef69cdb..56e068ac4 100644 --- a/crates/jacquard-api/src/club_stellz/evm/address_control.rs +++ b/crates/jacquard-api/src/club_stellz/evm/address_control.rs @@ -19,13 +19,13 @@ pub struct AddressControl<'a> { /// Ethereum address as bytes (20 bytes) #[serde(with = "jacquard_common::serde_bytes_helper")] - pub address: bytes::Bytes, + pub address: jacquard_common::deps::bytes::Bytes, /// List of all Chain IDs (besides the one in the sign-in message, though you can include it) that the holder of this address is also active on & accepts tokens thru. #[serde(skip_serializing_if = "std::option::Option::is_none")] pub also_on: std::option::Option>, /// Sign in With Ethereum message signature as bytes #[serde(with = "jacquard_common::serde_bytes_helper")] - pub signature: bytes::Bytes, + pub signature: jacquard_common::deps::bytes::Bytes, #[serde(borrow)] pub siwe: crate::club_stellz::evm::address_control::SiweMessage<'a>, } @@ -40,49 +40,49 @@ pub mod address_control_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Address; type Siwe; + type Address; type Signature; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Address = Unset; type Siwe = Unset; + type Address = Unset; type Signature = Unset; } - ///State transition - sets the `address` field to Set - pub struct SetAddress(PhantomData S>); - impl sealed::Sealed for SetAddress {} - impl State for SetAddress { - type Address = Set; - type Siwe = S::Siwe; - type Signature = S::Signature; - } ///State transition - sets the `siwe` field to Set pub struct SetSiwe(PhantomData S>); impl sealed::Sealed for SetSiwe {} impl State for SetSiwe { - type Address = S::Address; type Siwe = Set; + type Address = S::Address; + type Signature = S::Signature; + } + ///State transition - sets the `address` field to Set + pub struct SetAddress(PhantomData S>); + impl sealed::Sealed for SetAddress {} + impl State for SetAddress { + type Siwe = S::Siwe; + type Address = Set; type Signature = S::Signature; } ///State transition - sets the `signature` field to Set pub struct SetSignature(PhantomData S>); impl sealed::Sealed for SetSignature {} impl State for SetSignature { - type Address = S::Address; type Siwe = S::Siwe; + type Address = S::Address; type Signature = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `address` field - pub struct address(()); ///Marker type for the `siwe` field pub struct siwe(()); + ///Marker type for the `address` field + pub struct address(()); ///Marker type for the `signature` field pub struct signature(()); } @@ -92,9 +92,9 @@ pub mod address_control_state { pub struct AddressControlBuilder<'a, S: address_control_state::State> { _phantom_state: ::core::marker::PhantomData S>, __unsafe_private_named: ( - ::core::option::Option, + ::core::option::Option, ::core::option::Option>, - ::core::option::Option, + ::core::option::Option, ::core::option::Option>, ), _phantom: ::core::marker::PhantomData<&'a ()>, @@ -126,7 +126,7 @@ where /// Set the `address` field (required) pub fn address( mut self, - value: impl Into, + value: impl Into, ) -> AddressControlBuilder<'a, address_control_state::SetAddress> { self.__unsafe_private_named.0 = ::core::option::Option::Some(value.into()); AddressControlBuilder { @@ -158,7 +158,7 @@ where /// Set the `signature` field (required) pub fn signature( mut self, - value: impl Into, + value: impl Into, ) -> AddressControlBuilder<'a, address_control_state::SetSignature> { self.__unsafe_private_named.2 = ::core::option::Option::Some(value.into()); AddressControlBuilder { @@ -191,8 +191,8 @@ where impl<'a, S> AddressControlBuilder<'a, S> where S: address_control_state::State, - S::Address: address_control_state::IsSet, S::Siwe: address_control_state::IsSet, + S::Address: address_control_state::IsSet, S::Signature: address_control_state::IsSet, { /// Build the final struct @@ -209,7 +209,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> AddressControl<'a> { @@ -234,14 +234,14 @@ fn lexicon_doc_club_stellz_evm_addressControl() -> ::jacquard_lexicon::lexicon:: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("address"), - ::jacquard_common::smol_str::SmolStr::new_static("signature"), - ::jacquard_common::smol_str::SmolStr::new_static("siwe") + ::jacquard_common::deps::smol_str::SmolStr::new_static("address"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("signature"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("siwe") ], ), nullable: None, @@ -249,7 +249,9 @@ fn lexicon_doc_club_stellz_evm_addressControl() -> ::jacquard_lexicon::lexicon:: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("address"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "address", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Bytes(::jacquard_lexicon::lexicon::LexBytes { description: None, max_length: None, @@ -257,7 +259,9 @@ fn lexicon_doc_club_stellz_evm_addressControl() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("alsoOn"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "alsoOn", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -277,7 +281,7 @@ fn lexicon_doc_club_stellz_evm_addressControl() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "signature", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Bytes(::jacquard_lexicon::lexicon::LexBytes { @@ -287,7 +291,9 @@ fn lexicon_doc_club_stellz_evm_addressControl() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("siwe"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "siwe", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#siweMessage"), @@ -298,19 +304,19 @@ fn lexicon_doc_club_stellz_evm_addressControl() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("siweMessage"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("siweMessage"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("domain"), - ::jacquard_common::smol_str::SmolStr::new_static("address"), - ::jacquard_common::smol_str::SmolStr::new_static("statement"), - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("version"), - ::jacquard_common::smol_str::SmolStr::new_static("chainId"), - ::jacquard_common::smol_str::SmolStr::new_static("nonce"), - ::jacquard_common::smol_str::SmolStr::new_static("issuedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("domain"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("address"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("statement"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("version"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("chainId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("nonce"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("issuedAt") ], ), nullable: None, @@ -318,7 +324,9 @@ fn lexicon_doc_club_stellz_evm_addressControl() -> ::jacquard_lexicon::lexicon:: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("address"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "address", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -337,7 +345,9 @@ fn lexicon_doc_club_stellz_evm_addressControl() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("chainId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "chainId", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -348,7 +358,9 @@ fn lexicon_doc_club_stellz_evm_addressControl() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("domain"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "domain", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -367,7 +379,9 @@ fn lexicon_doc_club_stellz_evm_addressControl() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("issuedAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "issuedAt", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -388,7 +402,9 @@ fn lexicon_doc_club_stellz_evm_addressControl() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("nonce"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "nonce", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -407,7 +423,7 @@ fn lexicon_doc_club_stellz_evm_addressControl() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "statement", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -428,7 +444,9 @@ fn lexicon_doc_club_stellz_evm_addressControl() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -449,7 +467,9 @@ fn lexicon_doc_club_stellz_evm_addressControl() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("version"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "version", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -539,151 +559,151 @@ pub mod siwe_message_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Statement; + type Address; type Domain; - type Uri; + type Nonce; type Version; + type Uri; type IssuedAt; - type Nonce; - type Address; type ChainId; - type Statement; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Statement = Unset; + type Address = Unset; type Domain = Unset; - type Uri = Unset; + type Nonce = Unset; type Version = Unset; + type Uri = Unset; type IssuedAt = Unset; - type Nonce = Unset; - type Address = Unset; type ChainId = Unset; - type Statement = Unset; + } + ///State transition - sets the `statement` field to Set + pub struct SetStatement(PhantomData S>); + impl sealed::Sealed for SetStatement {} + impl State for SetStatement { + type Statement = Set; + type Address = S::Address; + type Domain = S::Domain; + type Nonce = S::Nonce; + type Version = S::Version; + type Uri = S::Uri; + type IssuedAt = S::IssuedAt; + type ChainId = S::ChainId; + } + ///State transition - sets the `address` field to Set + pub struct SetAddress(PhantomData S>); + impl sealed::Sealed for SetAddress {} + impl State for SetAddress { + type Statement = S::Statement; + type Address = Set; + type Domain = S::Domain; + type Nonce = S::Nonce; + type Version = S::Version; + type Uri = S::Uri; + type IssuedAt = S::IssuedAt; + type ChainId = S::ChainId; } ///State transition - sets the `domain` field to Set pub struct SetDomain(PhantomData S>); impl sealed::Sealed for SetDomain {} impl State for SetDomain { + type Statement = S::Statement; + type Address = S::Address; type Domain = Set; - type Uri = S::Uri; + type Nonce = S::Nonce; type Version = S::Version; + type Uri = S::Uri; type IssuedAt = S::IssuedAt; - type Nonce = S::Nonce; - type Address = S::Address; type ChainId = S::ChainId; - type Statement = S::Statement; } - ///State transition - sets the `uri` field to Set - pub struct SetUri(PhantomData S>); - impl sealed::Sealed for SetUri {} - impl State for SetUri { + ///State transition - sets the `nonce` field to Set + pub struct SetNonce(PhantomData S>); + impl sealed::Sealed for SetNonce {} + impl State for SetNonce { + type Statement = S::Statement; + type Address = S::Address; type Domain = S::Domain; - type Uri = Set; + type Nonce = Set; type Version = S::Version; + type Uri = S::Uri; type IssuedAt = S::IssuedAt; - type Nonce = S::Nonce; - type Address = S::Address; type ChainId = S::ChainId; - type Statement = S::Statement; } ///State transition - sets the `version` field to Set pub struct SetVersion(PhantomData S>); impl sealed::Sealed for SetVersion {} impl State for SetVersion { + type Statement = S::Statement; + type Address = S::Address; type Domain = S::Domain; - type Uri = S::Uri; + type Nonce = S::Nonce; type Version = Set; + type Uri = S::Uri; type IssuedAt = S::IssuedAt; - type Nonce = S::Nonce; - type Address = S::Address; type ChainId = S::ChainId; + } + ///State transition - sets the `uri` field to Set + pub struct SetUri(PhantomData S>); + impl sealed::Sealed for SetUri {} + impl State for SetUri { type Statement = S::Statement; + type Address = S::Address; + type Domain = S::Domain; + type Nonce = S::Nonce; + type Version = S::Version; + type Uri = Set; + type IssuedAt = S::IssuedAt; + type ChainId = S::ChainId; } ///State transition - sets the `issued_at` field to Set pub struct SetIssuedAt(PhantomData S>); impl sealed::Sealed for SetIssuedAt {} impl State for SetIssuedAt { - type Domain = S::Domain; - type Uri = S::Uri; - type Version = S::Version; - type IssuedAt = Set; - type Nonce = S::Nonce; - type Address = S::Address; - type ChainId = S::ChainId; type Statement = S::Statement; - } - ///State transition - sets the `nonce` field to Set - pub struct SetNonce(PhantomData S>); - impl sealed::Sealed for SetNonce {} - impl State for SetNonce { - type Domain = S::Domain; - type Uri = S::Uri; - type Version = S::Version; - type IssuedAt = S::IssuedAt; - type Nonce = Set; type Address = S::Address; - type ChainId = S::ChainId; - type Statement = S::Statement; - } - ///State transition - sets the `address` field to Set - pub struct SetAddress(PhantomData S>); - impl sealed::Sealed for SetAddress {} - impl State for SetAddress { type Domain = S::Domain; - type Uri = S::Uri; - type Version = S::Version; - type IssuedAt = S::IssuedAt; type Nonce = S::Nonce; - type Address = Set; + type Version = S::Version; + type Uri = S::Uri; + type IssuedAt = Set; type ChainId = S::ChainId; - type Statement = S::Statement; } ///State transition - sets the `chain_id` field to Set pub struct SetChainId(PhantomData S>); impl sealed::Sealed for SetChainId {} impl State for SetChainId { - type Domain = S::Domain; - type Uri = S::Uri; - type Version = S::Version; - type IssuedAt = S::IssuedAt; - type Nonce = S::Nonce; - type Address = S::Address; - type ChainId = Set; type Statement = S::Statement; - } - ///State transition - sets the `statement` field to Set - pub struct SetStatement(PhantomData S>); - impl sealed::Sealed for SetStatement {} - impl State for SetStatement { + type Address = S::Address; type Domain = S::Domain; - type Uri = S::Uri; + type Nonce = S::Nonce; type Version = S::Version; + type Uri = S::Uri; type IssuedAt = S::IssuedAt; - type Nonce = S::Nonce; - type Address = S::Address; - type ChainId = S::ChainId; - type Statement = Set; + type ChainId = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `statement` field + pub struct statement(()); + ///Marker type for the `address` field + pub struct address(()); ///Marker type for the `domain` field pub struct domain(()); - ///Marker type for the `uri` field - pub struct uri(()); + ///Marker type for the `nonce` field + pub struct nonce(()); ///Marker type for the `version` field pub struct version(()); + ///Marker type for the `uri` field + pub struct uri(()); ///Marker type for the `issued_at` field pub struct issued_at(()); - ///Marker type for the `nonce` field - pub struct nonce(()); - ///Marker type for the `address` field - pub struct address(()); ///Marker type for the `chain_id` field pub struct chain_id(()); - ///Marker type for the `statement` field - pub struct statement(()); } } @@ -876,14 +896,14 @@ where impl<'a, S> SiweMessageBuilder<'a, S> where S: siwe_message_state::State, + S::Statement: siwe_message_state::IsSet, + S::Address: siwe_message_state::IsSet, S::Domain: siwe_message_state::IsSet, - S::Uri: siwe_message_state::IsSet, + S::Nonce: siwe_message_state::IsSet, S::Version: siwe_message_state::IsSet, + S::Uri: siwe_message_state::IsSet, S::IssuedAt: siwe_message_state::IsSet, - S::Nonce: siwe_message_state::IsSet, - S::Address: siwe_message_state::IsSet, S::ChainId: siwe_message_state::IsSet, - S::Statement: siwe_message_state::IsSet, { /// Build the final struct pub fn build(self) -> SiweMessage<'a> { @@ -903,7 +923,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> SiweMessage<'a> { 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 5277f3095..fee6d7263 100644 --- a/crates/jacquard-api/src/com__5jiji/test/list_videos.rs +++ b/crates/jacquard-api/src/com__5jiji/test/list_videos.rs @@ -28,7 +28,7 @@ pub struct ListVideos; )] #[serde(rename_all = "camelCase")] pub struct ListVideosOutput { - pub body: bytes::Bytes, + pub body: jacquard_common::deps::bytes::Bytes, } /// Response type for 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 bd1a31ae4..7348edf7d 100644 --- a/crates/jacquard-api/src/com__5jiji/test/publish_video.rs +++ b/crates/jacquard-api/src/com__5jiji/test/publish_video.rs @@ -16,7 +16,7 @@ )] #[serde(rename_all = "camelCase")] pub struct PublishVideo { - pub body: bytes::Bytes, + pub body: jacquard_common::deps::bytes::Bytes, } #[derive( @@ -30,7 +30,7 @@ pub struct PublishVideo { )] #[serde(rename_all = "camelCase")] pub struct PublishVideoOutput { - pub body: bytes::Bytes, + pub body: jacquard_common::deps::bytes::Bytes, } #[jacquard_derive::open_union] @@ -95,7 +95,7 @@ impl jacquard_common::xrpc::XrpcRequest for PublishVideo { { Ok( Box::new(Self { - body: bytes::Bytes::copy_from_slice(body), + body: jacquard_common::deps::bytes::Bytes::copy_from_slice(body), }), ) } diff --git a/crates/jacquard-api/src/com__5jiji/test/videos.rs b/crates/jacquard-api/src/com__5jiji/test/videos.rs index ca102906b..a7e72ad81 100644 --- a/crates/jacquard-api/src/com__5jiji/test/videos.rs +++ b/crates/jacquard-api/src/com__5jiji/test/videos.rs @@ -36,51 +36,51 @@ pub mod videos_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Id; - type Title; type Creator; + type Title; + type Id; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Id = Unset; - type Title = Unset; type Creator = Unset; + type Title = Unset; + type Id = Unset; } - ///State transition - sets the `id` field to Set - pub struct SetId(PhantomData S>); - impl sealed::Sealed for SetId {} - impl State for SetId { - type Id = Set; + ///State transition - sets the `creator` field to Set + pub struct SetCreator(PhantomData S>); + impl sealed::Sealed for SetCreator {} + impl State for SetCreator { + type Creator = Set; type Title = S::Title; - type Creator = S::Creator; + type Id = S::Id; } ///State transition - sets the `title` field to Set pub struct SetTitle(PhantomData S>); impl sealed::Sealed for SetTitle {} impl State for SetTitle { - type Id = S::Id; - type Title = Set; type Creator = S::Creator; - } - ///State transition - sets the `creator` field to Set - pub struct SetCreator(PhantomData S>); - impl sealed::Sealed for SetCreator {} - impl State for SetCreator { + type Title = Set; type Id = S::Id; + } + ///State transition - sets the `id` field to Set + pub struct SetId(PhantomData S>); + impl sealed::Sealed for SetId {} + impl State for SetId { + type Creator = S::Creator; type Title = S::Title; - type Creator = Set; + type Id = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `id` field - pub struct id(()); - ///Marker type for the `title` field - pub struct title(()); ///Marker type for the `creator` field pub struct creator(()); + ///Marker type for the `title` field + pub struct title(()); + ///Marker type for the `id` field + pub struct id(()); } } @@ -173,9 +173,9 @@ where impl<'a, S> VideosBuilder<'a, S> where S: videos_state::State, - S::Id: videos_state::IsSet, - S::Title: videos_state::IsSet, S::Creator: videos_state::IsSet, + S::Title: videos_state::IsSet, + S::Id: videos_state::IsSet, { /// Build the final struct pub fn build(self) -> Videos<'a> { @@ -190,7 +190,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Videos<'a> { @@ -280,7 +280,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Videos<'a> { { let value = &self.title; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -311,7 +311,7 @@ fn lexicon_doc_com_5jiji_test_videos() -> ::jacquard_lexicon::lexicon::LexiconDo defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some(::jacquard_common::CowStr::new_static("A video")), key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -319,9 +319,9 @@ fn lexicon_doc_com_5jiji_test_videos() -> ::jacquard_lexicon::lexicon::LexiconDo description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("id"), - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("creator") + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("creator") ], ), nullable: None, @@ -329,7 +329,9 @@ fn lexicon_doc_com_5jiji_test_videos() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("creator"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "creator", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -346,7 +348,9 @@ fn lexicon_doc_com_5jiji_test_videos() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "id", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -355,7 +359,9 @@ fn lexicon_doc_com_5jiji_test_videos() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, diff --git a/crates/jacquard-api/src/com_atproto/admin.rs b/crates/jacquard-api/src/com_atproto/admin.rs index fa6e6937c..607988179 100644 --- a/crates/jacquard-api/src/com_atproto/admin.rs +++ b/crates/jacquard-api/src/com_atproto/admin.rs @@ -80,49 +80,49 @@ pub mod account_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Did; type IndexedAt; + type Did; type Handle; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Did = Unset; type IndexedAt = Unset; + type Did = Unset; type Handle = Unset; } - ///State transition - sets the `did` field to Set - pub struct SetDid(PhantomData S>); - impl sealed::Sealed for SetDid {} - impl State for SetDid { - type Did = Set; - type IndexedAt = S::IndexedAt; - type Handle = S::Handle; - } ///State transition - sets the `indexed_at` field to Set pub struct SetIndexedAt(PhantomData S>); impl sealed::Sealed for SetIndexedAt {} impl State for SetIndexedAt { - type Did = S::Did; type IndexedAt = Set; + type Did = S::Did; + type Handle = S::Handle; + } + ///State transition - sets the `did` field to Set + pub struct SetDid(PhantomData S>); + impl sealed::Sealed for SetDid {} + impl State for SetDid { + type IndexedAt = S::IndexedAt; + type Did = Set; type Handle = S::Handle; } ///State transition - sets the `handle` field to Set pub struct SetHandle(PhantomData S>); impl sealed::Sealed for SetHandle {} impl State for SetHandle { - type Did = S::Did; type IndexedAt = S::IndexedAt; + type Did = S::Did; type Handle = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `did` field - pub struct did(()); ///Marker type for the `indexed_at` field pub struct indexed_at(()); + ///Marker type for the `did` field + pub struct did(()); ///Marker type for the `handle` field pub struct handle(()); } @@ -401,8 +401,8 @@ impl<'a, S: account_view_state::State> AccountViewBuilder<'a, S> { impl<'a, S> AccountViewBuilder<'a, S> where S: account_view_state::State, - S::Did: account_view_state::IsSet, S::IndexedAt: account_view_state::IsSet, + S::Did: account_view_state::IsSet, S::Handle: account_view_state::IsSet, { /// Build the final struct @@ -427,7 +427,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> AccountView<'a> { @@ -460,14 +460,14 @@ fn lexicon_doc_com_atproto_admin_defs() -> ::jacquard_lexicon::lexicon::LexiconD defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("accountView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("accountView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("did"), - ::jacquard_common::smol_str::SmolStr::new_static("handle"), - ::jacquard_common::smol_str::SmolStr::new_static("indexedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("handle"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("indexedAt") ], ), nullable: None, @@ -475,7 +475,7 @@ fn lexicon_doc_com_atproto_admin_defs() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "deactivatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -494,7 +494,9 @@ fn lexicon_doc_com_atproto_admin_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -511,7 +513,9 @@ fn lexicon_doc_com_atproto_admin_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("email"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "email", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -526,7 +530,7 @@ fn lexicon_doc_com_atproto_admin_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "emailConfirmedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -545,7 +549,9 @@ fn lexicon_doc_com_atproto_admin_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("handle"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "handle", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -562,7 +568,7 @@ fn lexicon_doc_com_atproto_admin_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "indexedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -581,7 +587,7 @@ fn lexicon_doc_com_atproto_admin_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "inviteNote", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -598,7 +604,7 @@ fn lexicon_doc_com_atproto_admin_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "invitedBy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -609,7 +615,9 @@ fn lexicon_doc_com_atproto_admin_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("invites"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "invites", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -623,7 +631,7 @@ fn lexicon_doc_com_atproto_admin_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "invitesDisabled", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -633,7 +641,7 @@ fn lexicon_doc_com_atproto_admin_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "relatedRecords", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -646,7 +654,7 @@ fn lexicon_doc_com_atproto_admin_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "threatSignatures", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -666,13 +674,13 @@ fn lexicon_doc_com_atproto_admin_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("repoBlobRef"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("repoBlobRef"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("did"), - ::jacquard_common::smol_str::SmolStr::new_static("cid") + ::jacquard_common::deps::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid") ], ), nullable: None, @@ -680,7 +688,9 @@ fn lexicon_doc_com_atproto_admin_defs() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -697,7 +707,9 @@ fn lexicon_doc_com_atproto_admin_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -714,7 +726,7 @@ fn lexicon_doc_com_atproto_admin_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "recordUri", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -737,18 +749,22 @@ fn lexicon_doc_com_atproto_admin_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("repoRef"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("repoRef"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("did")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("did") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -769,18 +785,22 @@ fn lexicon_doc_com_atproto_admin_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("statusAttr"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("statusAttr"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("applied")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("applied") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("applied"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "applied", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -788,7 +808,9 @@ fn lexicon_doc_com_atproto_admin_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("ref"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "ref", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -807,13 +829,15 @@ fn lexicon_doc_com_atproto_admin_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("threatSignature"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "threatSignature", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("property"), - ::jacquard_common::smol_str::SmolStr::new_static("value") + ::jacquard_common::deps::smol_str::SmolStr::new_static("property"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("value") ], ), nullable: None, @@ -821,7 +845,9 @@ fn lexicon_doc_com_atproto_admin_defs() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("property"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "property", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -836,7 +862,9 @@ fn lexicon_doc_com_atproto_admin_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("value"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "value", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -907,37 +935,37 @@ pub mod repo_blob_ref_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Did; type Cid; + type Did; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Did = Unset; type Cid = Unset; - } - ///State transition - sets the `did` field to Set - pub struct SetDid(PhantomData S>); - impl sealed::Sealed for SetDid {} - impl State for SetDid { - type Did = Set; - type Cid = S::Cid; + type Did = Unset; } ///State transition - sets the `cid` field to Set pub struct SetCid(PhantomData S>); impl sealed::Sealed for SetCid {} impl State for SetCid { - type Did = S::Did; type Cid = Set; + type Did = S::Did; + } + ///State transition - sets the `did` field to Set + pub struct SetDid(PhantomData S>); + impl sealed::Sealed for SetDid {} + impl State for SetDid { + type Cid = S::Cid; + type Did = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `did` field - pub struct did(()); ///Marker type for the `cid` field pub struct cid(()); + ///Marker type for the `did` field + pub struct did(()); } } @@ -1030,8 +1058,8 @@ impl<'a, S: repo_blob_ref_state::State> RepoBlobRefBuilder<'a, S> { impl<'a, S> RepoBlobRefBuilder<'a, S> where S: repo_blob_ref_state::State, - S::Did: repo_blob_ref_state::IsSet, S::Cid: repo_blob_ref_state::IsSet, + S::Did: repo_blob_ref_state::IsSet, { /// Build the final struct pub fn build(self) -> RepoBlobRef<'a> { @@ -1046,7 +1074,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> RepoBlobRef<'a> { @@ -1186,7 +1214,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> RepoRef<'a> { @@ -1344,7 +1372,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> StatusAttr<'a> { 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 89d03cde5..a1198053f 100644 --- a/crates/jacquard-api/src/com_atproto/admin/delete_account.rs +++ b/crates/jacquard-api/src/com_atproto/admin/delete_account.rs @@ -115,7 +115,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> DeleteAccount<'a> { 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 56c9b4b0d..27e7aafe2 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 @@ -140,7 +140,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> DisableAccountInvites<'a> { 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 fafce9361..47c27aeba 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 @@ -140,7 +140,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> EnableAccountInvites<'a> { 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 47b3dfeb7..cf39c6cdf 100644 --- a/crates/jacquard-api/src/com_atproto/admin/send_email.rs +++ b/crates/jacquard-api/src/com_atproto/admin/send_email.rs @@ -42,49 +42,49 @@ pub mod send_email_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type RecipientDid; type Content; + type RecipientDid; type SenderDid; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type RecipientDid = Unset; type Content = Unset; + type RecipientDid = Unset; type SenderDid = Unset; } - ///State transition - sets the `recipient_did` field to Set - pub struct SetRecipientDid(PhantomData S>); - impl sealed::Sealed for SetRecipientDid {} - impl State for SetRecipientDid { - type RecipientDid = Set; - type Content = S::Content; - type SenderDid = S::SenderDid; - } ///State transition - sets the `content` field to Set pub struct SetContent(PhantomData S>); impl sealed::Sealed for SetContent {} impl State for SetContent { - type RecipientDid = S::RecipientDid; type Content = Set; + type RecipientDid = S::RecipientDid; + type SenderDid = S::SenderDid; + } + ///State transition - sets the `recipient_did` field to Set + pub struct SetRecipientDid(PhantomData S>); + impl sealed::Sealed for SetRecipientDid {} + impl State for SetRecipientDid { + type Content = S::Content; + type RecipientDid = Set; type SenderDid = S::SenderDid; } ///State transition - sets the `sender_did` field to Set pub struct SetSenderDid(PhantomData S>); impl sealed::Sealed for SetSenderDid {} impl State for SetSenderDid { - type RecipientDid = S::RecipientDid; type Content = S::Content; + type RecipientDid = S::RecipientDid; type SenderDid = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `recipient_did` field - pub struct recipient_did(()); ///Marker type for the `content` field pub struct content(()); + ///Marker type for the `recipient_did` field + pub struct recipient_did(()); ///Marker type for the `sender_did` field pub struct sender_did(()); } @@ -213,8 +213,8 @@ impl<'a, S: send_email_state::State> SendEmailBuilder<'a, S> { impl<'a, S> SendEmailBuilder<'a, S> where S: send_email_state::State, - S::RecipientDid: send_email_state::IsSet, S::Content: send_email_state::IsSet, + S::RecipientDid: send_email_state::IsSet, S::SenderDid: send_email_state::IsSet, { /// Build the final struct @@ -232,7 +232,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> SendEmail<'a> { 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 cf27c636a..f8ddf8a02 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 @@ -152,7 +152,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> UpdateAccountEmail<'a> { 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 021ff6192..3c64db670 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 @@ -151,7 +151,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> UpdateAccountHandle<'a> { 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 fdf105f1b..fb3dabeed 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 @@ -33,37 +33,37 @@ pub mod update_account_password_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Did; type Password; + type Did; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Did = Unset; type Password = Unset; - } - ///State transition - sets the `did` field to Set - pub struct SetDid(PhantomData S>); - impl sealed::Sealed for SetDid {} - impl State for SetDid { - type Did = Set; - type Password = S::Password; + type Did = Unset; } ///State transition - sets the `password` field to Set pub struct SetPassword(PhantomData S>); impl sealed::Sealed for SetPassword {} impl State for SetPassword { - type Did = S::Did; type Password = Set; + type Did = S::Did; + } + ///State transition - sets the `did` field to Set + pub struct SetDid(PhantomData S>); + impl sealed::Sealed for SetDid {} + impl State for SetDid { + type Password = S::Password; + type Did = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `did` field - pub struct did(()); ///Marker type for the `password` field pub struct password(()); + ///Marker type for the `did` field + pub struct did(()); } } @@ -142,8 +142,8 @@ where impl<'a, S> UpdateAccountPasswordBuilder<'a, S> where S: update_account_password_state::State, - S::Did: update_account_password_state::IsSet, S::Password: update_account_password_state::IsSet, + S::Did: update_account_password_state::IsSet, { /// Build the final struct pub fn build(self) -> UpdateAccountPassword<'a> { @@ -157,7 +157,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> UpdateAccountPassword<'a> { 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 aae157468..9264a9735 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 @@ -164,7 +164,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> UpdateAccountSigningKey<'a> { 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 9e83fd1bd..9c73b1320 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 @@ -163,7 +163,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> UpdateSubjectStatus<'a> { diff --git a/crates/jacquard-api/src/com_atproto/identity.rs b/crates/jacquard-api/src/com_atproto/identity.rs index 062bb12ba..424020174 100644 --- a/crates/jacquard-api/src/com_atproto/identity.rs +++ b/crates/jacquard-api/src/com_atproto/identity.rs @@ -47,49 +47,49 @@ pub mod identity_info_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Handle; type Did; + type Handle; type DidDoc; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Handle = Unset; type Did = Unset; + type Handle = Unset; type DidDoc = Unset; } - ///State transition - sets the `handle` field to Set - pub struct SetHandle(PhantomData S>); - impl sealed::Sealed for SetHandle {} - impl State for SetHandle { - type Handle = Set; - type Did = S::Did; - type DidDoc = S::DidDoc; - } ///State transition - sets the `did` field to Set pub struct SetDid(PhantomData S>); impl sealed::Sealed for SetDid {} impl State for SetDid { - type Handle = S::Handle; type Did = Set; + type Handle = S::Handle; + type DidDoc = S::DidDoc; + } + ///State transition - sets the `handle` field to Set + pub struct SetHandle(PhantomData S>); + impl sealed::Sealed for SetHandle {} + impl State for SetHandle { + type Did = S::Did; + type Handle = Set; type DidDoc = S::DidDoc; } ///State transition - sets the `did_doc` field to Set pub struct SetDidDoc(PhantomData S>); impl sealed::Sealed for SetDidDoc {} impl State for SetDidDoc { - type Handle = S::Handle; type Did = S::Did; + type Handle = S::Handle; type DidDoc = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `handle` field - pub struct handle(()); ///Marker type for the `did` field pub struct did(()); + ///Marker type for the `handle` field + pub struct handle(()); ///Marker type for the `did_doc` field pub struct did_doc(()); } @@ -184,8 +184,8 @@ where impl<'a, S> IdentityInfoBuilder<'a, S> where S: identity_info_state::State, - S::Handle: identity_info_state::IsSet, S::Did: identity_info_state::IsSet, + S::Handle: identity_info_state::IsSet, S::DidDoc: identity_info_state::IsSet, { /// Build the final struct @@ -201,7 +201,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> IdentityInfo<'a> { @@ -225,14 +225,14 @@ fn lexicon_doc_com_atproto_identity_defs() -> ::jacquard_lexicon::lexicon::Lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("identityInfo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("identityInfo"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("did"), - ::jacquard_common::smol_str::SmolStr::new_static("handle"), - ::jacquard_common::smol_str::SmolStr::new_static("didDoc") + ::jacquard_common::deps::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("handle"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("didDoc") ], ), nullable: None, @@ -240,7 +240,9 @@ fn lexicon_doc_com_atproto_identity_defs() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -257,13 +259,17 @@ fn lexicon_doc_com_atproto_identity_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("didDoc"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "didDoc", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("handle"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "handle", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( 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 39635ec57..4536e14d0 100644 --- a/crates/jacquard-api/src/com_atproto/identity/refresh_identity.rs +++ b/crates/jacquard-api/src/com_atproto/identity/refresh_identity.rs @@ -115,7 +115,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> RefreshIdentity<'a> { 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 70e28d8a2..c956c4596 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 @@ -115,7 +115,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> SubmitPlcOperation<'a> { 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 228849897..41e8d4634 100644 --- a/crates/jacquard-api/src/com_atproto/identity/update_handle.rs +++ b/crates/jacquard-api/src/com_atproto/identity/update_handle.rs @@ -116,7 +116,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> UpdateHandle<'a> { diff --git a/crates/jacquard-api/src/com_atproto/label.rs b/crates/jacquard-api/src/com_atproto/label.rs index ca4a3d656..36fe07fc8 100644 --- a/crates/jacquard-api/src/com_atproto/label.rs +++ b/crates/jacquard-api/src/com_atproto/label.rs @@ -38,7 +38,7 @@ pub struct Label<'a> { /// Signature of dag-cbor encoded label. #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(default, with = "jacquard_common::opt_serde_bytes_helper")] - pub sig: std::option::Option, + pub sig: std::option::Option, /// DID of the actor who created this label. #[serde(borrow)] pub src: jacquard_common::types::string::Did<'a>, @@ -64,66 +64,66 @@ pub mod label_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Uri; - type Cts; type Val; type Src; + type Cts; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Uri = Unset; - type Cts = Unset; type Val = Unset; type Src = Unset; + type Cts = Unset; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { type Uri = Set; - type Cts = S::Cts; - type Val = S::Val; - type Src = S::Src; - } - ///State transition - sets the `cts` field to Set - pub struct SetCts(PhantomData S>); - impl sealed::Sealed for SetCts {} - impl State for SetCts { - type Uri = S::Uri; - type Cts = Set; type Val = S::Val; type Src = S::Src; + type Cts = S::Cts; } ///State transition - sets the `val` field to Set pub struct SetVal(PhantomData S>); impl sealed::Sealed for SetVal {} impl State for SetVal { type Uri = S::Uri; - type Cts = S::Cts; type Val = Set; type Src = S::Src; + type Cts = S::Cts; } ///State transition - sets the `src` field to Set pub struct SetSrc(PhantomData S>); impl sealed::Sealed for SetSrc {} impl State for SetSrc { type Uri = S::Uri; - type Cts = S::Cts; type Val = S::Val; type Src = Set; + type Cts = S::Cts; + } + ///State transition - sets the `cts` field to Set + pub struct SetCts(PhantomData S>); + impl sealed::Sealed for SetCts {} + impl State for SetCts { + type Uri = S::Uri; + type Val = S::Val; + type Src = S::Src; + type Cts = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `uri` field pub struct uri(()); - ///Marker type for the `cts` field - pub struct cts(()); ///Marker type for the `val` field pub struct val(()); ///Marker type for the `src` field pub struct src(()); + ///Marker type for the `cts` field + pub struct cts(()); } } @@ -135,7 +135,7 @@ pub struct LabelBuilder<'a, S: label_state::State> { ::core::option::Option, ::core::option::Option, ::core::option::Option, - ::core::option::Option, + ::core::option::Option, ::core::option::Option>, ::core::option::Option>, ::core::option::Option>, @@ -244,12 +244,18 @@ impl<'a, S: label_state::State> LabelBuilder<'a, S> { impl<'a, S: label_state::State> LabelBuilder<'a, S> { /// Set the `sig` field (optional) - pub fn sig(mut self, value: impl Into>) -> Self { + pub fn sig( + mut self, + value: impl Into>, + ) -> Self { self.__unsafe_private_named.4 = value.into(); self } /// Set the `sig` field to an Option value (optional) - pub fn maybe_sig(mut self, value: Option) -> Self { + pub fn maybe_sig( + mut self, + value: Option, + ) -> Self { self.__unsafe_private_named.4 = value; self } @@ -329,9 +335,9 @@ impl<'a, S> LabelBuilder<'a, S> where S: label_state::State, S::Uri: label_state::IsSet, - S::Cts: label_state::IsSet, S::Val: label_state::IsSet, S::Src: label_state::IsSet, + S::Cts: label_state::IsSet, { /// Build the final struct pub fn build(self) -> Label<'a> { @@ -352,7 +358,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Label<'a> { @@ -382,7 +388,7 @@ fn lexicon_doc_com_atproto_label_defs() -> ::jacquard_lexicon::lexicon::LexiconD defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("label"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("label"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -391,10 +397,10 @@ fn lexicon_doc_com_atproto_label_defs() -> ::jacquard_lexicon::lexicon::LexiconD ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("src"), - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("val"), - ::jacquard_common::smol_str::SmolStr::new_static("cts") + ::jacquard_common::deps::smol_str::SmolStr::new_static("src"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("val"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cts") ], ), nullable: None, @@ -402,7 +408,9 @@ fn lexicon_doc_com_atproto_label_defs() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -423,7 +431,9 @@ fn lexicon_doc_com_atproto_label_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cts"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cts", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -444,7 +454,9 @@ fn lexicon_doc_com_atproto_label_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("exp"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "exp", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -465,7 +477,9 @@ fn lexicon_doc_com_atproto_label_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("neg"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "neg", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -473,7 +487,9 @@ fn lexicon_doc_com_atproto_label_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sig"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sig", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Bytes(::jacquard_lexicon::lexicon::LexBytes { description: None, max_length: None, @@ -481,7 +497,9 @@ fn lexicon_doc_com_atproto_label_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("src"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "src", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -502,7 +520,9 @@ fn lexicon_doc_com_atproto_label_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -523,7 +543,9 @@ fn lexicon_doc_com_atproto_label_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("val"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "val", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -542,7 +564,9 @@ fn lexicon_doc_com_atproto_label_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("ver"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "ver", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -557,7 +581,7 @@ fn lexicon_doc_com_atproto_label_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("labelValue"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("labelValue"), ::jacquard_lexicon::lexicon::LexUserType::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -572,7 +596,9 @@ fn lexicon_doc_com_atproto_label_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("labelValueDefinition"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "labelValueDefinition", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -581,10 +607,10 @@ fn lexicon_doc_com_atproto_label_defs() -> ::jacquard_lexicon::lexicon::LexiconD ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("identifier"), - ::jacquard_common::smol_str::SmolStr::new_static("severity"), - ::jacquard_common::smol_str::SmolStr::new_static("blurs"), - ::jacquard_common::smol_str::SmolStr::new_static("locales") + ::jacquard_common::deps::smol_str::SmolStr::new_static("identifier"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("severity"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("blurs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("locales") ], ), nullable: None, @@ -592,7 +618,7 @@ fn lexicon_doc_com_atproto_label_defs() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "adultOnly", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -602,7 +628,9 @@ fn lexicon_doc_com_atproto_label_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("blurs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "blurs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -621,7 +649,7 @@ fn lexicon_doc_com_atproto_label_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "defaultSetting", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -642,7 +670,7 @@ fn lexicon_doc_com_atproto_label_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "identifier", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -663,7 +691,9 @@ fn lexicon_doc_com_atproto_label_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("locales"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "locales", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -677,7 +707,9 @@ fn lexicon_doc_com_atproto_label_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("severity"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "severity", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -700,7 +732,7 @@ fn lexicon_doc_com_atproto_label_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "labelValueDefinitionStrings", ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { @@ -711,9 +743,9 @@ fn lexicon_doc_com_atproto_label_defs() -> ::jacquard_lexicon::lexicon::LexiconD ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("lang"), - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("description") + ::jacquard_common::deps::smol_str::SmolStr::new_static("lang"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("description") ], ), nullable: None, @@ -721,7 +753,7 @@ fn lexicon_doc_com_atproto_label_defs() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -742,7 +774,9 @@ fn lexicon_doc_com_atproto_label_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("lang"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "lang", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -763,7 +797,9 @@ fn lexicon_doc_com_atproto_label_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -786,7 +822,7 @@ fn lexicon_doc_com_atproto_label_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("selfLabel"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("selfLabel"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -794,14 +830,18 @@ fn lexicon_doc_com_atproto_label_defs() -> ::jacquard_lexicon::lexicon::LexiconD ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("val")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("val") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("val"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "val", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -824,7 +864,7 @@ fn lexicon_doc_com_atproto_label_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("selfLabels"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("selfLabels"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -832,14 +872,18 @@ fn lexicon_doc_com_atproto_label_defs() -> ::jacquard_lexicon::lexicon::LexiconD ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("values")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("values") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("values"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "values", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -1061,8 +1105,8 @@ pub mod label_value_definition_state { pub trait State: sealed::Sealed { type Identifier; type Severity; - type Blurs; type Locales; + type Blurs; } /// Empty state - all required fields are unset pub struct Empty(()); @@ -1070,8 +1114,8 @@ pub mod label_value_definition_state { impl State for Empty { type Identifier = Unset; type Severity = Unset; - type Blurs = Unset; type Locales = Unset; + type Blurs = Unset; } ///State transition - sets the `identifier` field to Set pub struct SetIdentifier(PhantomData S>); @@ -1079,8 +1123,8 @@ pub mod label_value_definition_state { impl State for SetIdentifier { type Identifier = Set; type Severity = S::Severity; - type Blurs = S::Blurs; type Locales = S::Locales; + type Blurs = S::Blurs; } ///State transition - sets the `severity` field to Set pub struct SetSeverity(PhantomData S>); @@ -1088,17 +1132,8 @@ pub mod label_value_definition_state { impl State for SetSeverity { type Identifier = S::Identifier; type Severity = Set; - type Blurs = S::Blurs; - type Locales = S::Locales; - } - ///State transition - sets the `blurs` field to Set - pub struct SetBlurs(PhantomData S>); - impl sealed::Sealed for SetBlurs {} - impl State for SetBlurs { - type Identifier = S::Identifier; - type Severity = S::Severity; - type Blurs = Set; type Locales = S::Locales; + type Blurs = S::Blurs; } ///State transition - sets the `locales` field to Set pub struct SetLocales(PhantomData S>); @@ -1106,8 +1141,17 @@ pub mod label_value_definition_state { impl State for SetLocales { type Identifier = S::Identifier; type Severity = S::Severity; - type Blurs = S::Blurs; type Locales = Set; + type Blurs = S::Blurs; + } + ///State transition - sets the `blurs` field to Set + pub struct SetBlurs(PhantomData S>); + impl sealed::Sealed for SetBlurs {} + impl State for SetBlurs { + type Identifier = S::Identifier; + type Severity = S::Severity; + type Locales = S::Locales; + type Blurs = Set; } /// Marker types for field names #[allow(non_camel_case_types)] @@ -1116,10 +1160,10 @@ pub mod label_value_definition_state { pub struct identifier(()); ///Marker type for the `severity` field pub struct severity(()); - ///Marker type for the `blurs` field - pub struct blurs(()); ///Marker type for the `locales` field pub struct locales(()); + ///Marker type for the `blurs` field + pub struct blurs(()); } } @@ -1276,8 +1320,8 @@ where S: label_value_definition_state::State, S::Identifier: label_value_definition_state::IsSet, S::Severity: label_value_definition_state::IsSet, - S::Blurs: label_value_definition_state::IsSet, S::Locales: label_value_definition_state::IsSet, + S::Blurs: label_value_definition_state::IsSet, { /// Build the final struct pub fn build(self) -> LabelValueDefinition<'a> { @@ -1295,7 +1339,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> LabelValueDefinition<'a> { @@ -1634,7 +1678,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for LabelValueDefinition<'a> { let value = &self.identifier; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -1687,51 +1731,51 @@ pub mod label_value_definition_strings_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Description; type Lang; type Name; + type Description; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Description = Unset; type Lang = Unset; type Name = Unset; - } - ///State transition - sets the `description` field to Set - pub struct SetDescription(PhantomData S>); - impl sealed::Sealed for SetDescription {} - impl State for SetDescription { - type Description = Set; - type Lang = S::Lang; - type Name = S::Name; + type Description = Unset; } ///State transition - sets the `lang` field to Set pub struct SetLang(PhantomData S>); impl sealed::Sealed for SetLang {} impl State for SetLang { - type Description = S::Description; type Lang = Set; type Name = S::Name; + type Description = S::Description; } ///State transition - sets the `name` field to Set pub struct SetName(PhantomData S>); impl sealed::Sealed for SetName {} impl State for SetName { - type Description = S::Description; type Lang = S::Lang; type Name = Set; + type Description = S::Description; + } + ///State transition - sets the `description` field to Set + pub struct SetDescription(PhantomData S>); + impl sealed::Sealed for SetDescription {} + impl State for SetDescription { + type Lang = S::Lang; + type Name = S::Name; + type Description = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `description` field - pub struct description(()); ///Marker type for the `lang` field pub struct lang(()); ///Marker type for the `name` field pub struct name(()); + ///Marker type for the `description` field + pub struct description(()); } } @@ -1841,9 +1885,9 @@ where impl<'a, S> LabelValueDefinitionStringsBuilder<'a, S> where S: label_value_definition_strings_state::State, - S::Description: label_value_definition_strings_state::IsSet, S::Lang: label_value_definition_strings_state::IsSet, S::Name: label_value_definition_strings_state::IsSet, + S::Description: label_value_definition_strings_state::IsSet, { /// Build the final struct pub fn build(self) -> LabelValueDefinitionStrings<'a> { @@ -1858,7 +1902,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> LabelValueDefinitionStrings<'a> { @@ -1900,7 +1944,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for LabelValueDefinitionStrin { let value = &self.description; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -1932,7 +1976,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for LabelValueDefinitionStrin { let value = &self.name; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -2112,7 +2156,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> SelfLabels<'a> { 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 2e30cc0fe..877e9d406 100644 --- a/crates/jacquard-api/src/com_atproto/label/subscribe_labels.rs +++ b/crates/jacquard-api/src/com_atproto/label/subscribe_labels.rs @@ -119,18 +119,22 @@ fn lexicon_doc_com_atproto_label_subscribeLabels() -> ::jacquard_lexicon::lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("info"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("info"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("name")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("name") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("message"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "message", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -145,7 +149,9 @@ fn lexicon_doc_com_atproto_label_subscribeLabels() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -164,13 +170,13 @@ fn lexicon_doc_com_atproto_label_subscribeLabels() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("labels"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("labels"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("seq"), - ::jacquard_common::smol_str::SmolStr::new_static("labels") + ::jacquard_common::deps::smol_str::SmolStr::new_static("seq"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("labels") ], ), nullable: None, @@ -178,7 +184,9 @@ fn lexicon_doc_com_atproto_label_subscribeLabels() -> ::jacquard_lexicon::lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("labels"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "labels", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -192,7 +200,9 @@ fn lexicon_doc_com_atproto_label_subscribeLabels() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("seq"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "seq", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -207,7 +217,7 @@ fn lexicon_doc_com_atproto_label_subscribeLabels() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcSubscription(::jacquard_lexicon::lexicon::LexXrpcSubscription { description: None, parameters: Some( @@ -218,7 +228,9 @@ fn lexicon_doc_com_atproto_label_subscribeLabels() -> ::jacquard_lexicon::lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cursor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cursor", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -404,7 +416,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Labels<'a> { @@ -544,11 +556,15 @@ impl<'a> SubscribeLabelsMessage<'a> { )?; match header.t.as_str() { "#labels" => { - let variant = 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 = 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 => { diff --git a/crates/jacquard-api/src/com_atproto/lexicon/schema.rs b/crates/jacquard-api/src/com_atproto/lexicon/schema.rs index d849e78ec..5bfd08062 100644 --- a/crates/jacquard-api/src/com_atproto/lexicon/schema.rs +++ b/crates/jacquard-api/src/com_atproto/lexicon/schema.rs @@ -114,7 +114,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Schema<'a> { @@ -214,7 +214,7 @@ fn lexicon_doc_com_atproto_lexicon_schema() -> ::jacquard_lexicon::lexicon::Lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -226,7 +226,7 @@ fn lexicon_doc_com_atproto_lexicon_schema() -> ::jacquard_lexicon::lexicon::Lexi description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("lexicon") + ::jacquard_common::deps::smol_str::SmolStr::new_static("lexicon") ], ), nullable: None, @@ -234,7 +234,9 @@ fn lexicon_doc_com_atproto_lexicon_schema() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("lexicon"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "lexicon", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, 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 94bdf889f..6e0d658e3 100644 --- a/crates/jacquard-api/src/com_atproto/moderation/create_report.rs +++ b/crates/jacquard-api/src/com_atproto/moderation/create_report.rs @@ -43,37 +43,37 @@ pub mod create_report_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Subject; type ReasonType; + type Subject; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Subject = Unset; type ReasonType = Unset; - } - ///State transition - sets the `subject` field to Set - pub struct SetSubject(PhantomData S>); - impl sealed::Sealed for SetSubject {} - impl State for SetSubject { - type Subject = Set; - type ReasonType = S::ReasonType; + type Subject = Unset; } ///State transition - sets the `reason_type` field to Set pub struct SetReasonType(PhantomData S>); impl sealed::Sealed for SetReasonType {} impl State for SetReasonType { - type Subject = S::Subject; type ReasonType = Set; + type Subject = S::Subject; + } + ///State transition - sets the `subject` field to Set + pub struct SetSubject(PhantomData S>); + impl sealed::Sealed for SetSubject {} + impl State for SetSubject { + type ReasonType = S::ReasonType; + type Subject = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `subject` field - pub struct subject(()); ///Marker type for the `reason_type` field pub struct reason_type(()); + ///Marker type for the `subject` field + pub struct subject(()); } } @@ -187,8 +187,8 @@ where impl<'a, S> CreateReportBuilder<'a, S> where S: create_report_state::State, - S::Subject: create_report_state::IsSet, S::ReasonType: create_report_state::IsSet, + S::Subject: create_report_state::IsSet, { /// Build the final struct pub fn build(self) -> CreateReport<'a> { @@ -204,7 +204,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> CreateReport<'a> { @@ -345,7 +345,7 @@ fn lexicon_doc_com_atproto_moderation_createReport() -> ::jacquard_lexicon::lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcProcedure(::jacquard_lexicon::lexicon::LexXrpcProcedure { description: None, parameters: None, @@ -359,8 +359,8 @@ fn lexicon_doc_com_atproto_moderation_createReport() -> ::jacquard_lexicon::lexi description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("reasonType"), - ::jacquard_common::smol_str::SmolStr::new_static("subject") + ::jacquard_common::deps::smol_str::SmolStr::new_static("reasonType"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject") ], ), nullable: None, @@ -368,14 +368,18 @@ fn lexicon_doc_com_atproto_moderation_createReport() -> ::jacquard_lexicon::lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("modTool"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "modTool", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#modTool"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reason"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reason", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -394,7 +398,7 @@ fn lexicon_doc_com_atproto_moderation_createReport() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "reasonType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -405,7 +409,9 @@ fn lexicon_doc_com_atproto_moderation_createReport() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -425,7 +431,7 @@ fn lexicon_doc_com_atproto_moderation_createReport() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("modTool"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("modTool"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -433,20 +439,26 @@ fn lexicon_doc_com_atproto_moderation_createReport() -> ::jacquard_lexicon::lexi ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("name")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("name") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("meta"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "meta", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/com_atproto/repo.rs b/crates/jacquard-api/src/com_atproto/repo.rs index a43999fd6..bc47dd9a6 100644 --- a/crates/jacquard-api/src/com_atproto/repo.rs +++ b/crates/jacquard-api/src/com_atproto/repo.rs @@ -44,37 +44,37 @@ pub mod commit_meta_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Cid; type Rev; + type Cid; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Cid = Unset; type Rev = Unset; - } - ///State transition - sets the `cid` field to Set - pub struct SetCid(PhantomData S>); - impl sealed::Sealed for SetCid {} - impl State for SetCid { - type Cid = Set; - type Rev = S::Rev; + type Cid = Unset; } ///State transition - sets the `rev` field to Set pub struct SetRev(PhantomData S>); impl sealed::Sealed for SetRev {} impl State for SetRev { - type Cid = S::Cid; type Rev = Set; + type Cid = S::Cid; + } + ///State transition - sets the `cid` field to Set + pub struct SetCid(PhantomData S>); + impl sealed::Sealed for SetCid {} + impl State for SetCid { + type Rev = S::Rev; + type Cid = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `cid` field - pub struct cid(()); ///Marker type for the `rev` field pub struct rev(()); + ///Marker type for the `cid` field + pub struct cid(()); } } @@ -147,8 +147,8 @@ where impl<'a, S> CommitMetaBuilder<'a, S> where S: commit_meta_state::State, - S::Cid: commit_meta_state::IsSet, S::Rev: commit_meta_state::IsSet, + S::Cid: commit_meta_state::IsSet, { /// Build the final struct pub fn build(self) -> CommitMeta<'a> { @@ -162,7 +162,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> CommitMeta<'a> { @@ -185,13 +185,13 @@ fn lexicon_doc_com_atproto_repo_defs() -> ::jacquard_lexicon::lexicon::LexiconDo defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("commitMeta"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("commitMeta"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("cid"), - ::jacquard_common::smol_str::SmolStr::new_static("rev") + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("rev") ], ), nullable: None, @@ -199,7 +199,9 @@ fn lexicon_doc_com_atproto_repo_defs() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -216,7 +218,9 @@ fn lexicon_doc_com_atproto_repo_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rev"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "rev", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( 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 cf84d4300..ad5ee4005 100644 --- a/crates/jacquard-api/src/com_atproto/repo/apply_writes.rs +++ b/crates/jacquard-api/src/com_atproto/repo/apply_writes.rs @@ -195,7 +195,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Create<'a> { @@ -219,7 +219,7 @@ fn lexicon_doc_com_atproto_repo_applyWrites() -> ::jacquard_lexicon::lexicon::Le defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("create"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("create"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -228,8 +228,8 @@ fn lexicon_doc_com_atproto_repo_applyWrites() -> ::jacquard_lexicon::lexicon::Le ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("collection"), - ::jacquard_common::smol_str::SmolStr::new_static("value") + ::jacquard_common::deps::smol_str::SmolStr::new_static("collection"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("value") ], ), nullable: None, @@ -237,7 +237,7 @@ fn lexicon_doc_com_atproto_repo_applyWrites() -> ::jacquard_lexicon::lexicon::Le #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "collection", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -256,7 +256,9 @@ fn lexicon_doc_com_atproto_repo_applyWrites() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rkey"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "rkey", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -277,7 +279,9 @@ fn lexicon_doc_com_atproto_repo_applyWrites() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("value"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "value", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { description: None, }), @@ -287,13 +291,13 @@ fn lexicon_doc_com_atproto_repo_applyWrites() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("createResult"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createResult"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("cid") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid") ], ), nullable: None, @@ -301,7 +305,9 @@ fn lexicon_doc_com_atproto_repo_applyWrites() -> ::jacquard_lexicon::lexicon::Le #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -318,7 +324,9 @@ fn lexicon_doc_com_atproto_repo_applyWrites() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -335,7 +343,7 @@ fn lexicon_doc_com_atproto_repo_applyWrites() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "validationStatus", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -356,7 +364,7 @@ fn lexicon_doc_com_atproto_repo_applyWrites() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("delete"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("delete"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -365,8 +373,8 @@ fn lexicon_doc_com_atproto_repo_applyWrites() -> ::jacquard_lexicon::lexicon::Le ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("collection"), - ::jacquard_common::smol_str::SmolStr::new_static("rkey") + ::jacquard_common::deps::smol_str::SmolStr::new_static("collection"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("rkey") ], ), nullable: None, @@ -374,7 +382,7 @@ fn lexicon_doc_com_atproto_repo_applyWrites() -> ::jacquard_lexicon::lexicon::Le #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "collection", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -393,7 +401,9 @@ fn lexicon_doc_com_atproto_repo_applyWrites() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rkey"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "rkey", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -414,7 +424,7 @@ fn lexicon_doc_com_atproto_repo_applyWrites() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("deleteResult"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("deleteResult"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some(vec![]), @@ -427,7 +437,7 @@ fn lexicon_doc_com_atproto_repo_applyWrites() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcProcedure(::jacquard_lexicon::lexicon::LexXrpcProcedure { description: None, parameters: None, @@ -441,8 +451,8 @@ fn lexicon_doc_com_atproto_repo_applyWrites() -> ::jacquard_lexicon::lexicon::Le description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("repo"), - ::jacquard_common::smol_str::SmolStr::new_static("writes") + ::jacquard_common::deps::smol_str::SmolStr::new_static("repo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("writes") ], ), nullable: None, @@ -450,7 +460,9 @@ fn lexicon_doc_com_atproto_repo_applyWrites() -> ::jacquard_lexicon::lexicon::Le #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("repo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "repo", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -471,7 +483,7 @@ fn lexicon_doc_com_atproto_repo_applyWrites() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "swapCommit", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -494,7 +506,7 @@ fn lexicon_doc_com_atproto_repo_applyWrites() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "validate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -504,7 +516,9 @@ fn lexicon_doc_com_atproto_repo_applyWrites() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("writes"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "writes", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -530,7 +544,7 @@ fn lexicon_doc_com_atproto_repo_applyWrites() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("update"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("update"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -539,9 +553,9 @@ fn lexicon_doc_com_atproto_repo_applyWrites() -> ::jacquard_lexicon::lexicon::Le ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("collection"), - ::jacquard_common::smol_str::SmolStr::new_static("rkey"), - ::jacquard_common::smol_str::SmolStr::new_static("value") + ::jacquard_common::deps::smol_str::SmolStr::new_static("collection"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("rkey"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("value") ], ), nullable: None, @@ -549,7 +563,7 @@ fn lexicon_doc_com_atproto_repo_applyWrites() -> ::jacquard_lexicon::lexicon::Le #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "collection", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -568,7 +582,9 @@ fn lexicon_doc_com_atproto_repo_applyWrites() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rkey"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "rkey", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -585,7 +601,9 @@ fn lexicon_doc_com_atproto_repo_applyWrites() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("value"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "value", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { description: None, }), @@ -595,13 +613,13 @@ fn lexicon_doc_com_atproto_repo_applyWrites() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("updateResult"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("updateResult"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("cid") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid") ], ), nullable: None, @@ -609,7 +627,9 @@ fn lexicon_doc_com_atproto_repo_applyWrites() -> ::jacquard_lexicon::lexicon::Le #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -626,7 +646,9 @@ fn lexicon_doc_com_atproto_repo_applyWrites() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -643,7 +665,7 @@ fn lexicon_doc_com_atproto_repo_applyWrites() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "validationStatus", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -728,37 +750,37 @@ pub mod create_result_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Cid; type Uri; + type Cid; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Cid = Unset; type Uri = Unset; - } - ///State transition - sets the `cid` field to Set - pub struct SetCid(PhantomData S>); - impl sealed::Sealed for SetCid {} - impl State for SetCid { - type Cid = Set; - type Uri = S::Uri; + type Cid = Unset; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { - type Cid = S::Cid; type Uri = Set; + type Cid = S::Cid; + } + ///State transition - sets the `cid` field to Set + pub struct SetCid(PhantomData S>); + impl sealed::Sealed for SetCid {} + impl State for SetCid { + type Uri = S::Uri; + type Cid = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `cid` field - pub struct cid(()); ///Marker type for the `uri` field pub struct uri(()); + ///Marker type for the `cid` field + pub struct cid(()); } } @@ -851,8 +873,8 @@ impl<'a, S: create_result_state::State> CreateResultBuilder<'a, S> { impl<'a, S> CreateResultBuilder<'a, S> where S: create_result_state::State, - S::Cid: create_result_state::IsSet, S::Uri: create_result_state::IsSet, + S::Cid: create_result_state::IsSet, { /// Build the final struct pub fn build(self) -> CreateResult<'a> { @@ -867,7 +889,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> CreateResult<'a> { @@ -1146,7 +1168,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Delete<'a> { @@ -1395,7 +1417,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ApplyWrites<'a> { @@ -1569,50 +1591,50 @@ pub mod update_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Collection; - type Rkey; type Value; + type Rkey; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Collection = Unset; - type Rkey = Unset; type Value = Unset; + type Rkey = Unset; } ///State transition - sets the `collection` field to Set pub struct SetCollection(PhantomData S>); impl sealed::Sealed for SetCollection {} impl State for SetCollection { type Collection = Set; - type Rkey = S::Rkey; - type Value = S::Value; - } - ///State transition - sets the `rkey` field to Set - pub struct SetRkey(PhantomData S>); - impl sealed::Sealed for SetRkey {} - impl State for SetRkey { - type Collection = S::Collection; - type Rkey = Set; type Value = S::Value; + type Rkey = S::Rkey; } ///State transition - sets the `value` field to Set pub struct SetValue(PhantomData S>); impl sealed::Sealed for SetValue {} impl State for SetValue { type Collection = S::Collection; - type Rkey = S::Rkey; type Value = Set; + type Rkey = S::Rkey; + } + ///State transition - sets the `rkey` field to Set + pub struct SetRkey(PhantomData S>); + impl sealed::Sealed for SetRkey {} + impl State for SetRkey { + type Collection = S::Collection; + type Value = S::Value; + type Rkey = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `collection` field pub struct collection(()); - ///Marker type for the `rkey` field - pub struct rkey(()); ///Marker type for the `value` field pub struct value(()); + ///Marker type for the `rkey` field + pub struct rkey(()); } } @@ -1714,8 +1736,8 @@ impl<'a, S> UpdateBuilder<'a, S> where S: update_state::State, S::Collection: update_state::IsSet, - S::Rkey: update_state::IsSet, S::Value: update_state::IsSet, + S::Rkey: update_state::IsSet, { /// Build the final struct pub fn build(self) -> Update<'a> { @@ -1730,7 +1752,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Update<'a> { @@ -1930,7 +1952,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> UpdateResult<'a> { 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 af66bd2f2..40d2e68d4 100644 --- a/crates/jacquard-api/src/com_atproto/repo/create_record.rs +++ b/crates/jacquard-api/src/com_atproto/repo/create_record.rs @@ -53,51 +53,51 @@ pub mod create_record_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Record; type Repo; type Collection; - type Record; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Record = Unset; type Repo = Unset; type Collection = Unset; - type Record = Unset; + } + ///State transition - sets the `record` field to Set + pub struct SetRecord(PhantomData S>); + impl sealed::Sealed for SetRecord {} + impl State for SetRecord { + type Record = Set; + type Repo = S::Repo; + type Collection = S::Collection; } ///State transition - sets the `repo` field to Set pub struct SetRepo(PhantomData S>); impl sealed::Sealed for SetRepo {} impl State for SetRepo { + type Record = S::Record; type Repo = Set; type Collection = S::Collection; - type Record = S::Record; } ///State transition - sets the `collection` field to Set pub struct SetCollection(PhantomData S>); impl sealed::Sealed for SetCollection {} impl State for SetCollection { - type Repo = S::Repo; - type Collection = Set; type Record = S::Record; - } - ///State transition - sets the `record` field to Set - pub struct SetRecord(PhantomData S>); - impl sealed::Sealed for SetRecord {} - impl State for SetRecord { type Repo = S::Repo; - type Collection = S::Collection; - type Record = Set; + type Collection = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `record` field + pub struct record(()); ///Marker type for the `repo` field pub struct repo(()); ///Marker type for the `collection` field pub struct collection(()); - ///Marker type for the `record` field - pub struct record(()); } } @@ -258,9 +258,9 @@ impl<'a, S: create_record_state::State> CreateRecordBuilder<'a, S> { impl<'a, S> CreateRecordBuilder<'a, S> where S: create_record_state::State, + S::Record: create_record_state::IsSet, S::Repo: create_record_state::IsSet, S::Collection: create_record_state::IsSet, - S::Record: create_record_state::IsSet, { /// Build the final struct pub fn build(self) -> CreateRecord<'a> { @@ -278,7 +278,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> CreateRecord<'a> { 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 719395c0f..568712177 100644 --- a/crates/jacquard-api/src/com_atproto/repo/delete_record.rs +++ b/crates/jacquard-api/src/com_atproto/repo/delete_record.rs @@ -252,7 +252,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> DeleteRecord<'a> { 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 ff784156f..1e2bb9ba3 100644 --- a/crates/jacquard-api/src/com_atproto/repo/get_record.rs +++ b/crates/jacquard-api/src/com_atproto/repo/get_record.rs @@ -39,51 +39,51 @@ pub mod get_record_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Rkey; type Collection; type Repo; + type Rkey; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Rkey = Unset; type Collection = Unset; type Repo = Unset; - } - ///State transition - sets the `rkey` field to Set - pub struct SetRkey(PhantomData S>); - impl sealed::Sealed for SetRkey {} - impl State for SetRkey { - type Rkey = Set; - type Collection = S::Collection; - type Repo = S::Repo; + type Rkey = Unset; } ///State transition - sets the `collection` field to Set pub struct SetCollection(PhantomData S>); impl sealed::Sealed for SetCollection {} impl State for SetCollection { - type Rkey = S::Rkey; type Collection = Set; type Repo = S::Repo; + type Rkey = S::Rkey; } ///State transition - sets the `repo` field to Set pub struct SetRepo(PhantomData S>); impl sealed::Sealed for SetRepo {} impl State for SetRepo { - type Rkey = S::Rkey; type Collection = S::Collection; type Repo = Set; + type Rkey = S::Rkey; + } + ///State transition - sets the `rkey` field to Set + pub struct SetRkey(PhantomData S>); + impl sealed::Sealed for SetRkey {} + impl State for SetRkey { + type Collection = S::Collection; + type Repo = S::Repo; + type Rkey = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `rkey` field - pub struct rkey(()); ///Marker type for the `collection` field pub struct collection(()); ///Marker type for the `repo` field pub struct repo(()); + ///Marker type for the `rkey` field + pub struct rkey(()); } } @@ -204,9 +204,9 @@ where impl<'a, S> GetRecordBuilder<'a, S> where S: get_record_state::State, - S::Rkey: get_record_state::IsSet, S::Collection: get_record_state::IsSet, S::Repo: get_record_state::IsSet, + S::Rkey: get_record_state::IsSet, { /// Build the final struct pub fn build(self) -> GetRecord<'a> { 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 1a058441a..86f0e4197 100644 --- a/crates/jacquard-api/src/com_atproto/repo/import_repo.rs +++ b/crates/jacquard-api/src/com_atproto/repo/import_repo.rs @@ -16,7 +16,7 @@ )] #[serde(rename_all = "camelCase")] pub struct ImportRepo { - pub body: bytes::Bytes, + pub body: jacquard_common::deps::bytes::Bytes, } /// Response type for @@ -46,7 +46,7 @@ impl jacquard_common::xrpc::XrpcRequest for ImportRepo { { Ok( Box::new(Self { - body: bytes::Bytes::copy_from_slice(body), + body: jacquard_common::deps::bytes::Bytes::copy_from_slice(body), }), ) } 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 3bc064e67..97728a8e0 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 @@ -304,7 +304,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> RecordBlob<'a> { @@ -327,7 +327,7 @@ fn lexicon_doc_com_atproto_repo_listMissingBlobs() -> ::jacquard_lexicon::lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcQuery(::jacquard_lexicon::lexicon::LexXrpcQuery { description: None, parameters: Some( @@ -338,7 +338,9 @@ fn lexicon_doc_com_atproto_repo_listMissingBlobs() -> ::jacquard_lexicon::lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cursor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cursor", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -353,7 +355,9 @@ fn lexicon_doc_com_atproto_repo_listMissingBlobs() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("limit"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "limit", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -372,13 +376,13 @@ fn lexicon_doc_com_atproto_repo_listMissingBlobs() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("recordBlob"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("recordBlob"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("cid"), - ::jacquard_common::smol_str::SmolStr::new_static("recordUri") + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("recordUri") ], ), nullable: None, @@ -386,7 +390,9 @@ fn lexicon_doc_com_atproto_repo_listMissingBlobs() -> ::jacquard_lexicon::lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -403,7 +409,7 @@ fn lexicon_doc_com_atproto_repo_listMissingBlobs() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "recordUri", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { 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 e12ead297..8b36f0f8e 100644 --- a/crates/jacquard-api/src/com_atproto/repo/list_records.rs +++ b/crates/jacquard-api/src/com_atproto/repo/list_records.rs @@ -40,37 +40,37 @@ pub mod list_records_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Collection; type Repo; + type Collection; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Collection = Unset; type Repo = Unset; - } - ///State transition - sets the `collection` field to Set - pub struct SetCollection(PhantomData S>); - impl sealed::Sealed for SetCollection {} - impl State for SetCollection { - type Collection = Set; - type Repo = S::Repo; + type Collection = Unset; } ///State transition - sets the `repo` field to Set pub struct SetRepo(PhantomData S>); impl sealed::Sealed for SetRepo {} impl State for SetRepo { - type Collection = S::Collection; type Repo = Set; + type Collection = S::Collection; + } + ///State transition - sets the `collection` field to Set + pub struct SetCollection(PhantomData S>); + impl sealed::Sealed for SetCollection {} + impl State for SetCollection { + type Repo = S::Repo; + type Collection = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `collection` field - pub struct collection(()); ///Marker type for the `repo` field pub struct repo(()); + ///Marker type for the `collection` field + pub struct collection(()); } } @@ -188,8 +188,8 @@ impl<'a, S: list_records_state::State> ListRecordsBuilder<'a, S> { impl<'a, S> ListRecordsBuilder<'a, S> where S: list_records_state::State, - S::Collection: list_records_state::IsSet, S::Repo: list_records_state::IsSet, + S::Collection: list_records_state::IsSet, { /// Build the final struct pub fn build(self) -> ListRecords<'a> { @@ -278,51 +278,51 @@ pub mod record_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Value; - type Cid; type Uri; + type Cid; + type Value; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Value = Unset; - type Cid = Unset; type Uri = Unset; + type Cid = Unset; + type Value = Unset; } - ///State transition - sets the `value` field to Set - pub struct SetValue(PhantomData S>); - impl sealed::Sealed for SetValue {} - impl State for SetValue { - type Value = Set; + ///State transition - sets the `uri` field to Set + pub struct SetUri(PhantomData S>); + impl sealed::Sealed for SetUri {} + impl State for SetUri { + type Uri = Set; type Cid = S::Cid; - type Uri = S::Uri; + type Value = S::Value; } ///State transition - sets the `cid` field to Set pub struct SetCid(PhantomData S>); impl sealed::Sealed for SetCid {} impl State for SetCid { - type Value = S::Value; - type Cid = Set; type Uri = S::Uri; - } - ///State transition - sets the `uri` field to Set - pub struct SetUri(PhantomData S>); - impl sealed::Sealed for SetUri {} - impl State for SetUri { + type Cid = Set; type Value = S::Value; + } + ///State transition - sets the `value` field to Set + pub struct SetValue(PhantomData S>); + impl sealed::Sealed for SetValue {} + impl State for SetValue { + type Uri = S::Uri; type Cid = S::Cid; - type Uri = Set; + type Value = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `value` field - pub struct value(()); - ///Marker type for the `cid` field - pub struct cid(()); ///Marker type for the `uri` field pub struct uri(()); + ///Marker type for the `cid` field + pub struct cid(()); + ///Marker type for the `value` field + pub struct value(()); } } @@ -415,9 +415,9 @@ where impl<'a, S> RecordBuilder<'a, S> where S: record_state::State, - S::Value: record_state::IsSet, - S::Cid: record_state::IsSet, S::Uri: record_state::IsSet, + S::Cid: record_state::IsSet, + S::Value: record_state::IsSet, { /// Build the final struct pub fn build(self) -> Record<'a> { @@ -432,7 +432,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Record<'a> { @@ -456,7 +456,7 @@ fn lexicon_doc_com_atproto_repo_listRecords() -> ::jacquard_lexicon::lexicon::Le defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcQuery(::jacquard_lexicon::lexicon::LexXrpcQuery { description: None, parameters: Some( @@ -464,15 +464,15 @@ fn lexicon_doc_com_atproto_repo_listRecords() -> ::jacquard_lexicon::lexicon::Le description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("repo"), - ::jacquard_common::smol_str::SmolStr::new_static("collection") + ::jacquard_common::deps::smol_str::SmolStr::new_static("repo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("collection") ], ), properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "collection", ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -495,7 +495,9 @@ fn lexicon_doc_com_atproto_repo_listRecords() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cursor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cursor", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -510,7 +512,9 @@ fn lexicon_doc_com_atproto_repo_listRecords() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("limit"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "limit", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -521,7 +525,9 @@ fn lexicon_doc_com_atproto_repo_listRecords() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("repo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "repo", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -542,7 +548,9 @@ fn lexicon_doc_com_atproto_repo_listRecords() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reverse"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reverse", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -558,14 +566,14 @@ fn lexicon_doc_com_atproto_repo_listRecords() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("record"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("record"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("cid"), - ::jacquard_common::smol_str::SmolStr::new_static("value") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("value") ], ), nullable: None, @@ -573,7 +581,9 @@ fn lexicon_doc_com_atproto_repo_listRecords() -> ::jacquard_lexicon::lexicon::Le #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -590,7 +600,9 @@ fn lexicon_doc_com_atproto_repo_listRecords() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -607,7 +619,9 @@ fn lexicon_doc_com_atproto_repo_listRecords() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("value"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "value", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { description: None, }), 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 314a181d2..2506494dd 100644 --- a/crates/jacquard-api/src/com_atproto/repo/put_record.rs +++ b/crates/jacquard-api/src/com_atproto/repo/put_record.rs @@ -54,65 +54,65 @@ pub mod put_record_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Collection; type Rkey; type Record; + type Collection; type Repo; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Collection = Unset; type Rkey = Unset; type Record = Unset; + type Collection = Unset; type Repo = Unset; } - ///State transition - sets the `collection` field to Set - pub struct SetCollection(PhantomData S>); - impl sealed::Sealed for SetCollection {} - impl State for SetCollection { - type Collection = Set; - type Rkey = S::Rkey; - type Record = S::Record; - type Repo = S::Repo; - } ///State transition - sets the `rkey` field to Set pub struct SetRkey(PhantomData S>); impl sealed::Sealed for SetRkey {} impl State for SetRkey { - type Collection = S::Collection; type Rkey = Set; type Record = S::Record; + type Collection = S::Collection; type Repo = S::Repo; } ///State transition - sets the `record` field to Set pub struct SetRecord(PhantomData S>); impl sealed::Sealed for SetRecord {} impl State for SetRecord { - type Collection = S::Collection; type Rkey = S::Rkey; type Record = Set; + type Collection = S::Collection; + type Repo = S::Repo; + } + ///State transition - sets the `collection` field to Set + pub struct SetCollection(PhantomData S>); + impl sealed::Sealed for SetCollection {} + impl State for SetCollection { + type Rkey = S::Rkey; + type Record = S::Record; + type Collection = Set; type Repo = S::Repo; } ///State transition - sets the `repo` field to Set pub struct SetRepo(PhantomData S>); impl sealed::Sealed for SetRepo {} impl State for SetRepo { - type Collection = S::Collection; type Rkey = S::Rkey; type Record = S::Record; + type Collection = S::Collection; type Repo = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `collection` field - pub struct collection(()); ///Marker type for the `rkey` field pub struct rkey(()); ///Marker type for the `record` field pub struct record(()); + ///Marker type for the `collection` field + pub struct collection(()); ///Marker type for the `repo` field pub struct repo(()); } @@ -289,9 +289,9 @@ impl<'a, S: put_record_state::State> PutRecordBuilder<'a, S> { impl<'a, S> PutRecordBuilder<'a, S> where S: put_record_state::State, - S::Collection: put_record_state::IsSet, S::Rkey: put_record_state::IsSet, S::Record: put_record_state::IsSet, + S::Collection: put_record_state::IsSet, S::Repo: put_record_state::IsSet, { /// Build the final struct @@ -311,7 +311,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> PutRecord<'a> { 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 7d44605e9..5df0a5a0d 100644 --- a/crates/jacquard-api/src/com_atproto/repo/strong_ref.rs +++ b/crates/jacquard-api/src/com_atproto/repo/strong_ref.rs @@ -151,7 +151,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> StrongRef<'a> { @@ -174,13 +174,13 @@ fn lexicon_doc_com_atproto_repo_strongRef() -> ::jacquard_lexicon::lexicon::Lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("cid") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid") ], ), nullable: None, @@ -188,7 +188,9 @@ fn lexicon_doc_com_atproto_repo_strongRef() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -205,7 +207,9 @@ fn lexicon_doc_com_atproto_repo_strongRef() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( 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 6c0ce69b4..1878c990a 100644 --- a/crates/jacquard-api/src/com_atproto/repo/upload_blob.rs +++ b/crates/jacquard-api/src/com_atproto/repo/upload_blob.rs @@ -16,7 +16,7 @@ )] #[serde(rename_all = "camelCase")] pub struct UploadBlob { - pub body: bytes::Bytes, + pub body: jacquard_common::deps::bytes::Bytes, } #[jacquard_derive::lexicon] @@ -62,7 +62,7 @@ impl jacquard_common::xrpc::XrpcRequest for UploadBlob { { Ok( Box::new(Self { - body: bytes::Bytes::copy_from_slice(body), + body: jacquard_common::deps::bytes::Bytes::copy_from_slice(body), }), ) } diff --git a/crates/jacquard-api/src/com_atproto/server.rs b/crates/jacquard-api/src/com_atproto/server.rs index 798953bf8..e18dcd6ac 100644 --- a/crates/jacquard-api/src/com_atproto/server.rs +++ b/crates/jacquard-api/src/com_atproto/server.rs @@ -66,127 +66,127 @@ pub mod invite_code_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Uses; type CreatedAt; type Disabled; + type Available; + type Code; + type Uses; type CreatedBy; type ForAccount; - type Code; - type Available; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Uses = Unset; type CreatedAt = Unset; type Disabled = Unset; + type Available = Unset; + type Code = Unset; + type Uses = Unset; type CreatedBy = Unset; type ForAccount = Unset; - type Code = Unset; - type Available = Unset; - } - ///State transition - sets the `uses` field to Set - pub struct SetUses(PhantomData S>); - impl sealed::Sealed for SetUses {} - impl State for SetUses { - type Uses = Set; - type CreatedAt = S::CreatedAt; - type Disabled = S::Disabled; - type CreatedBy = S::CreatedBy; - type ForAccount = S::ForAccount; - type Code = S::Code; - type Available = S::Available; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Uses = S::Uses; type CreatedAt = Set; type Disabled = S::Disabled; + type Available = S::Available; + type Code = S::Code; + type Uses = S::Uses; type CreatedBy = S::CreatedBy; type ForAccount = S::ForAccount; - type Code = S::Code; - type Available = S::Available; } ///State transition - sets the `disabled` field to Set pub struct SetDisabled(PhantomData S>); impl sealed::Sealed for SetDisabled {} impl State for SetDisabled { - type Uses = S::Uses; type CreatedAt = S::CreatedAt; type Disabled = Set; + type Available = S::Available; + type Code = S::Code; + type Uses = S::Uses; type CreatedBy = S::CreatedBy; type ForAccount = S::ForAccount; - type Code = S::Code; - type Available = S::Available; } - ///State transition - sets the `created_by` field to Set - pub struct SetCreatedBy(PhantomData S>); - impl sealed::Sealed for SetCreatedBy {} - impl State for SetCreatedBy { - type Uses = S::Uses; + ///State transition - sets the `available` field to Set + pub struct SetAvailable(PhantomData S>); + impl sealed::Sealed for SetAvailable {} + impl State for SetAvailable { type CreatedAt = S::CreatedAt; type Disabled = S::Disabled; - type CreatedBy = Set; - type ForAccount = S::ForAccount; + type Available = Set; type Code = S::Code; - type Available = S::Available; - } - ///State transition - sets the `for_account` field to Set - pub struct SetForAccount(PhantomData S>); - impl sealed::Sealed for SetForAccount {} - impl State for SetForAccount { type Uses = S::Uses; - type CreatedAt = S::CreatedAt; - type Disabled = S::Disabled; type CreatedBy = S::CreatedBy; - type ForAccount = Set; - type Code = S::Code; - type Available = S::Available; + type ForAccount = S::ForAccount; } ///State transition - sets the `code` field to Set pub struct SetCode(PhantomData S>); impl sealed::Sealed for SetCode {} impl State for SetCode { - type Uses = S::Uses; type CreatedAt = S::CreatedAt; type Disabled = S::Disabled; + type Available = S::Available; + type Code = Set; + type Uses = S::Uses; type CreatedBy = S::CreatedBy; type ForAccount = S::ForAccount; - type Code = Set; - type Available = S::Available; } - ///State transition - sets the `available` field to Set - pub struct SetAvailable(PhantomData S>); - impl sealed::Sealed for SetAvailable {} - impl State for SetAvailable { - type Uses = S::Uses; + ///State transition - sets the `uses` field to Set + pub struct SetUses(PhantomData S>); + impl sealed::Sealed for SetUses {} + impl State for SetUses { type CreatedAt = S::CreatedAt; type Disabled = S::Disabled; + type Available = S::Available; + type Code = S::Code; + type Uses = Set; type CreatedBy = S::CreatedBy; type ForAccount = S::ForAccount; + } + ///State transition - sets the `created_by` field to Set + pub struct SetCreatedBy(PhantomData S>); + impl sealed::Sealed for SetCreatedBy {} + impl State for SetCreatedBy { + type CreatedAt = S::CreatedAt; + type Disabled = S::Disabled; + type Available = S::Available; type Code = S::Code; - type Available = Set; + type Uses = S::Uses; + type CreatedBy = Set; + type ForAccount = S::ForAccount; + } + ///State transition - sets the `for_account` field to Set + pub struct SetForAccount(PhantomData S>); + impl sealed::Sealed for SetForAccount {} + impl State for SetForAccount { + type CreatedAt = S::CreatedAt; + type Disabled = S::Disabled; + type Available = S::Available; + type Code = S::Code; + type Uses = S::Uses; + type CreatedBy = S::CreatedBy; + type ForAccount = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `uses` field - pub struct uses(()); ///Marker type for the `created_at` field pub struct created_at(()); ///Marker type for the `disabled` field pub struct disabled(()); + ///Marker type for the `available` field + pub struct available(()); + ///Marker type for the `code` field + pub struct code(()); + ///Marker type for the `uses` field + pub struct uses(()); ///Marker type for the `created_by` field pub struct created_by(()); ///Marker type for the `for_account` field pub struct for_account(()); - ///Marker type for the `code` field - pub struct code(()); - ///Marker type for the `available` field - pub struct available(()); } } @@ -359,13 +359,13 @@ where impl<'a, S> InviteCodeBuilder<'a, S> where S: invite_code_state::State, - S::Uses: invite_code_state::IsSet, S::CreatedAt: invite_code_state::IsSet, S::Disabled: invite_code_state::IsSet, + S::Available: invite_code_state::IsSet, + S::Code: invite_code_state::IsSet, + S::Uses: invite_code_state::IsSet, S::CreatedBy: invite_code_state::IsSet, S::ForAccount: invite_code_state::IsSet, - S::Code: invite_code_state::IsSet, - S::Available: invite_code_state::IsSet, { /// Build the final struct pub fn build(self) -> InviteCode<'a> { @@ -384,7 +384,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> InviteCode<'a> { @@ -412,18 +412,18 @@ fn lexicon_doc_com_atproto_server_defs() -> ::jacquard_lexicon::lexicon::Lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("inviteCode"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("inviteCode"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("code"), - ::jacquard_common::smol_str::SmolStr::new_static("available"), - ::jacquard_common::smol_str::SmolStr::new_static("disabled"), - ::jacquard_common::smol_str::SmolStr::new_static("forAccount"), - ::jacquard_common::smol_str::SmolStr::new_static("createdBy"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt"), - ::jacquard_common::smol_str::SmolStr::new_static("uses") + ::jacquard_common::deps::smol_str::SmolStr::new_static("code"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("available"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("disabled"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("forAccount"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdBy"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("uses") ], ), nullable: None, @@ -431,7 +431,7 @@ fn lexicon_doc_com_atproto_server_defs() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "available", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -444,7 +444,9 @@ fn lexicon_doc_com_atproto_server_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("code"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "code", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -459,7 +461,7 @@ fn lexicon_doc_com_atproto_server_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -478,7 +480,7 @@ fn lexicon_doc_com_atproto_server_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdBy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -495,7 +497,9 @@ fn lexicon_doc_com_atproto_server_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("disabled"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "disabled", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -503,7 +507,7 @@ fn lexicon_doc_com_atproto_server_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "forAccount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -520,7 +524,9 @@ fn lexicon_doc_com_atproto_server_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uses"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uses", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -538,13 +544,13 @@ fn lexicon_doc_com_atproto_server_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("inviteCodeUse"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("inviteCodeUse"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("usedBy"), - ::jacquard_common::smol_str::SmolStr::new_static("usedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("usedBy"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("usedAt") ], ), nullable: None, @@ -552,7 +558,9 @@ fn lexicon_doc_com_atproto_server_defs() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("usedAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "usedAt", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -569,7 +577,9 @@ fn lexicon_doc_com_atproto_server_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("usedBy"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "usedBy", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -756,7 +766,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> InviteCodeUse<'a> { 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 0d31e1271..aefa8aab4 100644 --- a/crates/jacquard-api/src/com_atproto/server/create_account.rs +++ b/crates/jacquard-api/src/com_atproto/server/create_account.rs @@ -316,7 +316,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> CreateAccount<'a> { 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 db353bafb..ca177b232 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 @@ -205,7 +205,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> AppPassword<'a> { @@ -232,14 +232,14 @@ fn lexicon_doc_com_atproto_server_createAppPassword() -> ::jacquard_lexicon::lex defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("appPassword"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("appPassword"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("password"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("password"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -247,7 +247,7 @@ fn lexicon_doc_com_atproto_server_createAppPassword() -> ::jacquard_lexicon::lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -266,7 +266,9 @@ fn lexicon_doc_com_atproto_server_createAppPassword() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -281,7 +283,9 @@ fn lexicon_doc_com_atproto_server_createAppPassword() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("password"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "password", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -296,7 +300,7 @@ fn lexicon_doc_com_atproto_server_createAppPassword() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "privileged", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -310,7 +314,7 @@ fn lexicon_doc_com_atproto_server_createAppPassword() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcProcedure(::jacquard_lexicon::lexicon::LexXrpcProcedure { description: None, parameters: None, @@ -324,7 +328,7 @@ fn lexicon_doc_com_atproto_server_createAppPassword() -> ::jacquard_lexicon::lex description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name") ], ), nullable: None, @@ -332,7 +336,9 @@ fn lexicon_doc_com_atproto_server_createAppPassword() -> ::jacquard_lexicon::lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -351,7 +357,7 @@ fn lexicon_doc_com_atproto_server_createAppPassword() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "privileged", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { 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 291a78f29..7fd89c372 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 @@ -138,7 +138,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> CreateInviteCode<'a> { 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 d046e273b..d3cef6431 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 @@ -33,37 +33,37 @@ pub mod account_codes_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Account; type Codes; + type Account; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Account = Unset; type Codes = Unset; - } - ///State transition - sets the `account` field to Set - pub struct SetAccount(PhantomData S>); - impl sealed::Sealed for SetAccount {} - impl State for SetAccount { - type Account = Set; - type Codes = S::Codes; + type Account = Unset; } ///State transition - sets the `codes` field to Set pub struct SetCodes(PhantomData S>); impl sealed::Sealed for SetCodes {} impl State for SetCodes { - type Account = S::Account; type Codes = Set; + type Account = S::Account; + } + ///State transition - sets the `account` field to Set + pub struct SetAccount(PhantomData S>); + impl sealed::Sealed for SetAccount {} + impl State for SetAccount { + type Codes = S::Codes; + type Account = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `account` field - pub struct account(()); ///Marker type for the `codes` field pub struct codes(()); + ///Marker type for the `account` field + pub struct account(()); } } @@ -136,8 +136,8 @@ where impl<'a, S> AccountCodesBuilder<'a, S> where S: account_codes_state::State, - S::Account: account_codes_state::IsSet, S::Codes: account_codes_state::IsSet, + S::Account: account_codes_state::IsSet, { /// Build the final struct pub fn build(self) -> AccountCodes<'a> { @@ -151,7 +151,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> AccountCodes<'a> { @@ -176,13 +176,13 @@ fn lexicon_doc_com_atproto_server_createInviteCodes() -> ::jacquard_lexicon::lex defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("accountCodes"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("accountCodes"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("account"), - ::jacquard_common::smol_str::SmolStr::new_static("codes") + ::jacquard_common::deps::smol_str::SmolStr::new_static("account"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("codes") ], ), nullable: None, @@ -190,7 +190,9 @@ fn lexicon_doc_com_atproto_server_createInviteCodes() -> ::jacquard_lexicon::lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("account"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "account", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -205,7 +207,9 @@ fn lexicon_doc_com_atproto_server_createInviteCodes() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("codes"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "codes", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::String(::jacquard_lexicon::lexicon::LexString { @@ -229,7 +233,7 @@ fn lexicon_doc_com_atproto_server_createInviteCodes() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcProcedure(::jacquard_lexicon::lexicon::LexXrpcProcedure { description: None, parameters: None, @@ -243,8 +247,8 @@ fn lexicon_doc_com_atproto_server_createInviteCodes() -> ::jacquard_lexicon::lex description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("codeCount"), - ::jacquard_common::smol_str::SmolStr::new_static("useCount") + ::jacquard_common::deps::smol_str::SmolStr::new_static("codeCount"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("useCount") ], ), nullable: None, @@ -252,7 +256,7 @@ fn lexicon_doc_com_atproto_server_createInviteCodes() -> ::jacquard_lexicon::lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "codeCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -265,7 +269,7 @@ fn lexicon_doc_com_atproto_server_createInviteCodes() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "forAccounts", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -289,7 +293,7 @@ fn lexicon_doc_com_atproto_server_createInviteCodes() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "useCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -361,37 +365,37 @@ pub mod create_invite_codes_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type UseCount; type CodeCount; + type UseCount; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type UseCount = Unset; type CodeCount = Unset; - } - ///State transition - sets the `use_count` field to Set - pub struct SetUseCount(PhantomData S>); - impl sealed::Sealed for SetUseCount {} - impl State for SetUseCount { - type UseCount = Set; - type CodeCount = S::CodeCount; + type UseCount = Unset; } ///State transition - sets the `code_count` field to Set pub struct SetCodeCount(PhantomData S>); impl sealed::Sealed for SetCodeCount {} impl State for SetCodeCount { - type UseCount = S::UseCount; type CodeCount = Set; + type UseCount = S::UseCount; + } + ///State transition - sets the `use_count` field to Set + pub struct SetUseCount(PhantomData S>); + impl sealed::Sealed for SetUseCount {} + impl State for SetUseCount { + type CodeCount = S::CodeCount; + type UseCount = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `use_count` field - pub struct use_count(()); ///Marker type for the `code_count` field pub struct code_count(()); + ///Marker type for the `use_count` field + pub struct use_count(()); } } @@ -484,8 +488,8 @@ where impl<'a, S> CreateInviteCodesBuilder<'a, S> where S: create_invite_codes_state::State, - S::UseCount: create_invite_codes_state::IsSet, S::CodeCount: create_invite_codes_state::IsSet, + S::UseCount: create_invite_codes_state::IsSet, { /// Build the final struct pub fn build(self) -> CreateInviteCodes<'a> { @@ -500,7 +504,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> CreateInviteCodes<'a> { 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 2a365fef1..33a13c02c 100644 --- a/crates/jacquard-api/src/com_atproto/server/delete_account.rs +++ b/crates/jacquard-api/src/com_atproto/server/delete_account.rs @@ -189,7 +189,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> DeleteAccount<'a> { 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 d9701603d..70c5beb39 100644 --- a/crates/jacquard-api/src/com_atproto/server/describe_server.rs +++ b/crates/jacquard-api/src/com_atproto/server/describe_server.rs @@ -34,7 +34,7 @@ fn lexicon_doc_com_atproto_server_describeServer() -> ::jacquard_lexicon::lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("contact"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("contact"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -43,7 +43,9 @@ fn lexicon_doc_com_atproto_server_describeServer() -> ::jacquard_lexicon::lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("email"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "email", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -62,7 +64,7 @@ fn lexicon_doc_com_atproto_server_describeServer() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("links"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("links"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -71,7 +73,7 @@ fn lexicon_doc_com_atproto_server_describeServer() -> ::jacquard_lexicon::lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "privacyPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -90,7 +92,7 @@ fn lexicon_doc_com_atproto_server_describeServer() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "termsOfService", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -113,7 +115,7 @@ fn lexicon_doc_com_atproto_server_describeServer() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcQuery(::jacquard_lexicon::lexicon::LexXrpcQuery { description: None, parameters: None, 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 ecefe8985..af84f056e 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 @@ -34,37 +34,37 @@ pub mod app_password_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Name; type CreatedAt; + type Name; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Name = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `name` field to Set - pub struct SetName(PhantomData S>); - impl sealed::Sealed for SetName {} - impl State for SetName { - type Name = Set; - type CreatedAt = S::CreatedAt; + type Name = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Name = S::Name; type CreatedAt = Set; + type Name = S::Name; + } + ///State transition - sets the `name` field to Set + pub struct SetName(PhantomData S>); + impl sealed::Sealed for SetName {} + impl State for SetName { + type CreatedAt = S::CreatedAt; + type Name = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `name` field - pub struct name(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `name` field + pub struct name(()); } } @@ -151,8 +151,8 @@ impl<'a, S: app_password_state::State> AppPasswordBuilder<'a, S> { impl<'a, S> AppPasswordBuilder<'a, S> where S: app_password_state::State, - S::Name: app_password_state::IsSet, S::CreatedAt: app_password_state::IsSet, + S::Name: app_password_state::IsSet, { /// Build the final struct pub fn build(self) -> AppPassword<'a> { @@ -167,7 +167,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> AppPassword<'a> { @@ -191,13 +191,13 @@ fn lexicon_doc_com_atproto_server_listAppPasswords() -> ::jacquard_lexicon::lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("appPassword"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("appPassword"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -205,7 +205,7 @@ fn lexicon_doc_com_atproto_server_listAppPasswords() -> ::jacquard_lexicon::lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -224,7 +224,9 @@ fn lexicon_doc_com_atproto_server_listAppPasswords() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -239,7 +241,7 @@ fn lexicon_doc_com_atproto_server_listAppPasswords() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "privileged", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -253,7 +255,7 @@ fn lexicon_doc_com_atproto_server_listAppPasswords() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcQuery(::jacquard_lexicon::lexicon::LexXrpcQuery { description: None, parameters: None, 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 19d72c48f..5ce052df1 100644 --- a/crates/jacquard-api/src/com_atproto/sync/get_blob.rs +++ b/crates/jacquard-api/src/com_atproto/sync/get_blob.rs @@ -158,7 +158,7 @@ where )] #[serde(rename_all = "camelCase")] pub struct GetBlobOutput { - pub body: bytes::Bytes, + pub body: jacquard_common::deps::bytes::Bytes, } #[jacquard_derive::open_union] @@ -251,7 +251,7 @@ impl jacquard_common::xrpc::XrpcResp for GetBlobResponse { Self::Output<'de>: serde::Deserialize<'de>, { Ok(GetBlobOutput { - body: bytes::Bytes::copy_from_slice(body), + body: jacquard_common::deps::bytes::Bytes::copy_from_slice(body), }) } } 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 4571bdb42..916aca16d 100644 --- a/crates/jacquard-api/src/com_atproto/sync/get_blocks.rs +++ b/crates/jacquard-api/src/com_atproto/sync/get_blocks.rs @@ -158,7 +158,7 @@ where )] #[serde(rename_all = "camelCase")] pub struct GetBlocksOutput { - pub body: bytes::Bytes, + pub body: jacquard_common::deps::bytes::Bytes, } #[jacquard_derive::open_union] @@ -251,7 +251,7 @@ impl jacquard_common::xrpc::XrpcResp for GetBlocksResponse { Self::Output<'de>: serde::Deserialize<'de>, { Ok(GetBlocksOutput { - body: bytes::Bytes::copy_from_slice(body), + body: jacquard_common::deps::bytes::Bytes::copy_from_slice(body), }) } } 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 0189955b5..9525470ab 100644 --- a/crates/jacquard-api/src/com_atproto/sync/get_checkout.rs +++ b/crates/jacquard-api/src/com_atproto/sync/get_checkout.rs @@ -122,7 +122,7 @@ where )] #[serde(rename_all = "camelCase")] pub struct GetCheckoutOutput { - pub body: bytes::Bytes, + pub body: jacquard_common::deps::bytes::Bytes, } /// Response type for @@ -145,7 +145,7 @@ impl jacquard_common::xrpc::XrpcResp for GetCheckoutResponse { Self::Output<'de>: serde::Deserialize<'de>, { Ok(GetCheckoutOutput { - body: bytes::Bytes::copy_from_slice(body), + body: jacquard_common::deps::bytes::Bytes::copy_from_slice(body), }) } } 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 4cd67c07c..850add9ed 100644 --- a/crates/jacquard-api/src/com_atproto/sync/get_record.rs +++ b/crates/jacquard-api/src/com_atproto/sync/get_record.rs @@ -206,7 +206,7 @@ where )] #[serde(rename_all = "camelCase")] pub struct GetRecordOutput { - pub body: bytes::Bytes, + pub body: jacquard_common::deps::bytes::Bytes, } #[jacquard_derive::open_union] @@ -299,7 +299,7 @@ impl jacquard_common::xrpc::XrpcResp for GetRecordResponse { Self::Output<'de>: serde::Deserialize<'de>, { Ok(GetRecordOutput { - body: bytes::Bytes::copy_from_slice(body), + body: jacquard_common::deps::bytes::Bytes::copy_from_slice(body), }) } } 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 1718dd8ff..b22b89dac 100644 --- a/crates/jacquard-api/src/com_atproto/sync/get_repo.rs +++ b/crates/jacquard-api/src/com_atproto/sync/get_repo.rs @@ -145,7 +145,7 @@ where )] #[serde(rename_all = "camelCase")] pub struct GetRepoOutput { - pub body: bytes::Bytes, + pub body: jacquard_common::deps::bytes::Bytes, } #[jacquard_derive::open_union] @@ -229,7 +229,7 @@ impl jacquard_common::xrpc::XrpcResp for GetRepoResponse { Self::Output<'de>: serde::Deserialize<'de>, { Ok(GetRepoOutput { - body: bytes::Bytes::copy_from_slice(body), + body: jacquard_common::deps::bytes::Bytes::copy_from_slice(body), }) } } 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 a7384fff5..717871a22 100644 --- a/crates/jacquard-api/src/com_atproto/sync/list_hosts.rs +++ b/crates/jacquard-api/src/com_atproto/sync/list_hosts.rs @@ -42,12 +42,12 @@ fn lexicon_doc_com_atproto_sync_listHosts() -> ::jacquard_lexicon::lexicon::Lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("host"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("host"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("hostname") + ::jacquard_common::deps::smol_str::SmolStr::new_static("hostname") ], ), nullable: None, @@ -55,7 +55,7 @@ fn lexicon_doc_com_atproto_sync_listHosts() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accountCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -68,7 +68,9 @@ fn lexicon_doc_com_atproto_sync_listHosts() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hostname"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "hostname", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -87,7 +89,9 @@ fn lexicon_doc_com_atproto_sync_listHosts() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("seq"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "seq", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -98,7 +102,9 @@ fn lexicon_doc_com_atproto_sync_listHosts() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("status"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "status", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -111,7 +117,7 @@ fn lexicon_doc_com_atproto_sync_listHosts() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcQuery(::jacquard_lexicon::lexicon::LexXrpcQuery { description: None, parameters: Some( @@ -122,7 +128,9 @@ fn lexicon_doc_com_atproto_sync_listHosts() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cursor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cursor", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -137,7 +145,9 @@ fn lexicon_doc_com_atproto_sync_listHosts() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("limit"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "limit", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, 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 fa5ad81f4..445323a24 100644 --- a/crates/jacquard-api/src/com_atproto/sync/list_repos.rs +++ b/crates/jacquard-api/src/com_atproto/sync/list_repos.rs @@ -194,51 +194,51 @@ pub mod repo_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Did; - type Head; type Rev; + type Head; + type Did; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Did = Unset; - type Head = Unset; type Rev = Unset; + type Head = Unset; + type Did = Unset; } - ///State transition - sets the `did` field to Set - pub struct SetDid(PhantomData S>); - impl sealed::Sealed for SetDid {} - impl State for SetDid { - type Did = Set; + ///State transition - sets the `rev` field to Set + pub struct SetRev(PhantomData S>); + impl sealed::Sealed for SetRev {} + impl State for SetRev { + type Rev = Set; type Head = S::Head; - type Rev = S::Rev; + type Did = S::Did; } ///State transition - sets the `head` field to Set pub struct SetHead(PhantomData S>); impl sealed::Sealed for SetHead {} impl State for SetHead { - type Did = S::Did; - type Head = Set; type Rev = S::Rev; - } - ///State transition - sets the `rev` field to Set - pub struct SetRev(PhantomData S>); - impl sealed::Sealed for SetRev {} - impl State for SetRev { + type Head = Set; type Did = S::Did; + } + ///State transition - sets the `did` field to Set + pub struct SetDid(PhantomData S>); + impl sealed::Sealed for SetDid {} + impl State for SetDid { + type Rev = S::Rev; type Head = S::Head; - type Rev = Set; + type Did = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `did` field - pub struct did(()); - ///Marker type for the `head` field - pub struct head(()); ///Marker type for the `rev` field pub struct rev(()); + ///Marker type for the `head` field + pub struct head(()); + ///Marker type for the `did` field + pub struct did(()); } } @@ -359,9 +359,9 @@ impl<'a, S: repo_state::State> RepoBuilder<'a, S> { impl<'a, S> RepoBuilder<'a, S> where S: repo_state::State, - S::Did: repo_state::IsSet, - S::Head: repo_state::IsSet, S::Rev: repo_state::IsSet, + S::Head: repo_state::IsSet, + S::Did: repo_state::IsSet, { /// Build the final struct pub fn build(self) -> Repo<'a> { @@ -378,7 +378,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Repo<'a> { @@ -513,7 +513,7 @@ fn lexicon_doc_com_atproto_sync_listRepos() -> ::jacquard_lexicon::lexicon::Lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcQuery(::jacquard_lexicon::lexicon::LexXrpcQuery { description: None, parameters: Some( @@ -524,7 +524,9 @@ fn lexicon_doc_com_atproto_sync_listRepos() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cursor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cursor", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -539,7 +541,9 @@ fn lexicon_doc_com_atproto_sync_listRepos() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("limit"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "limit", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -558,14 +562,14 @@ fn lexicon_doc_com_atproto_sync_listRepos() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("repo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("repo"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("did"), - ::jacquard_common::smol_str::SmolStr::new_static("head"), - ::jacquard_common::smol_str::SmolStr::new_static("rev") + ::jacquard_common::deps::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("head"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("rev") ], ), nullable: None, @@ -573,7 +577,9 @@ fn lexicon_doc_com_atproto_sync_listRepos() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("active"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "active", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -581,7 +587,9 @@ fn lexicon_doc_com_atproto_sync_listRepos() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -598,7 +606,9 @@ fn lexicon_doc_com_atproto_sync_listRepos() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("head"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "head", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -619,7 +629,9 @@ fn lexicon_doc_com_atproto_sync_listRepos() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rev"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "rev", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -636,7 +648,9 @@ fn lexicon_doc_com_atproto_sync_listRepos() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("status"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "status", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( 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 316611f15..c8a7579a3 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 @@ -311,7 +311,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Repo<'a> { @@ -335,7 +335,7 @@ fn lexicon_doc_com_atproto_sync_listReposByCollection() -> ::jacquard_lexicon::l defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcQuery(::jacquard_lexicon::lexicon::LexXrpcQuery { description: None, parameters: Some( @@ -343,14 +343,14 @@ fn lexicon_doc_com_atproto_sync_listReposByCollection() -> ::jacquard_lexicon::l description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("collection") + ::jacquard_common::deps::smol_str::SmolStr::new_static("collection") ], ), properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "collection", ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -369,7 +369,9 @@ fn lexicon_doc_com_atproto_sync_listReposByCollection() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cursor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cursor", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -384,7 +386,9 @@ fn lexicon_doc_com_atproto_sync_listReposByCollection() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("limit"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "limit", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -403,18 +407,22 @@ fn lexicon_doc_com_atproto_sync_listReposByCollection() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("repo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("repo"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("did")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("did") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( 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 35f6b64c0..914aebc82 100644 --- a/crates/jacquard-api/src/com_atproto/sync/subscribe_repos.rs +++ b/crates/jacquard-api/src/com_atproto/sync/subscribe_repos.rs @@ -41,66 +41,66 @@ pub mod account_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Active; - type Did; - type Time; type Seq; + type Time; + type Did; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Active = Unset; - type Did = Unset; - type Time = Unset; type Seq = Unset; + type Time = Unset; + type Did = Unset; } ///State transition - sets the `active` field to Set pub struct SetActive(PhantomData S>); impl sealed::Sealed for SetActive {} impl State for SetActive { type Active = Set; - type Did = S::Did; - type Time = S::Time; type Seq = S::Seq; + type Time = S::Time; + type Did = S::Did; } - ///State transition - sets the `did` field to Set - pub struct SetDid(PhantomData S>); - impl sealed::Sealed for SetDid {} - impl State for SetDid { + ///State transition - sets the `seq` field to Set + pub struct SetSeq(PhantomData S>); + impl sealed::Sealed for SetSeq {} + impl State for SetSeq { type Active = S::Active; - type Did = Set; + type Seq = Set; type Time = S::Time; - type Seq = S::Seq; + type Did = S::Did; } ///State transition - sets the `time` field to Set pub struct SetTime(PhantomData S>); impl sealed::Sealed for SetTime {} impl State for SetTime { type Active = S::Active; - type Did = S::Did; - type Time = Set; type Seq = S::Seq; + type Time = Set; + type Did = S::Did; } - ///State transition - sets the `seq` field to Set - pub struct SetSeq(PhantomData S>); - impl sealed::Sealed for SetSeq {} - impl State for SetSeq { + ///State transition - sets the `did` field to Set + pub struct SetDid(PhantomData S>); + impl sealed::Sealed for SetDid {} + impl State for SetDid { type Active = S::Active; - type Did = S::Did; + type Seq = S::Seq; type Time = S::Time; - type Seq = Set; + type Did = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `active` field pub struct active(()); - ///Marker type for the `did` field - pub struct did(()); - ///Marker type for the `time` field - pub struct time(()); ///Marker type for the `seq` field pub struct seq(()); + ///Marker type for the `time` field + pub struct time(()); + ///Marker type for the `did` field + pub struct did(()); } } @@ -228,9 +228,9 @@ impl<'a, S> AccountBuilder<'a, S> where S: account_state::State, S::Active: account_state::IsSet, - S::Did: account_state::IsSet, - S::Time: account_state::IsSet, S::Seq: account_state::IsSet, + S::Time: account_state::IsSet, + S::Did: account_state::IsSet, { /// Build the final struct pub fn build(self) -> Account<'a> { @@ -247,7 +247,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Account<'a> { @@ -382,7 +382,7 @@ fn lexicon_doc_com_atproto_sync_subscribeRepos() -> ::jacquard_lexicon::lexicon: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("account"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("account"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -391,10 +391,10 @@ fn lexicon_doc_com_atproto_sync_subscribeRepos() -> ::jacquard_lexicon::lexicon: ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("seq"), - ::jacquard_common::smol_str::SmolStr::new_static("did"), - ::jacquard_common::smol_str::SmolStr::new_static("time"), - ::jacquard_common::smol_str::SmolStr::new_static("active") + ::jacquard_common::deps::smol_str::SmolStr::new_static("seq"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("time"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("active") ], ), nullable: None, @@ -402,7 +402,9 @@ fn lexicon_doc_com_atproto_sync_subscribeRepos() -> ::jacquard_lexicon::lexicon: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("active"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "active", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -410,7 +412,9 @@ fn lexicon_doc_com_atproto_sync_subscribeRepos() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -427,7 +431,9 @@ fn lexicon_doc_com_atproto_sync_subscribeRepos() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("seq"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "seq", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -438,7 +444,9 @@ fn lexicon_doc_com_atproto_sync_subscribeRepos() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("status"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "status", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -457,7 +465,9 @@ fn lexicon_doc_com_atproto_sync_subscribeRepos() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("time"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "time", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -478,7 +488,7 @@ fn lexicon_doc_com_atproto_sync_subscribeRepos() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("commit"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("commit"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -487,17 +497,17 @@ fn lexicon_doc_com_atproto_sync_subscribeRepos() -> ::jacquard_lexicon::lexicon: ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("seq"), - ::jacquard_common::smol_str::SmolStr::new_static("rebase"), - ::jacquard_common::smol_str::SmolStr::new_static("tooBig"), - ::jacquard_common::smol_str::SmolStr::new_static("repo"), - ::jacquard_common::smol_str::SmolStr::new_static("commit"), - ::jacquard_common::smol_str::SmolStr::new_static("rev"), - ::jacquard_common::smol_str::SmolStr::new_static("since"), - ::jacquard_common::smol_str::SmolStr::new_static("blocks"), - ::jacquard_common::smol_str::SmolStr::new_static("ops"), - ::jacquard_common::smol_str::SmolStr::new_static("blobs"), - ::jacquard_common::smol_str::SmolStr::new_static("time") + ::jacquard_common::deps::smol_str::SmolStr::new_static("seq"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("rebase"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("tooBig"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("repo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("commit"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("rev"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("since"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("blocks"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("ops"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("blobs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("time") ], ), nullable: None, @@ -505,7 +515,9 @@ fn lexicon_doc_com_atproto_sync_subscribeRepos() -> ::jacquard_lexicon::lexicon: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("blobs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "blobs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::CidLink(::jacquard_lexicon::lexicon::LexCidLink { @@ -516,7 +528,9 @@ fn lexicon_doc_com_atproto_sync_subscribeRepos() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("blocks"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "blocks", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Bytes(::jacquard_lexicon::lexicon::LexBytes { description: None, max_length: Some(2000000usize), @@ -524,13 +538,17 @@ fn lexicon_doc_com_atproto_sync_subscribeRepos() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("commit"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "commit", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::CidLink(::jacquard_lexicon::lexicon::LexCidLink { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("ops"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "ops", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -542,13 +560,17 @@ fn lexicon_doc_com_atproto_sync_subscribeRepos() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("prevData"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "prevData", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::CidLink(::jacquard_lexicon::lexicon::LexCidLink { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rebase"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "rebase", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -556,7 +578,9 @@ fn lexicon_doc_com_atproto_sync_subscribeRepos() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("repo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "repo", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -577,7 +601,9 @@ fn lexicon_doc_com_atproto_sync_subscribeRepos() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rev"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "rev", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -598,7 +624,9 @@ fn lexicon_doc_com_atproto_sync_subscribeRepos() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("seq"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "seq", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -609,7 +637,9 @@ fn lexicon_doc_com_atproto_sync_subscribeRepos() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("since"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "since", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -630,7 +660,9 @@ fn lexicon_doc_com_atproto_sync_subscribeRepos() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("time"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "time", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -651,7 +683,9 @@ fn lexicon_doc_com_atproto_sync_subscribeRepos() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tooBig"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tooBig", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -663,7 +697,7 @@ fn lexicon_doc_com_atproto_sync_subscribeRepos() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("identity"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("identity"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -672,9 +706,9 @@ fn lexicon_doc_com_atproto_sync_subscribeRepos() -> ::jacquard_lexicon::lexicon: ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("seq"), - ::jacquard_common::smol_str::SmolStr::new_static("did"), - ::jacquard_common::smol_str::SmolStr::new_static("time") + ::jacquard_common::deps::smol_str::SmolStr::new_static("seq"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("time") ], ), nullable: None, @@ -682,7 +716,9 @@ fn lexicon_doc_com_atproto_sync_subscribeRepos() -> ::jacquard_lexicon::lexicon: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -699,7 +735,9 @@ fn lexicon_doc_com_atproto_sync_subscribeRepos() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("handle"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "handle", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -720,7 +758,9 @@ fn lexicon_doc_com_atproto_sync_subscribeRepos() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("seq"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "seq", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -731,7 +771,9 @@ fn lexicon_doc_com_atproto_sync_subscribeRepos() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("time"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "time", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -752,18 +794,22 @@ fn lexicon_doc_com_atproto_sync_subscribeRepos() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("info"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("info"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("name")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("name") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("message"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "message", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -778,7 +824,9 @@ fn lexicon_doc_com_atproto_sync_subscribeRepos() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -797,7 +845,7 @@ fn lexicon_doc_com_atproto_sync_subscribeRepos() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcSubscription(::jacquard_lexicon::lexicon::LexXrpcSubscription { description: None, parameters: Some( @@ -808,7 +856,9 @@ fn lexicon_doc_com_atproto_sync_subscribeRepos() -> ::jacquard_lexicon::lexicon: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cursor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cursor", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -828,7 +878,7 @@ fn lexicon_doc_com_atproto_sync_subscribeRepos() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("repoOp"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("repoOp"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -837,9 +887,9 @@ fn lexicon_doc_com_atproto_sync_subscribeRepos() -> ::jacquard_lexicon::lexicon: ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("action"), - ::jacquard_common::smol_str::SmolStr::new_static("path"), - ::jacquard_common::smol_str::SmolStr::new_static("cid") + ::jacquard_common::deps::smol_str::SmolStr::new_static("action"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("path"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid") ], ), nullable: None, @@ -847,7 +897,9 @@ fn lexicon_doc_com_atproto_sync_subscribeRepos() -> ::jacquard_lexicon::lexicon: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("action"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "action", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -862,13 +914,17 @@ fn lexicon_doc_com_atproto_sync_subscribeRepos() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::CidLink(::jacquard_lexicon::lexicon::LexCidLink { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("path"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "path", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -883,7 +939,9 @@ fn lexicon_doc_com_atproto_sync_subscribeRepos() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("prev"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "prev", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::CidLink(::jacquard_lexicon::lexicon::LexCidLink { description: None, }), @@ -893,7 +951,7 @@ fn lexicon_doc_com_atproto_sync_subscribeRepos() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sync"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("sync"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -902,11 +960,11 @@ fn lexicon_doc_com_atproto_sync_subscribeRepos() -> ::jacquard_lexicon::lexicon: ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("seq"), - ::jacquard_common::smol_str::SmolStr::new_static("did"), - ::jacquard_common::smol_str::SmolStr::new_static("blocks"), - ::jacquard_common::smol_str::SmolStr::new_static("rev"), - ::jacquard_common::smol_str::SmolStr::new_static("time") + ::jacquard_common::deps::smol_str::SmolStr::new_static("seq"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("blocks"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("rev"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("time") ], ), nullable: None, @@ -914,7 +972,9 @@ fn lexicon_doc_com_atproto_sync_subscribeRepos() -> ::jacquard_lexicon::lexicon: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("blocks"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "blocks", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Bytes(::jacquard_lexicon::lexicon::LexBytes { description: None, max_length: Some(10000usize), @@ -922,7 +982,9 @@ fn lexicon_doc_com_atproto_sync_subscribeRepos() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -943,7 +1005,9 @@ fn lexicon_doc_com_atproto_sync_subscribeRepos() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rev"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "rev", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -962,7 +1026,9 @@ fn lexicon_doc_com_atproto_sync_subscribeRepos() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("seq"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "seq", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -973,7 +1039,9 @@ fn lexicon_doc_com_atproto_sync_subscribeRepos() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("time"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "time", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1036,7 +1104,7 @@ pub struct Commit<'a> { 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. #[serde(with = "jacquard_common::serde_bytes_helper")] - pub blocks: bytes::Bytes, + pub blocks: jacquard_common::deps::bytes::Bytes, /// Repo commit object CID. #[serde(borrow)] pub commit: jacquard_common::types::cid::CidLink<'a>, @@ -1073,205 +1141,205 @@ pub mod commit_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Ops; type Rev; + type Rebase; type Commit; - type Time; type Blobs; - type Repo; - type Blocks; - type Seq; - type Ops; - type Rebase; type TooBig; + type Time; + type Seq; + type Blocks; + type Repo; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Ops = Unset; type Rev = Unset; + type Rebase = Unset; type Commit = Unset; - type Time = Unset; type Blobs = Unset; - type Repo = Unset; - type Blocks = Unset; - type Seq = Unset; - type Ops = Unset; - type Rebase = Unset; type TooBig = Unset; + type Time = Unset; + type Seq = Unset; + type Blocks = Unset; + type Repo = Unset; + } + ///State transition - sets the `ops` field to Set + pub struct SetOps(PhantomData S>); + impl sealed::Sealed for SetOps {} + impl State for SetOps { + type Ops = Set; + type Rev = S::Rev; + type Rebase = S::Rebase; + type Commit = S::Commit; + type Blobs = S::Blobs; + type TooBig = S::TooBig; + type Time = S::Time; + type Seq = S::Seq; + type Blocks = S::Blocks; + type Repo = S::Repo; } ///State transition - sets the `rev` field to Set pub struct SetRev(PhantomData S>); impl sealed::Sealed for SetRev {} impl State for SetRev { + type Ops = S::Ops; type Rev = Set; + type Rebase = S::Rebase; type Commit = S::Commit; - type Time = S::Time; type Blobs = S::Blobs; - type Repo = S::Repo; - type Blocks = S::Blocks; + type TooBig = S::TooBig; + type Time = S::Time; type Seq = S::Seq; + type Blocks = S::Blocks; + type Repo = S::Repo; + } + ///State transition - sets the `rebase` field to Set + pub struct SetRebase(PhantomData S>); + impl sealed::Sealed for SetRebase {} + impl State for SetRebase { type Ops = S::Ops; - type Rebase = S::Rebase; + type Rev = S::Rev; + type Rebase = Set; + type Commit = S::Commit; + type Blobs = S::Blobs; type TooBig = S::TooBig; + type Time = S::Time; + type Seq = S::Seq; + type Blocks = S::Blocks; + type Repo = S::Repo; } ///State transition - sets the `commit` field to Set pub struct SetCommit(PhantomData S>); impl sealed::Sealed for SetCommit {} impl State for SetCommit { + type Ops = S::Ops; type Rev = S::Rev; + type Rebase = S::Rebase; type Commit = Set; - type Time = S::Time; type Blobs = S::Blobs; - type Repo = S::Repo; - type Blocks = S::Blocks; - type Seq = S::Seq; - type Ops = S::Ops; - type Rebase = S::Rebase; type TooBig = S::TooBig; - } - ///State transition - sets the `time` field to Set - pub struct SetTime(PhantomData S>); - impl sealed::Sealed for SetTime {} - impl State for SetTime { - type Rev = S::Rev; - type Commit = S::Commit; - type Time = Set; - type Blobs = S::Blobs; - type Repo = S::Repo; - type Blocks = S::Blocks; + type Time = S::Time; type Seq = S::Seq; - type Ops = S::Ops; - type Rebase = S::Rebase; - type TooBig = S::TooBig; + type Blocks = S::Blocks; + type Repo = S::Repo; } ///State transition - sets the `blobs` field to Set pub struct SetBlobs(PhantomData S>); impl sealed::Sealed for SetBlobs {} impl State for SetBlobs { + type Ops = S::Ops; type Rev = S::Rev; + type Rebase = S::Rebase; type Commit = S::Commit; - type Time = S::Time; type Blobs = Set; - type Repo = S::Repo; - type Blocks = S::Blocks; - type Seq = S::Seq; - type Ops = S::Ops; - type Rebase = S::Rebase; type TooBig = S::TooBig; - } - ///State transition - sets the `repo` field to Set - pub struct SetRepo(PhantomData S>); - impl sealed::Sealed for SetRepo {} - impl State for SetRepo { - type Rev = S::Rev; - type Commit = S::Commit; type Time = S::Time; - type Blobs = S::Blobs; - type Repo = Set; - type Blocks = S::Blocks; type Seq = S::Seq; - type Ops = S::Ops; - type Rebase = S::Rebase; - type TooBig = S::TooBig; + type Blocks = S::Blocks; + type Repo = S::Repo; } - ///State transition - sets the `blocks` field to Set - pub struct SetBlocks(PhantomData S>); - impl sealed::Sealed for SetBlocks {} - impl State for SetBlocks { + ///State transition - sets the `too_big` field to Set + pub struct SetTooBig(PhantomData S>); + impl sealed::Sealed for SetTooBig {} + impl State for SetTooBig { + type Ops = S::Ops; type Rev = S::Rev; + type Rebase = S::Rebase; type Commit = S::Commit; - type Time = S::Time; type Blobs = S::Blobs; - type Repo = S::Repo; - type Blocks = Set; + type TooBig = Set; + type Time = S::Time; type Seq = S::Seq; + type Blocks = S::Blocks; + type Repo = S::Repo; + } + ///State transition - sets the `time` field to Set + pub struct SetTime(PhantomData S>); + impl sealed::Sealed for SetTime {} + impl State for SetTime { type Ops = S::Ops; + type Rev = S::Rev; type Rebase = S::Rebase; + type Commit = S::Commit; + type Blobs = S::Blobs; type TooBig = S::TooBig; + type Time = Set; + type Seq = S::Seq; + type Blocks = S::Blocks; + type Repo = S::Repo; } ///State transition - sets the `seq` field to Set pub struct SetSeq(PhantomData S>); impl sealed::Sealed for SetSeq {} impl State for SetSeq { + type Ops = S::Ops; type Rev = S::Rev; + type Rebase = S::Rebase; type Commit = S::Commit; - type Time = S::Time; type Blobs = S::Blobs; - type Repo = S::Repo; - type Blocks = S::Blocks; - type Seq = Set; - type Ops = S::Ops; - type Rebase = S::Rebase; type TooBig = S::TooBig; - } - ///State transition - sets the `ops` field to Set - pub struct SetOps(PhantomData S>); - impl sealed::Sealed for SetOps {} - impl State for SetOps { - type Rev = S::Rev; - type Commit = S::Commit; type Time = S::Time; - type Blobs = S::Blobs; - type Repo = S::Repo; + type Seq = Set; type Blocks = S::Blocks; - type Seq = S::Seq; - type Ops = Set; - type Rebase = S::Rebase; - type TooBig = S::TooBig; + type Repo = S::Repo; } - ///State transition - sets the `rebase` field to Set - pub struct SetRebase(PhantomData S>); - impl sealed::Sealed for SetRebase {} - impl State for SetRebase { + ///State transition - sets the `blocks` field to Set + pub struct SetBlocks(PhantomData S>); + impl sealed::Sealed for SetBlocks {} + impl State for SetBlocks { + type Ops = S::Ops; type Rev = S::Rev; + type Rebase = S::Rebase; type Commit = S::Commit; - type Time = S::Time; type Blobs = S::Blobs; - type Repo = S::Repo; - type Blocks = S::Blocks; - type Seq = S::Seq; - type Ops = S::Ops; - type Rebase = Set; type TooBig = S::TooBig; + type Time = S::Time; + type Seq = S::Seq; + type Blocks = Set; + type Repo = S::Repo; } - ///State transition - sets the `too_big` field to Set - pub struct SetTooBig(PhantomData S>); - impl sealed::Sealed for SetTooBig {} - impl State for SetTooBig { + ///State transition - sets the `repo` field to Set + pub struct SetRepo(PhantomData S>); + impl sealed::Sealed for SetRepo {} + impl State for SetRepo { + type Ops = S::Ops; type Rev = S::Rev; + type Rebase = S::Rebase; type Commit = S::Commit; - type Time = S::Time; type Blobs = S::Blobs; - type Repo = S::Repo; - type Blocks = S::Blocks; + type TooBig = S::TooBig; + type Time = S::Time; type Seq = S::Seq; - type Ops = S::Ops; - type Rebase = S::Rebase; - type TooBig = Set; + type Blocks = S::Blocks; + type Repo = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `ops` field + pub struct ops(()); ///Marker type for the `rev` field pub struct rev(()); + ///Marker type for the `rebase` field + pub struct rebase(()); ///Marker type for the `commit` field pub struct commit(()); - ///Marker type for the `time` field - pub struct time(()); ///Marker type for the `blobs` field pub struct blobs(()); - ///Marker type for the `repo` field - pub struct repo(()); - ///Marker type for the `blocks` field - pub struct blocks(()); - ///Marker type for the `seq` field - pub struct seq(()); - ///Marker type for the `ops` field - pub struct ops(()); - ///Marker type for the `rebase` field - pub struct rebase(()); ///Marker type for the `too_big` field pub struct too_big(()); + ///Marker type for the `time` field + pub struct time(()); + ///Marker type for the `seq` field + pub struct seq(()); + ///Marker type for the `blocks` field + pub struct blocks(()); + ///Marker type for the `repo` field + pub struct repo(()); } } @@ -1280,7 +1348,7 @@ pub struct CommitBuilder<'a, S: commit_state::State> { _phantom_state: ::core::marker::PhantomData S>, __unsafe_private_named: ( ::core::option::Option>>, - ::core::option::Option, + ::core::option::Option, ::core::option::Option>, ::core::option::Option< Vec>, @@ -1355,7 +1423,7 @@ where /// Set the `blocks` field (required) pub fn blocks( mut self, - value: impl Into, + value: impl Into, ) -> CommitBuilder<'a, commit_state::SetBlocks> { self.__unsafe_private_named.1 = ::core::option::Option::Some(value.into()); CommitBuilder { @@ -1559,16 +1627,16 @@ where impl<'a, S> CommitBuilder<'a, S> where S: commit_state::State, + S::Ops: commit_state::IsSet, S::Rev: commit_state::IsSet, + S::Rebase: commit_state::IsSet, S::Commit: commit_state::IsSet, - S::Time: commit_state::IsSet, S::Blobs: commit_state::IsSet, - S::Repo: commit_state::IsSet, - S::Blocks: commit_state::IsSet, - S::Seq: commit_state::IsSet, - S::Ops: commit_state::IsSet, - S::Rebase: commit_state::IsSet, S::TooBig: commit_state::IsSet, + S::Time: commit_state::IsSet, + S::Seq: commit_state::IsSet, + S::Blocks: commit_state::IsSet, + S::Repo: commit_state::IsSet, { /// Build the final struct pub fn build(self) -> Commit<'a> { @@ -1592,7 +1660,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Commit<'a> { @@ -1678,50 +1746,50 @@ pub mod identity_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Time; - type Did; type Seq; + type Did; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Time = Unset; - type Did = Unset; type Seq = Unset; + type Did = Unset; } ///State transition - sets the `time` field to Set pub struct SetTime(PhantomData S>); impl sealed::Sealed for SetTime {} impl State for SetTime { type Time = Set; - type Did = S::Did; - type Seq = S::Seq; - } - ///State transition - sets the `did` field to Set - pub struct SetDid(PhantomData S>); - impl sealed::Sealed for SetDid {} - impl State for SetDid { - type Time = S::Time; - type Did = Set; type Seq = S::Seq; + type Did = S::Did; } ///State transition - sets the `seq` field to Set pub struct SetSeq(PhantomData S>); impl sealed::Sealed for SetSeq {} impl State for SetSeq { type Time = S::Time; - type Did = S::Did; type Seq = Set; + type Did = S::Did; + } + ///State transition - sets the `did` field to Set + pub struct SetDid(PhantomData S>); + impl sealed::Sealed for SetDid {} + impl State for SetDid { + type Time = S::Time; + type Seq = S::Seq; + type Did = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `time` field pub struct time(()); - ///Marker type for the `did` field - pub struct did(()); ///Marker type for the `seq` field pub struct seq(()); + ///Marker type for the `did` field + pub struct did(()); } } @@ -1835,8 +1903,8 @@ impl<'a, S> IdentityBuilder<'a, S> where S: identity_state::State, S::Time: identity_state::IsSet, - S::Did: identity_state::IsSet, S::Seq: identity_state::IsSet, + S::Did: identity_state::IsSet, { /// Build the final struct pub fn build(self) -> Identity<'a> { @@ -1852,7 +1920,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Identity<'a> { @@ -2120,23 +2188,33 @@ impl<'a> SubscribeReposMessage<'a> { )?; match header.t.as_str() { "#commit" => { - let variant = 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 = 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 = 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 = 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 = 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 => { @@ -2257,37 +2335,37 @@ pub mod repo_op_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Path; type Action; + type Path; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Path = Unset; type Action = Unset; - } - ///State transition - sets the `path` field to Set - pub struct SetPath(PhantomData S>); - impl sealed::Sealed for SetPath {} - impl State for SetPath { - type Path = Set; - type Action = S::Action; + type Path = Unset; } ///State transition - sets the `action` field to Set pub struct SetAction(PhantomData S>); impl sealed::Sealed for SetAction {} impl State for SetAction { - type Path = S::Path; type Action = Set; + type Path = S::Path; + } + ///State transition - sets the `path` field to Set + pub struct SetPath(PhantomData S>); + impl sealed::Sealed for SetPath {} + impl State for SetPath { + type Action = S::Action; + type Path = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `path` field - pub struct path(()); ///Marker type for the `action` field pub struct action(()); + ///Marker type for the `path` field + pub struct path(()); } } @@ -2400,8 +2478,8 @@ impl<'a, S: repo_op_state::State> RepoOpBuilder<'a, S> { impl<'a, S> RepoOpBuilder<'a, S> where S: repo_op_state::State, - S::Path: repo_op_state::IsSet, S::Action: repo_op_state::IsSet, + S::Path: repo_op_state::IsSet, { /// Build the final struct pub fn build(self) -> RepoOp<'a> { @@ -2417,7 +2495,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> RepoOp<'a> { @@ -2556,7 +2634,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for RepoOp<'a> { pub struct Sync<'a> { /// 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")] - pub blocks: bytes::Bytes, + pub blocks: jacquard_common::deps::bytes::Bytes, /// The account this repo event corresponds to. Must match that in the commit object. #[serde(borrow)] pub did: jacquard_common::types::string::Did<'a>, @@ -2579,85 +2657,85 @@ pub mod sync_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Seq; - type Time; - type Did; type Blocks; + type Did; + type Time; type Rev; + type Seq; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Seq = Unset; - type Time = Unset; - type Did = Unset; type Blocks = Unset; + type Did = Unset; + type Time = Unset; type Rev = Unset; + type Seq = Unset; } - ///State transition - sets the `seq` field to Set - pub struct SetSeq(PhantomData S>); - impl sealed::Sealed for SetSeq {} - impl State for SetSeq { - type Seq = Set; - type Time = S::Time; + ///State transition - sets the `blocks` field to Set + pub struct SetBlocks(PhantomData S>); + impl sealed::Sealed for SetBlocks {} + impl State for SetBlocks { + type Blocks = Set; type Did = S::Did; - type Blocks = S::Blocks; + type Time = S::Time; type Rev = S::Rev; - } - ///State transition - sets the `time` field to Set - pub struct SetTime(PhantomData S>); - impl sealed::Sealed for SetTime {} - impl State for SetTime { type Seq = S::Seq; - type Time = Set; - type Did = S::Did; - type Blocks = S::Blocks; - type Rev = S::Rev; } ///State transition - sets the `did` field to Set pub struct SetDid(PhantomData S>); impl sealed::Sealed for SetDid {} impl State for SetDid { - type Seq = S::Seq; - type Time = S::Time; - type Did = Set; type Blocks = S::Blocks; + type Did = Set; + type Time = S::Time; type Rev = S::Rev; - } - ///State transition - sets the `blocks` field to Set - pub struct SetBlocks(PhantomData S>); - impl sealed::Sealed for SetBlocks {} - impl State for SetBlocks { type Seq = S::Seq; - type Time = S::Time; + } + ///State transition - sets the `time` field to Set + pub struct SetTime(PhantomData S>); + impl sealed::Sealed for SetTime {} + impl State for SetTime { + type Blocks = S::Blocks; type Did = S::Did; - type Blocks = Set; + type Time = Set; type Rev = S::Rev; + type Seq = S::Seq; } ///State transition - sets the `rev` field to Set pub struct SetRev(PhantomData S>); impl sealed::Sealed for SetRev {} impl State for SetRev { - type Seq = S::Seq; - type Time = S::Time; - type Did = S::Did; type Blocks = S::Blocks; + type Did = S::Did; + type Time = S::Time; type Rev = Set; + type Seq = S::Seq; + } + ///State transition - sets the `seq` field to Set + pub struct SetSeq(PhantomData S>); + impl sealed::Sealed for SetSeq {} + impl State for SetSeq { + type Blocks = S::Blocks; + type Did = S::Did; + type Time = S::Time; + type Rev = S::Rev; + type Seq = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `seq` field - pub struct seq(()); - ///Marker type for the `time` field - pub struct time(()); - ///Marker type for the `did` field - pub struct did(()); ///Marker type for the `blocks` field pub struct blocks(()); + ///Marker type for the `did` field + pub struct did(()); + ///Marker type for the `time` field + pub struct time(()); ///Marker type for the `rev` field pub struct rev(()); + ///Marker type for the `seq` field + pub struct seq(()); } } @@ -2665,7 +2743,7 @@ pub mod sync_state { pub struct SyncBuilder<'a, S: sync_state::State> { _phantom_state: ::core::marker::PhantomData S>, __unsafe_private_named: ( - ::core::option::Option, + ::core::option::Option, ::core::option::Option>, ::core::option::Option>, ::core::option::Option, @@ -2700,7 +2778,7 @@ where /// Set the `blocks` field (required) pub fn blocks( mut self, - value: impl Into, + value: impl Into, ) -> SyncBuilder<'a, sync_state::SetBlocks> { self.__unsafe_private_named.0 = ::core::option::Option::Some(value.into()); SyncBuilder { @@ -2790,11 +2868,11 @@ where impl<'a, S> SyncBuilder<'a, S> where S: sync_state::State, - S::Seq: sync_state::IsSet, - S::Time: sync_state::IsSet, - S::Did: sync_state::IsSet, S::Blocks: sync_state::IsSet, + S::Did: sync_state::IsSet, + S::Time: sync_state::IsSet, S::Rev: sync_state::IsSet, + S::Seq: sync_state::IsSet, { /// Build the final struct pub fn build(self) -> Sync<'a> { @@ -2811,7 +2889,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Sync<'a> { 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 abe01814c..d6ccd3805 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 @@ -300,7 +300,7 @@ fn lexicon_doc_com_atproto_temp_checkHandleAvailability() -> ::jacquard_lexicon: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcQuery(::jacquard_lexicon::lexicon::LexXrpcQuery { description: None, parameters: Some( @@ -308,14 +308,14 @@ fn lexicon_doc_com_atproto_temp_checkHandleAvailability() -> ::jacquard_lexicon: description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("handle") + ::jacquard_common::deps::smol_str::SmolStr::new_static("handle") ], ), properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "birthDate", ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -338,7 +338,9 @@ fn lexicon_doc_com_atproto_temp_checkHandleAvailability() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("email"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "email", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -357,7 +359,9 @@ fn lexicon_doc_com_atproto_temp_checkHandleAvailability() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("handle"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "handle", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -386,7 +390,9 @@ fn lexicon_doc_com_atproto_temp_checkHandleAvailability() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("resultAvailable"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "resultAvailable", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -403,7 +409,9 @@ fn lexicon_doc_com_atproto_temp_checkHandleAvailability() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("resultUnavailable"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "resultUnavailable", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -412,7 +420,7 @@ fn lexicon_doc_com_atproto_temp_checkHandleAvailability() -> ::jacquard_lexicon: ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("suggestions") + ::jacquard_common::deps::smol_str::SmolStr::new_static("suggestions") ], ), nullable: None, @@ -420,7 +428,7 @@ fn lexicon_doc_com_atproto_temp_checkHandleAvailability() -> ::jacquard_lexicon: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "suggestions", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -442,13 +450,13 @@ fn lexicon_doc_com_atproto_temp_checkHandleAvailability() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("suggestion"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("suggestion"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("handle"), - ::jacquard_common::smol_str::SmolStr::new_static("method") + ::jacquard_common::deps::smol_str::SmolStr::new_static("handle"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("method") ], ), nullable: None, @@ -456,7 +464,9 @@ fn lexicon_doc_com_atproto_temp_checkHandleAvailability() -> ::jacquard_lexicon: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("handle"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "handle", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -473,7 +483,9 @@ fn lexicon_doc_com_atproto_temp_checkHandleAvailability() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("method"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "method", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -635,7 +647,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ResultUnavailable<'a> { @@ -810,7 +822,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Suggestion<'a> { 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 41e948c06..c3fff7954 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 @@ -124,7 +124,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> RevokeAccountCredentials<'a> { diff --git a/crates/jacquard-api/src/com_atprotofans/broker_proof.rs b/crates/jacquard-api/src/com_atprotofans/broker_proof.rs index 633bb06ed..21fb2bc4b 100644 --- a/crates/jacquard-api/src/com_atprotofans/broker_proof.rs +++ b/crates/jacquard-api/src/com_atprotofans/broker_proof.rs @@ -28,7 +28,7 @@ pub struct BrokerProof<'a> { /// Signature data (for inline proofs). #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(default, with = "jacquard_common::opt_serde_bytes_helper")] - pub signature: std::option::Option, + pub signature: std::option::Option, } pub mod broker_proof_state { @@ -69,7 +69,7 @@ pub struct BrokerProofBuilder<'a, S: broker_proof_state::State> { __unsafe_private_named: ( ::core::option::Option>, ::core::option::Option>, - ::core::option::Option, + ::core::option::Option, ), _phantom: ::core::marker::PhantomData<&'a ()>, } @@ -126,12 +126,18 @@ impl<'a, S: broker_proof_state::State> BrokerProofBuilder<'a, S> { impl<'a, S: broker_proof_state::State> BrokerProofBuilder<'a, S> { /// Set the `signature` field (optional) - pub fn signature(mut self, value: impl Into>) -> Self { + pub fn signature( + mut self, + value: impl Into>, + ) -> Self { self.__unsafe_private_named.2 = value.into(); self } /// Set the `signature` field to an Option value (optional) - pub fn maybe_signature(mut self, value: Option) -> Self { + pub fn maybe_signature( + mut self, + value: Option, + ) -> Self { self.__unsafe_private_named.2 = value; self } @@ -155,7 +161,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> BrokerProof<'a> { @@ -257,7 +263,7 @@ fn lexicon_doc_com_atprotofans_brokerProof() -> ::jacquard_lexicon::lexicon::Lex defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -268,14 +274,18 @@ fn lexicon_doc_com_atprotofans_brokerProof() -> ::jacquard_lexicon::lexicon::Lex record: ::jacquard_lexicon::lexicon::LexRecordRecord::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("cid")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -296,7 +306,9 @@ fn lexicon_doc_com_atprotofans_brokerProof() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("key"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "key", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -315,7 +327,7 @@ fn lexicon_doc_com_atprotofans_brokerProof() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "signature", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Bytes(::jacquard_lexicon::lexicon::LexBytes { diff --git a/crates/jacquard-api/src/com_atprotofans/hydrated_profile.rs b/crates/jacquard-api/src/com_atprotofans/hydrated_profile.rs index 9e0b9b87f..d9964f49d 100644 --- a/crates/jacquard-api/src/com_atprotofans/hydrated_profile.rs +++ b/crates/jacquard-api/src/com_atprotofans/hydrated_profile.rs @@ -313,7 +313,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> HydratedProfile<'a> { @@ -343,7 +343,7 @@ fn lexicon_doc_com_atprotofans_hydratedProfile() -> ::jacquard_lexicon::lexicon: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -351,14 +351,16 @@ fn lexicon_doc_com_atprotofans_hydratedProfile() -> ::jacquard_lexicon::lexicon: ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("did")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("did") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "acceptingSupporters", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -368,7 +370,9 @@ fn lexicon_doc_com_atprotofans_hydratedProfile() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("avatar"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "avatar", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -376,7 +380,9 @@ fn lexicon_doc_com_atprotofans_hydratedProfile() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("banner"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "banner", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -384,7 +390,7 @@ fn lexicon_doc_com_atprotofans_hydratedProfile() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -405,7 +411,9 @@ fn lexicon_doc_com_atprotofans_hydratedProfile() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -426,7 +434,7 @@ fn lexicon_doc_com_atprotofans_hydratedProfile() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "displayName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -447,7 +455,9 @@ fn lexicon_doc_com_atprotofans_hydratedProfile() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("facets"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "facets", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -465,7 +475,9 @@ fn lexicon_doc_com_atprotofans_hydratedProfile() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("handle"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "handle", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -486,7 +498,7 @@ fn lexicon_doc_com_atprotofans_hydratedProfile() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "supporterCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -534,7 +546,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for HydratedProfile<'a> { } if let Some(ref value) = self.description { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -564,7 +576,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for HydratedProfile<'a> { } if let Some(ref value) = self.display_name { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) diff --git a/crates/jacquard-api/src/com_atprotofans/profile.rs b/crates/jacquard-api/src/com_atprotofans/profile.rs index 983c597ec..ead0e7504 100644 --- a/crates/jacquard-api/src/com_atprotofans/profile.rs +++ b/crates/jacquard-api/src/com_atprotofans/profile.rs @@ -222,7 +222,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Profile<'a> { @@ -326,7 +326,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Profile<'a> { } if let Some(ref value) = self.description { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -356,7 +356,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Profile<'a> { } if let Some(ref value) = self.display_name { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -387,7 +387,7 @@ fn lexicon_doc_com_atprotofans_profile() -> ::jacquard_lexicon::lexicon::Lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -403,7 +403,7 @@ fn lexicon_doc_com_atprotofans_profile() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "acceptingSupporters", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -413,7 +413,9 @@ fn lexicon_doc_com_atprotofans_profile() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("avatar"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "avatar", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -421,7 +423,9 @@ fn lexicon_doc_com_atprotofans_profile() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("banner"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "banner", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -429,7 +433,7 @@ fn lexicon_doc_com_atprotofans_profile() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -450,7 +454,7 @@ fn lexicon_doc_com_atprotofans_profile() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "displayName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -471,7 +475,9 @@ fn lexicon_doc_com_atprotofans_profile() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("facets"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "facets", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/com_atprotofans/supporter.rs b/crates/jacquard-api/src/com_atprotofans/supporter.rs index dfb0f8dda..b17e53034 100644 --- a/crates/jacquard-api/src/com_atprotofans/supporter.rs +++ b/crates/jacquard-api/src/com_atprotofans/supporter.rs @@ -142,7 +142,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Supporter<'a> { @@ -264,7 +264,7 @@ fn lexicon_doc_com_atprotofans_supporter() -> ::jacquard_lexicon::lexicon::Lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -276,7 +276,7 @@ fn lexicon_doc_com_atprotofans_supporter() -> ::jacquard_lexicon::lexicon::Lexic description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject") ], ), nullable: None, @@ -284,7 +284,7 @@ fn lexicon_doc_com_atprotofans_supporter() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "signatures", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -307,7 +307,9 @@ fn lexicon_doc_com_atprotofans_supporter() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/com_atprotofans/supporter_proof.rs b/crates/jacquard-api/src/com_atprotofans/supporter_proof.rs index 9865c2e1a..78d710c02 100644 --- a/crates/jacquard-api/src/com_atprotofans/supporter_proof.rs +++ b/crates/jacquard-api/src/com_atprotofans/supporter_proof.rs @@ -28,7 +28,7 @@ pub struct SupporterProof<'a> { /// Signature data (for inline proofs). #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(default, with = "jacquard_common::opt_serde_bytes_helper")] - pub signature: std::option::Option, + pub signature: std::option::Option, } pub mod supporter_proof_state { @@ -69,7 +69,7 @@ pub struct SupporterProofBuilder<'a, S: supporter_proof_state::State> { __unsafe_private_named: ( ::core::option::Option>, ::core::option::Option>, - ::core::option::Option, + ::core::option::Option, ), _phantom: ::core::marker::PhantomData<&'a ()>, } @@ -126,12 +126,18 @@ impl<'a, S: supporter_proof_state::State> SupporterProofBuilder<'a, S> { impl<'a, S: supporter_proof_state::State> SupporterProofBuilder<'a, S> { /// Set the `signature` field (optional) - pub fn signature(mut self, value: impl Into>) -> Self { + pub fn signature( + mut self, + value: impl Into>, + ) -> Self { self.__unsafe_private_named.2 = value.into(); self } /// Set the `signature` field to an Option value (optional) - pub fn maybe_signature(mut self, value: Option) -> Self { + pub fn maybe_signature( + mut self, + value: Option, + ) -> Self { self.__unsafe_private_named.2 = value; self } @@ -155,7 +161,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> SupporterProof<'a> { @@ -257,7 +263,7 @@ fn lexicon_doc_com_atprotofans_supporterProof() -> ::jacquard_lexicon::lexicon:: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -268,14 +274,18 @@ fn lexicon_doc_com_atprotofans_supporterProof() -> ::jacquard_lexicon::lexicon:: record: ::jacquard_lexicon::lexicon::LexRecordRecord::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("cid")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -296,7 +306,9 @@ fn lexicon_doc_com_atprotofans_supporterProof() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("key"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "key", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -315,7 +327,7 @@ fn lexicon_doc_com_atprotofans_supporterProof() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "signature", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Bytes(::jacquard_lexicon::lexicon::LexBytes { diff --git a/crates/jacquard-api/src/com_atprotofans/validate_supporter.rs b/crates/jacquard-api/src/com_atprotofans/validate_supporter.rs index b6358e545..341b8289b 100644 --- a/crates/jacquard-api/src/com_atprotofans/validate_supporter.rs +++ b/crates/jacquard-api/src/com_atprotofans/validate_supporter.rs @@ -34,51 +34,51 @@ pub mod validate_supporter_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Subject; - type Signer; type Supporter; + type Signer; + type Subject; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Subject = Unset; - type Signer = Unset; type Supporter = Unset; + type Signer = Unset; + type Subject = Unset; } - ///State transition - sets the `subject` field to Set - pub struct SetSubject(PhantomData S>); - impl sealed::Sealed for SetSubject {} - impl State for SetSubject { - type Subject = Set; + ///State transition - sets the `supporter` field to Set + pub struct SetSupporter(PhantomData S>); + impl sealed::Sealed for SetSupporter {} + impl State for SetSupporter { + type Supporter = Set; type Signer = S::Signer; - type Supporter = S::Supporter; + type Subject = S::Subject; } ///State transition - sets the `signer` field to Set pub struct SetSigner(PhantomData S>); impl sealed::Sealed for SetSigner {} impl State for SetSigner { - type Subject = S::Subject; - type Signer = Set; type Supporter = S::Supporter; - } - ///State transition - sets the `supporter` field to Set - pub struct SetSupporter(PhantomData S>); - impl sealed::Sealed for SetSupporter {} - impl State for SetSupporter { + type Signer = Set; type Subject = S::Subject; + } + ///State transition - sets the `subject` field to Set + pub struct SetSubject(PhantomData S>); + impl sealed::Sealed for SetSubject {} + impl State for SetSubject { + type Supporter = S::Supporter; type Signer = S::Signer; - type Supporter = Set; + type Subject = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `subject` field - pub struct subject(()); - ///Marker type for the `signer` field - pub struct signer(()); ///Marker type for the `supporter` field pub struct supporter(()); + ///Marker type for the `signer` field + pub struct signer(()); + ///Marker type for the `subject` field + pub struct subject(()); } } @@ -171,9 +171,9 @@ where impl<'a, S> ValidateSupporterBuilder<'a, S> where S: validate_supporter_state::State, - S::Subject: validate_supporter_state::IsSet, - S::Signer: validate_supporter_state::IsSet, S::Supporter: validate_supporter_state::IsSet, + S::Signer: validate_supporter_state::IsSet, + S::Subject: validate_supporter_state::IsSet, { /// Build the final struct pub fn build(self) -> ValidateSupporter<'a> { diff --git a/crates/jacquard-api/src/com_crabdance/nandi/post.rs b/crates/jacquard-api/src/com_crabdance/nandi/post.rs index 967a9d694..cd561b3a2 100644 --- a/crates/jacquard-api/src/com_crabdance/nandi/post.rs +++ b/crates/jacquard-api/src/com_crabdance/nandi/post.rs @@ -49,51 +49,51 @@ pub mod post_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type Title; type Content; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type Title = Unset; type Content = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Title = S::Title; - type Content = S::Content; + type CreatedAt = Unset; } ///State transition - sets the `title` field to Set pub struct SetTitle(PhantomData S>); impl sealed::Sealed for SetTitle {} impl State for SetTitle { - type CreatedAt = S::CreatedAt; type Title = Set; type Content = S::Content; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `content` field to Set pub struct SetContent(PhantomData S>); impl sealed::Sealed for SetContent {} impl State for SetContent { - type CreatedAt = S::CreatedAt; type Title = S::Title; type Content = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Title = S::Title; + type Content = S::Content; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `title` field pub struct title(()); ///Marker type for the `content` field pub struct content(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -257,9 +257,9 @@ impl<'a, S: post_state::State> PostBuilder<'a, S> { impl<'a, S> PostBuilder<'a, S> where S: post_state::State, - S::CreatedAt: post_state::IsSet, S::Title: post_state::IsSet, S::Content: post_state::IsSet, + S::CreatedAt: post_state::IsSet, { /// Build the final struct pub fn build(self) -> Post<'a> { @@ -278,7 +278,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Post<'a> { @@ -460,7 +460,7 @@ fn lexicon_doc_com_crabdance_nandi_post() -> ::jacquard_lexicon::lexicon::Lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -468,9 +468,9 @@ fn lexicon_doc_com_crabdance_nandi_post() -> ::jacquard_lexicon::lexicon::Lexico description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("content"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -478,7 +478,9 @@ fn lexicon_doc_com_crabdance_nandi_post() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "content", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -497,7 +499,7 @@ fn lexicon_doc_com_crabdance_nandi_post() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -516,7 +518,7 @@ fn lexicon_doc_com_crabdance_nandi_post() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "published", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -526,7 +528,9 @@ fn lexicon_doc_com_crabdance_nandi_post() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("summary"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "summary", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -545,7 +549,9 @@ fn lexicon_doc_com_crabdance_nandi_post() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tags", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -569,7 +575,9 @@ fn lexicon_doc_com_crabdance_nandi_post() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -588,7 +596,7 @@ fn lexicon_doc_com_crabdance_nandi_post() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/com_deckbelcher.rs b/crates/jacquard-api/src/com_deckbelcher.rs index 11bf5039a..411e6db3d 100644 --- a/crates/jacquard-api/src/com_deckbelcher.rs +++ b/crates/jacquard-api/src/com_deckbelcher.rs @@ -161,7 +161,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> CardRef<'a> { @@ -184,7 +184,7 @@ fn lexicon_doc_com_deckbelcher_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cardRef"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cardRef"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -193,8 +193,8 @@ fn lexicon_doc_com_deckbelcher_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("scryfallUri"), - ::jacquard_common::smol_str::SmolStr::new_static("oracleUri") + ::jacquard_common::deps::smol_str::SmolStr::new_static("scryfallUri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("oracleUri") ], ), nullable: None, @@ -202,7 +202,7 @@ fn lexicon_doc_com_deckbelcher_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "oracleUri", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -225,7 +225,7 @@ fn lexicon_doc_com_deckbelcher_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "scryfallUri", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/com_deckbelcher/actor/profile.rs b/crates/jacquard-api/src/com_deckbelcher/actor/profile.rs index 8cb797067..257b4830e 100644 --- a/crates/jacquard-api/src/com_deckbelcher/actor/profile.rs +++ b/crates/jacquard-api/src/com_deckbelcher/actor/profile.rs @@ -163,7 +163,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Profile<'a> { @@ -264,7 +264,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Profile<'a> { } if let Some(ref value) = self.pronouns { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -295,7 +295,7 @@ fn lexicon_doc_com_deckbelcher_actor_profile() -> ::jacquard_lexicon::lexicon::L defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -307,7 +307,7 @@ fn lexicon_doc_com_deckbelcher_actor_profile() -> ::jacquard_lexicon::lexicon::L description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -315,7 +315,9 @@ fn lexicon_doc_com_deckbelcher_actor_profile() -> ::jacquard_lexicon::lexicon::L #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("bio"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "bio", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -324,7 +326,7 @@ fn lexicon_doc_com_deckbelcher_actor_profile() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -347,7 +349,7 @@ fn lexicon_doc_com_deckbelcher_actor_profile() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "pronouns", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/com_deckbelcher/collection/list.rs b/crates/jacquard-api/src/com_deckbelcher/collection/list.rs index 811545690..8552f1c2e 100644 --- a/crates/jacquard-api/src/com_deckbelcher/collection/list.rs +++ b/crates/jacquard-api/src/com_deckbelcher/collection/list.rs @@ -35,37 +35,37 @@ pub mod card_item_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type AddedAt; type Ref; + type AddedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type AddedAt = Unset; type Ref = Unset; - } - ///State transition - sets the `added_at` field to Set - pub struct SetAddedAt(PhantomData S>); - impl sealed::Sealed for SetAddedAt {} - impl State for SetAddedAt { - type AddedAt = Set; - type Ref = S::Ref; + type AddedAt = Unset; } ///State transition - sets the `ref` field to Set pub struct SetRef(PhantomData S>); impl sealed::Sealed for SetRef {} impl State for SetRef { - type AddedAt = S::AddedAt; type Ref = Set; + type AddedAt = S::AddedAt; + } + ///State transition - sets the `added_at` field to Set + pub struct SetAddedAt(PhantomData S>); + impl sealed::Sealed for SetAddedAt {} + impl State for SetAddedAt { + type Ref = S::Ref; + type AddedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `added_at` field - pub struct added_at(()); ///Marker type for the `ref` field pub struct r#ref(()); + ///Marker type for the `added_at` field + pub struct added_at(()); } } @@ -138,8 +138,8 @@ where impl<'a, S> CardItemBuilder<'a, S> where S: card_item_state::State, - S::AddedAt: card_item_state::IsSet, S::Ref: card_item_state::IsSet, + S::AddedAt: card_item_state::IsSet, { /// Build the final struct pub fn build(self) -> CardItem<'a> { @@ -153,7 +153,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> CardItem<'a> { @@ -176,7 +176,7 @@ fn lexicon_doc_com_deckbelcher_collection_list() -> ::jacquard_lexicon::lexicon: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cardItem"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cardItem"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -185,8 +185,8 @@ fn lexicon_doc_com_deckbelcher_collection_list() -> ::jacquard_lexicon::lexicon: ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("ref"), - ::jacquard_common::smol_str::SmolStr::new_static("addedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("ref"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("addedAt") ], ), nullable: None, @@ -194,7 +194,9 @@ fn lexicon_doc_com_deckbelcher_collection_list() -> ::jacquard_lexicon::lexicon: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("addedAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "addedAt", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -215,7 +217,9 @@ fn lexicon_doc_com_deckbelcher_collection_list() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("ref"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "ref", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -228,7 +232,7 @@ fn lexicon_doc_com_deckbelcher_collection_list() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("deckItem"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("deckItem"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -237,8 +241,8 @@ fn lexicon_doc_com_deckbelcher_collection_list() -> ::jacquard_lexicon::lexicon: ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("ref"), - ::jacquard_common::smol_str::SmolStr::new_static("addedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("ref"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("addedAt") ], ), nullable: None, @@ -246,7 +250,9 @@ fn lexicon_doc_com_deckbelcher_collection_list() -> ::jacquard_lexicon::lexicon: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("addedAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "addedAt", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -267,7 +273,9 @@ fn lexicon_doc_com_deckbelcher_collection_list() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("ref"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "ref", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -280,7 +288,7 @@ fn lexicon_doc_com_deckbelcher_collection_list() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -292,9 +300,9 @@ fn lexicon_doc_com_deckbelcher_collection_list() -> ::jacquard_lexicon::lexicon: description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("items"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("items"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -302,7 +310,7 @@ fn lexicon_doc_com_deckbelcher_collection_list() -> ::jacquard_lexicon::lexicon: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -325,7 +333,7 @@ fn lexicon_doc_com_deckbelcher_collection_list() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -336,7 +344,9 @@ fn lexicon_doc_com_deckbelcher_collection_list() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("items"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "items", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static("Items in the list."), @@ -354,7 +364,9 @@ fn lexicon_doc_com_deckbelcher_collection_list() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Name of the list."), @@ -371,7 +383,7 @@ fn lexicon_doc_com_deckbelcher_collection_list() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -450,37 +462,37 @@ pub mod deck_item_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type AddedAt; type Ref; + type AddedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type AddedAt = Unset; type Ref = Unset; - } - ///State transition - sets the `added_at` field to Set - pub struct SetAddedAt(PhantomData S>); - impl sealed::Sealed for SetAddedAt {} - impl State for SetAddedAt { - type AddedAt = Set; - type Ref = S::Ref; + type AddedAt = Unset; } ///State transition - sets the `ref` field to Set pub struct SetRef(PhantomData S>); impl sealed::Sealed for SetRef {} impl State for SetRef { - type AddedAt = S::AddedAt; type Ref = Set; + type AddedAt = S::AddedAt; + } + ///State transition - sets the `added_at` field to Set + pub struct SetAddedAt(PhantomData S>); + impl sealed::Sealed for SetAddedAt {} + impl State for SetAddedAt { + type Ref = S::Ref; + type AddedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `added_at` field - pub struct added_at(()); ///Marker type for the `ref` field pub struct r#ref(()); + ///Marker type for the `added_at` field + pub struct added_at(()); } } @@ -553,8 +565,8 @@ where impl<'a, S> DeckItemBuilder<'a, S> where S: deck_item_state::State, - S::AddedAt: deck_item_state::IsSet, S::Ref: deck_item_state::IsSet, + S::AddedAt: deck_item_state::IsSet, { /// Build the final struct pub fn build(self) -> DeckItem<'a> { @@ -568,7 +580,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> DeckItem<'a> { @@ -833,7 +845,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> List<'a> { @@ -957,7 +969,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for List<'a> { { let value = &self.name; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) diff --git a/crates/jacquard-api/src/com_deckbelcher/deck/list.rs b/crates/jacquard-api/src/com_deckbelcher/deck/list.rs index e9e72ace8..687693863 100644 --- a/crates/jacquard-api/src/com_deckbelcher/deck/list.rs +++ b/crates/jacquard-api/src/com_deckbelcher/deck/list.rs @@ -42,51 +42,51 @@ pub mod card_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Ref; type Quantity; type Section; + type Ref; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Ref = Unset; type Quantity = Unset; type Section = Unset; - } - ///State transition - sets the `ref` field to Set - pub struct SetRef(PhantomData S>); - impl sealed::Sealed for SetRef {} - impl State for SetRef { - type Ref = Set; - type Quantity = S::Quantity; - type Section = S::Section; + type Ref = Unset; } ///State transition - sets the `quantity` field to Set pub struct SetQuantity(PhantomData S>); impl sealed::Sealed for SetQuantity {} impl State for SetQuantity { - type Ref = S::Ref; type Quantity = Set; type Section = S::Section; + type Ref = S::Ref; } ///State transition - sets the `section` field to Set pub struct SetSection(PhantomData S>); impl sealed::Sealed for SetSection {} impl State for SetSection { - type Ref = S::Ref; type Quantity = S::Quantity; type Section = Set; + type Ref = S::Ref; + } + ///State transition - sets the `ref` field to Set + pub struct SetRef(PhantomData S>); + impl sealed::Sealed for SetRef {} + impl State for SetRef { + type Quantity = S::Quantity; + type Section = S::Section; + type Ref = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `ref` field - pub struct r#ref(()); ///Marker type for the `quantity` field pub struct quantity(()); ///Marker type for the `section` field pub struct section(()); + ///Marker type for the `ref` field + pub struct r#ref(()); } } @@ -199,9 +199,9 @@ impl<'a, S: card_state::State> CardBuilder<'a, S> { impl<'a, S> CardBuilder<'a, S> where S: card_state::State, - S::Ref: card_state::IsSet, S::Quantity: card_state::IsSet, S::Section: card_state::IsSet, + S::Ref: card_state::IsSet, { /// Build the final struct pub fn build(self) -> Card<'a> { @@ -217,7 +217,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Card<'a> { @@ -242,7 +242,7 @@ fn lexicon_doc_com_deckbelcher_deck_list() -> ::jacquard_lexicon::lexicon::Lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("card"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("card"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -251,9 +251,9 @@ fn lexicon_doc_com_deckbelcher_deck_list() -> ::jacquard_lexicon::lexicon::Lexic ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("ref"), - ::jacquard_common::smol_str::SmolStr::new_static("quantity"), - ::jacquard_common::smol_str::SmolStr::new_static("section") + ::jacquard_common::deps::smol_str::SmolStr::new_static("ref"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("quantity"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("section") ], ), nullable: None, @@ -261,7 +261,9 @@ fn lexicon_doc_com_deckbelcher_deck_list() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("quantity"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "quantity", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -272,7 +274,9 @@ fn lexicon_doc_com_deckbelcher_deck_list() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("ref"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "ref", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -281,14 +285,18 @@ fn lexicon_doc_com_deckbelcher_deck_list() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("section"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "section", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#section"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tags", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -320,7 +328,7 @@ fn lexicon_doc_com_deckbelcher_deck_list() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("format"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("format"), ::jacquard_lexicon::lexicon::LexUserType::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Game format for a deck."), @@ -337,7 +345,7 @@ fn lexicon_doc_com_deckbelcher_deck_list() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -349,9 +357,9 @@ fn lexicon_doc_com_deckbelcher_deck_list() -> ::jacquard_lexicon::lexicon::Lexic description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("cards"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cards"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -359,7 +367,9 @@ fn lexicon_doc_com_deckbelcher_deck_list() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cards"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cards", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -375,7 +385,7 @@ fn lexicon_doc_com_deckbelcher_deck_list() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -398,14 +408,18 @@ fn lexicon_doc_com_deckbelcher_deck_list() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("format"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "format", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#format"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -424,7 +438,9 @@ fn lexicon_doc_com_deckbelcher_deck_list() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("primer"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "primer", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: Some( ::jacquard_common::CowStr::new_static( @@ -440,7 +456,7 @@ fn lexicon_doc_com_deckbelcher_deck_list() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -468,7 +484,7 @@ fn lexicon_doc_com_deckbelcher_deck_list() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("primerRef"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("primerRef"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -476,14 +492,18 @@ fn lexicon_doc_com_deckbelcher_deck_list() -> ::jacquard_lexicon::lexicon::Lexic ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("ref")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("ref") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("ref"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "ref", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -496,7 +516,7 @@ fn lexicon_doc_com_deckbelcher_deck_list() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("primerUri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("primerUri"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -504,14 +524,18 @@ fn lexicon_doc_com_deckbelcher_deck_list() -> ::jacquard_lexicon::lexicon::Lexic ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("uri")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -530,7 +554,7 @@ fn lexicon_doc_com_deckbelcher_deck_list() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("section"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("section"), ::jacquard_lexicon::lexicon::LexUserType::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -826,51 +850,51 @@ pub mod list_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Cards; type CreatedAt; type Name; + type Cards; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Cards = Unset; type CreatedAt = Unset; type Name = Unset; - } - ///State transition - sets the `cards` field to Set - pub struct SetCards(PhantomData S>); - impl sealed::Sealed for SetCards {} - impl State for SetCards { - type Cards = Set; - type CreatedAt = S::CreatedAt; - type Name = S::Name; + type Cards = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Cards = S::Cards; type CreatedAt = Set; type Name = S::Name; + type Cards = S::Cards; } ///State transition - sets the `name` field to Set pub struct SetName(PhantomData S>); impl sealed::Sealed for SetName {} impl State for SetName { - type Cards = S::Cards; type CreatedAt = S::CreatedAt; type Name = Set; + type Cards = S::Cards; + } + ///State transition - sets the `cards` field to Set + pub struct SetCards(PhantomData S>); + impl sealed::Sealed for SetCards {} + impl State for SetCards { + type CreatedAt = S::CreatedAt; + type Name = S::Name; + type Cards = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `cards` field - pub struct cards(()); ///Marker type for the `created_at` field pub struct created_at(()); ///Marker type for the `name` field pub struct name(()); + ///Marker type for the `cards` field + pub struct cards(()); } } @@ -1017,9 +1041,9 @@ impl<'a, S: list_state::State> ListBuilder<'a, S> { impl<'a, S> ListBuilder<'a, S> where S: list_state::State, - S::Cards: list_state::IsSet, S::CreatedAt: list_state::IsSet, S::Name: list_state::IsSet, + S::Cards: list_state::IsSet, { /// Build the final struct pub fn build(self) -> List<'a> { @@ -1037,7 +1061,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> List<'a> { @@ -1164,7 +1188,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for List<'a> { { let value = &self.name; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -1295,7 +1319,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> PrimerRef<'a> { @@ -1370,7 +1394,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for PrimerUri<'a> { { let value = &self.uri; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) diff --git a/crates/jacquard-api/src/com_deckbelcher/richtext.rs b/crates/jacquard-api/src/com_deckbelcher/richtext.rs index c216e61bb..3a75c6761 100644 --- a/crates/jacquard-api/src/com_deckbelcher/richtext.rs +++ b/crates/jacquard-api/src/com_deckbelcher/richtext.rs @@ -119,7 +119,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> BulletListBlock<'a> { @@ -141,7 +141,9 @@ fn lexicon_doc_com_deckbelcher_richtext() -> ::jacquard_lexicon::lexicon::Lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("bulletListBlock"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "bulletListBlock", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -149,14 +151,18 @@ fn lexicon_doc_com_deckbelcher_richtext() -> ::jacquard_lexicon::lexicon::Lexico ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("items")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("items") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("items"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "items", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static("The list items."), @@ -174,7 +180,7 @@ fn lexicon_doc_com_deckbelcher_richtext() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("codeBlock"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("codeBlock"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -182,14 +188,18 @@ fn lexicon_doc_com_deckbelcher_richtext() -> ::jacquard_lexicon::lexicon::Lexico ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("text")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("text") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("language"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "language", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -208,7 +218,9 @@ fn lexicon_doc_com_deckbelcher_richtext() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -231,7 +243,7 @@ fn lexicon_doc_com_deckbelcher_richtext() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("document"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("document"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -239,14 +251,18 @@ fn lexicon_doc_com_deckbelcher_richtext() -> ::jacquard_lexicon::lexicon::Lexico ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("content")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("content") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "content", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -274,7 +290,7 @@ fn lexicon_doc_com_deckbelcher_richtext() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("headingBlock"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("headingBlock"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -282,14 +298,18 @@ fn lexicon_doc_com_deckbelcher_richtext() -> ::jacquard_lexicon::lexicon::Lexico ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("level")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("level") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("facets"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "facets", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -307,7 +327,9 @@ fn lexicon_doc_com_deckbelcher_richtext() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("level"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "level", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -318,7 +340,9 @@ fn lexicon_doc_com_deckbelcher_richtext() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -341,7 +365,9 @@ fn lexicon_doc_com_deckbelcher_richtext() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("horizontalRuleBlock"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "horizontalRuleBlock", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -358,7 +384,7 @@ fn lexicon_doc_com_deckbelcher_richtext() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("listItem"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("listItem"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -371,7 +397,9 @@ fn lexicon_doc_com_deckbelcher_richtext() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("facets"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "facets", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -389,7 +417,9 @@ fn lexicon_doc_com_deckbelcher_richtext() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sublist"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sublist", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: Some( ::jacquard_common::CowStr::new_static( @@ -404,7 +434,9 @@ fn lexicon_doc_com_deckbelcher_richtext() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -427,7 +459,7 @@ fn lexicon_doc_com_deckbelcher_richtext() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -440,7 +472,9 @@ fn lexicon_doc_com_deckbelcher_richtext() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("facets"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "facets", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -458,7 +492,9 @@ fn lexicon_doc_com_deckbelcher_richtext() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -481,7 +517,9 @@ fn lexicon_doc_com_deckbelcher_richtext() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("orderedListBlock"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "orderedListBlock", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -489,14 +527,18 @@ fn lexicon_doc_com_deckbelcher_richtext() -> ::jacquard_lexicon::lexicon::Lexico ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("items")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("items") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("items"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "items", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static("The list items."), @@ -510,7 +552,9 @@ fn lexicon_doc_com_deckbelcher_richtext() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("start"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "start", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -525,7 +569,7 @@ fn lexicon_doc_com_deckbelcher_richtext() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("paragraphBlock"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("paragraphBlock"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -538,7 +582,9 @@ fn lexicon_doc_com_deckbelcher_richtext() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("facets"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "facets", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -556,7 +602,9 @@ fn lexicon_doc_com_deckbelcher_richtext() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -776,7 +824,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Document<'a> { @@ -991,7 +1039,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> HeadingBlock<'a> { @@ -1055,7 +1103,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for HeadingBlock<'a> { } if let Some(ref value) = self.text { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -1182,7 +1230,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ListItem<'a> { } if let Some(ref value) = self.text { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -1256,7 +1304,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Richtext<'a> { } if let Some(ref value) = self.text { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -1406,7 +1454,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> OrderedListBlock<'a> { @@ -1488,7 +1536,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ParagraphBlock<'a> { } if let Some(ref value) = self.text { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) diff --git a/crates/jacquard-api/src/com_deckbelcher/richtext/facet.rs b/crates/jacquard-api/src/com_deckbelcher/richtext/facet.rs index 44271a372..d419a31fe 100644 --- a/crates/jacquard-api/src/com_deckbelcher/richtext/facet.rs +++ b/crates/jacquard-api/src/com_deckbelcher/richtext/facet.rs @@ -31,7 +31,7 @@ fn lexicon_doc_com_deckbelcher_richtext_facet() -> ::jacquard_lexicon::lexicon:: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("bold"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("bold"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -48,7 +48,7 @@ fn lexicon_doc_com_deckbelcher_richtext_facet() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("byteSlice"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("byteSlice"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -57,8 +57,8 @@ fn lexicon_doc_com_deckbelcher_richtext_facet() -> ::jacquard_lexicon::lexicon:: ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("byteStart"), - ::jacquard_common::smol_str::SmolStr::new_static("byteEnd") + ::jacquard_common::deps::smol_str::SmolStr::new_static("byteStart"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("byteEnd") ], ), nullable: None, @@ -66,7 +66,9 @@ fn lexicon_doc_com_deckbelcher_richtext_facet() -> ::jacquard_lexicon::lexicon:: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("byteEnd"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "byteEnd", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -77,7 +79,7 @@ fn lexicon_doc_com_deckbelcher_richtext_facet() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "byteStart", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -94,7 +96,7 @@ fn lexicon_doc_com_deckbelcher_richtext_facet() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cardRef"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cardRef"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -102,14 +104,18 @@ fn lexicon_doc_com_deckbelcher_richtext_facet() -> ::jacquard_lexicon::lexicon:: ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("ref")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("ref") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("ref"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "ref", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -122,7 +128,7 @@ fn lexicon_doc_com_deckbelcher_richtext_facet() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("code"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("code"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -139,7 +145,7 @@ fn lexicon_doc_com_deckbelcher_richtext_facet() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("codeBlock"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("codeBlock"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -156,7 +162,7 @@ fn lexicon_doc_com_deckbelcher_richtext_facet() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("italic"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("italic"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -173,7 +179,7 @@ fn lexicon_doc_com_deckbelcher_richtext_facet() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("link"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("link"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -181,14 +187,18 @@ fn lexicon_doc_com_deckbelcher_richtext_facet() -> ::jacquard_lexicon::lexicon:: ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("uri")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -209,7 +219,7 @@ fn lexicon_doc_com_deckbelcher_richtext_facet() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -218,8 +228,8 @@ fn lexicon_doc_com_deckbelcher_richtext_facet() -> ::jacquard_lexicon::lexicon:: ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("index"), - ::jacquard_common::smol_str::SmolStr::new_static("features") + ::jacquard_common::deps::smol_str::SmolStr::new_static("index"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("features") ], ), nullable: None, @@ -227,7 +237,9 @@ fn lexicon_doc_com_deckbelcher_richtext_facet() -> ::jacquard_lexicon::lexicon:: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("features"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "features", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -249,7 +261,9 @@ fn lexicon_doc_com_deckbelcher_richtext_facet() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("index"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "index", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#byteSlice"), @@ -260,7 +274,7 @@ fn lexicon_doc_com_deckbelcher_richtext_facet() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("mention"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("mention"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -268,14 +282,18 @@ fn lexicon_doc_com_deckbelcher_richtext_facet() -> ::jacquard_lexicon::lexicon:: ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("did")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("did") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -296,7 +314,7 @@ fn lexicon_doc_com_deckbelcher_richtext_facet() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tag"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("tag"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -304,14 +322,18 @@ fn lexicon_doc_com_deckbelcher_richtext_facet() -> ::jacquard_lexicon::lexicon:: ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("tag")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("tag") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tag"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tag", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -495,7 +517,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ByteSlice<'a> { @@ -662,7 +684,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> CardRef<'a> { @@ -898,7 +920,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Link<'a> { @@ -956,37 +978,37 @@ pub mod facet_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Index; type Features; + type Index; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Index = Unset; type Features = Unset; - } - ///State transition - sets the `index` field to Set - pub struct SetIndex(PhantomData S>); - impl sealed::Sealed for SetIndex {} - impl State for SetIndex { - type Index = Set; - type Features = S::Features; + type Index = Unset; } ///State transition - sets the `features` field to Set pub struct SetFeatures(PhantomData S>); impl sealed::Sealed for SetFeatures {} impl State for SetFeatures { - type Index = S::Index; type Features = Set; + type Index = S::Index; + } + ///State transition - sets the `index` field to Set + pub struct SetIndex(PhantomData S>); + impl sealed::Sealed for SetIndex {} + impl State for SetIndex { + type Features = S::Features; + type Index = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `index` field - pub struct index(()); ///Marker type for the `features` field pub struct features(()); + ///Marker type for the `index` field + pub struct index(()); } } @@ -1059,8 +1081,8 @@ where impl<'a, S> FacetBuilder<'a, S> where S: facet_state::State, - S::Index: facet_state::IsSet, S::Features: facet_state::IsSet, + S::Index: facet_state::IsSet, { /// Build the final struct pub fn build(self) -> Facet<'a> { @@ -1074,7 +1096,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Facet<'a> { @@ -1246,7 +1268,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Mention<'a> { @@ -1322,7 +1344,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Tag<'a> { { let value = &self.tag; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) diff --git a/crates/jacquard-api/src/com_deckbelcher/social/comment.rs b/crates/jacquard-api/src/com_deckbelcher/social/comment.rs index e2023ecf1..65b6f1076 100644 --- a/crates/jacquard-api/src/com_deckbelcher/social/comment.rs +++ b/crates/jacquard-api/src/com_deckbelcher/social/comment.rs @@ -116,7 +116,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> CardSubject<'a> { @@ -138,7 +138,7 @@ fn lexicon_doc_com_deckbelcher_social_comment() -> ::jacquard_lexicon::lexicon:: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cardSubject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cardSubject"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -146,14 +146,18 @@ fn lexicon_doc_com_deckbelcher_social_comment() -> ::jacquard_lexicon::lexicon:: ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("ref")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("ref") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("ref"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "ref", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -166,7 +170,7 @@ fn lexicon_doc_com_deckbelcher_social_comment() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cardTarget"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cardTarget"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -174,14 +178,18 @@ fn lexicon_doc_com_deckbelcher_social_comment() -> ::jacquard_lexicon::lexicon:: ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("ref")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("ref") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("ref"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "ref", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -194,7 +202,7 @@ fn lexicon_doc_com_deckbelcher_social_comment() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("deckTarget"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("deckTarget"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -202,14 +210,18 @@ fn lexicon_doc_com_deckbelcher_social_comment() -> ::jacquard_lexicon::lexicon:: ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("ref")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("ref") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("ref"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "ref", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -222,7 +234,7 @@ fn lexicon_doc_com_deckbelcher_social_comment() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -234,9 +246,9 @@ fn lexicon_doc_com_deckbelcher_social_comment() -> ::jacquard_lexicon::lexicon:: description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("content"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -244,7 +256,9 @@ fn lexicon_doc_com_deckbelcher_social_comment() -> ::jacquard_lexicon::lexicon:: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "content", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -253,7 +267,7 @@ fn lexicon_doc_com_deckbelcher_social_comment() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -272,7 +286,9 @@ fn lexicon_doc_com_deckbelcher_social_comment() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: Some( ::jacquard_common::CowStr::new_static( @@ -287,7 +303,9 @@ fn lexicon_doc_com_deckbelcher_social_comment() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("target"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "target", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: Some( ::jacquard_common::CowStr::new_static( @@ -304,7 +322,7 @@ fn lexicon_doc_com_deckbelcher_social_comment() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -328,7 +346,7 @@ fn lexicon_doc_com_deckbelcher_social_comment() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("recordSubject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("recordSubject"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -336,14 +354,18 @@ fn lexicon_doc_com_deckbelcher_social_comment() -> ::jacquard_lexicon::lexicon:: ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("ref")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("ref") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("ref"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "ref", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -356,7 +378,7 @@ fn lexicon_doc_com_deckbelcher_social_comment() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sectionTarget"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("sectionTarget"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -364,14 +386,18 @@ fn lexicon_doc_com_deckbelcher_social_comment() -> ::jacquard_lexicon::lexicon:: ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("section")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("section") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("section"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "section", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -390,7 +416,7 @@ fn lexicon_doc_com_deckbelcher_social_comment() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tagTarget"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("tagTarget"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -398,14 +424,18 @@ fn lexicon_doc_com_deckbelcher_social_comment() -> ::jacquard_lexicon::lexicon:: ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("tag")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("tag") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tag"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tag", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -556,7 +586,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> CardTarget<'a> { @@ -695,7 +725,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> DeckTarget<'a> { @@ -762,50 +792,50 @@ pub mod comment_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Subject; - type Content; type CreatedAt; + type Content; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Subject = Unset; - type Content = Unset; type CreatedAt = Unset; + type Content = Unset; } ///State transition - sets the `subject` field to Set pub struct SetSubject(PhantomData S>); impl sealed::Sealed for SetSubject {} impl State for SetSubject { type Subject = Set; - type Content = S::Content; - type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `content` field to Set - pub struct SetContent(PhantomData S>); - impl sealed::Sealed for SetContent {} - impl State for SetContent { - type Subject = S::Subject; - type Content = Set; type CreatedAt = S::CreatedAt; + type Content = S::Content; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { type Subject = S::Subject; - type Content = S::Content; type CreatedAt = Set; + type Content = S::Content; + } + ///State transition - sets the `content` field to Set + pub struct SetContent(PhantomData S>); + impl sealed::Sealed for SetContent {} + impl State for SetContent { + type Subject = S::Subject; + type CreatedAt = S::CreatedAt; + type Content = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `subject` field pub struct subject(()); - ///Marker type for the `content` field - pub struct content(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `content` field + pub struct content(()); } } @@ -933,8 +963,8 @@ impl<'a, S> CommentBuilder<'a, S> where S: comment_state::State, S::Subject: comment_state::IsSet, - S::Content: comment_state::IsSet, S::CreatedAt: comment_state::IsSet, + S::Content: comment_state::IsSet, { /// Build the final struct pub fn build(self) -> Comment<'a> { @@ -951,7 +981,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Comment<'a> { @@ -1197,7 +1227,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> RecordSubject<'a> { @@ -1272,7 +1302,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for SectionTarget<'a> { { let value = &self.section; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -1339,7 +1369,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for TagTarget<'a> { { let value = &self.tag; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) diff --git a/crates/jacquard-api/src/com_deckbelcher/social/like.rs b/crates/jacquard-api/src/com_deckbelcher/social/like.rs index 08694b239..8d36bef42 100644 --- a/crates/jacquard-api/src/com_deckbelcher/social/like.rs +++ b/crates/jacquard-api/src/com_deckbelcher/social/like.rs @@ -117,7 +117,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> CardSubject<'a> { @@ -139,7 +139,7 @@ fn lexicon_doc_com_deckbelcher_social_like() -> ::jacquard_lexicon::lexicon::Lex defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cardSubject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cardSubject"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -147,14 +147,18 @@ fn lexicon_doc_com_deckbelcher_social_like() -> ::jacquard_lexicon::lexicon::Lex ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("ref")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("ref") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("ref"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "ref", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -167,7 +171,7 @@ fn lexicon_doc_com_deckbelcher_social_like() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -179,8 +183,8 @@ fn lexicon_doc_com_deckbelcher_social_like() -> ::jacquard_lexicon::lexicon::Lex description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -188,7 +192,7 @@ fn lexicon_doc_com_deckbelcher_social_like() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -211,7 +215,9 @@ fn lexicon_doc_com_deckbelcher_social_like() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: Some( ::jacquard_common::CowStr::new_static( @@ -231,7 +237,7 @@ fn lexicon_doc_com_deckbelcher_social_like() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("recordSubject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("recordSubject"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -239,14 +245,18 @@ fn lexicon_doc_com_deckbelcher_social_like() -> ::jacquard_lexicon::lexicon::Lex ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("ref")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("ref") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("ref"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "ref", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -310,37 +320,37 @@ pub mod like_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Subject; type CreatedAt; + type Subject; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Subject = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `subject` field to Set - pub struct SetSubject(PhantomData S>); - impl sealed::Sealed for SetSubject {} - impl State for SetSubject { - type Subject = Set; - type CreatedAt = S::CreatedAt; + type Subject = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Subject = S::Subject; type CreatedAt = Set; + type Subject = S::Subject; + } + ///State transition - sets the `subject` field to Set + pub struct SetSubject(PhantomData S>); + impl sealed::Sealed for SetSubject {} + impl State for SetSubject { + type CreatedAt = S::CreatedAt; + type Subject = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `subject` field - pub struct subject(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `subject` field + pub struct subject(()); } } @@ -413,8 +423,8 @@ where impl<'a, S> LikeBuilder<'a, S> where S: like_state::State, - S::Subject: like_state::IsSet, S::CreatedAt: like_state::IsSet, + S::Subject: like_state::IsSet, { /// Build the final struct pub fn build(self) -> Like<'a> { @@ -428,7 +438,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Like<'a> { @@ -649,7 +659,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> RecordSubject<'a> { diff --git a/crates/jacquard-api/src/com_deckbelcher/social/reply.rs b/crates/jacquard-api/src/com_deckbelcher/social/reply.rs index e5b5f2f9c..6e7f09629 100644 --- a/crates/jacquard-api/src/com_deckbelcher/social/reply.rs +++ b/crates/jacquard-api/src/com_deckbelcher/social/reply.rs @@ -42,65 +42,65 @@ pub mod reply_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Root; type Parent; type Content; + type Root; type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Root = Unset; type Parent = Unset; type Content = Unset; + type Root = Unset; type CreatedAt = Unset; } - ///State transition - sets the `root` field to Set - pub struct SetRoot(PhantomData S>); - impl sealed::Sealed for SetRoot {} - impl State for SetRoot { - type Root = Set; - type Parent = S::Parent; - type Content = S::Content; - type CreatedAt = S::CreatedAt; - } ///State transition - sets the `parent` field to Set pub struct SetParent(PhantomData S>); impl sealed::Sealed for SetParent {} impl State for SetParent { - type Root = S::Root; type Parent = Set; type Content = S::Content; + type Root = S::Root; type CreatedAt = S::CreatedAt; } ///State transition - sets the `content` field to Set pub struct SetContent(PhantomData S>); impl sealed::Sealed for SetContent {} impl State for SetContent { - type Root = S::Root; type Parent = S::Parent; type Content = Set; + type Root = S::Root; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `root` field to Set + pub struct SetRoot(PhantomData S>); + impl sealed::Sealed for SetRoot {} + impl State for SetRoot { + type Parent = S::Parent; + type Content = S::Content; + type Root = Set; type CreatedAt = S::CreatedAt; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Root = S::Root; type Parent = S::Parent; type Content = S::Content; + type Root = S::Root; type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `root` field - pub struct root(()); ///Marker type for the `parent` field pub struct parent(()); ///Marker type for the `content` field pub struct content(()); + ///Marker type for the `root` field + pub struct root(()); ///Marker type for the `created_at` field pub struct created_at(()); } @@ -235,9 +235,9 @@ impl<'a, S: reply_state::State> ReplyBuilder<'a, S> { impl<'a, S> ReplyBuilder<'a, S> where S: reply_state::State, - S::Root: reply_state::IsSet, S::Parent: reply_state::IsSet, S::Content: reply_state::IsSet, + S::Root: reply_state::IsSet, S::CreatedAt: reply_state::IsSet, { /// Build the final struct @@ -255,7 +255,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Reply<'a> { @@ -359,7 +359,7 @@ fn lexicon_doc_com_deckbelcher_social_reply() -> ::jacquard_lexicon::lexicon::Le defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -371,10 +371,10 @@ fn lexicon_doc_com_deckbelcher_social_reply() -> ::jacquard_lexicon::lexicon::Le description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("parent"), - ::jacquard_common::smol_str::SmolStr::new_static("root"), - ::jacquard_common::smol_str::SmolStr::new_static("content"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("parent"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("root"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -382,7 +382,9 @@ fn lexicon_doc_com_deckbelcher_social_reply() -> ::jacquard_lexicon::lexicon::Le #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "content", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -391,7 +393,7 @@ fn lexicon_doc_com_deckbelcher_social_reply() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -410,7 +412,9 @@ fn lexicon_doc_com_deckbelcher_social_reply() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("parent"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "parent", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -419,7 +423,9 @@ fn lexicon_doc_com_deckbelcher_social_reply() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("root"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "root", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -428,7 +434,7 @@ fn lexicon_doc_com_deckbelcher_social_reply() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/com_germnetwork/declaration.rs b/crates/jacquard-api/src/com_germnetwork/declaration.rs index 5d1ba5f19..868204ff8 100644 --- a/crates/jacquard-api/src/com_germnetwork/declaration.rs +++ b/crates/jacquard-api/src/com_germnetwork/declaration.rs @@ -20,14 +20,14 @@ pub struct Declaration<'a> { /// Array of opaque values to allow for key rolling #[serde(skip_serializing_if = "std::option::Option::is_none")] - pub continuity_proofs: std::option::Option>, + pub continuity_proofs: std::option::Option>, /// Opaque value, an ed25519 public key prefixed with a byte enum #[serde(with = "jacquard_common::serde_bytes_helper")] - pub current_key: bytes::Bytes, + pub current_key: jacquard_common::deps::bytes::Bytes, /// Opaque value, contains MLS KeyPackage(s), and other signature data, and is signed by the currentKey #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(default, with = "jacquard_common::opt_serde_bytes_helper")] - pub key_package: std::option::Option, + pub key_package: std::option::Option, /// Controls who can message this account #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] @@ -87,9 +87,9 @@ pub mod declaration_state { pub struct DeclarationBuilder<'a, S: declaration_state::State> { _phantom_state: ::core::marker::PhantomData S>, __unsafe_private_named: ( - ::core::option::Option>, - ::core::option::Option, - ::core::option::Option, + ::core::option::Option>, + ::core::option::Option, + ::core::option::Option, ::core::option::Option>, ::core::option::Option>, ), @@ -118,13 +118,16 @@ impl<'a, S: declaration_state::State> DeclarationBuilder<'a, S> { /// Set the `continuityProofs` field (optional) pub fn continuity_proofs( mut self, - value: impl Into>>, + value: impl Into>>, ) -> Self { self.__unsafe_private_named.0 = value.into(); self } /// Set the `continuityProofs` field to an Option value (optional) - pub fn maybe_continuity_proofs(mut self, value: Option>) -> Self { + pub fn maybe_continuity_proofs( + mut self, + value: Option>, + ) -> Self { self.__unsafe_private_named.0 = value; self } @@ -138,7 +141,7 @@ where /// Set the `currentKey` field (required) pub fn current_key( mut self, - value: impl Into, + value: impl Into, ) -> DeclarationBuilder<'a, declaration_state::SetCurrentKey> { self.__unsafe_private_named.1 = ::core::option::Option::Some(value.into()); DeclarationBuilder { @@ -151,12 +154,18 @@ where impl<'a, S: declaration_state::State> DeclarationBuilder<'a, S> { /// Set the `keyPackage` field (optional) - pub fn key_package(mut self, value: impl Into>) -> Self { + pub fn key_package( + mut self, + value: impl Into>, + ) -> Self { self.__unsafe_private_named.2 = value.into(); self } /// Set the `keyPackage` field to an Option value (optional) - pub fn maybe_key_package(mut self, value: Option) -> Self { + pub fn maybe_key_package( + mut self, + value: Option, + ) -> Self { self.__unsafe_private_named.2 = value; self } @@ -221,7 +230,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Declaration<'a> { @@ -363,7 +372,7 @@ fn lexicon_doc_com_germnetwork_declaration() -> ::jacquard_lexicon::lexicon::Lex defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -375,8 +384,8 @@ fn lexicon_doc_com_germnetwork_declaration() -> ::jacquard_lexicon::lexicon::Lex description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("version"), - ::jacquard_common::smol_str::SmolStr::new_static("currentKey") + ::jacquard_common::deps::smol_str::SmolStr::new_static("version"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("currentKey") ], ), nullable: None, @@ -384,7 +393,7 @@ fn lexicon_doc_com_germnetwork_declaration() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "continuityProofs", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -403,7 +412,7 @@ fn lexicon_doc_com_germnetwork_declaration() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "currentKey", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Bytes(::jacquard_lexicon::lexicon::LexBytes { @@ -413,7 +422,7 @@ fn lexicon_doc_com_germnetwork_declaration() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "keyPackage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Bytes(::jacquard_lexicon::lexicon::LexBytes { @@ -423,7 +432,7 @@ fn lexicon_doc_com_germnetwork_declaration() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "messageMe", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -432,7 +441,9 @@ fn lexicon_doc_com_germnetwork_declaration() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("version"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "version", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -456,13 +467,13 @@ fn lexicon_doc_com_germnetwork_declaration() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("messageMe"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("messageMe"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("showButtonTo"), - ::jacquard_common::smol_str::SmolStr::new_static("messageMeUrl") + ::jacquard_common::deps::smol_str::SmolStr::new_static("showButtonTo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("messageMeUrl") ], ), nullable: None, @@ -470,7 +481,7 @@ fn lexicon_doc_com_germnetwork_declaration() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "messageMeUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -493,7 +504,7 @@ fn lexicon_doc_com_germnetwork_declaration() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "showButtonTo", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -552,37 +563,37 @@ pub mod message_me_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type MessageMeUrl; type ShowButtonTo; + type MessageMeUrl; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type MessageMeUrl = Unset; type ShowButtonTo = Unset; - } - ///State transition - sets the `message_me_url` field to Set - pub struct SetMessageMeUrl(PhantomData S>); - impl sealed::Sealed for SetMessageMeUrl {} - impl State for SetMessageMeUrl { - type MessageMeUrl = Set; - type ShowButtonTo = S::ShowButtonTo; + type MessageMeUrl = Unset; } ///State transition - sets the `show_button_to` field to Set pub struct SetShowButtonTo(PhantomData S>); impl sealed::Sealed for SetShowButtonTo {} impl State for SetShowButtonTo { - type MessageMeUrl = S::MessageMeUrl; type ShowButtonTo = Set; + type MessageMeUrl = S::MessageMeUrl; + } + ///State transition - sets the `message_me_url` field to Set + pub struct SetMessageMeUrl(PhantomData S>); + impl sealed::Sealed for SetMessageMeUrl {} + impl State for SetMessageMeUrl { + type ShowButtonTo = S::ShowButtonTo; + type MessageMeUrl = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `message_me_url` field - pub struct message_me_url(()); ///Marker type for the `show_button_to` field pub struct show_button_to(()); + ///Marker type for the `message_me_url` field + pub struct message_me_url(()); } } @@ -655,8 +666,8 @@ where impl<'a, S> MessageMeBuilder<'a, S> where S: message_me_state::State, - S::MessageMeUrl: message_me_state::IsSet, S::ShowButtonTo: message_me_state::IsSet, + S::MessageMeUrl: message_me_state::IsSet, { /// Build the final struct pub fn build(self) -> MessageMe<'a> { @@ -670,7 +681,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> MessageMe<'a> { diff --git a/crates/jacquard-api/src/com_kipclip/annotation.rs b/crates/jacquard-api/src/com_kipclip/annotation.rs index 3def58b58..6cd73c726 100644 --- a/crates/jacquard-api/src/com_kipclip/annotation.rs +++ b/crates/jacquard-api/src/com_kipclip/annotation.rs @@ -267,7 +267,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Annotation<'a> { @@ -409,7 +409,7 @@ fn lexicon_doc_com_kipclip_annotation() -> ::jacquard_lexicon::lexicon::LexiconD defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -421,8 +421,8 @@ fn lexicon_doc_com_kipclip_annotation() -> ::jacquard_lexicon::lexicon::LexiconD description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -430,7 +430,7 @@ fn lexicon_doc_com_kipclip_annotation() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -449,7 +449,7 @@ fn lexicon_doc_com_kipclip_annotation() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -466,7 +466,9 @@ fn lexicon_doc_com_kipclip_annotation() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("favicon"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "favicon", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -483,7 +485,9 @@ fn lexicon_doc_com_kipclip_annotation() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -500,7 +504,9 @@ fn lexicon_doc_com_kipclip_annotation() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("note"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "note", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -519,7 +525,9 @@ fn lexicon_doc_com_kipclip_annotation() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -540,7 +548,9 @@ fn lexicon_doc_com_kipclip_annotation() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, diff --git a/crates/jacquard-api/src/com_kipclip/tag.rs b/crates/jacquard-api/src/com_kipclip/tag.rs index 909294405..f5997b9b9 100644 --- a/crates/jacquard-api/src/com_kipclip/tag.rs +++ b/crates/jacquard-api/src/com_kipclip/tag.rs @@ -153,7 +153,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Tag<'a> { @@ -265,7 +265,7 @@ fn lexicon_doc_com_kipclip_tag() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -277,8 +277,8 @@ fn lexicon_doc_com_kipclip_tag() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("value"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("value"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -286,7 +286,7 @@ fn lexicon_doc_com_kipclip_tag() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -309,7 +309,9 @@ fn lexicon_doc_com_kipclip_tag() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("value"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "value", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("The tag text"), 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 ba99a3018..8be05a1d8 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 @@ -36,37 +36,37 @@ pub mod author_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Handle; type Did; + type Handle; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Handle = Unset; type Did = Unset; - } - ///State transition - sets the `handle` field to Set - pub struct SetHandle(PhantomData S>); - impl sealed::Sealed for SetHandle {} - impl State for SetHandle { - type Handle = Set; - type Did = S::Did; + type Handle = Unset; } ///State transition - sets the `did` field to Set pub struct SetDid(PhantomData S>); impl sealed::Sealed for SetDid {} impl State for SetDid { - type Handle = S::Handle; type Did = Set; + type Handle = S::Handle; + } + ///State transition - sets the `handle` field to Set + pub struct SetHandle(PhantomData S>); + impl sealed::Sealed for SetHandle {} + impl State for SetHandle { + type Did = S::Did; + type Handle = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `handle` field - pub struct handle(()); ///Marker type for the `did` field pub struct did(()); + ///Marker type for the `handle` field + pub struct handle(()); } } @@ -139,8 +139,8 @@ where impl<'a, S> AuthorBuilder<'a, S> where S: author_state::State, - S::Handle: author_state::IsSet, S::Did: author_state::IsSet, + S::Handle: author_state::IsSet, { /// Build the final struct pub fn build(self) -> Author<'a> { @@ -154,7 +154,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Author<'a> { @@ -177,7 +177,7 @@ fn lexicon_doc_com_shinolabs_pinksea_appViewDefs() -> ::jacquard_lexicon::lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("author"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -186,8 +186,8 @@ fn lexicon_doc_com_shinolabs_pinksea_appViewDefs() -> ::jacquard_lexicon::lexico ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("did"), - ::jacquard_common::smol_str::SmolStr::new_static("handle") + ::jacquard_common::deps::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("handle") ], ), nullable: None, @@ -195,7 +195,9 @@ fn lexicon_doc_com_shinolabs_pinksea_appViewDefs() -> ::jacquard_lexicon::lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -216,7 +218,9 @@ fn lexicon_doc_com_shinolabs_pinksea_appViewDefs() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("handle"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "handle", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -241,7 +245,7 @@ fn lexicon_doc_com_shinolabs_pinksea_appViewDefs() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hydratedOekaki"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("hydratedOekaki"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -250,12 +254,12 @@ fn lexicon_doc_com_shinolabs_pinksea_appViewDefs() -> ::jacquard_lexicon::lexico ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("author"), - ::jacquard_common::smol_str::SmolStr::new_static("image"), - ::jacquard_common::smol_str::SmolStr::new_static("at"), - ::jacquard_common::smol_str::SmolStr::new_static("cid"), - ::jacquard_common::smol_str::SmolStr::new_static("creationTime"), - ::jacquard_common::smol_str::SmolStr::new_static("nsfw") + ::jacquard_common::deps::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("at"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("creationTime"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("nsfw") ], ), nullable: None, @@ -263,7 +267,9 @@ fn lexicon_doc_com_shinolabs_pinksea_appViewDefs() -> ::jacquard_lexicon::lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("alt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "alt", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -282,7 +288,7 @@ fn lexicon_doc_com_shinolabs_pinksea_appViewDefs() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("at"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("at"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -303,14 +309,18 @@ fn lexicon_doc_com_shinolabs_pinksea_appViewDefs() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "author", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#author"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("The oekaki CID."), @@ -329,7 +339,7 @@ fn lexicon_doc_com_shinolabs_pinksea_appViewDefs() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "creationTime", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -350,7 +360,9 @@ fn lexicon_doc_com_shinolabs_pinksea_appViewDefs() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("The image link."), @@ -369,7 +381,9 @@ fn lexicon_doc_com_shinolabs_pinksea_appViewDefs() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("nsfw"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "nsfw", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -377,7 +391,9 @@ fn lexicon_doc_com_shinolabs_pinksea_appViewDefs() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tags", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -405,7 +421,9 @@ fn lexicon_doc_com_shinolabs_pinksea_appViewDefs() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("oekakiTombstone"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "oekakiTombstone", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -414,7 +432,7 @@ fn lexicon_doc_com_shinolabs_pinksea_appViewDefs() -> ::jacquard_lexicon::lexico ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("formerAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("formerAt") ], ), nullable: None, @@ -422,7 +440,9 @@ fn lexicon_doc_com_shinolabs_pinksea_appViewDefs() -> ::jacquard_lexicon::lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("formerAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "formerAt", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -516,105 +536,105 @@ pub mod hydrated_oekaki_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Image; - type Author; - type Cid; - type At; type CreationTime; type Nsfw; + type Cid; + type At; + type Author; + type Image; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Image = Unset; - type Author = Unset; - type Cid = Unset; - type At = Unset; type CreationTime = Unset; type Nsfw = Unset; + type Cid = Unset; + type At = Unset; + type Author = Unset; + type Image = Unset; } - ///State transition - sets the `image` field to Set - pub struct SetImage(PhantomData S>); - impl sealed::Sealed for SetImage {} - impl State for SetImage { - type Image = Set; - type Author = S::Author; + ///State transition - sets the `creation_time` field to Set + pub struct SetCreationTime(PhantomData S>); + impl sealed::Sealed for SetCreationTime {} + impl State for SetCreationTime { + type CreationTime = Set; + type Nsfw = S::Nsfw; type Cid = S::Cid; type At = S::At; - type CreationTime = S::CreationTime; - type Nsfw = S::Nsfw; - } - ///State transition - sets the `author` field to Set - pub struct SetAuthor(PhantomData S>); - impl sealed::Sealed for SetAuthor {} - impl State for SetAuthor { + type Author = S::Author; type Image = S::Image; - type Author = Set; + } + ///State transition - sets the `nsfw` field to Set + pub struct SetNsfw(PhantomData S>); + impl sealed::Sealed for SetNsfw {} + impl State for SetNsfw { + type CreationTime = S::CreationTime; + type Nsfw = Set; type Cid = S::Cid; type At = S::At; - type CreationTime = S::CreationTime; - type Nsfw = S::Nsfw; + type Author = S::Author; + type Image = S::Image; } ///State transition - sets the `cid` field to Set pub struct SetCid(PhantomData S>); impl sealed::Sealed for SetCid {} impl State for SetCid { - type Image = S::Image; - type Author = S::Author; - type Cid = Set; - type At = S::At; type CreationTime = S::CreationTime; type Nsfw = S::Nsfw; + type Cid = Set; + type At = S::At; + type Author = S::Author; + type Image = S::Image; } ///State transition - sets the `at` field to Set pub struct SetAt(PhantomData S>); impl sealed::Sealed for SetAt {} impl State for SetAt { - type Image = S::Image; - type Author = S::Author; + type CreationTime = S::CreationTime; + type Nsfw = S::Nsfw; type Cid = S::Cid; type At = Set; + type Author = S::Author; + type Image = S::Image; + } + ///State transition - sets the `author` field to Set + pub struct SetAuthor(PhantomData S>); + impl sealed::Sealed for SetAuthor {} + impl State for SetAuthor { type CreationTime = S::CreationTime; type Nsfw = S::Nsfw; - } - ///State transition - sets the `creation_time` field to Set - pub struct SetCreationTime(PhantomData S>); - impl sealed::Sealed for SetCreationTime {} - impl State for SetCreationTime { - type Image = S::Image; - type Author = S::Author; type Cid = S::Cid; type At = S::At; - type CreationTime = Set; - type Nsfw = S::Nsfw; - } - ///State transition - sets the `nsfw` field to Set - pub struct SetNsfw(PhantomData S>); - impl sealed::Sealed for SetNsfw {} - impl State for SetNsfw { + type Author = Set; type Image = S::Image; - type Author = S::Author; + } + ///State transition - sets the `image` field to Set + pub struct SetImage(PhantomData S>); + impl sealed::Sealed for SetImage {} + impl State for SetImage { + type CreationTime = S::CreationTime; + type Nsfw = S::Nsfw; type Cid = S::Cid; type At = S::At; - type CreationTime = S::CreationTime; - type Nsfw = Set; + type Author = S::Author; + type Image = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `image` field - pub struct image(()); - ///Marker type for the `author` field - pub struct author(()); - ///Marker type for the `cid` field - pub struct cid(()); - ///Marker type for the `at` field - pub struct at(()); ///Marker type for the `creation_time` field pub struct creation_time(()); ///Marker type for the `nsfw` field pub struct nsfw(()); + ///Marker type for the `cid` field + pub struct cid(()); + ///Marker type for the `at` field + pub struct at(()); + ///Marker type for the `author` field + pub struct author(()); + ///Marker type for the `image` field + pub struct image(()); } } @@ -801,12 +821,12 @@ impl<'a, S: hydrated_oekaki_state::State> HydratedOekakiBuilder<'a, S> { impl<'a, S> HydratedOekakiBuilder<'a, S> where S: hydrated_oekaki_state::State, - S::Image: hydrated_oekaki_state::IsSet, - S::Author: hydrated_oekaki_state::IsSet, - S::Cid: hydrated_oekaki_state::IsSet, - S::At: hydrated_oekaki_state::IsSet, S::CreationTime: hydrated_oekaki_state::IsSet, S::Nsfw: hydrated_oekaki_state::IsSet, + S::Cid: hydrated_oekaki_state::IsSet, + S::At: hydrated_oekaki_state::IsSet, + S::Author: hydrated_oekaki_state::IsSet, + S::Image: hydrated_oekaki_state::IsSet, { /// Build the final struct pub fn build(self) -> HydratedOekaki<'a> { @@ -826,7 +846,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> HydratedOekaki<'a> { @@ -985,7 +1005,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> OekakiTombstone<'a> { 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 2a1bcbe45..d2667b0c1 100644 --- a/crates/jacquard-api/src/com_shinolabs/pinksea/get_oekaki.rs +++ b/crates/jacquard-api/src/com_shinolabs/pinksea/get_oekaki.rs @@ -32,37 +32,37 @@ pub mod get_oekaki_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Did; type Rkey; + type Did; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Did = Unset; type Rkey = Unset; - } - ///State transition - sets the `did` field to Set - pub struct SetDid(PhantomData S>); - impl sealed::Sealed for SetDid {} - impl State for SetDid { - type Did = Set; - type Rkey = S::Rkey; + type Did = Unset; } ///State transition - sets the `rkey` field to Set pub struct SetRkey(PhantomData S>); impl sealed::Sealed for SetRkey {} impl State for SetRkey { - type Did = S::Did; type Rkey = Set; + type Did = S::Did; + } + ///State transition - sets the `did` field to Set + pub struct SetDid(PhantomData S>); + impl sealed::Sealed for SetDid {} + impl State for SetDid { + type Rkey = S::Rkey; + type Did = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `did` field - pub struct did(()); ///Marker type for the `rkey` field pub struct rkey(()); + ///Marker type for the `did` field + pub struct did(()); } } @@ -135,8 +135,8 @@ where impl<'a, S> GetOekakiBuilder<'a, S> where S: get_oekaki_state::State, - S::Did: get_oekaki_state::IsSet, S::Rkey: get_oekaki_state::IsSet, + S::Did: get_oekaki_state::IsSet, { /// Build the final struct pub fn build(self) -> GetOekaki<'a> { diff --git a/crates/jacquard-api/src/com_shinolabs/pinksea/oekaki.rs b/crates/jacquard-api/src/com_shinolabs/pinksea/oekaki.rs index be999362d..9c4e479df 100644 --- a/crates/jacquard-api/src/com_shinolabs/pinksea/oekaki.rs +++ b/crates/jacquard-api/src/com_shinolabs/pinksea/oekaki.rs @@ -152,7 +152,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Image<'a> { @@ -175,13 +175,13 @@ fn lexicon_doc_com_shinolabs_pinksea_oekaki() -> ::jacquard_lexicon::lexicon::Le defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("image"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("blob"), - ::jacquard_common::smol_str::SmolStr::new_static("imageLink") + ::jacquard_common::deps::smol_str::SmolStr::new_static("blob"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("imageLink") ], ), nullable: None, @@ -189,7 +189,9 @@ fn lexicon_doc_com_shinolabs_pinksea_oekaki() -> ::jacquard_lexicon::lexicon::Le #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("blob"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "blob", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -197,7 +199,7 @@ fn lexicon_doc_com_shinolabs_pinksea_oekaki() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "imageLink", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -210,7 +212,7 @@ fn lexicon_doc_com_shinolabs_pinksea_oekaki() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("imageLink"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("imageLink"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -223,7 +225,9 @@ fn lexicon_doc_com_shinolabs_pinksea_oekaki() -> ::jacquard_lexicon::lexicon::Le #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("alt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "alt", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -246,7 +250,7 @@ fn lexicon_doc_com_shinolabs_pinksea_oekaki() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static("An oekaki post."), @@ -256,8 +260,8 @@ fn lexicon_doc_com_shinolabs_pinksea_oekaki() -> ::jacquard_lexicon::lexicon::Le description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("image"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -265,7 +269,7 @@ fn lexicon_doc_com_shinolabs_pinksea_oekaki() -> ::jacquard_lexicon::lexicon::Le #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -288,14 +292,16 @@ fn lexicon_doc_com_shinolabs_pinksea_oekaki() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#image"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "inResponseTo", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -306,7 +312,9 @@ fn lexicon_doc_com_shinolabs_pinksea_oekaki() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("nsfw"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "nsfw", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -314,7 +322,9 @@ fn lexicon_doc_com_shinolabs_pinksea_oekaki() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tags", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -443,37 +453,37 @@ pub mod oekaki_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Image; type CreatedAt; + type Image; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Image = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `image` field to Set - pub struct SetImage(PhantomData S>); - impl sealed::Sealed for SetImage {} - impl State for SetImage { - type Image = Set; - type CreatedAt = S::CreatedAt; + type Image = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Image = S::Image; type CreatedAt = Set; + type Image = S::Image; + } + ///State transition - sets the `image` field to Set + pub struct SetImage(PhantomData S>); + impl sealed::Sealed for SetImage {} + impl State for SetImage { + type CreatedAt = S::CreatedAt; + type Image = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `image` field - pub struct image(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `image` field + pub struct image(()); } } @@ -600,8 +610,8 @@ impl<'a, S: oekaki_state::State> OekakiBuilder<'a, S> { impl<'a, S> OekakiBuilder<'a, S> where S: oekaki_state::State, - S::Image: oekaki_state::IsSet, S::CreatedAt: oekaki_state::IsSet, + S::Image: oekaki_state::IsSet, { /// Build the final struct pub fn build(self) -> Oekaki<'a> { @@ -618,7 +628,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Oekaki<'a> { diff --git a/crates/jacquard-api/src/com_shinolabs/pinksea/profile.rs b/crates/jacquard-api/src/com_shinolabs/pinksea/profile.rs index f9852314f..1232891c3 100644 --- a/crates/jacquard-api/src/com_shinolabs/pinksea/profile.rs +++ b/crates/jacquard-api/src/com_shinolabs/pinksea/profile.rs @@ -176,7 +176,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Profile<'a> { @@ -278,7 +278,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Profile<'a> { } if let Some(ref value) = self.bio { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -320,7 +320,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Profile<'a> { } if let Some(ref value) = self.nickname { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -351,7 +351,7 @@ fn lexicon_doc_com_shinolabs_pinksea_profile() -> ::jacquard_lexicon::lexicon::L defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -367,7 +367,9 @@ fn lexicon_doc_com_shinolabs_pinksea_profile() -> ::jacquard_lexicon::lexicon::L #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("avatar"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "avatar", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -376,7 +378,9 @@ fn lexicon_doc_com_shinolabs_pinksea_profile() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("bio"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "bio", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -395,7 +399,9 @@ fn lexicon_doc_com_shinolabs_pinksea_profile() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("links"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "links", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -411,7 +417,7 @@ fn lexicon_doc_com_shinolabs_pinksea_profile() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "nickname", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -437,13 +443,13 @@ fn lexicon_doc_com_shinolabs_pinksea_profile() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("profileLink"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("profileLink"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("link") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("link") ], ), nullable: None, @@ -451,7 +457,9 @@ fn lexicon_doc_com_shinolabs_pinksea_profile() -> ::jacquard_lexicon::lexicon::L #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("link"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "link", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -472,7 +480,9 @@ fn lexicon_doc_com_shinolabs_pinksea_profile() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -647,7 +657,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ProfileLink<'a> { @@ -688,7 +698,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ProfileLink<'a> { { let value = &self.name; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) diff --git a/crates/jacquard-api/src/com_suibari/atsumeat/config.rs b/crates/jacquard-api/src/com_suibari/atsumeat/config.rs index c0eb155cd..10904f402 100644 --- a/crates/jacquard-api/src/com_suibari/atsumeat/config.rs +++ b/crates/jacquard-api/src/com_suibari/atsumeat/config.rs @@ -116,7 +116,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Config<'a> { @@ -216,7 +216,7 @@ fn lexicon_doc_com_suibari_atsumeat_config() -> ::jacquard_lexicon::lexicon::Lex defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -228,7 +228,7 @@ fn lexicon_doc_com_suibari_atsumeat_config() -> ::jacquard_lexicon::lexicon::Lex description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("hubRef") + ::jacquard_common::deps::smol_str::SmolStr::new_static("hubRef") ], ), nullable: None, @@ -236,7 +236,9 @@ fn lexicon_doc_com_suibari_atsumeat_config() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hubRef"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "hubRef", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( diff --git a/crates/jacquard-api/src/com_suibari/atsumeat/sticker.rs b/crates/jacquard-api/src/com_suibari/atsumeat/sticker.rs index fcf5500bc..d801d641c 100644 --- a/crates/jacquard-api/src/com_suibari/atsumeat/sticker.rs +++ b/crates/jacquard-api/src/com_suibari/atsumeat/sticker.rs @@ -72,105 +72,105 @@ pub mod sticker_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type ObtainedAt; type Signature; - type SignedPayload; + type OriginalOwner; type Model; + type SignedPayload; type Image; - type ObtainedAt; - type OriginalOwner; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type ObtainedAt = Unset; type Signature = Unset; - type SignedPayload = Unset; + type OriginalOwner = Unset; type Model = Unset; + type SignedPayload = Unset; type Image = Unset; - type ObtainedAt = Unset; - type OriginalOwner = Unset; + } + ///State transition - sets the `obtained_at` field to Set + pub struct SetObtainedAt(PhantomData S>); + impl sealed::Sealed for SetObtainedAt {} + impl State for SetObtainedAt { + type ObtainedAt = Set; + type Signature = S::Signature; + type OriginalOwner = S::OriginalOwner; + type Model = S::Model; + type SignedPayload = S::SignedPayload; + type Image = S::Image; } ///State transition - sets the `signature` field to Set pub struct SetSignature(PhantomData S>); impl sealed::Sealed for SetSignature {} impl State for SetSignature { + type ObtainedAt = S::ObtainedAt; type Signature = Set; - type SignedPayload = S::SignedPayload; + type OriginalOwner = S::OriginalOwner; type Model = S::Model; + type SignedPayload = S::SignedPayload; type Image = S::Image; - type ObtainedAt = S::ObtainedAt; - type OriginalOwner = S::OriginalOwner; } - ///State transition - sets the `signed_payload` field to Set - pub struct SetSignedPayload(PhantomData S>); - impl sealed::Sealed for SetSignedPayload {} - impl State for SetSignedPayload { + ///State transition - sets the `original_owner` field to Set + pub struct SetOriginalOwner(PhantomData S>); + impl sealed::Sealed for SetOriginalOwner {} + impl State for SetOriginalOwner { + type ObtainedAt = S::ObtainedAt; type Signature = S::Signature; - type SignedPayload = Set; + type OriginalOwner = Set; type Model = S::Model; + type SignedPayload = S::SignedPayload; type Image = S::Image; - type ObtainedAt = S::ObtainedAt; - type OriginalOwner = S::OriginalOwner; } ///State transition - sets the `model` field to Set pub struct SetModel(PhantomData S>); impl sealed::Sealed for SetModel {} impl State for SetModel { + type ObtainedAt = S::ObtainedAt; type Signature = S::Signature; - type SignedPayload = S::SignedPayload; + type OriginalOwner = S::OriginalOwner; type Model = Set; + type SignedPayload = S::SignedPayload; type Image = S::Image; + } + ///State transition - sets the `signed_payload` field to Set + pub struct SetSignedPayload(PhantomData S>); + impl sealed::Sealed for SetSignedPayload {} + impl State for SetSignedPayload { type ObtainedAt = S::ObtainedAt; + type Signature = S::Signature; type OriginalOwner = S::OriginalOwner; + type Model = S::Model; + type SignedPayload = Set; + type Image = S::Image; } ///State transition - sets the `image` field to Set pub struct SetImage(PhantomData S>); impl sealed::Sealed for SetImage {} impl State for SetImage { - type Signature = S::Signature; - type SignedPayload = S::SignedPayload; - type Model = S::Model; - type Image = Set; type ObtainedAt = S::ObtainedAt; - type OriginalOwner = S::OriginalOwner; - } - ///State transition - sets the `obtained_at` field to Set - pub struct SetObtainedAt(PhantomData S>); - impl sealed::Sealed for SetObtainedAt {} - impl State for SetObtainedAt { type Signature = S::Signature; - type SignedPayload = S::SignedPayload; - type Model = S::Model; - type Image = S::Image; - type ObtainedAt = Set; type OriginalOwner = S::OriginalOwner; - } - ///State transition - sets the `original_owner` field to Set - pub struct SetOriginalOwner(PhantomData S>); - impl sealed::Sealed for SetOriginalOwner {} - impl State for SetOriginalOwner { - type Signature = S::Signature; - type SignedPayload = S::SignedPayload; type Model = S::Model; - type Image = S::Image; - type ObtainedAt = S::ObtainedAt; - type OriginalOwner = Set; + type SignedPayload = S::SignedPayload; + type Image = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `obtained_at` field + pub struct obtained_at(()); ///Marker type for the `signature` field pub struct signature(()); - ///Marker type for the `signed_payload` field - pub struct signed_payload(()); + ///Marker type for the `original_owner` field + pub struct original_owner(()); ///Marker type for the `model` field pub struct model(()); + ///Marker type for the `signed_payload` field + pub struct signed_payload(()); ///Marker type for the `image` field pub struct image(()); - ///Marker type for the `obtained_at` field - pub struct obtained_at(()); - ///Marker type for the `original_owner` field - pub struct original_owner(()); } } @@ -459,12 +459,12 @@ impl<'a, S: sticker_state::State> StickerBuilder<'a, S> { impl<'a, S> StickerBuilder<'a, S> where S: sticker_state::State, + S::ObtainedAt: sticker_state::IsSet, S::Signature: sticker_state::IsSet, - S::SignedPayload: sticker_state::IsSet, + S::OriginalOwner: sticker_state::IsSet, S::Model: sticker_state::IsSet, + S::SignedPayload: sticker_state::IsSet, S::Image: sticker_state::IsSet, - S::ObtainedAt: sticker_state::IsSet, - S::OriginalOwner: sticker_state::IsSet, { /// Build the final struct pub fn build(self) -> Sticker<'a> { @@ -489,7 +489,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Sticker<'a> { @@ -820,7 +820,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Sticker<'a> { } if let Some(ref value) = self.message { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -863,7 +863,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Sticker<'a> { } if let Some(ref value) = self.name { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -944,7 +944,7 @@ fn lexicon_doc_com_suibari_atsumeat_sticker() -> ::jacquard_lexicon::lexicon::Le defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static("Definition of a sticker"), @@ -954,12 +954,12 @@ fn lexicon_doc_com_suibari_atsumeat_sticker() -> ::jacquard_lexicon::lexicon::Le description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("image"), - ::jacquard_common::smol_str::SmolStr::new_static("originalOwner"), - ::jacquard_common::smol_str::SmolStr::new_static("model"), - ::jacquard_common::smol_str::SmolStr::new_static("obtainedAt"), - ::jacquard_common::smol_str::SmolStr::new_static("signature"), - ::jacquard_common::smol_str::SmolStr::new_static("signedPayload") + ::jacquard_common::deps::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("originalOwner"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("model"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("obtainedAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("signature"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("signedPayload") ], ), nullable: None, @@ -967,13 +967,15 @@ fn lexicon_doc_com_suibari_atsumeat_sticker() -> ::jacquard_lexicon::lexicon::Le #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "imageType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -994,7 +996,9 @@ fn lexicon_doc_com_suibari_atsumeat_sticker() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("message"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "message", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -1009,7 +1013,9 @@ fn lexicon_doc_com_suibari_atsumeat_sticker() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("model"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "model", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1028,7 +1034,9 @@ fn lexicon_doc_com_suibari_atsumeat_sticker() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -1043,7 +1051,7 @@ fn lexicon_doc_com_suibari_atsumeat_sticker() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "obtainedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1066,7 +1074,7 @@ fn lexicon_doc_com_suibari_atsumeat_sticker() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "obtainedFrom", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1089,7 +1097,7 @@ fn lexicon_doc_com_suibari_atsumeat_sticker() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "originalOwner", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1112,7 +1120,9 @@ fn lexicon_doc_com_suibari_atsumeat_sticker() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("shape"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "shape", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1131,7 +1141,7 @@ fn lexicon_doc_com_suibari_atsumeat_sticker() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "signature", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1152,7 +1162,7 @@ fn lexicon_doc_com_suibari_atsumeat_sticker() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "signedPayload", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1173,7 +1183,7 @@ fn lexicon_doc_com_suibari_atsumeat_sticker() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjectDid", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1196,7 +1206,9 @@ fn lexicon_doc_com_suibari_atsumeat_sticker() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tags", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::String(::jacquard_lexicon::lexicon::LexString { 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 44ff40fbc..6ae8b597c 100644 --- a/crates/jacquard-api/src/com_suibari/atsumeat/sticker_like.rs +++ b/crates/jacquard-api/src/com_suibari/atsumeat/sticker_like.rs @@ -33,37 +33,37 @@ pub mod sticker_like_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type Subject; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type Subject = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Subject = S::Subject; + type CreatedAt = Unset; } ///State transition - sets the `subject` field to Set pub struct SetSubject(PhantomData S>); impl sealed::Sealed for SetSubject {} impl State for SetSubject { - type CreatedAt = S::CreatedAt; type Subject = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Subject = S::Subject; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `subject` field pub struct subject(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -136,8 +136,8 @@ where impl<'a, S> StickerLikeBuilder<'a, S> where S: sticker_like_state::State, - S::CreatedAt: sticker_like_state::IsSet, S::Subject: sticker_like_state::IsSet, + S::CreatedAt: sticker_like_state::IsSet, { /// Build the final struct pub fn build(self) -> StickerLike<'a> { @@ -151,7 +151,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> StickerLike<'a> { @@ -252,7 +252,7 @@ fn lexicon_doc_com_suibari_atsumeat_stickerLike() -> ::jacquard_lexicon::lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -264,8 +264,8 @@ fn lexicon_doc_com_suibari_atsumeat_stickerLike() -> ::jacquard_lexicon::lexicon description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -273,7 +273,7 @@ fn lexicon_doc_com_suibari_atsumeat_stickerLike() -> ::jacquard_lexicon::lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -292,7 +292,9 @@ fn lexicon_doc_com_suibari_atsumeat_stickerLike() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/com_suibari/atsumeat/transaction.rs b/crates/jacquard-api/src/com_suibari/atsumeat/transaction.rs index 5361350cd..d5ad31602 100644 --- a/crates/jacquard-api/src/com_suibari/atsumeat/transaction.rs +++ b/crates/jacquard-api/src/com_suibari/atsumeat/transaction.rs @@ -61,37 +61,37 @@ pub mod transaction_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Status; type CreatedAt; + type Status; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Status = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `status` field to Set - pub struct SetStatus(PhantomData S>); - impl sealed::Sealed for SetStatus {} - impl State for SetStatus { - type Status = Set; - type CreatedAt = S::CreatedAt; + type Status = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Status = S::Status; type CreatedAt = Set; + type Status = S::Status; + } + ///State transition - sets the `status` field to Set + pub struct SetStatus(PhantomData S>); + impl sealed::Sealed for SetStatus {} + impl State for SetStatus { + type CreatedAt = S::CreatedAt; + type Status = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `status` field - pub struct status(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `status` field + pub struct status(()); } } @@ -305,8 +305,8 @@ impl<'a, S: transaction_state::State> TransactionBuilder<'a, S> { impl<'a, S> TransactionBuilder<'a, S> where S: transaction_state::State, - S::Status: transaction_state::IsSet, S::CreatedAt: transaction_state::IsSet, + S::Status: transaction_state::IsSet, { /// Build the final struct pub fn build(self) -> Transaction<'a> { @@ -327,7 +327,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Transaction<'a> { @@ -528,7 +528,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Transaction<'a> { } if let Some(ref value) = self.message { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -572,7 +572,7 @@ fn lexicon_doc_com_suibari_atsumeat_transaction() -> ::jacquard_lexicon::lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -584,8 +584,8 @@ fn lexicon_doc_com_suibari_atsumeat_transaction() -> ::jacquard_lexicon::lexicon description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("status"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("status"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -593,7 +593,7 @@ fn lexicon_doc_com_suibari_atsumeat_transaction() -> ::jacquard_lexicon::lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -612,7 +612,7 @@ fn lexicon_doc_com_suibari_atsumeat_transaction() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isEasyExchange", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -622,7 +622,9 @@ fn lexicon_doc_com_suibari_atsumeat_transaction() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("message"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "message", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -641,7 +643,9 @@ fn lexicon_doc_com_suibari_atsumeat_transaction() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("partner"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "partner", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -662,7 +666,7 @@ fn lexicon_doc_com_suibari_atsumeat_transaction() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "refPartner", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -685,7 +689,7 @@ fn lexicon_doc_com_suibari_atsumeat_transaction() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "refTransaction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -708,7 +712,9 @@ fn lexicon_doc_com_suibari_atsumeat_transaction() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("status"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "status", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -727,7 +733,7 @@ fn lexicon_doc_com_suibari_atsumeat_transaction() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "stickerIn", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -755,7 +761,7 @@ fn lexicon_doc_com_suibari_atsumeat_transaction() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "stickerOut", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { diff --git a/crates/jacquard-api/src/com_whtwnd/blog.rs b/crates/jacquard-api/src/com_whtwnd/blog.rs index 722c65a0a..7058713ef 100644 --- a/crates/jacquard-api/src/com_whtwnd/blog.rs +++ b/crates/jacquard-api/src/com_whtwnd/blog.rs @@ -142,7 +142,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> BlobMetadata<'a> { @@ -165,18 +165,22 @@ fn lexicon_doc_com_whtwnd_blog_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("blobMetadata"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("blobMetadata"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("blobref")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("blobref") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("blobref"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "blobref", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -184,7 +188,9 @@ fn lexicon_doc_com_whtwnd_blog_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -203,18 +209,22 @@ fn lexicon_doc_com_whtwnd_blog_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("blogEntry"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("blogEntry"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("content")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("content") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "content", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -229,7 +239,7 @@ fn lexicon_doc_com_whtwnd_blog_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -252,13 +262,13 @@ fn lexicon_doc_com_whtwnd_blog_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("comment"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("content"), - ::jacquard_common::smol_str::SmolStr::new_static("entryUri") + ::jacquard_common::deps::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("entryUri") ], ), nullable: None, @@ -266,7 +276,9 @@ fn lexicon_doc_com_whtwnd_blog_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "content", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -281,7 +293,9 @@ fn lexicon_doc_com_whtwnd_blog_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("entryUri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "entryUri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -302,18 +316,22 @@ fn lexicon_doc_com_whtwnd_blog_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("ogp"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("ogp"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("url")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("url") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("height"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "height", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -324,7 +342,9 @@ fn lexicon_doc_com_whtwnd_blog_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -341,7 +361,9 @@ fn lexicon_doc_com_whtwnd_blog_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("width"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "width", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -454,37 +476,37 @@ pub mod comment_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type EntryUri; type Content; + type EntryUri; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type EntryUri = Unset; type Content = Unset; - } - ///State transition - sets the `entry_uri` field to Set - pub struct SetEntryUri(PhantomData S>); - impl sealed::Sealed for SetEntryUri {} - impl State for SetEntryUri { - type EntryUri = Set; - type Content = S::Content; + type EntryUri = Unset; } ///State transition - sets the `content` field to Set pub struct SetContent(PhantomData S>); impl sealed::Sealed for SetContent {} impl State for SetContent { - type EntryUri = S::EntryUri; type Content = Set; + type EntryUri = S::EntryUri; + } + ///State transition - sets the `entry_uri` field to Set + pub struct SetEntryUri(PhantomData S>); + impl sealed::Sealed for SetEntryUri {} + impl State for SetEntryUri { + type Content = S::Content; + type EntryUri = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `entry_uri` field - pub struct entry_uri(()); ///Marker type for the `content` field pub struct content(()); + ///Marker type for the `entry_uri` field + pub struct entry_uri(()); } } @@ -557,8 +579,8 @@ where impl<'a, S> CommentBuilder<'a, S> where S: comment_state::State, - S::EntryUri: comment_state::IsSet, S::Content: comment_state::IsSet, + S::EntryUri: comment_state::IsSet, { /// Build the final struct pub fn build(self) -> Comment<'a> { @@ -572,7 +594,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Comment<'a> { @@ -758,7 +780,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Ogp<'a> { diff --git a/crates/jacquard-api/src/com_whtwnd/blog/entry.rs b/crates/jacquard-api/src/com_whtwnd/blog/entry.rs index 7fb1629af..1de93842e 100644 --- a/crates/jacquard-api/src/com_whtwnd/blog/entry.rs +++ b/crates/jacquard-api/src/com_whtwnd/blog/entry.rs @@ -300,7 +300,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Entry<'a> { @@ -445,7 +445,7 @@ fn lexicon_doc_com_whtwnd_blog_entry() -> ::jacquard_lexicon::lexicon::LexiconDo defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static("A declaration of a post."), @@ -455,7 +455,7 @@ fn lexicon_doc_com_whtwnd_blog_entry() -> ::jacquard_lexicon::lexicon::LexiconDo description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("content") + ::jacquard_common::deps::smol_str::SmolStr::new_static("content") ], ), nullable: None, @@ -463,7 +463,9 @@ fn lexicon_doc_com_whtwnd_blog_entry() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("blobs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "blobs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -477,7 +479,9 @@ fn lexicon_doc_com_whtwnd_blog_entry() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "content", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -492,7 +496,7 @@ fn lexicon_doc_com_whtwnd_blog_entry() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -511,7 +515,9 @@ fn lexicon_doc_com_whtwnd_blog_entry() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("isDraft"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "isDraft", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -519,7 +525,9 @@ fn lexicon_doc_com_whtwnd_blog_entry() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("ogp"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "ogp", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -528,7 +536,7 @@ fn lexicon_doc_com_whtwnd_blog_entry() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subtitle", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -545,7 +553,9 @@ fn lexicon_doc_com_whtwnd_blog_entry() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("theme"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "theme", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -560,7 +570,9 @@ fn lexicon_doc_com_whtwnd_blog_entry() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -575,7 +587,7 @@ fn lexicon_doc_com_whtwnd_blog_entry() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "visibility", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { 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 c5798e647..c742b4e1c 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 @@ -115,7 +115,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> NotifyOfNewEntry<'a> { diff --git a/crates/jacquard-api/src/com_yuna0x0/guestbook/sign.rs b/crates/jacquard-api/src/com_yuna0x0/guestbook/sign.rs index 94830c4b9..810d80e03 100644 --- a/crates/jacquard-api/src/com_yuna0x0/guestbook/sign.rs +++ b/crates/jacquard-api/src/com_yuna0x0/guestbook/sign.rs @@ -35,49 +35,49 @@ pub mod sign_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Subject; type CreatedAt; + type Subject; type Message; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Subject = Unset; type CreatedAt = Unset; + type Subject = Unset; type Message = Unset; } - ///State transition - sets the `subject` field to Set - pub struct SetSubject(PhantomData S>); - impl sealed::Sealed for SetSubject {} - impl State for SetSubject { - type Subject = Set; - type CreatedAt = S::CreatedAt; - type Message = S::Message; - } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Subject = S::Subject; type CreatedAt = Set; + type Subject = S::Subject; + type Message = S::Message; + } + ///State transition - sets the `subject` field to Set + pub struct SetSubject(PhantomData S>); + impl sealed::Sealed for SetSubject {} + impl State for SetSubject { + type CreatedAt = S::CreatedAt; + type Subject = Set; type Message = S::Message; } ///State transition - sets the `message` field to Set pub struct SetMessage(PhantomData S>); impl sealed::Sealed for SetMessage {} impl State for SetMessage { - type Subject = S::Subject; type CreatedAt = S::CreatedAt; + type Subject = S::Subject; type Message = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `subject` field - pub struct subject(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `subject` field + pub struct subject(()); ///Marker type for the `message` field pub struct message(()); } @@ -172,8 +172,8 @@ where impl<'a, S> SignBuilder<'a, S> where S: sign_state::State, - S::Subject: sign_state::IsSet, S::CreatedAt: sign_state::IsSet, + S::Subject: sign_state::IsSet, S::Message: sign_state::IsSet, { /// Build the final struct @@ -189,7 +189,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Sign<'a> { @@ -304,7 +304,7 @@ fn lexicon_doc_com_yuna0x0_guestbook_sign() -> ::jacquard_lexicon::lexicon::Lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static("a sign in the guestbook"), @@ -314,9 +314,9 @@ fn lexicon_doc_com_yuna0x0_guestbook_sign() -> ::jacquard_lexicon::lexicon::Lexi description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt"), - ::jacquard_common::smol_str::SmolStr::new_static("message") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("message") ], ), nullable: None, @@ -324,7 +324,7 @@ fn lexicon_doc_com_yuna0x0_guestbook_sign() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -343,7 +343,9 @@ fn lexicon_doc_com_yuna0x0_guestbook_sign() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("message"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "message", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -358,7 +360,9 @@ fn lexicon_doc_com_yuna0x0_guestbook_sign() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( diff --git a/crates/jacquard-api/src/community_lexicon/bookmarks/bookmark.rs b/crates/jacquard-api/src/community_lexicon/bookmarks/bookmark.rs index 4260f4952..054d694f8 100644 --- a/crates/jacquard-api/src/community_lexicon/bookmarks/bookmark.rs +++ b/crates/jacquard-api/src/community_lexicon/bookmarks/bookmark.rs @@ -176,7 +176,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Bookmark<'a> { @@ -280,7 +280,7 @@ fn lexicon_doc_community_lexicon_bookmarks_bookmark() -> ::jacquard_lexicon::lex defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -292,8 +292,8 @@ fn lexicon_doc_community_lexicon_bookmarks_bookmark() -> ::jacquard_lexicon::lex description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -301,7 +301,7 @@ fn lexicon_doc_community_lexicon_bookmarks_bookmark() -> ::jacquard_lexicon::lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -320,7 +320,9 @@ fn lexicon_doc_community_lexicon_bookmarks_bookmark() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -337,7 +339,9 @@ fn lexicon_doc_community_lexicon_bookmarks_bookmark() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tags", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/community_lexicon/calendar/event.rs b/crates/jacquard-api/src/community_lexicon/calendar/event.rs index cf859cf4e..307e9fe8a 100644 --- a/crates/jacquard-api/src/community_lexicon/calendar/event.rs +++ b/crates/jacquard-api/src/community_lexicon/calendar/event.rs @@ -119,37 +119,37 @@ pub mod event_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Name; type CreatedAt; + type Name; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Name = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `name` field to Set - pub struct SetName(PhantomData S>); - impl sealed::Sealed for SetName {} - impl State for SetName { - type Name = Set; - type CreatedAt = S::CreatedAt; + type Name = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Name = S::Name; type CreatedAt = Set; + type Name = S::Name; + } + ///State transition - sets the `name` field to Set + pub struct SetName(PhantomData S>); + impl sealed::Sealed for SetName {} + impl State for SetName { + type CreatedAt = S::CreatedAt; + type Name = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `name` field - pub struct name(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `name` field + pub struct name(()); } } @@ -372,8 +372,8 @@ impl<'a, S: event_state::State> EventBuilder<'a, S> { impl<'a, S> EventBuilder<'a, S> where S: event_state::State, - S::Name: event_state::IsSet, S::CreatedAt: event_state::IsSet, + S::Name: event_state::IsSet, { /// Build the final struct pub fn build(self) -> Event<'a> { @@ -394,7 +394,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Event<'a> { @@ -527,25 +527,25 @@ fn lexicon_doc_community_lexicon_calendar_event() -> ::jacquard_lexicon::lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cancelled"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cancelled"), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hybrid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("hybrid"), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("inperson"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("inperson"), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static("A calendar event."), @@ -555,8 +555,8 @@ fn lexicon_doc_community_lexicon_calendar_event() -> ::jacquard_lexicon::lexicon description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("createdAt"), - ::jacquard_common::smol_str::SmolStr::new_static("name") + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("name") ], ), nullable: None, @@ -564,7 +564,7 @@ fn lexicon_doc_community_lexicon_calendar_event() -> ::jacquard_lexicon::lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -587,7 +587,7 @@ fn lexicon_doc_community_lexicon_calendar_event() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -608,7 +608,9 @@ fn lexicon_doc_community_lexicon_calendar_event() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("endsAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "endsAt", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -629,7 +631,7 @@ fn lexicon_doc_community_lexicon_calendar_event() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "locations", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -654,7 +656,9 @@ fn lexicon_doc_community_lexicon_calendar_event() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("mode"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "mode", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -663,7 +667,9 @@ fn lexicon_doc_community_lexicon_calendar_event() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -682,7 +688,7 @@ fn lexicon_doc_community_lexicon_calendar_event() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "startsAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -705,7 +711,9 @@ fn lexicon_doc_community_lexicon_calendar_event() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("status"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "status", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -714,7 +722,9 @@ fn lexicon_doc_community_lexicon_calendar_event() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uris"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uris", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -737,7 +747,7 @@ fn lexicon_doc_community_lexicon_calendar_event() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("mode"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("mode"), ::jacquard_lexicon::lexicon::LexUserType::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("The mode of the event."), @@ -754,31 +764,31 @@ fn lexicon_doc_community_lexicon_calendar_event() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("planned"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("planned"), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("postponed"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("postponed"), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rescheduled"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("rescheduled"), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("scheduled"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("scheduled"), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("status"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("status"), ::jacquard_lexicon::lexicon::LexUserType::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("The status of the event."), @@ -795,7 +805,7 @@ fn lexicon_doc_community_lexicon_calendar_event() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -803,14 +813,18 @@ fn lexicon_doc_community_lexicon_calendar_event() -> ::jacquard_lexicon::lexicon ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("uri")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -829,7 +843,9 @@ fn lexicon_doc_community_lexicon_calendar_event() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -850,7 +866,7 @@ fn lexicon_doc_community_lexicon_calendar_event() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("virtual"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("virtual"), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), @@ -1315,7 +1331,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Uri<'a> { 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 8445b31d3..88b3af325 100644 --- a/crates/jacquard-api/src/community_lexicon/calendar/get_event.rs +++ b/crates/jacquard-api/src/community_lexicon/calendar/get_event.rs @@ -39,67 +39,67 @@ pub mod event_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type CountInterested; + type CountGoing; type CountNotGoing; type Url; - type CountGoing; - type CountInterested; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type CountInterested = Unset; + type CountGoing = Unset; type CountNotGoing = Unset; type Url = Unset; - type CountGoing = Unset; - type CountInterested = Unset; + } + ///State transition - sets the `count_interested` field to Set + pub struct SetCountInterested(PhantomData S>); + impl sealed::Sealed for SetCountInterested {} + impl State for SetCountInterested { + type CountInterested = Set; + type CountGoing = S::CountGoing; + type CountNotGoing = S::CountNotGoing; + type Url = S::Url; + } + ///State transition - sets the `count_going` field to Set + pub struct SetCountGoing(PhantomData S>); + impl sealed::Sealed for SetCountGoing {} + impl State for SetCountGoing { + type CountInterested = S::CountInterested; + type CountGoing = Set; + type CountNotGoing = S::CountNotGoing; + type Url = S::Url; } ///State transition - sets the `count_not_going` field to Set pub struct SetCountNotGoing(PhantomData S>); impl sealed::Sealed for SetCountNotGoing {} impl State for SetCountNotGoing { + type CountInterested = S::CountInterested; + type CountGoing = S::CountGoing; type CountNotGoing = Set; type Url = S::Url; - type CountGoing = S::CountGoing; - type CountInterested = S::CountInterested; } ///State transition - sets the `url` field to Set pub struct SetUrl(PhantomData S>); impl sealed::Sealed for SetUrl {} impl State for SetUrl { - type CountNotGoing = S::CountNotGoing; - type Url = Set; - type CountGoing = S::CountGoing; type CountInterested = S::CountInterested; - } - ///State transition - sets the `count_going` field to Set - pub struct SetCountGoing(PhantomData S>); - impl sealed::Sealed for SetCountGoing {} - impl State for SetCountGoing { - type CountNotGoing = S::CountNotGoing; - type Url = S::Url; - type CountGoing = Set; - type CountInterested = S::CountInterested; - } - ///State transition - sets the `count_interested` field to Set - pub struct SetCountInterested(PhantomData S>); - impl sealed::Sealed for SetCountInterested {} - impl State for SetCountInterested { - type CountNotGoing = S::CountNotGoing; - type Url = S::Url; type CountGoing = S::CountGoing; - type CountInterested = Set; + type CountNotGoing = S::CountNotGoing; + type Url = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `count_interested` field + pub struct count_interested(()); + ///Marker type for the `count_going` field + pub struct count_going(()); ///Marker type for the `count_not_going` field pub struct count_not_going(()); ///Marker type for the `url` field pub struct url(()); - ///Marker type for the `count_going` field - pub struct count_going(()); - ///Marker type for the `count_interested` field - pub struct count_interested(()); } } @@ -212,10 +212,10 @@ where impl<'a, S> EventViewBuilder<'a, S> where S: event_view_state::State, + S::CountInterested: event_view_state::IsSet, + S::CountGoing: event_view_state::IsSet, S::CountNotGoing: event_view_state::IsSet, S::Url: event_view_state::IsSet, - S::CountGoing: event_view_state::IsSet, - S::CountInterested: event_view_state::IsSet, { /// Build the final struct pub fn build(self) -> EventView<'a> { @@ -231,7 +231,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> EventView<'a> { @@ -256,7 +256,7 @@ fn lexicon_doc_community_lexicon_calendar_getEvent() -> ::jacquard_lexicon::lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("eventView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("eventView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -265,10 +265,10 @@ fn lexicon_doc_community_lexicon_calendar_getEvent() -> ::jacquard_lexicon::lexi ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("countGoing"), - ::jacquard_common::smol_str::SmolStr::new_static("countInterested"), - ::jacquard_common::smol_str::SmolStr::new_static("countNotGoing"), - ::jacquard_common::smol_str::SmolStr::new_static("url") + ::jacquard_common::deps::smol_str::SmolStr::new_static("countGoing"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("countInterested"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("countNotGoing"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("url") ], ), nullable: None, @@ -276,7 +276,7 @@ fn lexicon_doc_community_lexicon_calendar_getEvent() -> ::jacquard_lexicon::lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "countGoing", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -289,7 +289,7 @@ fn lexicon_doc_community_lexicon_calendar_getEvent() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "countInterested", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -302,7 +302,7 @@ fn lexicon_doc_community_lexicon_calendar_getEvent() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "countNotGoing", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -315,7 +315,9 @@ fn lexicon_doc_community_lexicon_calendar_getEvent() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -340,7 +342,7 @@ fn lexicon_doc_community_lexicon_calendar_getEvent() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcQuery(::jacquard_lexicon::lexicon::LexXrpcQuery { description: None, parameters: Some( @@ -348,15 +350,15 @@ fn lexicon_doc_community_lexicon_calendar_getEvent() -> ::jacquard_lexicon::lexi description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("repository"), - ::jacquard_common::smol_str::SmolStr::new_static("recordKey") + ::jacquard_common::deps::smol_str::SmolStr::new_static("repository"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("recordKey") ], ), properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "recordKey", ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -377,7 +379,7 @@ fn lexicon_doc_community_lexicon_calendar_getEvent() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "repository", ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -456,37 +458,37 @@ pub mod get_event_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Repository; type RecordKey; + type Repository; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Repository = Unset; type RecordKey = Unset; - } - ///State transition - sets the `repository` field to Set - pub struct SetRepository(PhantomData S>); - impl sealed::Sealed for SetRepository {} - impl State for SetRepository { - type Repository = Set; - type RecordKey = S::RecordKey; + type Repository = Unset; } ///State transition - sets the `record_key` field to Set pub struct SetRecordKey(PhantomData S>); impl sealed::Sealed for SetRecordKey {} impl State for SetRecordKey { - type Repository = S::Repository; type RecordKey = Set; + type Repository = S::Repository; + } + ///State transition - sets the `repository` field to Set + pub struct SetRepository(PhantomData S>); + impl sealed::Sealed for SetRepository {} + impl State for SetRepository { + type RecordKey = S::RecordKey; + type Repository = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `repository` field - pub struct repository(()); ///Marker type for the `record_key` field pub struct record_key(()); + ///Marker type for the `repository` field + pub struct repository(()); } } @@ -559,8 +561,8 @@ where impl<'a, S> GetEventBuilder<'a, S> where S: get_event_state::State, - S::Repository: get_event_state::IsSet, S::RecordKey: get_event_state::IsSet, + S::Repository: get_event_state::IsSet, { /// Build the final struct pub fn build(self) -> GetEvent<'a> { 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 d96f68bbe..f4caf6667 100644 --- a/crates/jacquard-api/src/community_lexicon/calendar/get_rsvp.rs +++ b/crates/jacquard-api/src/community_lexicon/calendar/get_rsvp.rs @@ -32,37 +32,37 @@ pub mod get_rsvp_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Identity; type Event; + type Identity; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Identity = Unset; type Event = Unset; - } - ///State transition - sets the `identity` field to Set - pub struct SetIdentity(PhantomData S>); - impl sealed::Sealed for SetIdentity {} - impl State for SetIdentity { - type Identity = Set; - type Event = S::Event; + type Identity = Unset; } ///State transition - sets the `event` field to Set pub struct SetEvent(PhantomData S>); impl sealed::Sealed for SetEvent {} impl State for SetEvent { - type Identity = S::Identity; type Event = Set; + type Identity = S::Identity; + } + ///State transition - sets the `identity` field to Set + pub struct SetIdentity(PhantomData S>); + impl sealed::Sealed for SetIdentity {} + impl State for SetIdentity { + type Event = S::Event; + type Identity = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `identity` field - pub struct identity(()); ///Marker type for the `event` field pub struct event(()); + ///Marker type for the `identity` field + pub struct identity(()); } } @@ -135,8 +135,8 @@ where impl<'a, S> GetRsvpBuilder<'a, S> where S: get_rsvp_state::State, - S::Identity: get_rsvp_state::IsSet, S::Event: get_rsvp_state::IsSet, + S::Identity: get_rsvp_state::IsSet, { /// Build the final struct pub fn build(self) -> GetRsvp<'a> { diff --git a/crates/jacquard-api/src/community_lexicon/calendar/rsvp.rs b/crates/jacquard-api/src/community_lexicon/calendar/rsvp.rs index a19758081..83cab21ff 100644 --- a/crates/jacquard-api/src/community_lexicon/calendar/rsvp.rs +++ b/crates/jacquard-api/src/community_lexicon/calendar/rsvp.rs @@ -188,7 +188,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Rsvp<'a> { @@ -382,19 +382,19 @@ fn lexicon_doc_community_lexicon_calendar_rsvp() -> ::jacquard_lexicon::lexicon: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("going"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("going"), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("interested"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("interested"), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static("An RSVP for an event."), @@ -404,8 +404,8 @@ fn lexicon_doc_community_lexicon_calendar_rsvp() -> ::jacquard_lexicon::lexicon: description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("status") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("status") ], ), nullable: None, @@ -413,7 +413,9 @@ fn lexicon_doc_community_lexicon_calendar_rsvp() -> ::jacquard_lexicon::lexicon: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("status"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "status", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -428,7 +430,9 @@ fn lexicon_doc_community_lexicon_calendar_rsvp() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -442,7 +446,7 @@ fn lexicon_doc_community_lexicon_calendar_rsvp() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("notgoing"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("notgoing"), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), 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 3f7c747cb..861ee910a 100644 --- a/crates/jacquard-api/src/community_lexicon/calendar/search_events.rs +++ b/crates/jacquard-api/src/community_lexicon/calendar/search_events.rs @@ -39,8 +39,8 @@ pub mod event_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CountInterested; type CountGoing; + type CountInterested; type CountNotGoing; type Url; } @@ -48,26 +48,26 @@ pub mod event_view_state { pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CountInterested = Unset; type CountGoing = Unset; + type CountInterested = Unset; type CountNotGoing = Unset; type Url = Unset; } - ///State transition - sets the `count_interested` field to Set - pub struct SetCountInterested(PhantomData S>); - impl sealed::Sealed for SetCountInterested {} - impl State for SetCountInterested { - type CountInterested = Set; - type CountGoing = S::CountGoing; - type CountNotGoing = S::CountNotGoing; - type Url = S::Url; - } ///State transition - sets the `count_going` field to Set pub struct SetCountGoing(PhantomData S>); impl sealed::Sealed for SetCountGoing {} impl State for SetCountGoing { - type CountInterested = S::CountInterested; type CountGoing = Set; + type CountInterested = S::CountInterested; + type CountNotGoing = S::CountNotGoing; + type Url = S::Url; + } + ///State transition - sets the `count_interested` field to Set + pub struct SetCountInterested(PhantomData S>); + impl sealed::Sealed for SetCountInterested {} + impl State for SetCountInterested { + type CountGoing = S::CountGoing; + type CountInterested = Set; type CountNotGoing = S::CountNotGoing; type Url = S::Url; } @@ -75,8 +75,8 @@ pub mod event_view_state { pub struct SetCountNotGoing(PhantomData S>); impl sealed::Sealed for SetCountNotGoing {} impl State for SetCountNotGoing { - type CountInterested = S::CountInterested; type CountGoing = S::CountGoing; + type CountInterested = S::CountInterested; type CountNotGoing = Set; type Url = S::Url; } @@ -84,18 +84,18 @@ pub mod event_view_state { pub struct SetUrl(PhantomData S>); impl sealed::Sealed for SetUrl {} impl State for SetUrl { - type CountInterested = S::CountInterested; type CountGoing = S::CountGoing; + type CountInterested = S::CountInterested; type CountNotGoing = S::CountNotGoing; type Url = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `count_interested` field - pub struct count_interested(()); ///Marker type for the `count_going` field pub struct count_going(()); + ///Marker type for the `count_interested` field + pub struct count_interested(()); ///Marker type for the `count_not_going` field pub struct count_not_going(()); ///Marker type for the `url` field @@ -212,8 +212,8 @@ where impl<'a, S> EventViewBuilder<'a, S> where S: event_view_state::State, - S::CountInterested: event_view_state::IsSet, S::CountGoing: event_view_state::IsSet, + S::CountInterested: event_view_state::IsSet, S::CountNotGoing: event_view_state::IsSet, S::Url: event_view_state::IsSet, { @@ -231,7 +231,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> EventView<'a> { @@ -258,7 +258,7 @@ fn lexicon_doc_community_lexicon_calendar_searchEvents() -> ::jacquard_lexicon:: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("eventView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("eventView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -267,10 +267,10 @@ fn lexicon_doc_community_lexicon_calendar_searchEvents() -> ::jacquard_lexicon:: ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("countGoing"), - ::jacquard_common::smol_str::SmolStr::new_static("countInterested"), - ::jacquard_common::smol_str::SmolStr::new_static("countNotGoing"), - ::jacquard_common::smol_str::SmolStr::new_static("url") + ::jacquard_common::deps::smol_str::SmolStr::new_static("countGoing"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("countInterested"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("countNotGoing"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("url") ], ), nullable: None, @@ -278,7 +278,7 @@ fn lexicon_doc_community_lexicon_calendar_searchEvents() -> ::jacquard_lexicon:: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "countGoing", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -291,7 +291,7 @@ fn lexicon_doc_community_lexicon_calendar_searchEvents() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "countInterested", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -304,7 +304,7 @@ fn lexicon_doc_community_lexicon_calendar_searchEvents() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "countNotGoing", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -317,7 +317,9 @@ fn lexicon_doc_community_lexicon_calendar_searchEvents() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -342,7 +344,7 @@ fn lexicon_doc_community_lexicon_calendar_searchEvents() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcQuery(::jacquard_lexicon::lexicon::LexXrpcQuery { description: None, parameters: Some( @@ -353,7 +355,9 @@ fn lexicon_doc_community_lexicon_calendar_searchEvents() -> ::jacquard_lexicon:: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("limit"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "limit", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -364,7 +368,7 @@ fn lexicon_doc_community_lexicon_calendar_searchEvents() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "location", ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::Array(::jacquard_lexicon::lexicon::LexPrimitiveArray { @@ -388,7 +392,9 @@ fn lexicon_doc_community_lexicon_calendar_searchEvents() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("query"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "query", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -407,7 +413,7 @@ fn lexicon_doc_community_lexicon_calendar_searchEvents() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "repository", ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/community_lexicon/interaction/like.rs b/crates/jacquard-api/src/community_lexicon/interaction/like.rs index e341e4956..d7c6e5d67 100644 --- a/crates/jacquard-api/src/community_lexicon/interaction/like.rs +++ b/crates/jacquard-api/src/community_lexicon/interaction/like.rs @@ -33,37 +33,37 @@ pub mod like_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Subject; type CreatedAt; + type Subject; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Subject = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `subject` field to Set - pub struct SetSubject(PhantomData S>); - impl sealed::Sealed for SetSubject {} - impl State for SetSubject { - type Subject = Set; - type CreatedAt = S::CreatedAt; + type Subject = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Subject = S::Subject; type CreatedAt = Set; + type Subject = S::Subject; + } + ///State transition - sets the `subject` field to Set + pub struct SetSubject(PhantomData S>); + impl sealed::Sealed for SetSubject {} + impl State for SetSubject { + type CreatedAt = S::CreatedAt; + type Subject = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `subject` field - pub struct subject(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `subject` field + pub struct subject(()); } } @@ -136,8 +136,8 @@ where impl<'a, S> LikeBuilder<'a, S> where S: like_state::State, - S::Subject: like_state::IsSet, S::CreatedAt: like_state::IsSet, + S::Subject: like_state::IsSet, { /// Build the final struct pub fn build(self) -> Like<'a> { @@ -151,7 +151,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Like<'a> { @@ -252,7 +252,7 @@ fn lexicon_doc_community_lexicon_interaction_like() -> ::jacquard_lexicon::lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -264,8 +264,8 @@ fn lexicon_doc_community_lexicon_interaction_like() -> ::jacquard_lexicon::lexic description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -273,7 +273,7 @@ fn lexicon_doc_community_lexicon_interaction_like() -> ::jacquard_lexicon::lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -292,7 +292,9 @@ fn lexicon_doc_community_lexicon_interaction_like() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/community_lexicon/location/address.rs b/crates/jacquard-api/src/community_lexicon/location/address.rs index 76a248d90..72edaa5e8 100644 --- a/crates/jacquard-api/src/community_lexicon/location/address.rs +++ b/crates/jacquard-api/src/community_lexicon/location/address.rs @@ -55,7 +55,7 @@ fn lexicon_doc_community_lexicon_location_address() -> ::jacquard_lexicon::lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -63,14 +63,18 @@ fn lexicon_doc_community_lexicon_location_address() -> ::jacquard_lexicon::lexic ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("country")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("country") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("country"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "country", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -89,7 +93,9 @@ fn lexicon_doc_community_lexicon_location_address() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("locality"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "locality", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -108,7 +114,9 @@ fn lexicon_doc_community_lexicon_location_address() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -127,7 +135,7 @@ fn lexicon_doc_community_lexicon_location_address() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "postalCode", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -148,7 +156,9 @@ fn lexicon_doc_community_lexicon_location_address() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("region"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "region", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -167,7 +177,9 @@ fn lexicon_doc_community_lexicon_location_address() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("street"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "street", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("The street address."), diff --git a/crates/jacquard-api/src/community_lexicon/location/fsq.rs b/crates/jacquard-api/src/community_lexicon/location/fsq.rs index ab2362ffc..5d08bbfec 100644 --- a/crates/jacquard-api/src/community_lexicon/location/fsq.rs +++ b/crates/jacquard-api/src/community_lexicon/location/fsq.rs @@ -45,7 +45,7 @@ fn lexicon_doc_community_lexicon_location_fsq() -> ::jacquard_lexicon::lexicon:: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -54,7 +54,7 @@ fn lexicon_doc_community_lexicon_location_fsq() -> ::jacquard_lexicon::lexicon:: ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("fsq_place_id") + ::jacquard_common::deps::smol_str::SmolStr::new_static("fsq_place_id") ], ), nullable: None, @@ -62,7 +62,7 @@ fn lexicon_doc_community_lexicon_location_fsq() -> ::jacquard_lexicon::lexicon:: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "fsq_place_id", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -83,7 +83,9 @@ fn lexicon_doc_community_lexicon_location_fsq() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("latitude"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "latitude", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -98,7 +100,7 @@ fn lexicon_doc_community_lexicon_location_fsq() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "longitude", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -115,7 +117,9 @@ fn lexicon_doc_community_lexicon_location_fsq() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/community_lexicon/location/geo.rs b/crates/jacquard-api/src/community_lexicon/location/geo.rs index 44eecb5a5..cbe3ccf8d 100644 --- a/crates/jacquard-api/src/community_lexicon/location/geo.rs +++ b/crates/jacquard-api/src/community_lexicon/location/geo.rs @@ -43,7 +43,7 @@ fn lexicon_doc_community_lexicon_location_geo() -> ::jacquard_lexicon::lexicon:: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -52,8 +52,8 @@ fn lexicon_doc_community_lexicon_location_geo() -> ::jacquard_lexicon::lexicon:: ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("latitude"), - ::jacquard_common::smol_str::SmolStr::new_static("longitude") + ::jacquard_common::deps::smol_str::SmolStr::new_static("latitude"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("longitude") ], ), nullable: None, @@ -61,7 +61,9 @@ fn lexicon_doc_community_lexicon_location_geo() -> ::jacquard_lexicon::lexicon:: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("altitude"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "altitude", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -76,7 +78,9 @@ fn lexicon_doc_community_lexicon_location_geo() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("latitude"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "latitude", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -91,7 +95,7 @@ fn lexicon_doc_community_lexicon_location_geo() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "longitude", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -108,7 +112,9 @@ fn lexicon_doc_community_lexicon_location_geo() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/community_lexicon/location/hthree.rs b/crates/jacquard-api/src/community_lexicon/location/hthree.rs index 261581c04..41127506b 100644 --- a/crates/jacquard-api/src/community_lexicon/location/hthree.rs +++ b/crates/jacquard-api/src/community_lexicon/location/hthree.rs @@ -39,7 +39,7 @@ fn lexicon_doc_community_lexicon_location_hthree() -> ::jacquard_lexicon::lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -47,14 +47,18 @@ fn lexicon_doc_community_lexicon_location_hthree() -> ::jacquard_lexicon::lexico ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("value")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("value") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -73,7 +77,9 @@ fn lexicon_doc_community_lexicon_location_hthree() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("value"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "value", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( 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 235746453..dca9b1274 100644 --- a/crates/jacquard-api/src/community_lexicon/payments/web_monetization.rs +++ b/crates/jacquard-api/src/community_lexicon/payments/web_monetization.rs @@ -139,7 +139,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> WebMonetization<'a> { @@ -242,7 +242,7 @@ fn lexicon_doc_community_lexicon_payments_webMonetization() -> ::jacquard_lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static("Web Monetization wallet."), @@ -252,7 +252,7 @@ fn lexicon_doc_community_lexicon_payments_webMonetization() -> ::jacquard_lexico description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("address") + ::jacquard_common::deps::smol_str::SmolStr::new_static("address") ], ), nullable: None, @@ -260,7 +260,9 @@ fn lexicon_doc_community_lexicon_payments_webMonetization() -> ::jacquard_lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("address"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "address", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Wallet address."), @@ -279,7 +281,9 @@ fn lexicon_doc_community_lexicon_payments_webMonetization() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("note"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "note", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/computer_aesthetic/kidlisp.rs b/crates/jacquard-api/src/computer_aesthetic/kidlisp.rs index 20b073035..277f93e88 100644 --- a/crates/jacquard-api/src/computer_aesthetic/kidlisp.rs +++ b/crates/jacquard-api/src/computer_aesthetic/kidlisp.rs @@ -42,66 +42,66 @@ pub mod kidlisp_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type When; - type Ref; type Source; type Code; + type Ref; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type When = Unset; - type Ref = Unset; type Source = Unset; type Code = Unset; + type Ref = Unset; } ///State transition - sets the `when` field to Set pub struct SetWhen(PhantomData S>); impl sealed::Sealed for SetWhen {} impl State for SetWhen { type When = Set; - type Ref = S::Ref; - type Source = S::Source; - type Code = S::Code; - } - ///State transition - sets the `ref` field to Set - pub struct SetRef(PhantomData S>); - impl sealed::Sealed for SetRef {} - impl State for SetRef { - type When = S::When; - type Ref = Set; type Source = S::Source; type Code = S::Code; + type Ref = S::Ref; } ///State transition - sets the `source` field to Set pub struct SetSource(PhantomData S>); impl sealed::Sealed for SetSource {} impl State for SetSource { type When = S::When; - type Ref = S::Ref; type Source = Set; type Code = S::Code; + type Ref = S::Ref; } ///State transition - sets the `code` field to Set pub struct SetCode(PhantomData S>); impl sealed::Sealed for SetCode {} impl State for SetCode { type When = S::When; - type Ref = S::Ref; type Source = S::Source; type Code = Set; + type Ref = S::Ref; + } + ///State transition - sets the `ref` field to Set + pub struct SetRef(PhantomData S>); + impl sealed::Sealed for SetRef {} + impl State for SetRef { + type When = S::When; + type Source = S::Source; + type Code = S::Code; + type Ref = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `when` field pub struct when(()); - ///Marker type for the `ref` field - pub struct r#ref(()); ///Marker type for the `source` field pub struct source(()); ///Marker type for the `code` field pub struct code(()); + ///Marker type for the `ref` field + pub struct r#ref(()); } } @@ -215,9 +215,9 @@ impl<'a, S> KidlispBuilder<'a, S> where S: kidlisp_state::State, S::When: kidlisp_state::IsSet, - S::Ref: kidlisp_state::IsSet, S::Source: kidlisp_state::IsSet, S::Code: kidlisp_state::IsSet, + S::Ref: kidlisp_state::IsSet, { /// Build the final struct pub fn build(self) -> Kidlisp<'a> { @@ -233,7 +233,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Kidlisp<'a> { @@ -375,7 +375,7 @@ fn lexicon_doc_computer_aesthetic_kidlisp() -> ::jacquard_lexicon::lexicon::Lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -387,10 +387,10 @@ fn lexicon_doc_computer_aesthetic_kidlisp() -> ::jacquard_lexicon::lexicon::Lexi description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("source"), - ::jacquard_common::smol_str::SmolStr::new_static("code"), - ::jacquard_common::smol_str::SmolStr::new_static("when"), - ::jacquard_common::smol_str::SmolStr::new_static("ref") + ::jacquard_common::deps::smol_str::SmolStr::new_static("source"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("code"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("when"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("ref") ], ), nullable: None, @@ -398,7 +398,9 @@ fn lexicon_doc_computer_aesthetic_kidlisp() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("code"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "code", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -417,7 +419,9 @@ fn lexicon_doc_computer_aesthetic_kidlisp() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("ref"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "ref", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -436,7 +440,9 @@ fn lexicon_doc_computer_aesthetic_kidlisp() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("source"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "source", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -455,7 +461,9 @@ fn lexicon_doc_computer_aesthetic_kidlisp() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("when"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "when", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/computer_aesthetic/mood.rs b/crates/jacquard-api/src/computer_aesthetic/mood.rs index c91a72ef1..ea75dec73 100644 --- a/crates/jacquard-api/src/computer_aesthetic/mood.rs +++ b/crates/jacquard-api/src/computer_aesthetic/mood.rs @@ -38,49 +38,49 @@ pub mod mood_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Mood; type When; + type Mood; type Ref; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Mood = Unset; type When = Unset; + type Mood = Unset; type Ref = Unset; } - ///State transition - sets the `mood` field to Set - pub struct SetMood(PhantomData S>); - impl sealed::Sealed for SetMood {} - impl State for SetMood { - type Mood = Set; - type When = S::When; - type Ref = S::Ref; - } ///State transition - sets the `when` field to Set pub struct SetWhen(PhantomData S>); impl sealed::Sealed for SetWhen {} impl State for SetWhen { - type Mood = S::Mood; type When = Set; + type Mood = S::Mood; + type Ref = S::Ref; + } + ///State transition - sets the `mood` field to Set + pub struct SetMood(PhantomData S>); + impl sealed::Sealed for SetMood {} + impl State for SetMood { + type When = S::When; + type Mood = Set; type Ref = S::Ref; } ///State transition - sets the `ref` field to Set pub struct SetRef(PhantomData S>); impl sealed::Sealed for SetRef {} impl State for SetRef { - type Mood = S::Mood; type When = S::When; + type Mood = S::Mood; type Ref = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `mood` field - pub struct mood(()); ///Marker type for the `when` field pub struct when(()); + ///Marker type for the `mood` field + pub struct mood(()); ///Marker type for the `ref` field pub struct r#ref(()); } @@ -175,8 +175,8 @@ where impl<'a, S> MoodBuilder<'a, S> where S: mood_state::State, - S::Mood: mood_state::IsSet, S::When: mood_state::IsSet, + S::Mood: mood_state::IsSet, S::Ref: mood_state::IsSet, { /// Build the final struct @@ -192,7 +192,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Mood<'a> { @@ -307,7 +307,7 @@ fn lexicon_doc_computer_aesthetic_mood() -> ::jacquard_lexicon::lexicon::Lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -319,9 +319,9 @@ fn lexicon_doc_computer_aesthetic_mood() -> ::jacquard_lexicon::lexicon::Lexicon description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("mood"), - ::jacquard_common::smol_str::SmolStr::new_static("when"), - ::jacquard_common::smol_str::SmolStr::new_static("ref") + ::jacquard_common::deps::smol_str::SmolStr::new_static("mood"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("when"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("ref") ], ), nullable: None, @@ -329,7 +329,9 @@ fn lexicon_doc_computer_aesthetic_mood() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("mood"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "mood", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -348,7 +350,9 @@ fn lexicon_doc_computer_aesthetic_mood() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("ref"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "ref", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -367,7 +371,9 @@ fn lexicon_doc_computer_aesthetic_mood() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("when"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "when", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/computer_aesthetic/painting.rs b/crates/jacquard-api/src/computer_aesthetic/painting.rs index b835b7ece..61c01e159 100644 --- a/crates/jacquard-api/src/computer_aesthetic/painting.rs +++ b/crates/jacquard-api/src/computer_aesthetic/painting.rs @@ -52,85 +52,85 @@ pub mod painting_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Slug; type Code; - type When; - type Ref; type ImageUrl; - type Slug; + type Ref; + type When; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Slug = Unset; type Code = Unset; - type When = Unset; - type Ref = Unset; type ImageUrl = Unset; - type Slug = Unset; + type Ref = Unset; + type When = Unset; + } + ///State transition - sets the `slug` field to Set + pub struct SetSlug(PhantomData S>); + impl sealed::Sealed for SetSlug {} + impl State for SetSlug { + type Slug = Set; + type Code = S::Code; + type ImageUrl = S::ImageUrl; + type Ref = S::Ref; + type When = S::When; } ///State transition - sets the `code` field to Set pub struct SetCode(PhantomData S>); impl sealed::Sealed for SetCode {} impl State for SetCode { + type Slug = S::Slug; type Code = Set; - type When = S::When; - type Ref = S::Ref; type ImageUrl = S::ImageUrl; - type Slug = S::Slug; + type Ref = S::Ref; + type When = S::When; } - ///State transition - sets the `when` field to Set - pub struct SetWhen(PhantomData S>); - impl sealed::Sealed for SetWhen {} - impl State for SetWhen { + ///State transition - sets the `image_url` field to Set + pub struct SetImageUrl(PhantomData S>); + impl sealed::Sealed for SetImageUrl {} + impl State for SetImageUrl { + type Slug = S::Slug; type Code = S::Code; - type When = Set; + type ImageUrl = Set; type Ref = S::Ref; - type ImageUrl = S::ImageUrl; - type Slug = S::Slug; + type When = S::When; } ///State transition - sets the `ref` field to Set pub struct SetRef(PhantomData S>); impl sealed::Sealed for SetRef {} impl State for SetRef { - type Code = S::Code; - type When = S::When; - type Ref = Set; - type ImageUrl = S::ImageUrl; type Slug = S::Slug; - } - ///State transition - sets the `image_url` field to Set - pub struct SetImageUrl(PhantomData S>); - impl sealed::Sealed for SetImageUrl {} - impl State for SetImageUrl { type Code = S::Code; + type ImageUrl = S::ImageUrl; + type Ref = Set; type When = S::When; - type Ref = S::Ref; - type ImageUrl = Set; - type Slug = S::Slug; } - ///State transition - sets the `slug` field to Set - pub struct SetSlug(PhantomData S>); - impl sealed::Sealed for SetSlug {} - impl State for SetSlug { + ///State transition - sets the `when` field to Set + pub struct SetWhen(PhantomData S>); + impl sealed::Sealed for SetWhen {} + impl State for SetWhen { + type Slug = S::Slug; type Code = S::Code; - type When = S::When; - type Ref = S::Ref; type ImageUrl = S::ImageUrl; - type Slug = Set; + type Ref = S::Ref; + type When = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `slug` field + pub struct slug(()); ///Marker type for the `code` field pub struct code(()); - ///Marker type for the `when` field - pub struct when(()); - ///Marker type for the `ref` field - pub struct r#ref(()); ///Marker type for the `image_url` field pub struct image_url(()); - ///Marker type for the `slug` field - pub struct slug(()); + ///Marker type for the `ref` field + pub struct r#ref(()); + ///Marker type for the `when` field + pub struct when(()); } } @@ -303,11 +303,11 @@ where impl<'a, S> PaintingBuilder<'a, S> where S: painting_state::State, + S::Slug: painting_state::IsSet, S::Code: painting_state::IsSet, - S::When: painting_state::IsSet, - S::Ref: painting_state::IsSet, S::ImageUrl: painting_state::IsSet, - S::Slug: painting_state::IsSet, + S::Ref: painting_state::IsSet, + S::When: painting_state::IsSet, { /// Build the final struct pub fn build(self) -> Painting<'a> { @@ -326,7 +326,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Painting<'a> { @@ -496,7 +496,7 @@ fn lexicon_doc_computer_aesthetic_painting() -> ::jacquard_lexicon::lexicon::Lex defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -508,11 +508,11 @@ fn lexicon_doc_computer_aesthetic_painting() -> ::jacquard_lexicon::lexicon::Lex description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("slug"), - ::jacquard_common::smol_str::SmolStr::new_static("code"), - ::jacquard_common::smol_str::SmolStr::new_static("imageUrl"), - ::jacquard_common::smol_str::SmolStr::new_static("when"), - ::jacquard_common::smol_str::SmolStr::new_static("ref") + ::jacquard_common::deps::smol_str::SmolStr::new_static("slug"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("code"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("imageUrl"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("when"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("ref") ], ), nullable: None, @@ -520,7 +520,9 @@ fn lexicon_doc_computer_aesthetic_painting() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("code"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "code", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -539,7 +541,7 @@ fn lexicon_doc_computer_aesthetic_painting() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "imageUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -562,7 +564,7 @@ fn lexicon_doc_computer_aesthetic_painting() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "recordingUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -585,7 +587,9 @@ fn lexicon_doc_computer_aesthetic_painting() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("ref"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "ref", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -604,7 +608,9 @@ fn lexicon_doc_computer_aesthetic_painting() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("slug"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "slug", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -623,7 +629,7 @@ fn lexicon_doc_computer_aesthetic_painting() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "thumbnail", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { @@ -633,7 +639,9 @@ fn lexicon_doc_computer_aesthetic_painting() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("when"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "when", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/computer_aesthetic/piece.rs b/crates/jacquard-api/src/computer_aesthetic/piece.rs index f70553bdd..b0f4ec510 100644 --- a/crates/jacquard-api/src/computer_aesthetic/piece.rs +++ b/crates/jacquard-api/src/computer_aesthetic/piece.rs @@ -39,50 +39,50 @@ pub mod piece_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type When; - type Slug; type Ref; + type Slug; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type When = Unset; - type Slug = Unset; type Ref = Unset; + type Slug = Unset; } ///State transition - sets the `when` field to Set pub struct SetWhen(PhantomData S>); impl sealed::Sealed for SetWhen {} impl State for SetWhen { type When = Set; - type Slug = S::Slug; - type Ref = S::Ref; - } - ///State transition - sets the `slug` field to Set - pub struct SetSlug(PhantomData S>); - impl sealed::Sealed for SetSlug {} - impl State for SetSlug { - type When = S::When; - type Slug = Set; type Ref = S::Ref; + type Slug = S::Slug; } ///State transition - sets the `ref` field to Set pub struct SetRef(PhantomData S>); impl sealed::Sealed for SetRef {} impl State for SetRef { type When = S::When; - type Slug = S::Slug; type Ref = Set; + type Slug = S::Slug; + } + ///State transition - sets the `slug` field to Set + pub struct SetSlug(PhantomData S>); + impl sealed::Sealed for SetSlug {} + impl State for SetSlug { + type When = S::When; + type Ref = S::Ref; + type Slug = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `when` field pub struct when(()); - ///Marker type for the `slug` field - pub struct slug(()); ///Marker type for the `ref` field pub struct r#ref(()); + ///Marker type for the `slug` field + pub struct slug(()); } } @@ -176,8 +176,8 @@ impl<'a, S> PieceBuilder<'a, S> where S: piece_state::State, S::When: piece_state::IsSet, - S::Slug: piece_state::IsSet, S::Ref: piece_state::IsSet, + S::Slug: piece_state::IsSet, { /// Build the final struct pub fn build(self) -> Piece<'a> { @@ -192,7 +192,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Piece<'a> { @@ -320,7 +320,7 @@ fn lexicon_doc_computer_aesthetic_piece() -> ::jacquard_lexicon::lexicon::Lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -332,9 +332,9 @@ fn lexicon_doc_computer_aesthetic_piece() -> ::jacquard_lexicon::lexicon::Lexico description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("slug"), - ::jacquard_common::smol_str::SmolStr::new_static("when"), - ::jacquard_common::smol_str::SmolStr::new_static("ref") + ::jacquard_common::deps::smol_str::SmolStr::new_static("slug"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("when"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("ref") ], ), nullable: None, @@ -342,7 +342,9 @@ fn lexicon_doc_computer_aesthetic_piece() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("ref"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "ref", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -361,7 +363,9 @@ fn lexicon_doc_computer_aesthetic_piece() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("slug"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "slug", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -380,7 +384,9 @@ fn lexicon_doc_computer_aesthetic_piece() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("when"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "when", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/computer_aesthetic/tape.rs b/crates/jacquard-api/src/computer_aesthetic/tape.rs index baac1b1ae..fe0ed6d13 100644 --- a/crates/jacquard-api/src/computer_aesthetic/tape.rs +++ b/crates/jacquard-api/src/computer_aesthetic/tape.rs @@ -57,49 +57,49 @@ pub mod tape_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Slug; type Code; + type Slug; type When; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Slug = Unset; type Code = Unset; + type Slug = Unset; type When = Unset; } - ///State transition - sets the `slug` field to Set - pub struct SetSlug(PhantomData S>); - impl sealed::Sealed for SetSlug {} - impl State for SetSlug { - type Slug = Set; - type Code = S::Code; - type When = S::When; - } ///State transition - sets the `code` field to Set pub struct SetCode(PhantomData S>); impl sealed::Sealed for SetCode {} impl State for SetCode { - type Slug = S::Slug; type Code = Set; + type Slug = S::Slug; + type When = S::When; + } + ///State transition - sets the `slug` field to Set + pub struct SetSlug(PhantomData S>); + impl sealed::Sealed for SetSlug {} + impl State for SetSlug { + type Code = S::Code; + type Slug = Set; type When = S::When; } ///State transition - sets the `when` field to Set pub struct SetWhen(PhantomData S>); impl sealed::Sealed for SetWhen {} impl State for SetWhen { - type Slug = S::Slug; type Code = S::Code; + type Slug = S::Slug; type When = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `slug` field - pub struct slug(()); ///Marker type for the `code` field pub struct code(()); + ///Marker type for the `slug` field + pub struct slug(()); ///Marker type for the `when` field pub struct when(()); } @@ -285,8 +285,8 @@ impl<'a, S: tape_state::State> TapeBuilder<'a, S> { impl<'a, S> TapeBuilder<'a, S> where S: tape_state::State, - S::Slug: tape_state::IsSet, S::Code: tape_state::IsSet, + S::Slug: tape_state::IsSet, S::When: tape_state::IsSet, { /// Build the final struct @@ -307,7 +307,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Tape<'a> { @@ -414,7 +414,7 @@ fn lexicon_doc_computer_aesthetic_tape() -> ::jacquard_lexicon::lexicon::Lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -422,9 +422,9 @@ fn lexicon_doc_computer_aesthetic_tape() -> ::jacquard_lexicon::lexicon::Lexicon description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("slug"), - ::jacquard_common::smol_str::SmolStr::new_static("code"), - ::jacquard_common::smol_str::SmolStr::new_static("when") + ::jacquard_common::deps::smol_str::SmolStr::new_static("slug"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("code"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("when") ], ), nullable: None, @@ -432,7 +432,9 @@ fn lexicon_doc_computer_aesthetic_tape() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("acUrl"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "acUrl", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -451,7 +453,9 @@ fn lexicon_doc_computer_aesthetic_tape() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("code"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "code", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -470,7 +474,9 @@ fn lexicon_doc_computer_aesthetic_tape() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("ref"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "ref", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -489,7 +495,9 @@ fn lexicon_doc_computer_aesthetic_tape() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("slug"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "slug", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -508,7 +516,7 @@ fn lexicon_doc_computer_aesthetic_tape() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "thumbnail", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { @@ -518,7 +526,9 @@ fn lexicon_doc_computer_aesthetic_tape() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("video"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "video", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -526,7 +536,9 @@ fn lexicon_doc_computer_aesthetic_tape() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("when"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "when", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -547,7 +559,9 @@ fn lexicon_doc_computer_aesthetic_tape() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("zipUrl"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "zipUrl", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( 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 4c46ff5a1..86ce94954 100644 --- a/crates/jacquard-api/src/coop_hypha/spores/content/image.rs +++ b/crates/jacquard-api/src/coop_hypha/spores/content/image.rs @@ -200,7 +200,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Image<'a> { @@ -302,7 +302,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Image<'a> { } if let Some(ref value) = self.title { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -333,7 +333,7 @@ fn lexicon_doc_coop_hypha_spores_content_image() -> ::jacquard_lexicon::lexicon: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -345,8 +345,8 @@ fn lexicon_doc_coop_hypha_spores_content_image() -> ::jacquard_lexicon::lexicon: description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("image"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -354,7 +354,7 @@ fn lexicon_doc_coop_hypha_spores_content_image() -> ::jacquard_lexicon::lexicon: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -377,13 +377,17 @@ fn lexicon_doc_coop_hypha_spores_content_image() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("embed"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "embed", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -391,7 +395,9 @@ fn lexicon_doc_coop_hypha_spores_content_image() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( 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 d2d4f766d..58a286e04 100644 --- a/crates/jacquard-api/src/coop_hypha/spores/content/text.rs +++ b/crates/jacquard-api/src/coop_hypha/spores/content/text.rs @@ -194,7 +194,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Text<'a> { @@ -392,7 +392,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Text<'a> { { let value = &self.content; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -422,7 +422,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Text<'a> { } if let Some(ref value) = self.title { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -453,7 +453,7 @@ fn lexicon_doc_coop_hypha_spores_content_text() -> ::jacquard_lexicon::lexicon:: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -465,8 +465,8 @@ fn lexicon_doc_coop_hypha_spores_content_text() -> ::jacquard_lexicon::lexicon:: description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("content"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -474,7 +474,9 @@ fn lexicon_doc_coop_hypha_spores_content_text() -> ::jacquard_lexicon::lexicon:: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "content", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Block content"), @@ -491,7 +493,7 @@ fn lexicon_doc_coop_hypha_spores_content_text() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -512,7 +514,9 @@ fn lexicon_doc_coop_hypha_spores_content_text() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("format"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "format", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Content format"), @@ -529,7 +533,9 @@ fn lexicon_doc_coop_hypha_spores_content_text() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Block title"), 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 7f91c2d3b..fd7d60720 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 @@ -153,7 +153,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> SpecialSpore<'a> { @@ -254,7 +254,7 @@ fn lexicon_doc_coop_hypha_spores_item_specialSpore() -> ::jacquard_lexicon::lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -266,8 +266,8 @@ fn lexicon_doc_coop_hypha_spores_item_specialSpore() -> ::jacquard_lexicon::lexi description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -275,7 +275,7 @@ fn lexicon_doc_coop_hypha_spores_item_specialSpore() -> ::jacquard_lexicon::lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -298,7 +298,9 @@ fn lexicon_doc_coop_hypha_spores_item_specialSpore() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( 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 7d7adca25..16103d206 100644 --- a/crates/jacquard-api/src/coop_hypha/spores/site/config.rs +++ b/crates/jacquard-api/src/coop_hypha/spores/site/config.rs @@ -205,7 +205,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Config<'a> { @@ -753,7 +753,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Config<'a> { } if let Some(ref value) = self.subtitle { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -783,7 +783,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Config<'a> { } if let Some(ref value) = self.title { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -814,7 +814,7 @@ fn lexicon_doc_coop_hypha_spores_site_config() -> ::jacquard_lexicon::lexicon::L defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -830,7 +830,7 @@ fn lexicon_doc_coop_hypha_spores_site_config() -> ::jacquard_lexicon::lexicon::L #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "bodyFont", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -849,7 +849,7 @@ fn lexicon_doc_coop_hypha_spores_site_config() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "fontBody", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -870,7 +870,7 @@ fn lexicon_doc_coop_hypha_spores_site_config() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "fontHeading", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -891,7 +891,7 @@ fn lexicon_doc_coop_hypha_spores_site_config() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "headingFont", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -910,7 +910,7 @@ fn lexicon_doc_coop_hypha_spores_site_config() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subtitle", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -929,7 +929,9 @@ fn lexicon_doc_coop_hypha_spores_site_config() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Site title"), 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 76e9f0807..99fc486ea 100644 --- a/crates/jacquard-api/src/coop_hypha/spores/site/layout.rs +++ b/crates/jacquard-api/src/coop_hypha/spores/site/layout.rs @@ -117,7 +117,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Layout<'a> { @@ -217,7 +217,7 @@ fn lexicon_doc_coop_hypha_spores_site_layout() -> ::jacquard_lexicon::lexicon::L defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -229,7 +229,7 @@ fn lexicon_doc_coop_hypha_spores_site_layout() -> ::jacquard_lexicon::lexicon::L description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("sections") + ::jacquard_common::deps::smol_str::SmolStr::new_static("sections") ], ), nullable: None, @@ -237,7 +237,7 @@ fn lexicon_doc_coop_hypha_spores_site_layout() -> ::jacquard_lexicon::lexicon::L #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sections", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { 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 03ea0fc17..d3201d303 100644 --- a/crates/jacquard-api/src/coop_hypha/spores/site/profile.rs +++ b/crates/jacquard-api/src/coop_hypha/spores/site/profile.rs @@ -227,7 +227,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Profile<'a> { @@ -331,7 +331,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Profile<'a> { } if let Some(ref value) = self.description { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -361,7 +361,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Profile<'a> { } if let Some(ref value) = self.display_name { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -392,7 +392,7 @@ fn lexicon_doc_coop_hypha_spores_site_profile() -> ::jacquard_lexicon::lexicon:: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -408,7 +408,9 @@ fn lexicon_doc_coop_hypha_spores_site_profile() -> ::jacquard_lexicon::lexicon:: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("avatar"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "avatar", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -416,7 +418,9 @@ fn lexicon_doc_coop_hypha_spores_site_profile() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("banner"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "banner", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -424,7 +428,7 @@ fn lexicon_doc_coop_hypha_spores_site_profile() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -445,7 +449,7 @@ fn lexicon_doc_coop_hypha_spores_site_profile() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -466,7 +470,7 @@ fn lexicon_doc_coop_hypha_spores_site_profile() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "displayName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -485,7 +489,7 @@ fn lexicon_doc_coop_hypha_spores_site_profile() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { 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 ca1b31796..e030e5b7a 100644 --- a/crates/jacquard-api/src/coop_hypha/spores/site/section.rs +++ b/crates/jacquard-api/src/coop_hypha/spores/site/section.rs @@ -344,7 +344,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Section<'a> { @@ -780,7 +780,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Section<'a> { } if let Some(ref value) = self.content { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -832,7 +832,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Section<'a> { } if let Some(ref value) = self.title { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -863,7 +863,7 @@ fn lexicon_doc_coop_hypha_spores_site_section() -> ::jacquard_lexicon::lexicon:: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -875,7 +875,7 @@ fn lexicon_doc_coop_hypha_spores_site_section() -> ::jacquard_lexicon::lexicon:: description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("type") + ::jacquard_common::deps::smol_str::SmolStr::new_static("type") ], ), nullable: None, @@ -883,7 +883,7 @@ fn lexicon_doc_coop_hypha_spores_site_section() -> ::jacquard_lexicon::lexicon:: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "collection", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -904,7 +904,9 @@ fn lexicon_doc_coop_hypha_spores_site_section() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "content", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -923,7 +925,9 @@ fn lexicon_doc_coop_hypha_spores_site_section() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("format"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "format", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Content format"), @@ -940,7 +944,7 @@ fn lexicon_doc_coop_hypha_spores_site_section() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hideHeader", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -950,7 +954,9 @@ fn lexicon_doc_coop_hypha_spores_site_section() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("layout"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "layout", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -969,7 +975,9 @@ fn lexicon_doc_coop_hypha_spores_site_section() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("limit"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "limit", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -980,7 +988,9 @@ fn lexicon_doc_coop_hypha_spores_site_section() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("records"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "records", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -1006,7 +1016,9 @@ fn lexicon_doc_coop_hypha_spores_site_section() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("ref"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "ref", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1027,7 +1039,9 @@ fn lexicon_doc_coop_hypha_spores_site_section() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rkey"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "rkey", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1046,7 +1060,9 @@ fn lexicon_doc_coop_hypha_spores_site_section() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Section title"), @@ -1063,7 +1079,9 @@ fn lexicon_doc_coop_hypha_spores_site_section() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "type", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Section type"), 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 835b14687..8b667df47 100644 --- a/crates/jacquard-api/src/coop_hypha/spores/social/flower.rs +++ b/crates/jacquard-api/src/coop_hypha/spores/social/flower.rs @@ -35,37 +35,37 @@ pub mod flower_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type Subject; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type Subject = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Subject = S::Subject; + type CreatedAt = Unset; } ///State transition - sets the `subject` field to Set pub struct SetSubject(PhantomData S>); impl sealed::Sealed for SetSubject {} impl State for SetSubject { - type CreatedAt = S::CreatedAt; type Subject = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Subject = S::Subject; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `subject` field pub struct subject(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -138,8 +138,8 @@ where impl<'a, S> FlowerBuilder<'a, S> where S: flower_state::State, - S::CreatedAt: flower_state::IsSet, S::Subject: flower_state::IsSet, + S::CreatedAt: flower_state::IsSet, { /// Build the final struct pub fn build(self) -> Flower<'a> { @@ -153,7 +153,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Flower<'a> { @@ -254,7 +254,7 @@ fn lexicon_doc_coop_hypha_spores_social_flower() -> ::jacquard_lexicon::lexicon: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -266,8 +266,8 @@ fn lexicon_doc_coop_hypha_spores_social_flower() -> ::jacquard_lexicon::lexicon: description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -275,7 +275,7 @@ fn lexicon_doc_coop_hypha_spores_social_flower() -> ::jacquard_lexicon::lexicon: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -298,7 +298,9 @@ fn lexicon_doc_coop_hypha_spores_social_flower() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( 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 bbf8fd358..a35b829b3 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 @@ -39,37 +39,37 @@ pub mod taken_flower_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Subject; type CreatedAt; + type Subject; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Subject = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `subject` field to Set - pub struct SetSubject(PhantomData S>); - impl sealed::Sealed for SetSubject {} - impl State for SetSubject { - type Subject = Set; - type CreatedAt = S::CreatedAt; + type Subject = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Subject = S::Subject; type CreatedAt = Set; + type Subject = S::Subject; + } + ///State transition - sets the `subject` field to Set + pub struct SetSubject(PhantomData S>); + impl sealed::Sealed for SetSubject {} + impl State for SetSubject { + type CreatedAt = S::CreatedAt; + type Subject = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `subject` field - pub struct subject(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `subject` field + pub struct subject(()); } } @@ -159,8 +159,8 @@ where impl<'a, S> TakenFlowerBuilder<'a, S> where S: taken_flower_state::State, - S::Subject: taken_flower_state::IsSet, S::CreatedAt: taken_flower_state::IsSet, + S::Subject: taken_flower_state::IsSet, { /// Build the final struct pub fn build(self) -> TakenFlower<'a> { @@ -175,7 +175,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> TakenFlower<'a> { @@ -276,7 +276,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for TakenFlower<'a> { } if let Some(ref value) = self.note { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -309,7 +309,7 @@ fn lexicon_doc_coop_hypha_spores_social_takenFlower() -> ::jacquard_lexicon::lex defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -321,8 +321,8 @@ fn lexicon_doc_coop_hypha_spores_social_takenFlower() -> ::jacquard_lexicon::lex description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -330,7 +330,7 @@ fn lexicon_doc_coop_hypha_spores_social_takenFlower() -> ::jacquard_lexicon::lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -353,7 +353,9 @@ fn lexicon_doc_coop_hypha_spores_social_takenFlower() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("note"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "note", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -372,7 +374,9 @@ fn lexicon_doc_coop_hypha_spores_social_takenFlower() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/dev_baileytownsend/demo/example.rs b/crates/jacquard-api/src/dev_baileytownsend/demo/example.rs index 16e16a877..a6554ce83 100644 --- a/crates/jacquard-api/src/dev_baileytownsend/demo/example.rs +++ b/crates/jacquard-api/src/dev_baileytownsend/demo/example.rs @@ -152,7 +152,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Example<'a> { @@ -267,7 +267,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Example<'a> { { let value = &self.name; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -298,7 +298,7 @@ fn lexicon_doc_dev_baileytownsend_demo_example() -> ::jacquard_lexicon::lexicon: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -310,8 +310,8 @@ fn lexicon_doc_dev_baileytownsend_demo_example() -> ::jacquard_lexicon::lexicon: description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -319,7 +319,7 @@ fn lexicon_doc_dev_baileytownsend_demo_example() -> ::jacquard_lexicon::lexicon: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -338,7 +338,9 @@ fn lexicon_doc_dev_baileytownsend_demo_example() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("A name of something"), diff --git a/crates/jacquard-api/src/dev_baileytownsend/health/calories.rs b/crates/jacquard-api/src/dev_baileytownsend/health/calories.rs index c736da854..a4239360d 100644 --- a/crates/jacquard-api/src/dev_baileytownsend/health/calories.rs +++ b/crates/jacquard-api/src/dev_baileytownsend/health/calories.rs @@ -33,51 +33,51 @@ pub mod calories_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Intake; - type Burned; type CreatedAt; + type Burned; + type Intake; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Intake = Unset; - type Burned = Unset; type CreatedAt = Unset; + type Burned = Unset; + type Intake = Unset; } - ///State transition - sets the `intake` field to Set - pub struct SetIntake(PhantomData S>); - impl sealed::Sealed for SetIntake {} - impl State for SetIntake { - type Intake = Set; + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type CreatedAt = Set; type Burned = S::Burned; - type CreatedAt = S::CreatedAt; + type Intake = S::Intake; } ///State transition - sets the `burned` field to Set pub struct SetBurned(PhantomData S>); impl sealed::Sealed for SetBurned {} impl State for SetBurned { - type Intake = S::Intake; - type Burned = Set; type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { + type Burned = Set; type Intake = S::Intake; + } + ///State transition - sets the `intake` field to Set + pub struct SetIntake(PhantomData S>); + impl sealed::Sealed for SetIntake {} + impl State for SetIntake { + type CreatedAt = S::CreatedAt; type Burned = S::Burned; - type CreatedAt = Set; + type Intake = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `intake` field - pub struct intake(()); - ///Marker type for the `burned` field - pub struct burned(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `burned` field + pub struct burned(()); + ///Marker type for the `intake` field + pub struct intake(()); } } @@ -170,9 +170,9 @@ where impl<'a, S> CaloriesBuilder<'a, S> where S: calories_state::State, - S::Intake: calories_state::IsSet, - S::Burned: calories_state::IsSet, S::CreatedAt: calories_state::IsSet, + S::Burned: calories_state::IsSet, + S::Intake: calories_state::IsSet, { /// Build the final struct pub fn build(self) -> Calories<'a> { @@ -187,7 +187,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Calories<'a> { @@ -289,7 +289,7 @@ fn lexicon_doc_dev_baileytownsend_health_calories() -> ::jacquard_lexicon::lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -301,9 +301,9 @@ fn lexicon_doc_dev_baileytownsend_health_calories() -> ::jacquard_lexicon::lexic description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("intake"), - ::jacquard_common::smol_str::SmolStr::new_static("burned"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("intake"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("burned"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -311,7 +311,9 @@ fn lexicon_doc_dev_baileytownsend_health_calories() -> ::jacquard_lexicon::lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("burned"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "burned", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -322,7 +324,7 @@ fn lexicon_doc_dev_baileytownsend_health_calories() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -341,7 +343,9 @@ fn lexicon_doc_dev_baileytownsend_health_calories() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("intake"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "intake", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, diff --git a/crates/jacquard-api/src/dev_baileytownsend/health/rings.rs b/crates/jacquard-api/src/dev_baileytownsend/health/rings.rs index 2c07aa849..b350a40bc 100644 --- a/crates/jacquard-api/src/dev_baileytownsend/health/rings.rs +++ b/crates/jacquard-api/src/dev_baileytownsend/health/rings.rs @@ -43,127 +43,127 @@ pub mod rings_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type StandHours; + type Move; type MoveGoal; + type Exercise; + type ExerciseGoal; type StandGoal; + type StandHours; type CreatedAt; - type Move; - type ExerciseGoal; - type Exercise; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type StandHours = Unset; + type Move = Unset; type MoveGoal = Unset; + type Exercise = Unset; + type ExerciseGoal = Unset; type StandGoal = Unset; + type StandHours = Unset; type CreatedAt = Unset; - type Move = Unset; - type ExerciseGoal = Unset; - type Exercise = Unset; } - ///State transition - sets the `stand_hours` field to Set - pub struct SetStandHours(PhantomData S>); - impl sealed::Sealed for SetStandHours {} - impl State for SetStandHours { - type StandHours = Set; + ///State transition - sets the `move` field to Set + pub struct SetMove(PhantomData S>); + impl sealed::Sealed for SetMove {} + impl State for SetMove { + type Move = Set; type MoveGoal = S::MoveGoal; + type Exercise = S::Exercise; + type ExerciseGoal = S::ExerciseGoal; type StandGoal = S::StandGoal; + type StandHours = S::StandHours; type CreatedAt = S::CreatedAt; - type Move = S::Move; - type ExerciseGoal = S::ExerciseGoal; - type Exercise = S::Exercise; } ///State transition - sets the `move_goal` field to Set pub struct SetMoveGoal(PhantomData S>); impl sealed::Sealed for SetMoveGoal {} impl State for SetMoveGoal { - type StandHours = S::StandHours; + type Move = S::Move; type MoveGoal = Set; + type Exercise = S::Exercise; + type ExerciseGoal = S::ExerciseGoal; type StandGoal = S::StandGoal; + type StandHours = S::StandHours; type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `exercise` field to Set + pub struct SetExercise(PhantomData S>); + impl sealed::Sealed for SetExercise {} + impl State for SetExercise { type Move = S::Move; + type MoveGoal = S::MoveGoal; + type Exercise = Set; type ExerciseGoal = S::ExerciseGoal; + type StandGoal = S::StandGoal; + type StandHours = S::StandHours; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `exercise_goal` field to Set + pub struct SetExerciseGoal(PhantomData S>); + impl sealed::Sealed for SetExerciseGoal {} + impl State for SetExerciseGoal { + type Move = S::Move; + type MoveGoal = S::MoveGoal; type Exercise = S::Exercise; + type ExerciseGoal = Set; + type StandGoal = S::StandGoal; + type StandHours = S::StandHours; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `stand_goal` field to Set pub struct SetStandGoal(PhantomData S>); impl sealed::Sealed for SetStandGoal {} impl State for SetStandGoal { - type StandHours = S::StandHours; + type Move = S::Move; type MoveGoal = S::MoveGoal; + type Exercise = S::Exercise; + type ExerciseGoal = S::ExerciseGoal; type StandGoal = Set; + type StandHours = S::StandHours; type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `stand_hours` field to Set + pub struct SetStandHours(PhantomData S>); + impl sealed::Sealed for SetStandHours {} + impl State for SetStandHours { type Move = S::Move; - type ExerciseGoal = S::ExerciseGoal; + type MoveGoal = S::MoveGoal; type Exercise = S::Exercise; + type ExerciseGoal = S::ExerciseGoal; + type StandGoal = S::StandGoal; + type StandHours = Set; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type StandHours = S::StandHours; - type MoveGoal = S::MoveGoal; - type StandGoal = S::StandGoal; - type CreatedAt = Set; type Move = S::Move; - type ExerciseGoal = S::ExerciseGoal; - type Exercise = S::Exercise; - } - ///State transition - sets the `move` field to Set - pub struct SetMove(PhantomData S>); - impl sealed::Sealed for SetMove {} - impl State for SetMove { - type StandHours = S::StandHours; type MoveGoal = S::MoveGoal; - type StandGoal = S::StandGoal; - type CreatedAt = S::CreatedAt; - type Move = Set; - type ExerciseGoal = S::ExerciseGoal; type Exercise = S::Exercise; - } - ///State transition - sets the `exercise_goal` field to Set - pub struct SetExerciseGoal(PhantomData S>); - impl sealed::Sealed for SetExerciseGoal {} - impl State for SetExerciseGoal { - type StandHours = S::StandHours; - type MoveGoal = S::MoveGoal; + type ExerciseGoal = S::ExerciseGoal; type StandGoal = S::StandGoal; - type CreatedAt = S::CreatedAt; - type Move = S::Move; - type ExerciseGoal = Set; - type Exercise = S::Exercise; - } - ///State transition - sets the `exercise` field to Set - pub struct SetExercise(PhantomData S>); - impl sealed::Sealed for SetExercise {} - impl State for SetExercise { type StandHours = S::StandHours; - type MoveGoal = S::MoveGoal; - type StandGoal = S::StandGoal; - type CreatedAt = S::CreatedAt; - type Move = S::Move; - type ExerciseGoal = S::ExerciseGoal; - type Exercise = Set; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `stand_hours` field - pub struct stand_hours(()); + ///Marker type for the `move` field + pub struct r#move(()); ///Marker type for the `move_goal` field pub struct move_goal(()); + ///Marker type for the `exercise` field + pub struct exercise(()); + ///Marker type for the `exercise_goal` field + pub struct exercise_goal(()); ///Marker type for the `stand_goal` field pub struct stand_goal(()); + ///Marker type for the `stand_hours` field + pub struct stand_hours(()); ///Marker type for the `created_at` field pub struct created_at(()); - ///Marker type for the `move` field - pub struct r#move(()); - ///Marker type for the `exercise_goal` field - pub struct exercise_goal(()); - ///Marker type for the `exercise` field - pub struct exercise(()); } } @@ -336,13 +336,13 @@ where impl<'a, S> RingsBuilder<'a, S> where S: rings_state::State, - S::StandHours: rings_state::IsSet, + S::Move: rings_state::IsSet, S::MoveGoal: rings_state::IsSet, + S::Exercise: rings_state::IsSet, + S::ExerciseGoal: rings_state::IsSet, S::StandGoal: rings_state::IsSet, + S::StandHours: rings_state::IsSet, S::CreatedAt: rings_state::IsSet, - S::Move: rings_state::IsSet, - S::ExerciseGoal: rings_state::IsSet, - S::Exercise: rings_state::IsSet, { /// Build the final struct pub fn build(self) -> Rings<'a> { @@ -361,7 +361,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Rings<'a> { @@ -467,7 +467,7 @@ fn lexicon_doc_dev_baileytownsend_health_rings() -> ::jacquard_lexicon::lexicon: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -479,13 +479,13 @@ fn lexicon_doc_dev_baileytownsend_health_rings() -> ::jacquard_lexicon::lexicon: description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("move"), - ::jacquard_common::smol_str::SmolStr::new_static("moveGoal"), - ::jacquard_common::smol_str::SmolStr::new_static("exercise"), - ::jacquard_common::smol_str::SmolStr::new_static("exerciseGoal"), - ::jacquard_common::smol_str::SmolStr::new_static("standHours"), - ::jacquard_common::smol_str::SmolStr::new_static("standGoal"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("move"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("moveGoal"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("exercise"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("exerciseGoal"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("standHours"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("standGoal"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -493,7 +493,7 @@ fn lexicon_doc_dev_baileytownsend_health_rings() -> ::jacquard_lexicon::lexicon: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -512,7 +512,7 @@ fn lexicon_doc_dev_baileytownsend_health_rings() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "exercise", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -525,7 +525,7 @@ fn lexicon_doc_dev_baileytownsend_health_rings() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "exerciseGoal", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -538,7 +538,9 @@ fn lexicon_doc_dev_baileytownsend_health_rings() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("move"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "move", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -549,7 +551,7 @@ fn lexicon_doc_dev_baileytownsend_health_rings() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "moveGoal", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -562,7 +564,7 @@ fn lexicon_doc_dev_baileytownsend_health_rings() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "standGoal", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -575,7 +577,7 @@ fn lexicon_doc_dev_baileytownsend_health_rings() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "standHours", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { diff --git a/crates/jacquard-api/src/dev_baileytownsend/health/steps.rs b/crates/jacquard-api/src/dev_baileytownsend/health/steps.rs index b7643c037..741ec0ef6 100644 --- a/crates/jacquard-api/src/dev_baileytownsend/health/steps.rs +++ b/crates/jacquard-api/src/dev_baileytownsend/health/steps.rs @@ -149,7 +149,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Steps<'a> { @@ -250,7 +250,7 @@ fn lexicon_doc_dev_baileytownsend_health_steps() -> ::jacquard_lexicon::lexicon: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("any")), @@ -258,8 +258,8 @@ fn lexicon_doc_dev_baileytownsend_health_steps() -> ::jacquard_lexicon::lexicon: description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("steps"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("steps"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -267,7 +267,7 @@ fn lexicon_doc_dev_baileytownsend_health_steps() -> ::jacquard_lexicon::lexicon: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -286,7 +286,9 @@ fn lexicon_doc_dev_baileytownsend_health_steps() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("steps"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "steps", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, diff --git a/crates/jacquard-api/src/dev_baileytownsend/health/workout.rs b/crates/jacquard-api/src/dev_baileytownsend/health/workout.rs index e68c1cbf4..41bbc3747 100644 --- a/crates/jacquard-api/src/dev_baileytownsend/health/workout.rs +++ b/crates/jacquard-api/src/dev_baileytownsend/health/workout.rs @@ -45,104 +45,104 @@ pub mod workout_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type CreatedAt; - type CaloriesBurned; type EndTime; - type Duration; + type CaloriesBurned; type Activity; type StartTime; + type Duration; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type CreatedAt = Unset; - type CaloriesBurned = Unset; type EndTime = Unset; - type Duration = Unset; + type CaloriesBurned = Unset; type Activity = Unset; type StartTime = Unset; + type Duration = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { type CreatedAt = Set; - type CaloriesBurned = S::CaloriesBurned; type EndTime = S::EndTime; - type Duration = S::Duration; + type CaloriesBurned = S::CaloriesBurned; type Activity = S::Activity; type StartTime = S::StartTime; - } - ///State transition - sets the `calories_burned` field to Set - pub struct SetCaloriesBurned(PhantomData S>); - impl sealed::Sealed for SetCaloriesBurned {} - impl State for SetCaloriesBurned { - type CreatedAt = S::CreatedAt; - type CaloriesBurned = Set; - type EndTime = S::EndTime; type Duration = S::Duration; - type Activity = S::Activity; - type StartTime = S::StartTime; } ///State transition - sets the `end_time` field to Set pub struct SetEndTime(PhantomData S>); impl sealed::Sealed for SetEndTime {} impl State for SetEndTime { type CreatedAt = S::CreatedAt; - type CaloriesBurned = S::CaloriesBurned; type EndTime = Set; - type Duration = S::Duration; + type CaloriesBurned = S::CaloriesBurned; type Activity = S::Activity; type StartTime = S::StartTime; + type Duration = S::Duration; } - ///State transition - sets the `duration` field to Set - pub struct SetDuration(PhantomData S>); - impl sealed::Sealed for SetDuration {} - impl State for SetDuration { + ///State transition - sets the `calories_burned` field to Set + pub struct SetCaloriesBurned(PhantomData S>); + impl sealed::Sealed for SetCaloriesBurned {} + impl State for SetCaloriesBurned { type CreatedAt = S::CreatedAt; - type CaloriesBurned = S::CaloriesBurned; type EndTime = S::EndTime; - type Duration = Set; + type CaloriesBurned = Set; type Activity = S::Activity; type StartTime = S::StartTime; + type Duration = S::Duration; } ///State transition - sets the `activity` field to Set pub struct SetActivity(PhantomData S>); impl sealed::Sealed for SetActivity {} impl State for SetActivity { type CreatedAt = S::CreatedAt; - type CaloriesBurned = S::CaloriesBurned; type EndTime = S::EndTime; - type Duration = S::Duration; + type CaloriesBurned = S::CaloriesBurned; type Activity = Set; type StartTime = S::StartTime; + type Duration = S::Duration; } ///State transition - sets the `start_time` field to Set pub struct SetStartTime(PhantomData S>); impl sealed::Sealed for SetStartTime {} impl State for SetStartTime { type CreatedAt = S::CreatedAt; - type CaloriesBurned = S::CaloriesBurned; type EndTime = S::EndTime; - type Duration = S::Duration; + type CaloriesBurned = S::CaloriesBurned; type Activity = S::Activity; type StartTime = Set; + type Duration = S::Duration; + } + ///State transition - sets the `duration` field to Set + pub struct SetDuration(PhantomData S>); + impl sealed::Sealed for SetDuration {} + impl State for SetDuration { + type CreatedAt = S::CreatedAt; + type EndTime = S::EndTime; + type CaloriesBurned = S::CaloriesBurned; + type Activity = S::Activity; + type StartTime = S::StartTime; + type Duration = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `created_at` field pub struct created_at(()); - ///Marker type for the `calories_burned` field - pub struct calories_burned(()); ///Marker type for the `end_time` field pub struct end_time(()); - ///Marker type for the `duration` field - pub struct duration(()); + ///Marker type for the `calories_burned` field + pub struct calories_burned(()); ///Marker type for the `activity` field pub struct activity(()); ///Marker type for the `start_time` field pub struct start_time(()); + ///Marker type for the `duration` field + pub struct duration(()); } } @@ -313,11 +313,11 @@ impl<'a, S> WorkoutBuilder<'a, S> where S: workout_state::State, S::CreatedAt: workout_state::IsSet, - S::CaloriesBurned: workout_state::IsSet, S::EndTime: workout_state::IsSet, - S::Duration: workout_state::IsSet, + S::CaloriesBurned: workout_state::IsSet, S::Activity: workout_state::IsSet, S::StartTime: workout_state::IsSet, + S::Duration: workout_state::IsSet, { /// Build the final struct pub fn build(self) -> Workout<'a> { @@ -336,7 +336,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Workout<'a> { @@ -442,7 +442,7 @@ fn lexicon_doc_dev_baileytownsend_health_workout() -> ::jacquard_lexicon::lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("any")), @@ -450,12 +450,12 @@ fn lexicon_doc_dev_baileytownsend_health_workout() -> ::jacquard_lexicon::lexico description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("activity"), - ::jacquard_common::smol_str::SmolStr::new_static("caloriesBurned"), - ::jacquard_common::smol_str::SmolStr::new_static("duration"), - ::jacquard_common::smol_str::SmolStr::new_static("startTime"), - ::jacquard_common::smol_str::SmolStr::new_static("endTime"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("activity"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("caloriesBurned"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("duration"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("startTime"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("endTime"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -463,7 +463,7 @@ fn lexicon_doc_dev_baileytownsend_health_workout() -> ::jacquard_lexicon::lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "activity", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -484,7 +484,7 @@ fn lexicon_doc_dev_baileytownsend_health_workout() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "caloriesBurned", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -497,7 +497,7 @@ fn lexicon_doc_dev_baileytownsend_health_workout() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -516,7 +516,7 @@ fn lexicon_doc_dev_baileytownsend_health_workout() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "distance", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -537,7 +537,7 @@ fn lexicon_doc_dev_baileytownsend_health_workout() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "duration", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -558,7 +558,9 @@ fn lexicon_doc_dev_baileytownsend_health_workout() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("endTime"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "endTime", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -575,7 +577,7 @@ fn lexicon_doc_dev_baileytownsend_health_workout() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "startTime", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { 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 f18c4ac5b..a647b9d7b 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 @@ -46,105 +46,105 @@ pub mod post_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Title; + type Content; + type Tags; type Category; type Forum; - type Tags; type CreatedAt; - type Content; + type Title; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Title = Unset; + type Content = Unset; + type Tags = Unset; type Category = Unset; type Forum = Unset; - type Tags = Unset; type CreatedAt = Unset; - type Content = Unset; + type Title = Unset; } - ///State transition - sets the `title` field to Set - pub struct SetTitle(PhantomData S>); - impl sealed::Sealed for SetTitle {} - impl State for SetTitle { - type Title = Set; + ///State transition - sets the `content` field to Set + pub struct SetContent(PhantomData S>); + impl sealed::Sealed for SetContent {} + impl State for SetContent { + type Content = Set; + type Tags = S::Tags; type Category = S::Category; type Forum = S::Forum; - type Tags = S::Tags; type CreatedAt = S::CreatedAt; + type Title = S::Title; + } + ///State transition - sets the `tags` field to Set + pub struct SetTags(PhantomData S>); + impl sealed::Sealed for SetTags {} + impl State for SetTags { type Content = S::Content; + type Tags = Set; + type Category = S::Category; + type Forum = S::Forum; + type CreatedAt = S::CreatedAt; + type Title = S::Title; } ///State transition - sets the `category` field to Set pub struct SetCategory(PhantomData S>); impl sealed::Sealed for SetCategory {} impl State for SetCategory { - type Title = S::Title; + type Content = S::Content; + type Tags = S::Tags; type Category = Set; type Forum = S::Forum; - type Tags = S::Tags; type CreatedAt = S::CreatedAt; - type Content = S::Content; + type Title = S::Title; } ///State transition - sets the `forum` field to Set pub struct SetForum(PhantomData S>); impl sealed::Sealed for SetForum {} impl State for SetForum { - type Title = S::Title; + type Content = S::Content; + type Tags = S::Tags; type Category = S::Category; type Forum = Set; - type Tags = S::Tags; type CreatedAt = S::CreatedAt; - type Content = S::Content; - } - ///State transition - sets the `tags` field to Set - pub struct SetTags(PhantomData S>); - impl sealed::Sealed for SetTags {} - impl State for SetTags { type Title = S::Title; - type Category = S::Category; - type Forum = S::Forum; - type Tags = Set; - type CreatedAt = S::CreatedAt; - type Content = S::Content; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Title = S::Title; + type Content = S::Content; + type Tags = S::Tags; type Category = S::Category; type Forum = S::Forum; - type Tags = S::Tags; type CreatedAt = Set; - type Content = S::Content; - } - ///State transition - sets the `content` field to Set - pub struct SetContent(PhantomData S>); - impl sealed::Sealed for SetContent {} - impl State for SetContent { type Title = S::Title; + } + ///State transition - sets the `title` field to Set + pub struct SetTitle(PhantomData S>); + impl sealed::Sealed for SetTitle {} + impl State for SetTitle { + type Content = S::Content; + type Tags = S::Tags; type Category = S::Category; type Forum = S::Forum; - type Tags = S::Tags; type CreatedAt = S::CreatedAt; - type Content = Set; + type Title = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `title` field - pub struct title(()); + ///Marker type for the `content` field + pub struct content(()); + ///Marker type for the `tags` field + pub struct tags(()); ///Marker type for the `category` field pub struct category(()); ///Marker type for the `forum` field pub struct forum(()); - ///Marker type for the `tags` field - pub struct tags(()); ///Marker type for the `created_at` field pub struct created_at(()); - ///Marker type for the `content` field - pub struct content(()); + ///Marker type for the `title` field + pub struct title(()); } } @@ -337,12 +337,12 @@ impl<'a, S: post_state::State> PostBuilder<'a, S> { impl<'a, S> PostBuilder<'a, S> where S: post_state::State, - S::Title: post_state::IsSet, + S::Content: post_state::IsSet, + S::Tags: post_state::IsSet, S::Category: post_state::IsSet, S::Forum: post_state::IsSet, - S::Tags: post_state::IsSet, S::CreatedAt: post_state::IsSet, - S::Content: post_state::IsSet, + S::Title: post_state::IsSet, { /// Build the final struct pub fn build(self) -> Post<'a> { @@ -362,7 +362,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Post<'a> { @@ -536,7 +536,7 @@ fn lexicon_doc_dev_fudgeu_experimental_atforumv1_feed_post() -> ::jacquard_lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -548,12 +548,12 @@ fn lexicon_doc_dev_fudgeu_experimental_atforumv1_feed_post() -> ::jacquard_lexic description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("content"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt"), - ::jacquard_common::smol_str::SmolStr::new_static("category"), - ::jacquard_common::smol_str::SmolStr::new_static("forum"), - ::jacquard_common::smol_str::SmolStr::new_static("tags") + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("category"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("forum"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("tags") ], ), nullable: None, @@ -561,7 +561,7 @@ fn lexicon_doc_dev_fudgeu_experimental_atforumv1_feed_post() -> ::jacquard_lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "category", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -580,7 +580,9 @@ fn lexicon_doc_dev_fudgeu_experimental_atforumv1_feed_post() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "content", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -595,7 +597,7 @@ fn lexicon_doc_dev_fudgeu_experimental_atforumv1_feed_post() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -614,7 +616,9 @@ fn lexicon_doc_dev_fudgeu_experimental_atforumv1_feed_post() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("forum"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "forum", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -631,7 +635,7 @@ fn lexicon_doc_dev_fudgeu_experimental_atforumv1_feed_post() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "solution", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -650,7 +654,9 @@ fn lexicon_doc_dev_fudgeu_experimental_atforumv1_feed_post() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tags", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::String(::jacquard_lexicon::lexicon::LexString { @@ -670,7 +676,9 @@ fn lexicon_doc_dev_fudgeu_experimental_atforumv1_feed_post() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -685,7 +693,7 @@ fn lexicon_doc_dev_fudgeu_experimental_atforumv1_feed_post() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { 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 d76545d5e..9577b25dd 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 @@ -43,104 +43,104 @@ pub mod question_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Tags; - type Forum; type IsOpen; + type CreatedAt; + type Forum; type Title; type Content; - type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Tags = Unset; - type Forum = Unset; type IsOpen = Unset; + type CreatedAt = Unset; + type Forum = Unset; type Title = Unset; type Content = Unset; - type CreatedAt = Unset; } ///State transition - sets the `tags` field to Set pub struct SetTags(PhantomData S>); impl sealed::Sealed for SetTags {} impl State for SetTags { type Tags = Set; - type Forum = S::Forum; type IsOpen = S::IsOpen; - type Title = S::Title; - type Content = S::Content; type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `forum` field to Set - pub struct SetForum(PhantomData S>); - impl sealed::Sealed for SetForum {} - impl State for SetForum { - type Tags = S::Tags; - type Forum = Set; - type IsOpen = S::IsOpen; + type Forum = S::Forum; type Title = S::Title; type Content = S::Content; - type CreatedAt = S::CreatedAt; } ///State transition - sets the `is_open` field to Set pub struct SetIsOpen(PhantomData S>); impl sealed::Sealed for SetIsOpen {} impl State for SetIsOpen { type Tags = S::Tags; - type Forum = S::Forum; type IsOpen = Set; + type CreatedAt = S::CreatedAt; + type Forum = S::Forum; + type Title = S::Title; + type Content = S::Content; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Tags = S::Tags; + type IsOpen = S::IsOpen; + type CreatedAt = Set; + type Forum = S::Forum; type Title = S::Title; type Content = S::Content; + } + ///State transition - sets the `forum` field to Set + pub struct SetForum(PhantomData S>); + impl sealed::Sealed for SetForum {} + impl State for SetForum { + type Tags = S::Tags; + type IsOpen = S::IsOpen; type CreatedAt = S::CreatedAt; + type Forum = Set; + type Title = S::Title; + type Content = S::Content; } ///State transition - sets the `title` field to Set pub struct SetTitle(PhantomData S>); impl sealed::Sealed for SetTitle {} impl State for SetTitle { type Tags = S::Tags; - type Forum = S::Forum; type IsOpen = S::IsOpen; + type CreatedAt = S::CreatedAt; + type Forum = S::Forum; type Title = Set; type Content = S::Content; - type CreatedAt = S::CreatedAt; } ///State transition - sets the `content` field to Set pub struct SetContent(PhantomData S>); impl sealed::Sealed for SetContent {} impl State for SetContent { type Tags = S::Tags; - type Forum = S::Forum; type IsOpen = S::IsOpen; - type Title = S::Title; - type Content = Set; type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type Tags = S::Tags; type Forum = S::Forum; - type IsOpen = S::IsOpen; type Title = S::Title; - type Content = S::Content; - type CreatedAt = Set; + type Content = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `tags` field pub struct tags(()); - ///Marker type for the `forum` field - pub struct forum(()); ///Marker type for the `is_open` field pub struct is_open(()); + ///Marker type for the `created_at` field + pub struct created_at(()); + ///Marker type for the `forum` field + pub struct forum(()); ///Marker type for the `title` field pub struct title(()); ///Marker type for the `content` field pub struct content(()); - ///Marker type for the `created_at` field - pub struct created_at(()); } } @@ -314,11 +314,11 @@ impl<'a, S> QuestionBuilder<'a, S> where S: question_state::State, S::Tags: question_state::IsSet, - S::Forum: question_state::IsSet, S::IsOpen: question_state::IsSet, + S::CreatedAt: question_state::IsSet, + S::Forum: question_state::IsSet, S::Title: question_state::IsSet, S::Content: question_state::IsSet, - S::CreatedAt: question_state::IsSet, { /// Build the final struct pub fn build(self) -> Question<'a> { @@ -337,7 +337,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Question<'a> { @@ -510,7 +510,7 @@ fn lexicon_doc_dev_fudgeu_experimental_atforumv1_feed_question() -> ::jacquard_l defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -522,12 +522,12 @@ fn lexicon_doc_dev_fudgeu_experimental_atforumv1_feed_question() -> ::jacquard_l description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("content"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt"), - ::jacquard_common::smol_str::SmolStr::new_static("forum"), - ::jacquard_common::smol_str::SmolStr::new_static("tags"), - ::jacquard_common::smol_str::SmolStr::new_static("isOpen") + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("forum"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("isOpen") ], ), nullable: None, @@ -535,7 +535,9 @@ fn lexicon_doc_dev_fudgeu_experimental_atforumv1_feed_question() -> ::jacquard_l #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "content", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -550,7 +552,7 @@ fn lexicon_doc_dev_fudgeu_experimental_atforumv1_feed_question() -> ::jacquard_l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -569,7 +571,9 @@ fn lexicon_doc_dev_fudgeu_experimental_atforumv1_feed_question() -> ::jacquard_l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("forum"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "forum", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -586,7 +590,9 @@ fn lexicon_doc_dev_fudgeu_experimental_atforumv1_feed_question() -> ::jacquard_l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("isOpen"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "isOpen", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -594,7 +600,9 @@ fn lexicon_doc_dev_fudgeu_experimental_atforumv1_feed_question() -> ::jacquard_l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tags", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::String(::jacquard_lexicon::lexicon::LexString { @@ -614,7 +622,9 @@ fn lexicon_doc_dev_fudgeu_experimental_atforumv1_feed_question() -> ::jacquard_l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -629,7 +639,7 @@ fn lexicon_doc_dev_fudgeu_experimental_atforumv1_feed_question() -> ::jacquard_l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { 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 e1327bc58..1f07c5ea6 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 @@ -37,51 +37,51 @@ pub mod reply_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type CreatedAt; type Root; type Content; - type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type CreatedAt = Unset; type Root = Unset; type Content = Unset; - type CreatedAt = Unset; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type CreatedAt = Set; + type Root = S::Root; + type Content = S::Content; } ///State transition - sets the `root` field to Set pub struct SetRoot(PhantomData S>); impl sealed::Sealed for SetRoot {} impl State for SetRoot { + type CreatedAt = S::CreatedAt; type Root = Set; type Content = S::Content; - type CreatedAt = S::CreatedAt; } ///State transition - sets the `content` field to Set pub struct SetContent(PhantomData S>); impl sealed::Sealed for SetContent {} impl State for SetContent { - type Root = S::Root; - type Content = Set; type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { type Root = S::Root; - type Content = S::Content; - type CreatedAt = Set; + type Content = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `created_at` field + pub struct created_at(()); ///Marker type for the `root` field pub struct root(()); ///Marker type for the `content` field pub struct content(()); - ///Marker type for the `created_at` field - pub struct created_at(()); } } @@ -194,9 +194,9 @@ impl<'a, S: reply_state::State> ReplyBuilder<'a, S> { impl<'a, S> ReplyBuilder<'a, S> where S: reply_state::State, + S::CreatedAt: reply_state::IsSet, S::Root: reply_state::IsSet, S::Content: reply_state::IsSet, - S::CreatedAt: reply_state::IsSet, { /// Build the final struct pub fn build(self) -> Reply<'a> { @@ -212,7 +212,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Reply<'a> { @@ -330,7 +330,7 @@ fn lexicon_doc_dev_fudgeu_experimental_atforumv1_feed_reply() -> ::jacquard_lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -342,9 +342,9 @@ fn lexicon_doc_dev_fudgeu_experimental_atforumv1_feed_reply() -> ::jacquard_lexi description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("content"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt"), - ::jacquard_common::smol_str::SmolStr::new_static("root") + ::jacquard_common::deps::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("root") ], ), nullable: None, @@ -352,7 +352,9 @@ fn lexicon_doc_dev_fudgeu_experimental_atforumv1_feed_reply() -> ::jacquard_lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "content", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -367,7 +369,7 @@ fn lexicon_doc_dev_fudgeu_experimental_atforumv1_feed_reply() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -386,7 +388,9 @@ fn lexicon_doc_dev_fudgeu_experimental_atforumv1_feed_reply() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("root"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "root", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -403,7 +407,7 @@ fn lexicon_doc_dev_fudgeu_experimental_atforumv1_feed_reply() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { 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 35bd2ee5e..a1b34af4a 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 @@ -36,67 +36,67 @@ pub mod announcement_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type ExpiresAt; type Body; - type Title; type CreatedAt; + type Title; + type ExpiresAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type ExpiresAt = Unset; type Body = Unset; - type Title = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `expires_at` field to Set - pub struct SetExpiresAt(PhantomData S>); - impl sealed::Sealed for SetExpiresAt {} - impl State for SetExpiresAt { - type ExpiresAt = Set; - type Body = S::Body; - type Title = S::Title; - type CreatedAt = S::CreatedAt; + type Title = Unset; + type ExpiresAt = Unset; } ///State transition - sets the `body` field to Set pub struct SetBody(PhantomData S>); impl sealed::Sealed for SetBody {} impl State for SetBody { - type ExpiresAt = S::ExpiresAt; type Body = Set; - type Title = S::Title; type CreatedAt = S::CreatedAt; + type Title = S::Title; + type ExpiresAt = S::ExpiresAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Body = S::Body; + type CreatedAt = Set; + type Title = S::Title; + type ExpiresAt = S::ExpiresAt; } ///State transition - sets the `title` field to Set pub struct SetTitle(PhantomData S>); impl sealed::Sealed for SetTitle {} impl State for SetTitle { - type ExpiresAt = S::ExpiresAt; type Body = S::Body; - type Title = Set; type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { + type Title = Set; type ExpiresAt = S::ExpiresAt; + } + ///State transition - sets the `expires_at` field to Set + pub struct SetExpiresAt(PhantomData S>); + impl sealed::Sealed for SetExpiresAt {} + impl State for SetExpiresAt { type Body = S::Body; + type CreatedAt = S::CreatedAt; type Title = S::Title; - type CreatedAt = Set; + type ExpiresAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `expires_at` field - pub struct expires_at(()); ///Marker type for the `body` field pub struct body(()); - ///Marker type for the `title` field - pub struct title(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `title` field + pub struct title(()); + ///Marker type for the `expires_at` field + pub struct expires_at(()); } } @@ -209,10 +209,10 @@ where impl<'a, S> AnnouncementBuilder<'a, S> where S: announcement_state::State, - S::ExpiresAt: announcement_state::IsSet, S::Body: announcement_state::IsSet, - S::Title: announcement_state::IsSet, S::CreatedAt: announcement_state::IsSet, + S::Title: announcement_state::IsSet, + S::ExpiresAt: announcement_state::IsSet, { /// Build the final struct pub fn build(self) -> Announcement<'a> { @@ -228,7 +228,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Announcement<'a> { @@ -385,7 +385,7 @@ fn lexicon_doc_dev_fudgeu_experimental_atforumv1_forum_announcement() -> ::jacqu defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -397,10 +397,10 @@ fn lexicon_doc_dev_fudgeu_experimental_atforumv1_forum_announcement() -> ::jacqu description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("body"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt"), - ::jacquard_common::smol_str::SmolStr::new_static("expiresAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("body"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("expiresAt") ], ), nullable: None, @@ -408,7 +408,9 @@ fn lexicon_doc_dev_fudgeu_experimental_atforumv1_forum_announcement() -> ::jacqu #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("body"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "body", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -423,7 +425,7 @@ fn lexicon_doc_dev_fudgeu_experimental_atforumv1_forum_announcement() -> ::jacqu }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -442,7 +444,7 @@ fn lexicon_doc_dev_fudgeu_experimental_atforumv1_forum_announcement() -> ::jacqu }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "expiresAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -461,7 +463,9 @@ fn lexicon_doc_dev_fudgeu_experimental_atforumv1_forum_announcement() -> ::jacqu }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, 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 be02d15df..681abefc5 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 @@ -214,7 +214,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Category<'a> { @@ -370,7 +370,7 @@ fn lexicon_doc_dev_fudgeu_experimental_atforumv1_forum_category() -> ::jacquard_ defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -382,9 +382,9 @@ fn lexicon_doc_dev_fudgeu_experimental_atforumv1_forum_category() -> ::jacquard_ description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("group"), - ::jacquard_common::smol_str::SmolStr::new_static("categoryType") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("group"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("categoryType") ], ), nullable: None, @@ -392,7 +392,7 @@ fn lexicon_doc_dev_fudgeu_experimental_atforumv1_forum_category() -> ::jacquard_ #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "categoryType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -409,7 +409,7 @@ fn lexicon_doc_dev_fudgeu_experimental_atforumv1_forum_category() -> ::jacquard_ }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -426,7 +426,9 @@ fn lexicon_doc_dev_fudgeu_experimental_atforumv1_forum_category() -> ::jacquard_ }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("group"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "group", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -443,7 +445,9 @@ fn lexicon_doc_dev_fudgeu_experimental_atforumv1_forum_category() -> ::jacquard_ }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, 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 3e3d79480..cdfad4a74 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 @@ -140,7 +140,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Group<'a> { @@ -281,7 +281,7 @@ fn lexicon_doc_dev_fudgeu_experimental_atforumv1_forum_group() -> ::jacquard_lex defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -293,7 +293,7 @@ fn lexicon_doc_dev_fudgeu_experimental_atforumv1_forum_group() -> ::jacquard_lex description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name") ], ), nullable: None, @@ -301,7 +301,7 @@ fn lexicon_doc_dev_fudgeu_experimental_atforumv1_forum_group() -> ::jacquard_lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -318,7 +318,9 @@ fn lexicon_doc_dev_fudgeu_experimental_atforumv1_forum_group() -> ::jacquard_lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, 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 564a5602e..9aa348d76 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 @@ -161,7 +161,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Identity<'a> { @@ -314,7 +314,7 @@ fn lexicon_doc_dev_fudgeu_experimental_atforumv1_forum_identity() -> ::jacquard_ defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -326,7 +326,7 @@ fn lexicon_doc_dev_fudgeu_experimental_atforumv1_forum_identity() -> ::jacquard_ description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name") ], ), nullable: None, @@ -334,7 +334,9 @@ fn lexicon_doc_dev_fudgeu_experimental_atforumv1_forum_identity() -> ::jacquard_ #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("accent"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "accent", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -349,7 +351,7 @@ fn lexicon_doc_dev_fudgeu_experimental_atforumv1_forum_identity() -> ::jacquard_ }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -366,7 +368,9 @@ fn lexicon_doc_dev_fudgeu_experimental_atforumv1_forum_identity() -> ::jacquard_ }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, 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 ab33e118f..1a78ebdf7 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 @@ -38,37 +38,37 @@ pub mod example_cat_lexicon_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type Name; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type Name = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Name = S::Name; + type CreatedAt = Unset; } ///State transition - sets the `name` field to Set pub struct SetName(PhantomData S>); impl sealed::Sealed for SetName {} impl State for SetName { - type CreatedAt = S::CreatedAt; type Name = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Name = S::Name; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `name` field pub struct name(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -161,8 +161,8 @@ where impl<'a, S> ExampleCatLexiconBuilder<'a, S> where S: example_cat_lexicon_state::State, - S::CreatedAt: example_cat_lexicon_state::IsSet, S::Name: example_cat_lexicon_state::IsSet, + S::CreatedAt: example_cat_lexicon_state::IsSet, { /// Build the final struct pub fn build(self) -> ExampleCatLexicon<'a> { @@ -177,7 +177,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ExampleCatLexicon<'a> { @@ -293,7 +293,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ExampleCatLexicon<'a> { { let value = &self.name; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -326,7 +326,7 @@ fn lexicon_doc_dev_kanad_lexicon_test_2026_02_26_exampleCatLexicon() -> ::jacqua defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static("some example cat lexicon"), @@ -336,8 +336,8 @@ fn lexicon_doc_dev_kanad_lexicon_test_2026_02_26_exampleCatLexicon() -> ::jacqua description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -345,7 +345,9 @@ fn lexicon_doc_dev_kanad_lexicon_test_2026_02_26_exampleCatLexicon() -> ::jacqua #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("avatar"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "avatar", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -353,7 +355,7 @@ fn lexicon_doc_dev_kanad_lexicon_test_2026_02_26_exampleCatLexicon() -> ::jacqua }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -372,7 +374,9 @@ fn lexicon_doc_dev_kanad_lexicon_test_2026_02_26_exampleCatLexicon() -> ::jacqua }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("cat name"), diff --git a/crates/jacquard-api/src/dev_ocbwoy3/blueboard/board.rs b/crates/jacquard-api/src/dev_ocbwoy3/blueboard/board.rs index d02b2863a..e8cec8a97 100644 --- a/crates/jacquard-api/src/dev_ocbwoy3/blueboard/board.rs +++ b/crates/jacquard-api/src/dev_ocbwoy3/blueboard/board.rs @@ -39,67 +39,67 @@ pub mod board_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Description; + type Title; type CreatedAt; type Nsfw; - type Title; - type Description; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Description = Unset; + type Title = Unset; type CreatedAt = Unset; type Nsfw = Unset; - type Title = Unset; - type Description = Unset; + } + ///State transition - sets the `description` field to Set + pub struct SetDescription(PhantomData S>); + impl sealed::Sealed for SetDescription {} + impl State for SetDescription { + type Description = Set; + type Title = S::Title; + type CreatedAt = S::CreatedAt; + type Nsfw = S::Nsfw; + } + ///State transition - sets the `title` field to Set + pub struct SetTitle(PhantomData S>); + impl sealed::Sealed for SetTitle {} + impl State for SetTitle { + type Description = S::Description; + type Title = Set; + type CreatedAt = S::CreatedAt; + type Nsfw = S::Nsfw; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { + type Description = S::Description; + type Title = S::Title; type CreatedAt = Set; type Nsfw = S::Nsfw; - type Title = S::Title; - type Description = S::Description; } ///State transition - sets the `nsfw` field to Set pub struct SetNsfw(PhantomData S>); impl sealed::Sealed for SetNsfw {} impl State for SetNsfw { - type CreatedAt = S::CreatedAt; - type Nsfw = Set; - type Title = S::Title; type Description = S::Description; - } - ///State transition - sets the `title` field to Set - pub struct SetTitle(PhantomData S>); - impl sealed::Sealed for SetTitle {} - impl State for SetTitle { - type CreatedAt = S::CreatedAt; - type Nsfw = S::Nsfw; - type Title = Set; - type Description = S::Description; - } - ///State transition - sets the `description` field to Set - pub struct SetDescription(PhantomData S>); - impl sealed::Sealed for SetDescription {} - impl State for SetDescription { - type CreatedAt = S::CreatedAt; - type Nsfw = S::Nsfw; type Title = S::Title; - type Description = Set; + type CreatedAt = S::CreatedAt; + type Nsfw = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `description` field + pub struct description(()); + ///Marker type for the `title` field + pub struct title(()); ///Marker type for the `created_at` field pub struct created_at(()); ///Marker type for the `nsfw` field pub struct nsfw(()); - ///Marker type for the `title` field - pub struct title(()); - ///Marker type for the `description` field - pub struct description(()); } } @@ -212,10 +212,10 @@ where impl<'a, S> BoardBuilder<'a, S> where S: board_state::State, + S::Description: board_state::IsSet, + S::Title: board_state::IsSet, S::CreatedAt: board_state::IsSet, S::Nsfw: board_state::IsSet, - S::Title: board_state::IsSet, - S::Description: board_state::IsSet, { /// Build the final struct pub fn build(self) -> Board<'a> { @@ -231,7 +231,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Board<'a> { @@ -322,7 +322,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Board<'a> { { let value = &self.description; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -366,7 +366,7 @@ fn lexicon_doc_dev_ocbwoy3_blueboard_board() -> ::jacquard_lexicon::lexicon::Lex defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("any")), @@ -374,10 +374,10 @@ fn lexicon_doc_dev_ocbwoy3_blueboard_board() -> ::jacquard_lexicon::lexicon::Lex description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("description"), - ::jacquard_common::smol_str::SmolStr::new_static("nsfw"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("description"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("nsfw"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -385,7 +385,7 @@ fn lexicon_doc_dev_ocbwoy3_blueboard_board() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -408,7 +408,7 @@ fn lexicon_doc_dev_ocbwoy3_blueboard_board() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -429,7 +429,9 @@ fn lexicon_doc_dev_ocbwoy3_blueboard_board() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("nsfw"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "nsfw", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -437,7 +439,9 @@ fn lexicon_doc_dev_ocbwoy3_blueboard_board() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/dev_ocbwoy3/blueboard/post.rs b/crates/jacquard-api/src/dev_ocbwoy3/blueboard/post.rs index c1c8b8532..f93790d69 100644 --- a/crates/jacquard-api/src/dev_ocbwoy3/blueboard/post.rs +++ b/crates/jacquard-api/src/dev_ocbwoy3/blueboard/post.rs @@ -41,51 +41,51 @@ pub mod post_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Text; - type Parent; type CreatedAt; + type Parent; + type Text; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Text = Unset; - type Parent = Unset; type CreatedAt = Unset; + type Parent = Unset; + type Text = Unset; } - ///State transition - sets the `text` field to Set - pub struct SetText(PhantomData S>); - impl sealed::Sealed for SetText {} - impl State for SetText { - type Text = Set; + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type CreatedAt = Set; type Parent = S::Parent; - type CreatedAt = S::CreatedAt; + type Text = S::Text; } ///State transition - sets the `parent` field to Set pub struct SetParent(PhantomData S>); impl sealed::Sealed for SetParent {} impl State for SetParent { - type Text = S::Text; - type Parent = Set; type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { + type Parent = Set; type Text = S::Text; + } + ///State transition - sets the `text` field to Set + pub struct SetText(PhantomData S>); + impl sealed::Sealed for SetText {} + impl State for SetText { + type CreatedAt = S::CreatedAt; type Parent = S::Parent; - type CreatedAt = Set; + type Text = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `text` field - pub struct text(()); - ///Marker type for the `parent` field - pub struct parent(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `parent` field + pub struct parent(()); + ///Marker type for the `text` field + pub struct text(()); } } @@ -198,9 +198,9 @@ where impl<'a, S> PostBuilder<'a, S> where S: post_state::State, - S::Text: post_state::IsSet, - S::Parent: post_state::IsSet, S::CreatedAt: post_state::IsSet, + S::Parent: post_state::IsSet, + S::Text: post_state::IsSet, { /// Build the final struct pub fn build(self) -> Post<'a> { @@ -216,7 +216,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Post<'a> { @@ -332,7 +332,7 @@ fn lexicon_doc_dev_ocbwoy3_blueboard_post() -> ::jacquard_lexicon::lexicon::Lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -340,9 +340,9 @@ fn lexicon_doc_dev_ocbwoy3_blueboard_post() -> ::jacquard_lexicon::lexicon::Lexi description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("text"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt"), - ::jacquard_common::smol_str::SmolStr::new_static("parent") + ::jacquard_common::deps::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("parent") ], ), nullable: None, @@ -350,7 +350,7 @@ fn lexicon_doc_dev_ocbwoy3_blueboard_post() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "attachment", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { @@ -360,7 +360,7 @@ fn lexicon_doc_dev_ocbwoy3_blueboard_post() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -383,7 +383,9 @@ fn lexicon_doc_dev_ocbwoy3_blueboard_post() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("parent"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "parent", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -404,7 +406,9 @@ fn lexicon_doc_dev_ocbwoy3_blueboard_post() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("The post's text"), diff --git a/crates/jacquard-api/src/dev_ocbwoy3/crack/alterego.rs b/crates/jacquard-api/src/dev_ocbwoy3/crack/alterego.rs index 9ecf2a2c7..f7886259f 100644 --- a/crates/jacquard-api/src/dev_ocbwoy3/crack/alterego.rs +++ b/crates/jacquard-api/src/dev_ocbwoy3/crack/alterego.rs @@ -201,7 +201,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Alterego<'a> { @@ -365,7 +365,7 @@ fn lexicon_doc_dev_ocbwoy3_crack_alterego() -> ::jacquard_lexicon::lexicon::Lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -381,7 +381,9 @@ fn lexicon_doc_dev_ocbwoy3_crack_alterego() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("avatar"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "avatar", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -389,7 +391,9 @@ fn lexicon_doc_dev_ocbwoy3_crack_alterego() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("banner"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "banner", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -397,7 +401,7 @@ fn lexicon_doc_dev_ocbwoy3_crack_alterego() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -418,7 +422,7 @@ fn lexicon_doc_dev_ocbwoy3_crack_alterego() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "displayName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -439,7 +443,9 @@ fn lexicon_doc_dev_ocbwoy3_crack_alterego() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("handle"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "handle", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/dev_regnault/webfishing/savefile.rs b/crates/jacquard-api/src/dev_regnault/webfishing/savefile.rs index 23218e6a5..d470cfd01 100644 --- a/crates/jacquard-api/src/dev_regnault/webfishing/savefile.rs +++ b/crates/jacquard-api/src/dev_regnault/webfishing/savefile.rs @@ -152,7 +152,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Savefile<'a> { @@ -253,7 +253,7 @@ fn lexicon_doc_dev_regnault_webfishing_savefile() -> ::jacquard_lexicon::lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -265,8 +265,8 @@ fn lexicon_doc_dev_regnault_webfishing_savefile() -> ::jacquard_lexicon::lexicon description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("uri") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri") ], ), nullable: None, @@ -274,7 +274,9 @@ fn lexicon_doc_dev_regnault_webfishing_savefile() -> ::jacquard_lexicon::lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -289,7 +291,9 @@ fn lexicon_doc_dev_regnault_webfishing_savefile() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( diff --git a/crates/jacquard-api/src/dev_sensorthings/datastream.rs b/crates/jacquard-api/src/dev_sensorthings/datastream.rs index e63d6928c..72df0e151 100644 --- a/crates/jacquard-api/src/dev_sensorthings/datastream.rs +++ b/crates/jacquard-api/src/dev_sensorthings/datastream.rs @@ -61,127 +61,127 @@ pub mod datastream_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type ObservationType; type UnitOfMeasurement; - type CreatedAt; type Sensor; - type ObservationType; - type ObservedProperty; - type Thing; + type CreatedAt; type Name; + type Thing; + type ObservedProperty; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type ObservationType = Unset; type UnitOfMeasurement = Unset; - type CreatedAt = Unset; type Sensor = Unset; - type ObservationType = Unset; - type ObservedProperty = Unset; - type Thing = Unset; + type CreatedAt = Unset; type Name = Unset; + type Thing = Unset; + type ObservedProperty = Unset; + } + ///State transition - sets the `observation_type` field to Set + pub struct SetObservationType(PhantomData S>); + impl sealed::Sealed for SetObservationType {} + impl State for SetObservationType { + type ObservationType = Set; + type UnitOfMeasurement = S::UnitOfMeasurement; + type Sensor = S::Sensor; + type CreatedAt = S::CreatedAt; + type Name = S::Name; + type Thing = S::Thing; + type ObservedProperty = S::ObservedProperty; } ///State transition - sets the `unit_of_measurement` field to Set pub struct SetUnitOfMeasurement(PhantomData S>); impl sealed::Sealed for SetUnitOfMeasurement {} impl State for SetUnitOfMeasurement { + type ObservationType = S::ObservationType; type UnitOfMeasurement = Set; - type CreatedAt = S::CreatedAt; type Sensor = S::Sensor; - type ObservationType = S::ObservationType; - type ObservedProperty = S::ObservedProperty; - type Thing = S::Thing; + type CreatedAt = S::CreatedAt; type Name = S::Name; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type UnitOfMeasurement = S::UnitOfMeasurement; - type CreatedAt = Set; - type Sensor = S::Sensor; - type ObservationType = S::ObservationType; - type ObservedProperty = S::ObservedProperty; type Thing = S::Thing; - type Name = S::Name; + type ObservedProperty = S::ObservedProperty; } ///State transition - sets the `sensor` field to Set pub struct SetSensor(PhantomData S>); impl sealed::Sealed for SetSensor {} impl State for SetSensor { + type ObservationType = S::ObservationType; type UnitOfMeasurement = S::UnitOfMeasurement; - type CreatedAt = S::CreatedAt; type Sensor = Set; - type ObservationType = S::ObservationType; - type ObservedProperty = S::ObservedProperty; - type Thing = S::Thing; + type CreatedAt = S::CreatedAt; type Name = S::Name; + type Thing = S::Thing; + type ObservedProperty = S::ObservedProperty; } - ///State transition - sets the `observation_type` field to Set - pub struct SetObservationType(PhantomData S>); - impl sealed::Sealed for SetObservationType {} - impl State for SetObservationType { + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type ObservationType = S::ObservationType; type UnitOfMeasurement = S::UnitOfMeasurement; - type CreatedAt = S::CreatedAt; type Sensor = S::Sensor; - type ObservationType = Set; - type ObservedProperty = S::ObservedProperty; - type Thing = S::Thing; + type CreatedAt = Set; type Name = S::Name; + type Thing = S::Thing; + type ObservedProperty = S::ObservedProperty; } - ///State transition - sets the `observed_property` field to Set - pub struct SetObservedProperty(PhantomData S>); - impl sealed::Sealed for SetObservedProperty {} - impl State for SetObservedProperty { + ///State transition - sets the `name` field to Set + pub struct SetName(PhantomData S>); + impl sealed::Sealed for SetName {} + impl State for SetName { + type ObservationType = S::ObservationType; type UnitOfMeasurement = S::UnitOfMeasurement; - type CreatedAt = S::CreatedAt; type Sensor = S::Sensor; - type ObservationType = S::ObservationType; - type ObservedProperty = Set; + type CreatedAt = S::CreatedAt; + type Name = Set; type Thing = S::Thing; - type Name = S::Name; + type ObservedProperty = S::ObservedProperty; } ///State transition - sets the `thing` field to Set pub struct SetThing(PhantomData S>); impl sealed::Sealed for SetThing {} impl State for SetThing { + type ObservationType = S::ObservationType; type UnitOfMeasurement = S::UnitOfMeasurement; - type CreatedAt = S::CreatedAt; type Sensor = S::Sensor; - type ObservationType = S::ObservationType; - type ObservedProperty = S::ObservedProperty; - type Thing = Set; + type CreatedAt = S::CreatedAt; type Name = S::Name; + type Thing = Set; + type ObservedProperty = S::ObservedProperty; } - ///State transition - sets the `name` field to Set - pub struct SetName(PhantomData S>); - impl sealed::Sealed for SetName {} - impl State for SetName { + ///State transition - sets the `observed_property` field to Set + pub struct SetObservedProperty(PhantomData S>); + impl sealed::Sealed for SetObservedProperty {} + impl State for SetObservedProperty { + type ObservationType = S::ObservationType; type UnitOfMeasurement = S::UnitOfMeasurement; - type CreatedAt = S::CreatedAt; type Sensor = S::Sensor; - type ObservationType = S::ObservationType; - type ObservedProperty = S::ObservedProperty; + type CreatedAt = S::CreatedAt; + type Name = S::Name; type Thing = S::Thing; - type Name = Set; + type ObservedProperty = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `observation_type` field + pub struct observation_type(()); ///Marker type for the `unit_of_measurement` field pub struct unit_of_measurement(()); - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `sensor` field pub struct sensor(()); - ///Marker type for the `observation_type` field - pub struct observation_type(()); - ///Marker type for the `observed_property` field - pub struct observed_property(()); - ///Marker type for the `thing` field - pub struct thing(()); + ///Marker type for the `created_at` field + pub struct created_at(()); ///Marker type for the `name` field pub struct name(()); + ///Marker type for the `thing` field + pub struct thing(()); + ///Marker type for the `observed_property` field + pub struct observed_property(()); } } @@ -442,13 +442,13 @@ impl<'a, S: datastream_state::State> DatastreamBuilder<'a, S> { impl<'a, S> DatastreamBuilder<'a, S> where S: datastream_state::State, + S::ObservationType: datastream_state::IsSet, S::UnitOfMeasurement: datastream_state::IsSet, - S::CreatedAt: datastream_state::IsSet, S::Sensor: datastream_state::IsSet, - S::ObservationType: datastream_state::IsSet, - S::ObservedProperty: datastream_state::IsSet, - S::Thing: datastream_state::IsSet, + S::CreatedAt: datastream_state::IsSet, S::Name: datastream_state::IsSet, + S::Thing: datastream_state::IsSet, + S::ObservedProperty: datastream_state::IsSet, { /// Build the final struct pub fn build(self) -> Datastream<'a> { @@ -471,7 +471,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Datastream<'a> { @@ -618,7 +618,7 @@ fn lexicon_doc_dev_sensorthings_datastream() -> ::jacquard_lexicon::lexicon::Lex defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -630,13 +630,13 @@ fn lexicon_doc_dev_sensorthings_datastream() -> ::jacquard_lexicon::lexicon::Lex description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("thing"), - ::jacquard_common::smol_str::SmolStr::new_static("sensor"), - ::jacquard_common::smol_str::SmolStr::new_static("observedProperty"), - ::jacquard_common::smol_str::SmolStr::new_static("unitOfMeasurement"), - ::jacquard_common::smol_str::SmolStr::new_static("observationType"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("thing"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("sensor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("observedProperty"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("unitOfMeasurement"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("observationType"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -644,7 +644,7 @@ fn lexicon_doc_dev_sensorthings_datastream() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -663,7 +663,7 @@ fn lexicon_doc_dev_sensorthings_datastream() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -680,7 +680,9 @@ fn lexicon_doc_dev_sensorthings_datastream() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -695,7 +697,7 @@ fn lexicon_doc_dev_sensorthings_datastream() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "observationType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -718,7 +720,7 @@ fn lexicon_doc_dev_sensorthings_datastream() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "observedArea", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -729,7 +731,7 @@ fn lexicon_doc_dev_sensorthings_datastream() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "observedProperty", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -752,7 +754,7 @@ fn lexicon_doc_dev_sensorthings_datastream() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "resultScaleFactor", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -765,7 +767,9 @@ fn lexicon_doc_dev_sensorthings_datastream() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sensor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sensor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -786,7 +790,9 @@ fn lexicon_doc_dev_sensorthings_datastream() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("thing"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "thing", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -807,7 +813,7 @@ fn lexicon_doc_dev_sensorthings_datastream() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "unitOfMeasurement", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -818,7 +824,7 @@ fn lexicon_doc_dev_sensorthings_datastream() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "verticalDatum", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -844,7 +850,9 @@ fn lexicon_doc_dev_sensorthings_datastream() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("unitOfMeasurement"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "unitOfMeasurement", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -853,8 +861,8 @@ fn lexicon_doc_dev_sensorthings_datastream() -> ::jacquard_lexicon::lexicon::Lex ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("symbol") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("symbol") ], ), nullable: None, @@ -862,7 +870,7 @@ fn lexicon_doc_dev_sensorthings_datastream() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "definition", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -885,7 +893,9 @@ fn lexicon_doc_dev_sensorthings_datastream() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -900,7 +910,9 @@ fn lexicon_doc_dev_sensorthings_datastream() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("symbol"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "symbol", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, 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 b4dd78ed9..ee0912be7 100644 --- a/crates/jacquard-api/src/dev_sensorthings/feature_of_interest.rs +++ b/crates/jacquard-api/src/dev_sensorthings/feature_of_interest.rs @@ -42,8 +42,8 @@ pub mod feature_of_interest_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Feature; type EncodingType; + type Feature; type CreatedAt; type Name; } @@ -51,26 +51,26 @@ pub mod feature_of_interest_state { pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Feature = Unset; type EncodingType = Unset; + type Feature = Unset; type CreatedAt = Unset; type Name = Unset; } - ///State transition - sets the `feature` field to Set - pub struct SetFeature(PhantomData S>); - impl sealed::Sealed for SetFeature {} - impl State for SetFeature { - type Feature = Set; - type EncodingType = S::EncodingType; - type CreatedAt = S::CreatedAt; - type Name = S::Name; - } ///State transition - sets the `encoding_type` field to Set pub struct SetEncodingType(PhantomData S>); impl sealed::Sealed for SetEncodingType {} impl State for SetEncodingType { - type Feature = S::Feature; type EncodingType = Set; + type Feature = S::Feature; + type CreatedAt = S::CreatedAt; + type Name = S::Name; + } + ///State transition - sets the `feature` field to Set + pub struct SetFeature(PhantomData S>); + impl sealed::Sealed for SetFeature {} + impl State for SetFeature { + type EncodingType = S::EncodingType; + type Feature = Set; type CreatedAt = S::CreatedAt; type Name = S::Name; } @@ -78,8 +78,8 @@ pub mod feature_of_interest_state { pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Feature = S::Feature; type EncodingType = S::EncodingType; + type Feature = S::Feature; type CreatedAt = Set; type Name = S::Name; } @@ -87,18 +87,18 @@ pub mod feature_of_interest_state { pub struct SetName(PhantomData S>); impl sealed::Sealed for SetName {} impl State for SetName { - type Feature = S::Feature; type EncodingType = S::EncodingType; + type Feature = S::Feature; type CreatedAt = S::CreatedAt; type Name = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `feature` field - pub struct feature(()); ///Marker type for the `encoding_type` field pub struct encoding_type(()); + ///Marker type for the `feature` field + pub struct feature(()); ///Marker type for the `created_at` field pub struct created_at(()); ///Marker type for the `name` field @@ -235,8 +235,8 @@ where impl<'a, S> FeatureOfInterestBuilder<'a, S> where S: feature_of_interest_state::State, - S::Feature: feature_of_interest_state::IsSet, S::EncodingType: feature_of_interest_state::IsSet, + S::Feature: feature_of_interest_state::IsSet, S::CreatedAt: feature_of_interest_state::IsSet, S::Name: feature_of_interest_state::IsSet, { @@ -255,7 +255,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> FeatureOfInterest<'a> { @@ -397,7 +397,7 @@ fn lexicon_doc_dev_sensorthings_featureOfInterest() -> ::jacquard_lexicon::lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -409,10 +409,10 @@ fn lexicon_doc_dev_sensorthings_featureOfInterest() -> ::jacquard_lexicon::lexic description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("encodingType"), - ::jacquard_common::smol_str::SmolStr::new_static("feature"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("encodingType"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("feature"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -420,7 +420,7 @@ fn lexicon_doc_dev_sensorthings_featureOfInterest() -> ::jacquard_lexicon::lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -439,7 +439,7 @@ fn lexicon_doc_dev_sensorthings_featureOfInterest() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -456,7 +456,7 @@ fn lexicon_doc_dev_sensorthings_featureOfInterest() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "encodingType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -477,13 +477,17 @@ fn lexicon_doc_dev_sensorthings_featureOfInterest() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("feature"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "feature", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, diff --git a/crates/jacquard-api/src/dev_sensorthings/multi_observation.rs b/crates/jacquard-api/src/dev_sensorthings/multi_observation.rs index 2184cc36f..753f790fe 100644 --- a/crates/jacquard-api/src/dev_sensorthings/multi_observation.rs +++ b/crates/jacquard-api/src/dev_sensorthings/multi_observation.rs @@ -61,8 +61,8 @@ pub mod multi_observation_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Sensor; type Entries; + type Sensor; type PhenomenonTime; type Thing; } @@ -70,26 +70,26 @@ pub mod multi_observation_state { pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Sensor = Unset; type Entries = Unset; + type Sensor = Unset; type PhenomenonTime = Unset; type Thing = Unset; } - ///State transition - sets the `sensor` field to Set - pub struct SetSensor(PhantomData S>); - impl sealed::Sealed for SetSensor {} - impl State for SetSensor { - type Sensor = Set; - type Entries = S::Entries; - type PhenomenonTime = S::PhenomenonTime; - type Thing = S::Thing; - } ///State transition - sets the `entries` field to Set pub struct SetEntries(PhantomData S>); impl sealed::Sealed for SetEntries {} impl State for SetEntries { - type Sensor = S::Sensor; type Entries = Set; + type Sensor = S::Sensor; + type PhenomenonTime = S::PhenomenonTime; + type Thing = S::Thing; + } + ///State transition - sets the `sensor` field to Set + pub struct SetSensor(PhantomData S>); + impl sealed::Sealed for SetSensor {} + impl State for SetSensor { + type Entries = S::Entries; + type Sensor = Set; type PhenomenonTime = S::PhenomenonTime; type Thing = S::Thing; } @@ -97,8 +97,8 @@ pub mod multi_observation_state { pub struct SetPhenomenonTime(PhantomData S>); impl sealed::Sealed for SetPhenomenonTime {} impl State for SetPhenomenonTime { - type Sensor = S::Sensor; type Entries = S::Entries; + type Sensor = S::Sensor; type PhenomenonTime = Set; type Thing = S::Thing; } @@ -106,18 +106,18 @@ pub mod multi_observation_state { pub struct SetThing(PhantomData S>); impl sealed::Sealed for SetThing {} impl State for SetThing { - type Sensor = S::Sensor; type Entries = S::Entries; + type Sensor = S::Sensor; type PhenomenonTime = S::PhenomenonTime; type Thing = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `sensor` field - pub struct sensor(()); ///Marker type for the `entries` field pub struct entries(()); + ///Marker type for the `sensor` field + pub struct sensor(()); ///Marker type for the `phenomenon_time` field pub struct phenomenon_time(()); ///Marker type for the `thing` field @@ -318,8 +318,8 @@ where impl<'a, S> MultiObservationBuilder<'a, S> where S: multi_observation_state::State, - S::Sensor: multi_observation_state::IsSet, S::Entries: multi_observation_state::IsSet, + S::Sensor: multi_observation_state::IsSet, S::PhenomenonTime: multi_observation_state::IsSet, S::Thing: multi_observation_state::IsSet, { @@ -341,7 +341,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> MultiObservation<'a> { @@ -585,7 +585,7 @@ fn lexicon_doc_dev_sensorthings_multiObservation() -> ::jacquard_lexicon::lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -597,10 +597,10 @@ fn lexicon_doc_dev_sensorthings_multiObservation() -> ::jacquard_lexicon::lexico description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("thing"), - ::jacquard_common::smol_str::SmolStr::new_static("sensor"), - ::jacquard_common::smol_str::SmolStr::new_static("phenomenonTime"), - ::jacquard_common::smol_str::SmolStr::new_static("entries") + ::jacquard_common::deps::smol_str::SmolStr::new_static("thing"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("sensor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("phenomenonTime"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("entries") ], ), nullable: None, @@ -608,7 +608,7 @@ fn lexicon_doc_dev_sensorthings_multiObservation() -> ::jacquard_lexicon::lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "derivedFrom", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -636,7 +636,9 @@ fn lexicon_doc_dev_sensorthings_multiObservation() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("entries"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "entries", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -654,7 +656,7 @@ fn lexicon_doc_dev_sensorthings_multiObservation() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "phenomenonTime", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -677,7 +679,7 @@ fn lexicon_doc_dev_sensorthings_multiObservation() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "phenomenonTimeEnd", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -700,7 +702,7 @@ fn lexicon_doc_dev_sensorthings_multiObservation() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "resultQuality", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -721,7 +723,7 @@ fn lexicon_doc_dev_sensorthings_multiObservation() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "resultTime", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -744,7 +746,9 @@ fn lexicon_doc_dev_sensorthings_multiObservation() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sensor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sensor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -765,7 +769,9 @@ fn lexicon_doc_dev_sensorthings_multiObservation() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("thing"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "thing", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -791,7 +797,7 @@ fn lexicon_doc_dev_sensorthings_multiObservation() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "multiObservationEntry", ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { @@ -802,9 +808,9 @@ fn lexicon_doc_dev_sensorthings_multiObservation() -> ::jacquard_lexicon::lexico ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("observedProperty"), - ::jacquard_common::smol_str::SmolStr::new_static("unitOfMeasurement"), - ::jacquard_common::smol_str::SmolStr::new_static("result") + ::jacquard_common::deps::smol_str::SmolStr::new_static("observedProperty"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("unitOfMeasurement"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("result") ], ), nullable: None, @@ -812,7 +818,7 @@ fn lexicon_doc_dev_sensorthings_multiObservation() -> ::jacquard_lexicon::lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "observedProperty", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -835,7 +841,9 @@ fn lexicon_doc_dev_sensorthings_multiObservation() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("result"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "result", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -849,7 +857,7 @@ fn lexicon_doc_dev_sensorthings_multiObservation() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "resultQuality", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -870,7 +878,7 @@ fn lexicon_doc_dev_sensorthings_multiObservation() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "resultScaleFactor", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -883,7 +891,7 @@ fn lexicon_doc_dev_sensorthings_multiObservation() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "unitOfMeasurement", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -941,51 +949,51 @@ pub mod multi_observation_entry_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type ObservedProperty; - type Result; type UnitOfMeasurement; + type Result; + type ObservedProperty; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type ObservedProperty = Unset; - type Result = Unset; type UnitOfMeasurement = Unset; + type Result = Unset; + type ObservedProperty = Unset; } - ///State transition - sets the `observed_property` field to Set - pub struct SetObservedProperty(PhantomData S>); - impl sealed::Sealed for SetObservedProperty {} - impl State for SetObservedProperty { - type ObservedProperty = Set; + ///State transition - sets the `unit_of_measurement` field to Set + pub struct SetUnitOfMeasurement(PhantomData S>); + impl sealed::Sealed for SetUnitOfMeasurement {} + impl State for SetUnitOfMeasurement { + type UnitOfMeasurement = Set; type Result = S::Result; - type UnitOfMeasurement = S::UnitOfMeasurement; + type ObservedProperty = S::ObservedProperty; } ///State transition - sets the `result` field to Set pub struct SetResult(PhantomData S>); impl sealed::Sealed for SetResult {} impl State for SetResult { - type ObservedProperty = S::ObservedProperty; - type Result = Set; type UnitOfMeasurement = S::UnitOfMeasurement; - } - ///State transition - sets the `unit_of_measurement` field to Set - pub struct SetUnitOfMeasurement(PhantomData S>); - impl sealed::Sealed for SetUnitOfMeasurement {} - impl State for SetUnitOfMeasurement { + type Result = Set; type ObservedProperty = S::ObservedProperty; + } + ///State transition - sets the `observed_property` field to Set + pub struct SetObservedProperty(PhantomData S>); + impl sealed::Sealed for SetObservedProperty {} + impl State for SetObservedProperty { + type UnitOfMeasurement = S::UnitOfMeasurement; type Result = S::Result; - type UnitOfMeasurement = Set; + type ObservedProperty = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `observed_property` field - pub struct observed_property(()); - ///Marker type for the `result` field - pub struct result(()); ///Marker type for the `unit_of_measurement` field pub struct unit_of_measurement(()); + ///Marker type for the `result` field + pub struct result(()); + ///Marker type for the `observed_property` field + pub struct observed_property(()); } } @@ -1123,9 +1131,9 @@ where impl<'a, S> MultiObservationEntryBuilder<'a, S> where S: multi_observation_entry_state::State, - S::ObservedProperty: multi_observation_entry_state::IsSet, - S::Result: multi_observation_entry_state::IsSet, S::UnitOfMeasurement: multi_observation_entry_state::IsSet, + S::Result: multi_observation_entry_state::IsSet, + S::ObservedProperty: multi_observation_entry_state::IsSet, { /// Build the final struct pub fn build(self) -> MultiObservationEntry<'a> { @@ -1142,7 +1150,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> MultiObservationEntry<'a> { diff --git a/crates/jacquard-api/src/dev_sensorthings/observation_batch.rs b/crates/jacquard-api/src/dev_sensorthings/observation_batch.rs index fac815c70..dec265e01 100644 --- a/crates/jacquard-api/src/dev_sensorthings/observation_batch.rs +++ b/crates/jacquard-api/src/dev_sensorthings/observation_batch.rs @@ -170,7 +170,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> BatchEntry<'a> { @@ -300,13 +300,13 @@ fn lexicon_doc_dev_sensorthings_observationBatch() -> ::jacquard_lexicon::lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("batchEntry"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("batchEntry"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("t"), - ::jacquard_common::smol_str::SmolStr::new_static("result") + ::jacquard_common::deps::smol_str::SmolStr::new_static("t"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("result") ], ), nullable: None, @@ -314,7 +314,7 @@ fn lexicon_doc_dev_sensorthings_observationBatch() -> ::jacquard_lexicon::lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("q"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("q"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -329,7 +329,9 @@ fn lexicon_doc_dev_sensorthings_observationBatch() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("result"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "result", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: Some( ::jacquard_common::CowStr::new_static( @@ -347,7 +349,7 @@ fn lexicon_doc_dev_sensorthings_observationBatch() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("t"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("t"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("phenomenonTime"), @@ -370,7 +372,7 @@ fn lexicon_doc_dev_sensorthings_observationBatch() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -382,10 +384,10 @@ fn lexicon_doc_dev_sensorthings_observationBatch() -> ::jacquard_lexicon::lexico description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("datastream"), - ::jacquard_common::smol_str::SmolStr::new_static("windowStart"), - ::jacquard_common::smol_str::SmolStr::new_static("windowEnd"), - ::jacquard_common::smol_str::SmolStr::new_static("observations") + ::jacquard_common::deps::smol_str::SmolStr::new_static("datastream"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("windowStart"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("windowEnd"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("observations") ], ), nullable: None, @@ -393,7 +395,7 @@ fn lexicon_doc_dev_sensorthings_observationBatch() -> ::jacquard_lexicon::lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "datastream", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -412,7 +414,7 @@ fn lexicon_doc_dev_sensorthings_observationBatch() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "observations", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -430,7 +432,7 @@ fn lexicon_doc_dev_sensorthings_observationBatch() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "windowEnd", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -449,7 +451,7 @@ fn lexicon_doc_dev_sensorthings_observationBatch() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "windowStart", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -526,65 +528,65 @@ pub mod observation_batch_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type WindowEnd; type Datastream; type WindowStart; - type WindowEnd; type Observations; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type WindowEnd = Unset; type Datastream = Unset; type WindowStart = Unset; - type WindowEnd = Unset; type Observations = Unset; } + ///State transition - sets the `window_end` field to Set + pub struct SetWindowEnd(PhantomData S>); + impl sealed::Sealed for SetWindowEnd {} + impl State for SetWindowEnd { + type WindowEnd = Set; + type Datastream = S::Datastream; + type WindowStart = S::WindowStart; + type Observations = S::Observations; + } ///State transition - sets the `datastream` field to Set pub struct SetDatastream(PhantomData S>); impl sealed::Sealed for SetDatastream {} impl State for SetDatastream { + type WindowEnd = S::WindowEnd; type Datastream = Set; type WindowStart = S::WindowStart; - type WindowEnd = S::WindowEnd; type Observations = S::Observations; } ///State transition - sets the `window_start` field to Set pub struct SetWindowStart(PhantomData S>); impl sealed::Sealed for SetWindowStart {} impl State for SetWindowStart { - type Datastream = S::Datastream; - type WindowStart = Set; type WindowEnd = S::WindowEnd; - type Observations = S::Observations; - } - ///State transition - sets the `window_end` field to Set - pub struct SetWindowEnd(PhantomData S>); - impl sealed::Sealed for SetWindowEnd {} - impl State for SetWindowEnd { type Datastream = S::Datastream; - type WindowStart = S::WindowStart; - type WindowEnd = Set; + type WindowStart = Set; type Observations = S::Observations; } ///State transition - sets the `observations` field to Set pub struct SetObservations(PhantomData S>); impl sealed::Sealed for SetObservations {} impl State for SetObservations { + type WindowEnd = S::WindowEnd; type Datastream = S::Datastream; type WindowStart = S::WindowStart; - type WindowEnd = S::WindowEnd; type Observations = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `window_end` field + pub struct window_end(()); ///Marker type for the `datastream` field pub struct datastream(()); ///Marker type for the `window_start` field pub struct window_start(()); - ///Marker type for the `window_end` field - pub struct window_end(()); ///Marker type for the `observations` field pub struct observations(()); } @@ -701,9 +703,9 @@ where impl<'a, S> ObservationBatchBuilder<'a, S> where S: observation_batch_state::State, + S::WindowEnd: observation_batch_state::IsSet, S::Datastream: observation_batch_state::IsSet, S::WindowStart: observation_batch_state::IsSet, - S::WindowEnd: observation_batch_state::IsSet, S::Observations: observation_batch_state::IsSet, { /// Build the final struct @@ -720,7 +722,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ObservationBatch<'a> { diff --git a/crates/jacquard-api/src/dev_sensorthings/observed_property.rs b/crates/jacquard-api/src/dev_sensorthings/observed_property.rs index 142f88370..d8a7305f2 100644 --- a/crates/jacquard-api/src/dev_sensorthings/observed_property.rs +++ b/crates/jacquard-api/src/dev_sensorthings/observed_property.rs @@ -214,7 +214,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ObservedProperty<'a> { @@ -342,7 +342,7 @@ fn lexicon_doc_dev_sensorthings_observedProperty() -> ::jacquard_lexicon::lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -354,9 +354,9 @@ fn lexicon_doc_dev_sensorthings_observedProperty() -> ::jacquard_lexicon::lexico description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("definition"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("definition"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -364,7 +364,7 @@ fn lexicon_doc_dev_sensorthings_observedProperty() -> ::jacquard_lexicon::lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -383,7 +383,7 @@ fn lexicon_doc_dev_sensorthings_observedProperty() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "definition", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -406,7 +406,7 @@ fn lexicon_doc_dev_sensorthings_observedProperty() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -423,7 +423,9 @@ fn lexicon_doc_dev_sensorthings_observedProperty() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, diff --git a/crates/jacquard-api/src/dev_sensorthings/sensor.rs b/crates/jacquard-api/src/dev_sensorthings/sensor.rs index f6f0c0cf9..312c27dc7 100644 --- a/crates/jacquard-api/src/dev_sensorthings/sensor.rs +++ b/crates/jacquard-api/src/dev_sensorthings/sensor.rs @@ -43,51 +43,51 @@ pub mod sensor_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type EncodingType; type Name; type CreatedAt; - type EncodingType; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type EncodingType = Unset; type Name = Unset; type CreatedAt = Unset; - type EncodingType = Unset; + } + ///State transition - sets the `encoding_type` field to Set + pub struct SetEncodingType(PhantomData S>); + impl sealed::Sealed for SetEncodingType {} + impl State for SetEncodingType { + type EncodingType = Set; + type Name = S::Name; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `name` field to Set pub struct SetName(PhantomData S>); impl sealed::Sealed for SetName {} impl State for SetName { + type EncodingType = S::EncodingType; type Name = Set; type CreatedAt = S::CreatedAt; - type EncodingType = S::EncodingType; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Name = S::Name; - type CreatedAt = Set; type EncodingType = S::EncodingType; - } - ///State transition - sets the `encoding_type` field to Set - pub struct SetEncodingType(PhantomData S>); - impl sealed::Sealed for SetEncodingType {} - impl State for SetEncodingType { type Name = S::Name; - type CreatedAt = S::CreatedAt; - type EncodingType = Set; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `encoding_type` field + pub struct encoding_type(()); ///Marker type for the `name` field pub struct name(()); ///Marker type for the `created_at` field pub struct created_at(()); - ///Marker type for the `encoding_type` field - pub struct encoding_type(()); } } @@ -217,9 +217,9 @@ where impl<'a, S> SensorBuilder<'a, S> where S: sensor_state::State, + S::EncodingType: sensor_state::IsSet, S::Name: sensor_state::IsSet, S::CreatedAt: sensor_state::IsSet, - S::EncodingType: sensor_state::IsSet, { /// Build the final struct pub fn build(self) -> Sensor<'a> { @@ -236,7 +236,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Sensor<'a> { @@ -390,7 +390,7 @@ fn lexicon_doc_dev_sensorthings_sensor() -> ::jacquard_lexicon::lexicon::Lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -402,9 +402,9 @@ fn lexicon_doc_dev_sensorthings_sensor() -> ::jacquard_lexicon::lexicon::Lexicon description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("encodingType"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("encodingType"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -412,7 +412,7 @@ fn lexicon_doc_dev_sensorthings_sensor() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -431,7 +431,7 @@ fn lexicon_doc_dev_sensorthings_sensor() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -448,7 +448,7 @@ fn lexicon_doc_dev_sensorthings_sensor() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "encodingType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -469,7 +469,7 @@ fn lexicon_doc_dev_sensorthings_sensor() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "metadata", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -490,7 +490,9 @@ fn lexicon_doc_dev_sensorthings_sensor() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, diff --git a/crates/jacquard-api/src/dev_tsunagite/chart.rs b/crates/jacquard-api/src/dev_tsunagite/chart.rs index 6a62994f1..843298a34 100644 --- a/crates/jacquard-api/src/dev_tsunagite/chart.rs +++ b/crates/jacquard-api/src/dev_tsunagite/chart.rs @@ -34,7 +34,7 @@ pub struct Chart<'a> { pub jacket_artist: std::option::Option>, /// The md5 hashes of any versions of the chart that are up-to-date enough to be leaderboard-legal. Optional if you will not perform leaderboard resets upon any chart changes. #[serde(skip_serializing_if = "std::option::Option::is_none")] - pub ranked_versions: std::option::Option>, + pub ranked_versions: std::option::Option>, /// The numeric difficulty rating displayed to players, formatted as a string to support decimal or + difficulties. #[serde(borrow)] pub rating: jacquard_common::CowStr<'a>, @@ -125,7 +125,7 @@ pub struct ChartBuilder<'a, S: chart_state::State> { ::core::option::Option>, ::core::option::Option>, ::core::option::Option>, - ::core::option::Option>, + ::core::option::Option>, ::core::option::Option>, ::core::option::Option>, ), @@ -230,13 +230,16 @@ impl<'a, S: chart_state::State> ChartBuilder<'a, S> { /// Set the `rankedVersions` field (optional) pub fn ranked_versions( mut self, - value: impl Into>>, + value: impl Into>>, ) -> Self { self.__unsafe_private_named.4 = value.into(); self } /// Set the `rankedVersions` field to an Option value (optional) - pub fn maybe_ranked_versions(mut self, value: Option>) -> Self { + pub fn maybe_ranked_versions( + mut self, + value: Option>, + ) -> Self { self.__unsafe_private_named.4 = value; self } @@ -305,7 +308,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Chart<'a> { @@ -430,7 +433,7 @@ fn lexicon_doc_dev_tsunagite_chart() -> ::jacquard_lexicon::lexicon::LexiconDoc< defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -442,10 +445,10 @@ fn lexicon_doc_dev_tsunagite_chart() -> ::jacquard_lexicon::lexicon::LexiconDoc< description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("game"), - ::jacquard_common::smol_str::SmolStr::new_static("song"), - ::jacquard_common::smol_str::SmolStr::new_static("difficulty"), - ::jacquard_common::smol_str::SmolStr::new_static("rating") + ::jacquard_common::deps::smol_str::SmolStr::new_static("game"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("song"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("difficulty"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("rating") ], ), nullable: None, @@ -453,7 +456,7 @@ fn lexicon_doc_dev_tsunagite_chart() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "difficulty", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -470,7 +473,9 @@ fn lexicon_doc_dev_tsunagite_chart() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("game"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "game", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -491,7 +496,9 @@ fn lexicon_doc_dev_tsunagite_chart() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("jacket"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "jacket", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -499,7 +506,7 @@ fn lexicon_doc_dev_tsunagite_chart() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "jacketArtist", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -510,7 +517,7 @@ fn lexicon_doc_dev_tsunagite_chart() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "rankedVersions", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -529,7 +536,9 @@ fn lexicon_doc_dev_tsunagite_chart() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rating"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "rating", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -548,7 +557,9 @@ fn lexicon_doc_dev_tsunagite_chart() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("song"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "song", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/dev_tsunagite/difficulty.rs b/crates/jacquard-api/src/dev_tsunagite/difficulty.rs index 7a34586d4..665dc8935 100644 --- a/crates/jacquard-api/src/dev_tsunagite/difficulty.rs +++ b/crates/jacquard-api/src/dev_tsunagite/difficulty.rs @@ -139,7 +139,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Difficulty<'a> { @@ -240,7 +240,7 @@ fn lexicon_doc_dev_tsunagite_difficulty() -> ::jacquard_lexicon::lexicon::Lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -252,7 +252,7 @@ fn lexicon_doc_dev_tsunagite_difficulty() -> ::jacquard_lexicon::lexicon::Lexico description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name") ], ), nullable: None, @@ -260,7 +260,9 @@ fn lexicon_doc_dev_tsunagite_difficulty() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("color"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "color", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -279,7 +281,9 @@ fn lexicon_doc_dev_tsunagite_difficulty() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/dev_tsunagite/game.rs b/crates/jacquard-api/src/dev_tsunagite/game.rs index ee2984df9..7b7fe486a 100644 --- a/crates/jacquard-api/src/dev_tsunagite/game.rs +++ b/crates/jacquard-api/src/dev_tsunagite/game.rs @@ -42,50 +42,50 @@ pub mod enum_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Name; - type Id; type Values; + type Id; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Name = Unset; - type Id = Unset; type Values = Unset; + type Id = Unset; } ///State transition - sets the `name` field to Set pub struct SetName(PhantomData S>); impl sealed::Sealed for SetName {} impl State for SetName { type Name = Set; - type Id = S::Id; - type Values = S::Values; - } - ///State transition - sets the `id` field to Set - pub struct SetId(PhantomData S>); - impl sealed::Sealed for SetId {} - impl State for SetId { - type Name = S::Name; - type Id = Set; type Values = S::Values; + type Id = S::Id; } ///State transition - sets the `values` field to Set pub struct SetValues(PhantomData S>); impl sealed::Sealed for SetValues {} impl State for SetValues { type Name = S::Name; - type Id = S::Id; type Values = Set; + type Id = S::Id; + } + ///State transition - sets the `id` field to Set + pub struct SetId(PhantomData S>); + impl sealed::Sealed for SetId {} + impl State for SetId { + type Name = S::Name; + type Values = S::Values; + type Id = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `name` field pub struct name(()); - ///Marker type for the `id` field - pub struct id(()); ///Marker type for the `values` field pub struct values(()); + ///Marker type for the `id` field + pub struct id(()); } } @@ -187,8 +187,8 @@ impl<'a, S> EnumBuilder<'a, S> where S: enum_state::State, S::Name: enum_state::IsSet, - S::Id: enum_state::IsSet, S::Values: enum_state::IsSet, + S::Id: enum_state::IsSet, { /// Build the final struct pub fn build(self) -> Enum<'a> { @@ -203,7 +203,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Enum<'a> { @@ -225,7 +225,7 @@ fn lexicon_doc_dev_tsunagite_game() -> ::jacquard_lexicon::lexicon::LexiconDoc<' defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("enum"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("enum"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -234,9 +234,9 @@ fn lexicon_doc_dev_tsunagite_game() -> ::jacquard_lexicon::lexicon::LexiconDoc<' ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("id"), - ::jacquard_common::smol_str::SmolStr::new_static("values") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("values") ], ), nullable: None, @@ -244,7 +244,7 @@ fn lexicon_doc_dev_tsunagite_game() -> ::jacquard_lexicon::lexicon::LexiconDoc<' #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -265,7 +265,9 @@ fn lexicon_doc_dev_tsunagite_game() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -274,7 +276,9 @@ fn lexicon_doc_dev_tsunagite_game() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("values"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "values", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -296,7 +300,7 @@ fn lexicon_doc_dev_tsunagite_game() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -308,10 +312,10 @@ fn lexicon_doc_dev_tsunagite_game() -> ::jacquard_lexicon::lexicon::LexiconDoc<' description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("judgments"), - ::jacquard_common::smol_str::SmolStr::new_static("scoreComponents"), - ::jacquard_common::smol_str::SmolStr::new_static("defaultComponent") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("judgments"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("scoreComponents"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("defaultComponent") ], ), nullable: None, @@ -319,7 +323,7 @@ fn lexicon_doc_dev_tsunagite_game() -> ::jacquard_lexicon::lexicon::LexiconDoc<' #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "defaultComponent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -342,7 +346,7 @@ fn lexicon_doc_dev_tsunagite_game() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "inputMethods", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -372,7 +376,7 @@ fn lexicon_doc_dev_tsunagite_game() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "judgments", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -392,7 +396,9 @@ fn lexicon_doc_dev_tsunagite_game() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("logo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "logo", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -400,7 +406,9 @@ fn lexicon_doc_dev_tsunagite_game() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("modes"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "modes", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -428,7 +436,9 @@ fn lexicon_doc_dev_tsunagite_game() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -437,7 +447,7 @@ fn lexicon_doc_dev_tsunagite_game() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "scoreComponents", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -466,7 +476,7 @@ fn lexicon_doc_dev_tsunagite_game() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("percentage"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("percentage"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -475,10 +485,10 @@ fn lexicon_doc_dev_tsunagite_game() -> ::jacquard_lexicon::lexicon::LexiconDoc<' ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("id"), - ::jacquard_common::smol_str::SmolStr::new_static("maximum"), - ::jacquard_common::smol_str::SmolStr::new_static("precision") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("maximum"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("precision") ], ), nullable: None, @@ -486,7 +496,7 @@ fn lexicon_doc_dev_tsunagite_game() -> ::jacquard_lexicon::lexicon::LexiconDoc<' #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -507,7 +517,9 @@ fn lexicon_doc_dev_tsunagite_game() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("maximum"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "maximum", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -518,7 +530,9 @@ fn lexicon_doc_dev_tsunagite_game() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -527,7 +541,7 @@ fn lexicon_doc_dev_tsunagite_game() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "precision", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -544,7 +558,7 @@ fn lexicon_doc_dev_tsunagite_game() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("points"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("points"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -553,8 +567,8 @@ fn lexicon_doc_dev_tsunagite_game() -> ::jacquard_lexicon::lexicon::LexiconDoc<' ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("id") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id") ], ), nullable: None, @@ -562,7 +576,7 @@ fn lexicon_doc_dev_tsunagite_game() -> ::jacquard_lexicon::lexicon::LexiconDoc<' #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -583,7 +597,9 @@ fn lexicon_doc_dev_tsunagite_game() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("maximum"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "maximum", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -594,7 +610,9 @@ fn lexicon_doc_dev_tsunagite_game() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -607,7 +625,7 @@ fn lexicon_doc_dev_tsunagite_game() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("text"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -616,8 +634,8 @@ fn lexicon_doc_dev_tsunagite_game() -> ::jacquard_lexicon::lexicon::LexiconDoc<' ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("id") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id") ], ), nullable: None, @@ -625,7 +643,7 @@ fn lexicon_doc_dev_tsunagite_game() -> ::jacquard_lexicon::lexicon::LexiconDoc<' #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -646,7 +664,9 @@ fn lexicon_doc_dev_tsunagite_game() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -757,8 +777,8 @@ pub mod game_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type DefaultComponent; type Judgments; + type DefaultComponent; type ScoreComponents; type Name; } @@ -766,26 +786,26 @@ pub mod game_state { pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type DefaultComponent = Unset; type Judgments = Unset; + type DefaultComponent = Unset; type ScoreComponents = Unset; type Name = Unset; } - ///State transition - sets the `default_component` field to Set - pub struct SetDefaultComponent(PhantomData S>); - impl sealed::Sealed for SetDefaultComponent {} - impl State for SetDefaultComponent { - type DefaultComponent = Set; - type Judgments = S::Judgments; - type ScoreComponents = S::ScoreComponents; - type Name = S::Name; - } ///State transition - sets the `judgments` field to Set pub struct SetJudgments(PhantomData S>); impl sealed::Sealed for SetJudgments {} impl State for SetJudgments { - type DefaultComponent = S::DefaultComponent; type Judgments = Set; + type DefaultComponent = S::DefaultComponent; + type ScoreComponents = S::ScoreComponents; + type Name = S::Name; + } + ///State transition - sets the `default_component` field to Set + pub struct SetDefaultComponent(PhantomData S>); + impl sealed::Sealed for SetDefaultComponent {} + impl State for SetDefaultComponent { + type Judgments = S::Judgments; + type DefaultComponent = Set; type ScoreComponents = S::ScoreComponents; type Name = S::Name; } @@ -793,8 +813,8 @@ pub mod game_state { pub struct SetScoreComponents(PhantomData S>); impl sealed::Sealed for SetScoreComponents {} impl State for SetScoreComponents { - type DefaultComponent = S::DefaultComponent; type Judgments = S::Judgments; + type DefaultComponent = S::DefaultComponent; type ScoreComponents = Set; type Name = S::Name; } @@ -802,18 +822,18 @@ pub mod game_state { pub struct SetName(PhantomData S>); impl sealed::Sealed for SetName {} impl State for SetName { - type DefaultComponent = S::DefaultComponent; type Judgments = S::Judgments; + type DefaultComponent = S::DefaultComponent; type ScoreComponents = S::ScoreComponents; type Name = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `default_component` field - pub struct default_component(()); ///Marker type for the `judgments` field pub struct judgments(()); + ///Marker type for the `default_component` field + pub struct default_component(()); ///Marker type for the `score_components` field pub struct score_components(()); ///Marker type for the `name` field @@ -998,8 +1018,8 @@ where impl<'a, S> GameBuilder<'a, S> where S: game_state::State, - S::DefaultComponent: game_state::IsSet, S::Judgments: game_state::IsSet, + S::DefaultComponent: game_state::IsSet, S::ScoreComponents: game_state::IsSet, S::Name: game_state::IsSet, { @@ -1020,7 +1040,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Game<'a> { @@ -1175,67 +1195,67 @@ pub mod percentage_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Maximum; type Name; - type Precision; type Id; + type Maximum; + type Precision; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Maximum = Unset; type Name = Unset; - type Precision = Unset; type Id = Unset; - } - ///State transition - sets the `maximum` field to Set - pub struct SetMaximum(PhantomData S>); - impl sealed::Sealed for SetMaximum {} - impl State for SetMaximum { - type Maximum = Set; - type Name = S::Name; - type Precision = S::Precision; - type Id = S::Id; + type Maximum = Unset; + type Precision = Unset; } ///State transition - sets the `name` field to Set pub struct SetName(PhantomData S>); impl sealed::Sealed for SetName {} impl State for SetName { - type Maximum = S::Maximum; type Name = Set; - type Precision = S::Precision; type Id = S::Id; - } - ///State transition - sets the `precision` field to Set - pub struct SetPrecision(PhantomData S>); - impl sealed::Sealed for SetPrecision {} - impl State for SetPrecision { type Maximum = S::Maximum; - type Name = S::Name; - type Precision = Set; - type Id = S::Id; + type Precision = S::Precision; } ///State transition - sets the `id` field to Set pub struct SetId(PhantomData S>); impl sealed::Sealed for SetId {} impl State for SetId { + type Name = S::Name; + type Id = Set; type Maximum = S::Maximum; + type Precision = S::Precision; + } + ///State transition - sets the `maximum` field to Set + pub struct SetMaximum(PhantomData S>); + impl sealed::Sealed for SetMaximum {} + impl State for SetMaximum { type Name = S::Name; + type Id = S::Id; + type Maximum = Set; type Precision = S::Precision; - type Id = Set; + } + ///State transition - sets the `precision` field to Set + pub struct SetPrecision(PhantomData S>); + impl sealed::Sealed for SetPrecision {} + impl State for SetPrecision { + type Name = S::Name; + type Id = S::Id; + type Maximum = S::Maximum; + type Precision = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `maximum` field - pub struct maximum(()); ///Marker type for the `name` field pub struct name(()); - ///Marker type for the `precision` field - pub struct precision(()); ///Marker type for the `id` field pub struct id(()); + ///Marker type for the `maximum` field + pub struct maximum(()); + ///Marker type for the `precision` field + pub struct precision(()); } } @@ -1356,10 +1376,10 @@ where impl<'a, S> PercentageBuilder<'a, S> where S: percentage_state::State, - S::Maximum: percentage_state::IsSet, S::Name: percentage_state::IsSet, - S::Precision: percentage_state::IsSet, S::Id: percentage_state::IsSet, + S::Maximum: percentage_state::IsSet, + S::Precision: percentage_state::IsSet, { /// Build the final struct pub fn build(self) -> Percentage<'a> { @@ -1375,7 +1395,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Percentage<'a> { @@ -1609,7 +1629,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Points<'a> { @@ -1698,37 +1718,37 @@ pub mod text_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Name; type Id; + type Name; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Name = Unset; type Id = Unset; - } - ///State transition - sets the `name` field to Set - pub struct SetName(PhantomData S>); - impl sealed::Sealed for SetName {} - impl State for SetName { - type Name = Set; - type Id = S::Id; + type Name = Unset; } ///State transition - sets the `id` field to Set pub struct SetId(PhantomData S>); impl sealed::Sealed for SetId {} impl State for SetId { - type Name = S::Name; type Id = Set; + type Name = S::Name; + } + ///State transition - sets the `name` field to Set + pub struct SetName(PhantomData S>); + impl sealed::Sealed for SetName {} + impl State for SetName { + type Id = S::Id; + type Name = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `name` field - pub struct name(()); ///Marker type for the `id` field pub struct id(()); + ///Marker type for the `name` field + pub struct name(()); } } @@ -1809,8 +1829,8 @@ where impl<'a, S> TextBuilder<'a, S> where S: text_state::State, - S::Name: text_state::IsSet, S::Id: text_state::IsSet, + S::Name: text_state::IsSet, { /// Build the final struct pub fn build(self) -> Text<'a> { @@ -1824,7 +1844,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Text<'a> { diff --git a/crates/jacquard-api/src/dev_tsunagite/song.rs b/crates/jacquard-api/src/dev_tsunagite/song.rs index bc36036eb..a2f3d0a73 100644 --- a/crates/jacquard-api/src/dev_tsunagite/song.rs +++ b/crates/jacquard-api/src/dev_tsunagite/song.rs @@ -318,7 +318,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Song<'a> { @@ -423,7 +423,7 @@ fn lexicon_doc_dev_tsunagite_song() -> ::jacquard_lexicon::lexicon::LexiconDoc<' defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -435,9 +435,9 @@ fn lexicon_doc_dev_tsunagite_song() -> ::jacquard_lexicon::lexicon::LexiconDoc<' description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("game"), - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("composer") + ::jacquard_common::deps::smol_str::SmolStr::new_static("game"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("composer") ], ), nullable: None, @@ -445,7 +445,7 @@ fn lexicon_doc_dev_tsunagite_song() -> ::jacquard_lexicon::lexicon::LexiconDoc<' #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "composer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -456,7 +456,9 @@ fn lexicon_doc_dev_tsunagite_song() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("game"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "game", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -486,7 +488,9 @@ fn lexicon_doc_dev_tsunagite_song() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("genre"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "genre", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -495,7 +499,9 @@ fn lexicon_doc_dev_tsunagite_song() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("jacket"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "jacket", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -503,7 +509,7 @@ fn lexicon_doc_dev_tsunagite_song() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "jacketArtist", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -514,7 +520,9 @@ fn lexicon_doc_dev_tsunagite_song() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("source"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "source", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -523,7 +531,7 @@ fn lexicon_doc_dev_tsunagite_song() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subtitle", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -534,7 +542,9 @@ fn lexicon_doc_dev_tsunagite_song() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/dev_tsunagite/types.rs b/crates/jacquard-api/src/dev_tsunagite/types.rs index 163a97134..ed48e08f1 100644 --- a/crates/jacquard-api/src/dev_tsunagite/types.rs +++ b/crates/jacquard-api/src/dev_tsunagite/types.rs @@ -202,7 +202,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Indexable<'a> { @@ -226,7 +226,7 @@ fn lexicon_doc_dev_tsunagite_types() -> ::jacquard_lexicon::lexicon::LexiconDoc< defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("indexable"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("indexable"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -235,9 +235,9 @@ fn lexicon_doc_dev_tsunagite_types() -> ::jacquard_lexicon::lexicon::LexiconDoc< ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("id"), - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("index") + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("index") ], ), nullable: None, @@ -245,7 +245,7 @@ fn lexicon_doc_dev_tsunagite_types() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -266,7 +266,9 @@ fn lexicon_doc_dev_tsunagite_types() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("index"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "index", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -277,7 +279,9 @@ fn lexicon_doc_dev_tsunagite_types() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -290,7 +294,7 @@ fn lexicon_doc_dev_tsunagite_types() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("typedRef"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("typedRef"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -303,7 +307,9 @@ fn lexicon_doc_dev_tsunagite_types() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("ref"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "ref", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -324,7 +330,9 @@ fn lexicon_doc_dev_tsunagite_types() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "type", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/dev_vielle/dnd/astral.rs b/crates/jacquard-api/src/dev_vielle/dnd/astral.rs index 7615f1653..e3b0ba8b1 100644 --- a/crates/jacquard-api/src/dev_vielle/dnd/astral.rs +++ b/crates/jacquard-api/src/dev_vielle/dnd/astral.rs @@ -150,7 +150,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Astral<'a> { @@ -251,7 +251,7 @@ fn lexicon_doc_dev_vielle_dnd_astral() -> ::jacquard_lexicon::lexicon::LexiconDo defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("literal:self")), @@ -259,8 +259,8 @@ fn lexicon_doc_dev_vielle_dnd_astral() -> ::jacquard_lexicon::lexicon::LexiconDo description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("points"), - ::jacquard_common::smol_str::SmolStr::new_static("powers") + ::jacquard_common::deps::smol_str::SmolStr::new_static("points"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("powers") ], ), nullable: None, @@ -268,7 +268,9 @@ fn lexicon_doc_dev_vielle_dnd_astral() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("points"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "points", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -279,7 +281,9 @@ fn lexicon_doc_dev_vielle_dnd_astral() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("powers"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "powers", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -296,7 +300,7 @@ fn lexicon_doc_dev_vielle_dnd_astral() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("power"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("power"), ::jacquard_lexicon::lexicon::LexUserType::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, diff --git a/crates/jacquard-api/src/dev_vielle/guestbook/book.rs b/crates/jacquard-api/src/dev_vielle/guestbook/book.rs index 535ca1309..72a3983aa 100644 --- a/crates/jacquard-api/src/dev_vielle/guestbook/book.rs +++ b/crates/jacquard-api/src/dev_vielle/guestbook/book.rs @@ -136,7 +136,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Book<'a> { @@ -237,7 +237,7 @@ fn lexicon_doc_dev_vielle_guestbook_book() -> ::jacquard_lexicon::lexicon::Lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("nsid")), @@ -245,7 +245,7 @@ fn lexicon_doc_dev_vielle_guestbook_book() -> ::jacquard_lexicon::lexicon::Lexic description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("site") + ::jacquard_common::deps::smol_str::SmolStr::new_static("site") ], ), nullable: None, @@ -253,7 +253,9 @@ fn lexicon_doc_dev_vielle_guestbook_book() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("site"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "site", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -270,7 +272,9 @@ fn lexicon_doc_dev_vielle_guestbook_book() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, diff --git a/crates/jacquard-api/src/dev_vielle/guestbook/entry.rs b/crates/jacquard-api/src/dev_vielle/guestbook/entry.rs index b5651be94..6c4a9cb94 100644 --- a/crates/jacquard-api/src/dev_vielle/guestbook/entry.rs +++ b/crates/jacquard-api/src/dev_vielle/guestbook/entry.rs @@ -151,7 +151,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Entry<'a> { @@ -252,7 +252,7 @@ fn lexicon_doc_dev_vielle_guestbook_entry() -> ::jacquard_lexicon::lexicon::Lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("nsid")), @@ -260,8 +260,8 @@ fn lexicon_doc_dev_vielle_guestbook_entry() -> ::jacquard_lexicon::lexicon::Lexi description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("book"), - ::jacquard_common::smol_str::SmolStr::new_static("contents") + ::jacquard_common::deps::smol_str::SmolStr::new_static("book"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("contents") ], ), nullable: None, @@ -269,7 +269,9 @@ fn lexicon_doc_dev_vielle_guestbook_entry() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("book"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "book", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -286,7 +288,7 @@ fn lexicon_doc_dev_vielle_guestbook_entry() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contents", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/directory_evnt/event.rs b/crates/jacquard-api/src/directory_evnt/event.rs index 121b65dd1..da8bae67a 100644 --- a/crates/jacquard-api/src/directory_evnt/event.rs +++ b/crates/jacquard-api/src/directory_evnt/event.rs @@ -40,7 +40,7 @@ fn lexicon_doc_directory_evnt_event() -> ::jacquard_lexicon::lexicon::LexiconDoc defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("Address"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("Address"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -49,7 +49,9 @@ fn lexicon_doc_directory_evnt_event() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("addr"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "addr", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -64,7 +66,7 @@ fn lexicon_doc_directory_evnt_event() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "countryCode", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -81,7 +83,7 @@ fn lexicon_doc_directory_evnt_event() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "postalCode", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -102,13 +104,13 @@ fn lexicon_doc_directory_evnt_event() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("Coordinates"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("Coordinates"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("lat"), - ::jacquard_common::smol_str::SmolStr::new_static("lng") + ::jacquard_common::deps::smol_str::SmolStr::new_static("lat"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("lng") ], ), nullable: None, @@ -116,7 +118,9 @@ fn lexicon_doc_directory_evnt_event() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("lat"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "lat", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -127,7 +131,9 @@ fn lexicon_doc_directory_evnt_event() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("lng"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "lng", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -142,13 +148,13 @@ fn lexicon_doc_directory_evnt_event() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("EventComponent"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("EventComponent"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("type"), - ::jacquard_common::smol_str::SmolStr::new_static("data") + ::jacquard_common::deps::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("data") ], ), nullable: None, @@ -156,13 +162,17 @@ fn lexicon_doc_directory_evnt_event() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("data"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "data", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "type", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -181,7 +191,7 @@ fn lexicon_doc_directory_evnt_event() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("EventInstance"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("EventInstance"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -190,7 +200,9 @@ fn lexicon_doc_directory_evnt_event() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("end"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "end", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -205,7 +217,9 @@ fn lexicon_doc_directory_evnt_event() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("start"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "start", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -220,14 +234,18 @@ fn lexicon_doc_directory_evnt_event() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("status"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "status", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#eventStatus"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("venueIds"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "venueIds", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::String(::jacquard_lexicon::lexicon::LexString { @@ -251,7 +269,7 @@ fn lexicon_doc_directory_evnt_event() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("EventStatus"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("EventStatus"), ::jacquard_lexicon::lexicon::LexUserType::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -266,14 +284,14 @@ fn lexicon_doc_directory_evnt_event() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("OnlineVenue"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("OnlineVenue"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("id"), - ::jacquard_common::smol_str::SmolStr::new_static("type"), - ::jacquard_common::smol_str::SmolStr::new_static("name") + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("name") ], ), nullable: None, @@ -281,7 +299,7 @@ fn lexicon_doc_directory_evnt_event() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -296,13 +314,17 @@ fn lexicon_doc_directory_evnt_event() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "type", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -317,7 +339,9 @@ fn lexicon_doc_directory_evnt_event() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -336,14 +360,14 @@ fn lexicon_doc_directory_evnt_event() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("PhysicalVenue"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("PhysicalVenue"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("id"), - ::jacquard_common::smol_str::SmolStr::new_static("type"), - ::jacquard_common::smol_str::SmolStr::new_static("name") + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("name") ], ), nullable: None, @@ -351,14 +375,16 @@ fn lexicon_doc_directory_evnt_event() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("address"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "address", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#address"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "coordinates", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -367,7 +393,7 @@ fn lexicon_doc_directory_evnt_event() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -382,13 +408,17 @@ fn lexicon_doc_directory_evnt_event() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "type", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -407,14 +437,14 @@ fn lexicon_doc_directory_evnt_event() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("UnknownVenue"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("UnknownVenue"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("id"), - ::jacquard_common::smol_str::SmolStr::new_static("type"), - ::jacquard_common::smol_str::SmolStr::new_static("name") + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("name") ], ), nullable: None, @@ -422,7 +452,7 @@ fn lexicon_doc_directory_evnt_event() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -437,13 +467,17 @@ fn lexicon_doc_directory_evnt_event() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "type", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -462,13 +496,13 @@ fn lexicon_doc_directory_evnt_event() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("v"), - ::jacquard_common::smol_str::SmolStr::new_static("name") + ::jacquard_common::deps::smol_str::SmolStr::new_static("v"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("name") ], ), nullable: None, @@ -476,7 +510,7 @@ fn lexicon_doc_directory_evnt_event() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "components", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -492,7 +526,7 @@ fn lexicon_doc_directory_evnt_event() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "instances", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -508,26 +542,32 @@ fn lexicon_doc_directory_evnt_event() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("label"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "label", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("status"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "status", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#eventStatus"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("v"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("v"), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -538,7 +578,9 @@ fn lexicon_doc_directory_evnt_event() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("venues"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "venues", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -606,37 +648,37 @@ pub mod coordinates_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Lng; type Lat; + type Lng; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Lng = Unset; type Lat = Unset; - } - ///State transition - sets the `lng` field to Set - pub struct SetLng(PhantomData S>); - impl sealed::Sealed for SetLng {} - impl State for SetLng { - type Lng = Set; - type Lat = S::Lat; + type Lng = Unset; } ///State transition - sets the `lat` field to Set pub struct SetLat(PhantomData S>); impl sealed::Sealed for SetLat {} impl State for SetLat { - type Lng = S::Lng; type Lat = Set; + type Lng = S::Lng; + } + ///State transition - sets the `lng` field to Set + pub struct SetLng(PhantomData S>); + impl sealed::Sealed for SetLng {} + impl State for SetLng { + type Lat = S::Lat; + type Lng = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `lng` field - pub struct lng(()); ///Marker type for the `lat` field pub struct lat(()); + ///Marker type for the `lng` field + pub struct lng(()); } } @@ -706,8 +748,8 @@ where impl<'a, S> CoordinatesBuilder<'a, S> where S: coordinates_state::State, - S::Lng: coordinates_state::IsSet, S::Lat: coordinates_state::IsSet, + S::Lng: coordinates_state::IsSet, { /// Build the final struct pub fn build(self) -> Coordinates<'a> { @@ -721,7 +763,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Coordinates<'a> { @@ -778,37 +820,37 @@ pub mod event_component_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Type; type Data; + type Type; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Type = Unset; type Data = Unset; - } - ///State transition - sets the `type` field to Set - pub struct SetType(PhantomData S>); - impl sealed::Sealed for SetType {} - impl State for SetType { - type Type = Set; - type Data = S::Data; + type Type = Unset; } ///State transition - sets the `data` field to Set pub struct SetData(PhantomData S>); impl sealed::Sealed for SetData {} impl State for SetData { - type Type = S::Type; type Data = Set; + type Type = S::Type; + } + ///State transition - sets the `type` field to Set + pub struct SetType(PhantomData S>); + impl sealed::Sealed for SetType {} + impl State for SetType { + type Data = S::Data; + type Type = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `type` field - pub struct r#type(()); ///Marker type for the `data` field pub struct data(()); + ///Marker type for the `type` field + pub struct r#type(()); } } @@ -881,8 +923,8 @@ where impl<'a, S> EventComponentBuilder<'a, S> where S: event_component_state::State, - S::Type: event_component_state::IsSet, S::Data: event_component_state::IsSet, + S::Type: event_component_state::IsSet, { /// Build the final struct pub fn build(self) -> EventComponent<'a> { @@ -896,7 +938,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> EventComponent<'a> { @@ -1099,49 +1141,49 @@ pub mod online_venue_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Type; type Id; + type Type; type Name; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Type = Unset; type Id = Unset; + type Type = Unset; type Name = Unset; } - ///State transition - sets the `type` field to Set - pub struct SetType(PhantomData S>); - impl sealed::Sealed for SetType {} - impl State for SetType { - type Type = Set; - type Id = S::Id; - type Name = S::Name; - } ///State transition - sets the `id` field to Set pub struct SetId(PhantomData S>); impl sealed::Sealed for SetId {} impl State for SetId { - type Type = S::Type; type Id = Set; + type Type = S::Type; + type Name = S::Name; + } + ///State transition - sets the `type` field to Set + pub struct SetType(PhantomData S>); + impl sealed::Sealed for SetType {} + impl State for SetType { + type Id = S::Id; + type Type = Set; type Name = S::Name; } ///State transition - sets the `name` field to Set pub struct SetName(PhantomData S>); impl sealed::Sealed for SetName {} impl State for SetName { - type Type = S::Type; type Id = S::Id; + type Type = S::Type; type Name = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `type` field - pub struct r#type(()); ///Marker type for the `id` field pub struct id(()); + ///Marker type for the `type` field + pub struct r#type(()); ///Marker type for the `name` field pub struct name(()); } @@ -1250,8 +1292,8 @@ impl<'a, S: online_venue_state::State> OnlineVenueBuilder<'a, S> { impl<'a, S> OnlineVenueBuilder<'a, S> where S: online_venue_state::State, - S::Type: online_venue_state::IsSet, S::Id: online_venue_state::IsSet, + S::Type: online_venue_state::IsSet, S::Name: online_venue_state::IsSet, { /// Build the final struct @@ -1268,7 +1310,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> OnlineVenue<'a> { @@ -1335,51 +1377,51 @@ pub mod physical_venue_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Id; - type Type; type Name; + type Type; + type Id; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Id = Unset; - type Type = Unset; type Name = Unset; + type Type = Unset; + type Id = Unset; } - ///State transition - sets the `id` field to Set - pub struct SetId(PhantomData S>); - impl sealed::Sealed for SetId {} - impl State for SetId { - type Id = Set; + ///State transition - sets the `name` field to Set + pub struct SetName(PhantomData S>); + impl sealed::Sealed for SetName {} + impl State for SetName { + type Name = Set; type Type = S::Type; - type Name = S::Name; + type Id = S::Id; } ///State transition - sets the `type` field to Set pub struct SetType(PhantomData S>); impl sealed::Sealed for SetType {} impl State for SetType { - type Id = S::Id; - type Type = Set; type Name = S::Name; - } - ///State transition - sets the `name` field to Set - pub struct SetName(PhantomData S>); - impl sealed::Sealed for SetName {} - impl State for SetName { + type Type = Set; type Id = S::Id; + } + ///State transition - sets the `id` field to Set + pub struct SetId(PhantomData S>); + impl sealed::Sealed for SetId {} + impl State for SetId { + type Name = S::Name; type Type = S::Type; - type Name = Set; + type Id = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `id` field - pub struct id(()); - ///Marker type for the `type` field - pub struct r#type(()); ///Marker type for the `name` field pub struct name(()); + ///Marker type for the `type` field + pub struct r#type(()); + ///Marker type for the `id` field + pub struct id(()); } } @@ -1512,9 +1554,9 @@ where impl<'a, S> PhysicalVenueBuilder<'a, S> where S: physical_venue_state::State, - S::Id: physical_venue_state::IsSet, - S::Type: physical_venue_state::IsSet, S::Name: physical_venue_state::IsSet, + S::Type: physical_venue_state::IsSet, + S::Id: physical_venue_state::IsSet, { /// Build the final struct pub fn build(self) -> PhysicalVenue<'a> { @@ -1531,7 +1573,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> PhysicalVenue<'a> { @@ -1747,7 +1789,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> UnknownVenue<'a> { @@ -2033,7 +2075,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Event<'a> { diff --git a/crates/jacquard-api/src/diy_razorgirl/winter/fact.rs b/crates/jacquard-api/src/diy_razorgirl/winter/fact.rs index a2c0156a0..0f5f167cc 100644 --- a/crates/jacquard-api/src/diy_razorgirl/winter/fact.rs +++ b/crates/jacquard-api/src/diy_razorgirl/winter/fact.rs @@ -51,51 +51,51 @@ pub mod fact_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; - type Args; type Predicate; + type Args; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; - type Args = Unset; type Predicate = Unset; + type Args = Unset; + type CreatedAt = Unset; } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; + ///State transition - sets the `predicate` field to Set + pub struct SetPredicate(PhantomData S>); + impl sealed::Sealed for SetPredicate {} + impl State for SetPredicate { + type Predicate = Set; type Args = S::Args; - type Predicate = S::Predicate; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `args` field to Set pub struct SetArgs(PhantomData S>); impl sealed::Sealed for SetArgs {} impl State for SetArgs { - type CreatedAt = S::CreatedAt; - type Args = Set; type Predicate = S::Predicate; - } - ///State transition - sets the `predicate` field to Set - pub struct SetPredicate(PhantomData S>); - impl sealed::Sealed for SetPredicate {} - impl State for SetPredicate { + type Args = Set; type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Predicate = S::Predicate; type Args = S::Args; - type Predicate = Set; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); - ///Marker type for the `args` field - pub struct args(()); ///Marker type for the `predicate` field pub struct predicate(()); + ///Marker type for the `args` field + pub struct args(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -285,9 +285,9 @@ impl<'a, S: fact_state::State> FactBuilder<'a, S> { impl<'a, S> FactBuilder<'a, S> where S: fact_state::State, - S::CreatedAt: fact_state::IsSet, - S::Args: fact_state::IsSet, S::Predicate: fact_state::IsSet, + S::Args: fact_state::IsSet, + S::CreatedAt: fact_state::IsSet, { /// Build the final struct pub fn build(self) -> Fact<'a> { @@ -307,7 +307,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Fact<'a> { @@ -452,7 +452,7 @@ fn lexicon_doc_diy_razorgirl_winter_fact() -> ::jacquard_lexicon::lexicon::Lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -460,9 +460,9 @@ fn lexicon_doc_diy_razorgirl_winter_fact() -> ::jacquard_lexicon::lexicon::Lexic description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("predicate"), - ::jacquard_common::smol_str::SmolStr::new_static("args"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("predicate"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("args"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -470,7 +470,9 @@ fn lexicon_doc_diy_razorgirl_winter_fact() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("args"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "args", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::String(::jacquard_lexicon::lexicon::LexString { @@ -490,7 +492,7 @@ fn lexicon_doc_diy_razorgirl_winter_fact() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "confidence", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -511,7 +513,7 @@ fn lexicon_doc_diy_razorgirl_winter_fact() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -530,7 +532,7 @@ fn lexicon_doc_diy_razorgirl_winter_fact() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "expiresAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -549,7 +551,7 @@ fn lexicon_doc_diy_razorgirl_winter_fact() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "predicate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -566,7 +568,9 @@ fn lexicon_doc_diy_razorgirl_winter_fact() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("source"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "source", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -585,7 +589,7 @@ fn lexicon_doc_diy_razorgirl_winter_fact() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "supersedes", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -606,7 +610,9 @@ fn lexicon_doc_diy_razorgirl_winter_fact() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tags", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/diy_razorgirl/winter/job.rs b/crates/jacquard-api/src/diy_razorgirl/winter/job.rs index 139123c5e..e7eaf397d 100644 --- a/crates/jacquard-api/src/diy_razorgirl/winter/job.rs +++ b/crates/jacquard-api/src/diy_razorgirl/winter/job.rs @@ -150,7 +150,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> IntervalSchedule<'a> { @@ -173,13 +173,15 @@ fn lexicon_doc_diy_razorgirl_winter_job() -> ::jacquard_lexicon::lexicon::Lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("intervalSchedule"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "intervalSchedule", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("type"), - ::jacquard_common::smol_str::SmolStr::new_static("seconds") + ::jacquard_common::deps::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("seconds") ], ), nullable: None, @@ -187,7 +189,9 @@ fn lexicon_doc_diy_razorgirl_winter_job() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("seconds"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "seconds", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -198,7 +202,9 @@ fn lexicon_doc_diy_razorgirl_winter_job() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "type", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -217,7 +223,7 @@ fn lexicon_doc_diy_razorgirl_winter_job() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -225,10 +231,10 @@ fn lexicon_doc_diy_razorgirl_winter_job() -> ::jacquard_lexicon::lexicon::Lexico description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("instructions"), - ::jacquard_common::smol_str::SmolStr::new_static("schedule"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("instructions"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("schedule"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -236,7 +242,7 @@ fn lexicon_doc_diy_razorgirl_winter_job() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -255,7 +261,7 @@ fn lexicon_doc_diy_razorgirl_winter_job() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "failureCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -268,7 +274,7 @@ fn lexicon_doc_diy_razorgirl_winter_job() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "instructions", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -285,7 +291,9 @@ fn lexicon_doc_diy_razorgirl_winter_job() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("lastRun"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "lastRun", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -302,7 +310,9 @@ fn lexicon_doc_diy_razorgirl_winter_job() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -317,7 +327,9 @@ fn lexicon_doc_diy_razorgirl_winter_job() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("nextRun"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "nextRun", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -334,7 +346,7 @@ fn lexicon_doc_diy_razorgirl_winter_job() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "schedule", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -347,7 +359,9 @@ fn lexicon_doc_diy_razorgirl_winter_job() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("status"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "status", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -367,13 +381,13 @@ fn lexicon_doc_diy_razorgirl_winter_job() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("onceSchedule"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("onceSchedule"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("type"), - ::jacquard_common::smol_str::SmolStr::new_static("runAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("runAt") ], ), nullable: None, @@ -381,7 +395,9 @@ fn lexicon_doc_diy_razorgirl_winter_job() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("runAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "runAt", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -398,7 +414,9 @@ fn lexicon_doc_diy_razorgirl_winter_job() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "type", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -478,67 +496,67 @@ pub mod job_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Schedule; - type Name; type Instructions; type CreatedAt; + type Name; + type Schedule; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Schedule = Unset; - type Name = Unset; type Instructions = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `schedule` field to Set - pub struct SetSchedule(PhantomData S>); - impl sealed::Sealed for SetSchedule {} - impl State for SetSchedule { - type Schedule = Set; - type Name = S::Name; - type Instructions = S::Instructions; - type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `name` field to Set - pub struct SetName(PhantomData S>); - impl sealed::Sealed for SetName {} - impl State for SetName { - type Schedule = S::Schedule; - type Name = Set; - type Instructions = S::Instructions; - type CreatedAt = S::CreatedAt; + type Name = Unset; + type Schedule = Unset; } ///State transition - sets the `instructions` field to Set pub struct SetInstructions(PhantomData S>); impl sealed::Sealed for SetInstructions {} impl State for SetInstructions { - type Schedule = S::Schedule; - type Name = S::Name; type Instructions = Set; type CreatedAt = S::CreatedAt; + type Name = S::Name; + type Schedule = S::Schedule; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Schedule = S::Schedule; - type Name = S::Name; type Instructions = S::Instructions; type CreatedAt = Set; + type Name = S::Name; + type Schedule = S::Schedule; + } + ///State transition - sets the `name` field to Set + pub struct SetName(PhantomData S>); + impl sealed::Sealed for SetName {} + impl State for SetName { + type Instructions = S::Instructions; + type CreatedAt = S::CreatedAt; + type Name = Set; + type Schedule = S::Schedule; + } + ///State transition - sets the `schedule` field to Set + pub struct SetSchedule(PhantomData S>); + impl sealed::Sealed for SetSchedule {} + impl State for SetSchedule { + type Instructions = S::Instructions; + type CreatedAt = S::CreatedAt; + type Name = S::Name; + type Schedule = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `schedule` field - pub struct schedule(()); - ///Marker type for the `name` field - pub struct name(()); ///Marker type for the `instructions` field pub struct instructions(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `name` field + pub struct name(()); + ///Marker type for the `schedule` field + pub struct schedule(()); } } @@ -719,10 +737,10 @@ impl<'a, S: job_state::State> JobBuilder<'a, S> { impl<'a, S> JobBuilder<'a, S> where S: job_state::State, - S::Schedule: job_state::IsSet, - S::Name: job_state::IsSet, S::Instructions: job_state::IsSet, S::CreatedAt: job_state::IsSet, + S::Name: job_state::IsSet, + S::Schedule: job_state::IsSet, { /// Build the final struct pub fn build(self) -> Job<'a> { @@ -742,7 +760,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Job<'a> { @@ -1126,7 +1144,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> OnceSchedule<'a> { diff --git a/crates/jacquard-api/src/diy_razorgirl/winter/note.rs b/crates/jacquard-api/src/diy_razorgirl/winter/note.rs index 722d985c0..d3ada6ea9 100644 --- a/crates/jacquard-api/src/diy_razorgirl/winter/note.rs +++ b/crates/jacquard-api/src/diy_razorgirl/winter/note.rs @@ -47,67 +47,67 @@ pub mod note_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Title; type LastUpdated; - type Content; type CreatedAt; + type Title; + type Content; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Title = Unset; type LastUpdated = Unset; - type Content = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `title` field to Set - pub struct SetTitle(PhantomData S>); - impl sealed::Sealed for SetTitle {} - impl State for SetTitle { - type Title = Set; - type LastUpdated = S::LastUpdated; - type Content = S::Content; - type CreatedAt = S::CreatedAt; + type Title = Unset; + type Content = Unset; } ///State transition - sets the `last_updated` field to Set pub struct SetLastUpdated(PhantomData S>); impl sealed::Sealed for SetLastUpdated {} impl State for SetLastUpdated { - type Title = S::Title; type LastUpdated = Set; - type Content = S::Content; type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `content` field to Set - pub struct SetContent(PhantomData S>); - impl sealed::Sealed for SetContent {} - impl State for SetContent { type Title = S::Title; - type LastUpdated = S::LastUpdated; - type Content = Set; - type CreatedAt = S::CreatedAt; + type Content = S::Content; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { + type LastUpdated = S::LastUpdated; + type CreatedAt = Set; type Title = S::Title; + type Content = S::Content; + } + ///State transition - sets the `title` field to Set + pub struct SetTitle(PhantomData S>); + impl sealed::Sealed for SetTitle {} + impl State for SetTitle { type LastUpdated = S::LastUpdated; + type CreatedAt = S::CreatedAt; + type Title = Set; type Content = S::Content; - type CreatedAt = Set; + } + ///State transition - sets the `content` field to Set + pub struct SetContent(PhantomData S>); + impl sealed::Sealed for SetContent {} + impl State for SetContent { + type LastUpdated = S::LastUpdated; + type CreatedAt = S::CreatedAt; + type Title = S::Title; + type Content = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `title` field - pub struct title(()); ///Marker type for the `last_updated` field pub struct last_updated(()); - ///Marker type for the `content` field - pub struct content(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `title` field + pub struct title(()); + ///Marker type for the `content` field + pub struct content(()); } } @@ -277,10 +277,10 @@ where impl<'a, S> NoteBuilder<'a, S> where S: note_state::State, - S::Title: note_state::IsSet, S::LastUpdated: note_state::IsSet, - S::Content: note_state::IsSet, S::CreatedAt: note_state::IsSet, + S::Title: note_state::IsSet, + S::Content: note_state::IsSet, { /// Build the final struct pub fn build(self) -> Note<'a> { @@ -299,7 +299,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Note<'a> { @@ -455,7 +455,7 @@ fn lexicon_doc_diy_razorgirl_winter_note() -> ::jacquard_lexicon::lexicon::Lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -463,10 +463,10 @@ fn lexicon_doc_diy_razorgirl_winter_note() -> ::jacquard_lexicon::lexicon::Lexic description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("content"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt"), - ::jacquard_common::smol_str::SmolStr::new_static("lastUpdated") + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("lastUpdated") ], ), nullable: None, @@ -474,7 +474,7 @@ fn lexicon_doc_diy_razorgirl_winter_note() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "category", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -491,7 +491,9 @@ fn lexicon_doc_diy_razorgirl_winter_note() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "content", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -506,7 +508,7 @@ fn lexicon_doc_diy_razorgirl_winter_note() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -525,7 +527,7 @@ fn lexicon_doc_diy_razorgirl_winter_note() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "lastUpdated", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -544,7 +546,7 @@ fn lexicon_doc_diy_razorgirl_winter_note() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "relatedFacts", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -572,7 +574,9 @@ fn lexicon_doc_diy_razorgirl_winter_note() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tags", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::String(::jacquard_lexicon::lexicon::LexString { @@ -592,7 +596,9 @@ fn lexicon_doc_diy_razorgirl_winter_note() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, diff --git a/crates/jacquard-api/src/diy_razorgirl/winter/thought.rs b/crates/jacquard-api/src/diy_razorgirl/winter/thought.rs index f7a3da068..648f9f7f8 100644 --- a/crates/jacquard-api/src/diy_razorgirl/winter/thought.rs +++ b/crates/jacquard-api/src/diy_razorgirl/winter/thought.rs @@ -45,50 +45,50 @@ pub mod thought_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type CreatedAt; - type Kind; type Content; + type Kind; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type CreatedAt = Unset; - type Kind = Unset; type Content = Unset; + type Kind = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { type CreatedAt = Set; - type Kind = S::Kind; - type Content = S::Content; - } - ///State transition - sets the `kind` field to Set - pub struct SetKind(PhantomData S>); - impl sealed::Sealed for SetKind {} - impl State for SetKind { - type CreatedAt = S::CreatedAt; - type Kind = Set; type Content = S::Content; + type Kind = S::Kind; } ///State transition - sets the `content` field to Set pub struct SetContent(PhantomData S>); impl sealed::Sealed for SetContent {} impl State for SetContent { type CreatedAt = S::CreatedAt; - type Kind = S::Kind; type Content = Set; + type Kind = S::Kind; + } + ///State transition - sets the `kind` field to Set + pub struct SetKind(PhantomData S>); + impl sealed::Sealed for SetKind {} + impl State for SetKind { + type CreatedAt = S::CreatedAt; + type Content = S::Content; + type Kind = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `created_at` field pub struct created_at(()); - ///Marker type for the `kind` field - pub struct kind(()); ///Marker type for the `content` field pub struct content(()); + ///Marker type for the `kind` field + pub struct kind(()); } } @@ -233,8 +233,8 @@ impl<'a, S> ThoughtBuilder<'a, S> where S: thought_state::State, S::CreatedAt: thought_state::IsSet, - S::Kind: thought_state::IsSet, S::Content: thought_state::IsSet, + S::Kind: thought_state::IsSet, { /// Build the final struct pub fn build(self) -> Thought<'a> { @@ -252,7 +252,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Thought<'a> { @@ -495,7 +495,7 @@ fn lexicon_doc_diy_razorgirl_winter_thought() -> ::jacquard_lexicon::lexicon::Le defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -503,9 +503,9 @@ fn lexicon_doc_diy_razorgirl_winter_thought() -> ::jacquard_lexicon::lexicon::Le description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("kind"), - ::jacquard_common::smol_str::SmolStr::new_static("content"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("kind"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -513,7 +513,9 @@ fn lexicon_doc_diy_razorgirl_winter_thought() -> ::jacquard_lexicon::lexicon::Le #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "content", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -528,7 +530,7 @@ fn lexicon_doc_diy_razorgirl_winter_thought() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -547,7 +549,7 @@ fn lexicon_doc_diy_razorgirl_winter_thought() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "durationMs", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -560,7 +562,9 @@ fn lexicon_doc_diy_razorgirl_winter_thought() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("kind"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "kind", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -575,7 +579,9 @@ fn lexicon_doc_diy_razorgirl_winter_thought() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tags", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::String(::jacquard_lexicon::lexicon::LexString { @@ -595,7 +601,9 @@ fn lexicon_doc_diy_razorgirl_winter_thought() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("trigger"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "trigger", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/diy_razorgirl/winter/tool.rs b/crates/jacquard-api/src/diy_razorgirl/winter/tool.rs index b10e48574..683403eab 100644 --- a/crates/jacquard-api/src/diy_razorgirl/winter/tool.rs +++ b/crates/jacquard-api/src/diy_razorgirl/winter/tool.rs @@ -58,85 +58,85 @@ pub mod tool_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Description; - type CreatedAt; - type Name; type Code; type InputSchema; + type Name; + type CreatedAt; + type Description; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Description = Unset; - type CreatedAt = Unset; - type Name = Unset; type Code = Unset; type InputSchema = Unset; + type Name = Unset; + type CreatedAt = Unset; + type Description = Unset; } - ///State transition - sets the `description` field to Set - pub struct SetDescription(PhantomData S>); - impl sealed::Sealed for SetDescription {} - impl State for SetDescription { - type Description = Set; + ///State transition - sets the `code` field to Set + pub struct SetCode(PhantomData S>); + impl sealed::Sealed for SetCode {} + impl State for SetCode { + type Code = Set; + type InputSchema = S::InputSchema; + type Name = S::Name; type CreatedAt = S::CreatedAt; + type Description = S::Description; + } + ///State transition - sets the `input_schema` field to Set + pub struct SetInputSchema(PhantomData S>); + impl sealed::Sealed for SetInputSchema {} + impl State for SetInputSchema { + type Code = S::Code; + type InputSchema = Set; type Name = S::Name; + type CreatedAt = S::CreatedAt; + type Description = S::Description; + } + ///State transition - sets the `name` field to Set + pub struct SetName(PhantomData S>); + impl sealed::Sealed for SetName {} + impl State for SetName { type Code = S::Code; type InputSchema = S::InputSchema; + type Name = Set; + type CreatedAt = S::CreatedAt; + type Description = S::Description; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Description = S::Description; - type CreatedAt = Set; - type Name = S::Name; type Code = S::Code; type InputSchema = S::InputSchema; - } - ///State transition - sets the `name` field to Set - pub struct SetName(PhantomData S>); - impl sealed::Sealed for SetName {} - impl State for SetName { + type Name = S::Name; + type CreatedAt = Set; type Description = S::Description; - type CreatedAt = S::CreatedAt; - type Name = Set; + } + ///State transition - sets the `description` field to Set + pub struct SetDescription(PhantomData S>); + impl sealed::Sealed for SetDescription {} + impl State for SetDescription { type Code = S::Code; type InputSchema = S::InputSchema; - } - ///State transition - sets the `code` field to Set - pub struct SetCode(PhantomData S>); - impl sealed::Sealed for SetCode {} - impl State for SetCode { - type Description = S::Description; - type CreatedAt = S::CreatedAt; type Name = S::Name; - type Code = Set; - type InputSchema = S::InputSchema; - } - ///State transition - sets the `input_schema` field to Set - pub struct SetInputSchema(PhantomData S>); - impl sealed::Sealed for SetInputSchema {} - impl State for SetInputSchema { - type Description = S::Description; type CreatedAt = S::CreatedAt; - type Name = S::Name; - type Code = S::Code; - type InputSchema = Set; + type Description = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `description` field - pub struct description(()); - ///Marker type for the `created_at` field - pub struct created_at(()); - ///Marker type for the `name` field - pub struct name(()); ///Marker type for the `code` field pub struct code(()); ///Marker type for the `input_schema` field pub struct input_schema(()); + ///Marker type for the `name` field + pub struct name(()); + ///Marker type for the `created_at` field + pub struct created_at(()); + ///Marker type for the `description` field + pub struct description(()); } } @@ -404,11 +404,11 @@ impl<'a, S: tool_state::State> ToolBuilder<'a, S> { impl<'a, S> ToolBuilder<'a, S> where S: tool_state::State, - S::Description: tool_state::IsSet, - S::CreatedAt: tool_state::IsSet, - S::Name: tool_state::IsSet, S::Code: tool_state::IsSet, S::InputSchema: tool_state::IsSet, + S::Name: tool_state::IsSet, + S::CreatedAt: tool_state::IsSet, + S::Description: tool_state::IsSet, { /// Build the final struct pub fn build(self) -> Tool<'a> { @@ -432,7 +432,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Tool<'a> { @@ -582,7 +582,7 @@ fn lexicon_doc_diy_razorgirl_winter_tool() -> ::jacquard_lexicon::lexicon::Lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -590,11 +590,11 @@ fn lexicon_doc_diy_razorgirl_winter_tool() -> ::jacquard_lexicon::lexicon::Lexic description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("description"), - ::jacquard_common::smol_str::SmolStr::new_static("code"), - ::jacquard_common::smol_str::SmolStr::new_static("inputSchema"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("description"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("code"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("inputSchema"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -602,7 +602,9 @@ fn lexicon_doc_diy_razorgirl_winter_tool() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("code"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "code", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -621,7 +623,7 @@ fn lexicon_doc_diy_razorgirl_winter_tool() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -640,7 +642,7 @@ fn lexicon_doc_diy_razorgirl_winter_tool() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -657,7 +659,7 @@ fn lexicon_doc_diy_razorgirl_winter_tool() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "inputSchema", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { @@ -665,7 +667,7 @@ fn lexicon_doc_diy_razorgirl_winter_tool() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "lastUpdated", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -684,7 +686,9 @@ fn lexicon_doc_diy_razorgirl_winter_tool() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -699,7 +703,7 @@ fn lexicon_doc_diy_razorgirl_winter_tool() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "requiredCommands", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -721,7 +725,7 @@ fn lexicon_doc_diy_razorgirl_winter_tool() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "requiredSecrets", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -743,7 +747,7 @@ fn lexicon_doc_diy_razorgirl_winter_tool() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "requiredTools", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -769,7 +773,7 @@ fn lexicon_doc_diy_razorgirl_winter_tool() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "requiresNetwork", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -779,7 +783,7 @@ fn lexicon_doc_diy_razorgirl_winter_tool() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "requiresWorkspace", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -789,7 +793,9 @@ fn lexicon_doc_diy_razorgirl_winter_tool() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("version"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "version", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, 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 553a77a36..9d7871cb0 100644 --- a/crates/jacquard-api/src/diy_razorgirl/winter/wiki_entry.rs +++ b/crates/jacquard-api/src/diy_razorgirl/winter/wiki_entry.rs @@ -54,85 +54,85 @@ pub mod wiki_entry_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Title; - type Content; - type CreatedAt; type Slug; + type Content; + type Title; type LastUpdated; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Title = Unset; - type Content = Unset; - type CreatedAt = Unset; type Slug = Unset; + type Content = Unset; + type Title = Unset; type LastUpdated = Unset; + type CreatedAt = Unset; } - ///State transition - sets the `title` field to Set - pub struct SetTitle(PhantomData S>); - impl sealed::Sealed for SetTitle {} - impl State for SetTitle { - type Title = Set; + ///State transition - sets the `slug` field to Set + pub struct SetSlug(PhantomData S>); + impl sealed::Sealed for SetSlug {} + impl State for SetSlug { + type Slug = Set; type Content = S::Content; - type CreatedAt = S::CreatedAt; - type Slug = S::Slug; + type Title = S::Title; type LastUpdated = S::LastUpdated; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `content` field to Set pub struct SetContent(PhantomData S>); impl sealed::Sealed for SetContent {} impl State for SetContent { - type Title = S::Title; - type Content = Set; - type CreatedAt = S::CreatedAt; type Slug = S::Slug; - type LastUpdated = S::LastUpdated; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { + type Content = Set; type Title = S::Title; - type Content = S::Content; - type CreatedAt = Set; - type Slug = S::Slug; type LastUpdated = S::LastUpdated; + type CreatedAt = S::CreatedAt; } - ///State transition - sets the `slug` field to Set - pub struct SetSlug(PhantomData S>); - impl sealed::Sealed for SetSlug {} - impl State for SetSlug { - type Title = S::Title; + ///State transition - sets the `title` field to Set + pub struct SetTitle(PhantomData S>); + impl sealed::Sealed for SetTitle {} + impl State for SetTitle { + type Slug = S::Slug; type Content = S::Content; - type CreatedAt = S::CreatedAt; - type Slug = Set; + type Title = Set; type LastUpdated = S::LastUpdated; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `last_updated` field to Set pub struct SetLastUpdated(PhantomData S>); impl sealed::Sealed for SetLastUpdated {} impl State for SetLastUpdated { - type Title = S::Title; + type Slug = S::Slug; type Content = S::Content; + type Title = S::Title; + type LastUpdated = Set; type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { type Slug = S::Slug; - type LastUpdated = Set; + type Content = S::Content; + type Title = S::Title; + type LastUpdated = S::LastUpdated; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `title` field - pub struct title(()); - ///Marker type for the `content` field - pub struct content(()); - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `slug` field pub struct slug(()); + ///Marker type for the `content` field + pub struct content(()); + ///Marker type for the `title` field + pub struct title(()); ///Marker type for the `last_updated` field pub struct last_updated(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -367,11 +367,11 @@ where impl<'a, S> WikiEntryBuilder<'a, S> where S: wiki_entry_state::State, - S::Title: wiki_entry_state::IsSet, - S::Content: wiki_entry_state::IsSet, - S::CreatedAt: wiki_entry_state::IsSet, S::Slug: wiki_entry_state::IsSet, + S::Content: wiki_entry_state::IsSet, + S::Title: wiki_entry_state::IsSet, S::LastUpdated: wiki_entry_state::IsSet, + S::CreatedAt: wiki_entry_state::IsSet, { /// Build the final struct pub fn build(self) -> WikiEntry<'a> { @@ -393,7 +393,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> WikiEntry<'a> { @@ -670,7 +670,7 @@ fn lexicon_doc_diy_razorgirl_winter_wikiEntry() -> ::jacquard_lexicon::lexicon:: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -678,11 +678,11 @@ fn lexicon_doc_diy_razorgirl_winter_wikiEntry() -> ::jacquard_lexicon::lexicon:: description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("slug"), - ::jacquard_common::smol_str::SmolStr::new_static("content"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt"), - ::jacquard_common::smol_str::SmolStr::new_static("lastUpdated") + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("slug"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("lastUpdated") ], ), nullable: None, @@ -690,7 +690,9 @@ fn lexicon_doc_diy_razorgirl_winter_wikiEntry() -> ::jacquard_lexicon::lexicon:: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("aliases"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "aliases", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -714,7 +716,9 @@ fn lexicon_doc_diy_razorgirl_winter_wikiEntry() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "content", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -729,7 +733,7 @@ fn lexicon_doc_diy_razorgirl_winter_wikiEntry() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -748,7 +752,7 @@ fn lexicon_doc_diy_razorgirl_winter_wikiEntry() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "lastUpdated", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -767,7 +771,9 @@ fn lexicon_doc_diy_razorgirl_winter_wikiEntry() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("slug"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "slug", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -786,7 +792,9 @@ fn lexicon_doc_diy_razorgirl_winter_wikiEntry() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("status"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "status", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -801,7 +809,9 @@ fn lexicon_doc_diy_razorgirl_winter_wikiEntry() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("summary"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "summary", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -816,7 +826,7 @@ fn lexicon_doc_diy_razorgirl_winter_wikiEntry() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "supersedes", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -835,7 +845,9 @@ fn lexicon_doc_diy_razorgirl_winter_wikiEntry() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tags", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::String(::jacquard_lexicon::lexicon::LexString { @@ -855,7 +867,9 @@ fn lexicon_doc_diy_razorgirl_winter_wikiEntry() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, 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 55ea31319..8112ede82 100644 --- a/crates/jacquard-api/src/diy_razorgirl/winter/wiki_link.rs +++ b/crates/jacquard-api/src/diy_razorgirl/winter/wiki_link.rs @@ -48,67 +48,67 @@ pub mod wiki_link_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type CreatedAt; type Target; type LinkType; type Source; - type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type CreatedAt = Unset; type Target = Unset; type LinkType = Unset; type Source = Unset; - type CreatedAt = Unset; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type CreatedAt = Set; + type Target = S::Target; + type LinkType = S::LinkType; + type Source = S::Source; } ///State transition - sets the `target` field to Set pub struct SetTarget(PhantomData S>); impl sealed::Sealed for SetTarget {} impl State for SetTarget { + type CreatedAt = S::CreatedAt; type Target = Set; type LinkType = S::LinkType; type Source = S::Source; - type CreatedAt = S::CreatedAt; } ///State transition - sets the `link_type` field to Set pub struct SetLinkType(PhantomData S>); impl sealed::Sealed for SetLinkType {} impl State for SetLinkType { + type CreatedAt = S::CreatedAt; type Target = S::Target; type LinkType = Set; type Source = S::Source; - type CreatedAt = S::CreatedAt; } ///State transition - sets the `source` field to Set pub struct SetSource(PhantomData S>); impl sealed::Sealed for SetSource {} impl State for SetSource { - type Target = S::Target; - type LinkType = S::LinkType; - type Source = Set; type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { type Target = S::Target; type LinkType = S::LinkType; - type Source = S::Source; - type CreatedAt = Set; + type Source = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `created_at` field + pub struct created_at(()); ///Marker type for the `target` field pub struct target(()); ///Marker type for the `link_type` field pub struct link_type(()); ///Marker type for the `source` field pub struct source(()); - ///Marker type for the `created_at` field - pub struct created_at(()); } } @@ -278,10 +278,10 @@ impl<'a, S: wiki_link_state::State> WikiLinkBuilder<'a, S> { impl<'a, S> WikiLinkBuilder<'a, S> where S: wiki_link_state::State, + S::CreatedAt: wiki_link_state::IsSet, S::Target: wiki_link_state::IsSet, S::LinkType: wiki_link_state::IsSet, S::Source: wiki_link_state::IsSet, - S::CreatedAt: wiki_link_state::IsSet, { /// Build the final struct pub fn build(self) -> WikiLink<'a> { @@ -300,7 +300,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> WikiLink<'a> { @@ -541,7 +541,7 @@ fn lexicon_doc_diy_razorgirl_winter_wikiLink() -> ::jacquard_lexicon::lexicon::L defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -549,10 +549,10 @@ fn lexicon_doc_diy_razorgirl_winter_wikiLink() -> ::jacquard_lexicon::lexicon::L description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("source"), - ::jacquard_common::smol_str::SmolStr::new_static("target"), - ::jacquard_common::smol_str::SmolStr::new_static("linkType"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("source"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("target"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("linkType"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -560,7 +560,9 @@ fn lexicon_doc_diy_razorgirl_winter_wikiLink() -> ::jacquard_lexicon::lexicon::L #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("context"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "context", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -579,7 +581,7 @@ fn lexicon_doc_diy_razorgirl_winter_wikiLink() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -598,7 +600,7 @@ fn lexicon_doc_diy_razorgirl_winter_wikiLink() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "linkType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -615,7 +617,9 @@ fn lexicon_doc_diy_razorgirl_winter_wikiLink() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("source"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "source", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -632,7 +636,7 @@ fn lexicon_doc_diy_razorgirl_winter_wikiLink() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sourceAnchor", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -653,7 +657,9 @@ fn lexicon_doc_diy_razorgirl_winter_wikiLink() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("target"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "target", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -670,7 +676,7 @@ fn lexicon_doc_diy_razorgirl_winter_wikiLink() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "targetAnchor", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/download_darkworld/deltarune.rs b/crates/jacquard-api/src/download_darkworld/deltarune.rs index 52d72cd7e..840f43e1c 100644 --- a/crates/jacquard-api/src/download_darkworld/deltarune.rs +++ b/crates/jacquard-api/src/download_darkworld/deltarune.rs @@ -29,7 +29,9 @@ fn lexicon_doc_download_darkworld_deltarune() -> ::jacquard_lexicon::lexicon::Le defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("locationElsewhere"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "locationElsewhere", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -42,7 +44,7 @@ fn lexicon_doc_download_darkworld_deltarune() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("locationHome"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("locationHome"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -55,7 +57,9 @@ fn lexicon_doc_download_darkworld_deltarune() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("locationMathTextbook"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "locationMathTextbook", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -68,7 +72,7 @@ fn lexicon_doc_download_darkworld_deltarune() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("locationOnSkin"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("locationOnSkin"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -81,7 +85,7 @@ fn lexicon_doc_download_darkworld_deltarune() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("locationSchool"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("locationSchool"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -94,7 +98,7 @@ fn lexicon_doc_download_darkworld_deltarune() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -106,7 +110,7 @@ fn lexicon_doc_download_darkworld_deltarune() -> ::jacquard_lexicon::lexicon::Le description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("time") + ::jacquard_common::deps::smol_str::SmolStr::new_static("time") ], ), nullable: None, @@ -114,7 +118,9 @@ fn lexicon_doc_download_darkworld_deltarune() -> ::jacquard_lexicon::lexicon::Le #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("time"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "time", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -131,7 +137,9 @@ fn lexicon_doc_download_darkworld_deltarune() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tool"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tool", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -145,7 +153,9 @@ fn lexicon_doc_download_darkworld_deltarune() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("where"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "where", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -164,7 +174,7 @@ fn lexicon_doc_download_darkworld_deltarune() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("toolFinger"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("toolFinger"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -177,7 +187,7 @@ fn lexicon_doc_download_darkworld_deltarune() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("toolMarker"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("toolMarker"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -190,7 +200,7 @@ fn lexicon_doc_download_darkworld_deltarune() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("toolOther"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("toolOther"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -203,7 +213,7 @@ fn lexicon_doc_download_darkworld_deltarune() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("toolPen"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("toolPen"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -216,7 +226,7 @@ fn lexicon_doc_download_darkworld_deltarune() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("toolPencil"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("toolPencil"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -516,7 +526,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Deltarune<'a> { 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 a04afef80..d3d5052a6 100644 --- a/crates/jacquard-api/src/download_darkworld/site/get_state.rs +++ b/crates/jacquard-api/src/download_darkworld/site/get_state.rs @@ -97,105 +97,105 @@ pub mod output_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type TitleColors; - type UseSusieProphecy; type FavoriteArtists; - type FavoriteDeltaruneCharacters; - type FavoriteAlbums; type FavoriteGames; + type FavoriteAlbums; + type UseSusieProphecy; + type FavoriteDeltaruneCharacters; + type TitleColors; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type TitleColors = Unset; - type UseSusieProphecy = Unset; type FavoriteArtists = Unset; - type FavoriteDeltaruneCharacters = Unset; - type FavoriteAlbums = Unset; type FavoriteGames = Unset; + type FavoriteAlbums = Unset; + type UseSusieProphecy = Unset; + type FavoriteDeltaruneCharacters = Unset; + type TitleColors = Unset; } - ///State transition - sets the `title_colors` field to Set - pub struct SetTitleColors(PhantomData S>); - impl sealed::Sealed for SetTitleColors {} - impl State for SetTitleColors { - type TitleColors = Set; + ///State transition - sets the `favorite_artists` field to Set + pub struct SetFavoriteArtists(PhantomData S>); + impl sealed::Sealed for SetFavoriteArtists {} + impl State for SetFavoriteArtists { + type FavoriteArtists = Set; + type FavoriteGames = S::FavoriteGames; + type FavoriteAlbums = S::FavoriteAlbums; type UseSusieProphecy = S::UseSusieProphecy; - type FavoriteArtists = S::FavoriteArtists; type FavoriteDeltaruneCharacters = S::FavoriteDeltaruneCharacters; + type TitleColors = S::TitleColors; + } + ///State transition - sets the `favorite_games` field to Set + pub struct SetFavoriteGames(PhantomData S>); + impl sealed::Sealed for SetFavoriteGames {} + impl State for SetFavoriteGames { + type FavoriteArtists = S::FavoriteArtists; + type FavoriteGames = Set; type FavoriteAlbums = S::FavoriteAlbums; + type UseSusieProphecy = S::UseSusieProphecy; + type FavoriteDeltaruneCharacters = S::FavoriteDeltaruneCharacters; + type TitleColors = S::TitleColors; + } + ///State transition - sets the `favorite_albums` field to Set + pub struct SetFavoriteAlbums(PhantomData S>); + impl sealed::Sealed for SetFavoriteAlbums {} + impl State for SetFavoriteAlbums { + type FavoriteArtists = S::FavoriteArtists; type FavoriteGames = S::FavoriteGames; + type FavoriteAlbums = Set; + type UseSusieProphecy = S::UseSusieProphecy; + type FavoriteDeltaruneCharacters = S::FavoriteDeltaruneCharacters; + type TitleColors = S::TitleColors; } ///State transition - sets the `use_susie_prophecy` field to Set pub struct SetUseSusieProphecy(PhantomData S>); impl sealed::Sealed for SetUseSusieProphecy {} impl State for SetUseSusieProphecy { - type TitleColors = S::TitleColors; - type UseSusieProphecy = Set; type FavoriteArtists = S::FavoriteArtists; - type FavoriteDeltaruneCharacters = S::FavoriteDeltaruneCharacters; - type FavoriteAlbums = S::FavoriteAlbums; type FavoriteGames = S::FavoriteGames; - } - ///State transition - sets the `favorite_artists` field to Set - pub struct SetFavoriteArtists(PhantomData S>); - impl sealed::Sealed for SetFavoriteArtists {} - impl State for SetFavoriteArtists { - type TitleColors = S::TitleColors; - type UseSusieProphecy = S::UseSusieProphecy; - type FavoriteArtists = Set; - type FavoriteDeltaruneCharacters = S::FavoriteDeltaruneCharacters; type FavoriteAlbums = S::FavoriteAlbums; - type FavoriteGames = S::FavoriteGames; + type UseSusieProphecy = Set; + type FavoriteDeltaruneCharacters = S::FavoriteDeltaruneCharacters; + type TitleColors = S::TitleColors; } ///State transition - sets the `favorite_deltarune_characters` field to Set pub struct SetFavoriteDeltaruneCharacters(PhantomData S>); impl sealed::Sealed for SetFavoriteDeltaruneCharacters {} impl State for SetFavoriteDeltaruneCharacters { - type TitleColors = S::TitleColors; - type UseSusieProphecy = S::UseSusieProphecy; type FavoriteArtists = S::FavoriteArtists; - type FavoriteDeltaruneCharacters = Set; - type FavoriteAlbums = S::FavoriteAlbums; type FavoriteGames = S::FavoriteGames; - } - ///State transition - sets the `favorite_albums` field to Set - pub struct SetFavoriteAlbums(PhantomData S>); - impl sealed::Sealed for SetFavoriteAlbums {} - impl State for SetFavoriteAlbums { - type TitleColors = S::TitleColors; + type FavoriteAlbums = S::FavoriteAlbums; type UseSusieProphecy = S::UseSusieProphecy; + type FavoriteDeltaruneCharacters = Set; + type TitleColors = S::TitleColors; + } + ///State transition - sets the `title_colors` field to Set + pub struct SetTitleColors(PhantomData S>); + impl sealed::Sealed for SetTitleColors {} + impl State for SetTitleColors { type FavoriteArtists = S::FavoriteArtists; - type FavoriteDeltaruneCharacters = S::FavoriteDeltaruneCharacters; - type FavoriteAlbums = Set; type FavoriteGames = S::FavoriteGames; - } - ///State transition - sets the `favorite_games` field to Set - pub struct SetFavoriteGames(PhantomData S>); - impl sealed::Sealed for SetFavoriteGames {} - impl State for SetFavoriteGames { - type TitleColors = S::TitleColors; + type FavoriteAlbums = S::FavoriteAlbums; type UseSusieProphecy = S::UseSusieProphecy; - type FavoriteArtists = S::FavoriteArtists; type FavoriteDeltaruneCharacters = S::FavoriteDeltaruneCharacters; - type FavoriteAlbums = S::FavoriteAlbums; - type FavoriteGames = Set; + type TitleColors = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `title_colors` field - pub struct title_colors(()); - ///Marker type for the `use_susie_prophecy` field - pub struct use_susie_prophecy(()); ///Marker type for the `favorite_artists` field pub struct favorite_artists(()); - ///Marker type for the `favorite_deltarune_characters` field - pub struct favorite_deltarune_characters(()); - ///Marker type for the `favorite_albums` field - pub struct favorite_albums(()); ///Marker type for the `favorite_games` field pub struct favorite_games(()); + ///Marker type for the `favorite_albums` field + pub struct favorite_albums(()); + ///Marker type for the `use_susie_prophecy` field + pub struct use_susie_prophecy(()); + ///Marker type for the `favorite_deltarune_characters` field + pub struct favorite_deltarune_characters(()); + ///Marker type for the `title_colors` field + pub struct title_colors(()); } } @@ -348,12 +348,12 @@ where impl<'a, S> OutputBuilder<'a, S> where S: output_state::State, - S::TitleColors: output_state::IsSet, - S::UseSusieProphecy: output_state::IsSet, S::FavoriteArtists: output_state::IsSet, - S::FavoriteDeltaruneCharacters: output_state::IsSet, - S::FavoriteAlbums: output_state::IsSet, S::FavoriteGames: output_state::IsSet, + S::FavoriteAlbums: output_state::IsSet, + S::UseSusieProphecy: output_state::IsSet, + S::FavoriteDeltaruneCharacters: output_state::IsSet, + S::TitleColors: output_state::IsSet, { /// Build the final struct pub fn build(self) -> Output<'a> { @@ -371,7 +371,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Output<'a> { @@ -502,7 +502,7 @@ fn lexicon_doc_download_darkworld_site_getState() -> ::jacquard_lexicon::lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcQuery(::jacquard_lexicon::lexicon::LexXrpcQuery { description: None, parameters: None, @@ -511,17 +511,17 @@ fn lexicon_doc_download_darkworld_site_getState() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("output"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("output"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("useSusieProphecy"), - ::jacquard_common::smol_str::SmolStr::new_static("titleColors"), - ::jacquard_common::smol_str::SmolStr::new_static("favoriteGames"), - ::jacquard_common::smol_str::SmolStr::new_static("favoriteArtists"), - ::jacquard_common::smol_str::SmolStr::new_static("favoriteAlbums"), - ::jacquard_common::smol_str::SmolStr::new_static("favoriteDeltaruneCharacters") + ::jacquard_common::deps::smol_str::SmolStr::new_static("useSusieProphecy"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("titleColors"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("favoriteGames"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("favoriteArtists"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("favoriteAlbums"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("favoriteDeltaruneCharacters") ], ), nullable: None, @@ -529,7 +529,7 @@ fn lexicon_doc_download_darkworld_site_getState() -> ::jacquard_lexicon::lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "favoriteAlbums", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -551,7 +551,7 @@ fn lexicon_doc_download_darkworld_site_getState() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "favoriteArtists", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -573,7 +573,7 @@ fn lexicon_doc_download_darkworld_site_getState() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "favoriteDeltaruneCharacters", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -595,7 +595,7 @@ fn lexicon_doc_download_darkworld_site_getState() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "favoriteGames", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -617,7 +617,7 @@ fn lexicon_doc_download_darkworld_site_getState() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "titleColors", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -638,7 +638,7 @@ fn lexicon_doc_download_darkworld_site_getState() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "useSusieProphecy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { diff --git a/crates/jacquard-api/src/download_darkworld/state.rs b/crates/jacquard-api/src/download_darkworld/state.rs index 00cc739a4..392647441 100644 --- a/crates/jacquard-api/src/download_darkworld/state.rs +++ b/crates/jacquard-api/src/download_darkworld/state.rs @@ -38,8 +38,8 @@ pub mod favorite_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Artist; - type Game; type Album; + type Game; type DeltaruneCharacter; } /// Empty state - all required fields are unset @@ -47,8 +47,8 @@ pub mod favorite_state { impl sealed::Sealed for Empty {} impl State for Empty { type Artist = Unset; - type Game = Unset; type Album = Unset; + type Game = Unset; type DeltaruneCharacter = Unset; } ///State transition - sets the `artist` field to Set @@ -56,17 +56,8 @@ pub mod favorite_state { impl sealed::Sealed for SetArtist {} impl State for SetArtist { type Artist = Set; - type Game = S::Game; - type Album = S::Album; - type DeltaruneCharacter = S::DeltaruneCharacter; - } - ///State transition - sets the `game` field to Set - pub struct SetGame(PhantomData S>); - impl sealed::Sealed for SetGame {} - impl State for SetGame { - type Artist = S::Artist; - type Game = Set; type Album = S::Album; + type Game = S::Game; type DeltaruneCharacter = S::DeltaruneCharacter; } ///State transition - sets the `album` field to Set @@ -74,8 +65,17 @@ pub mod favorite_state { impl sealed::Sealed for SetAlbum {} impl State for SetAlbum { type Artist = S::Artist; - type Game = S::Game; type Album = Set; + type Game = S::Game; + type DeltaruneCharacter = S::DeltaruneCharacter; + } + ///State transition - sets the `game` field to Set + pub struct SetGame(PhantomData S>); + impl sealed::Sealed for SetGame {} + impl State for SetGame { + type Artist = S::Artist; + type Album = S::Album; + type Game = Set; type DeltaruneCharacter = S::DeltaruneCharacter; } ///State transition - sets the `deltarune_character` field to Set @@ -83,8 +83,8 @@ pub mod favorite_state { impl sealed::Sealed for SetDeltaruneCharacter {} impl State for SetDeltaruneCharacter { type Artist = S::Artist; - type Game = S::Game; type Album = S::Album; + type Game = S::Game; type DeltaruneCharacter = Set; } /// Marker types for field names @@ -92,10 +92,10 @@ pub mod favorite_state { pub mod members { ///Marker type for the `artist` field pub struct artist(()); - ///Marker type for the `game` field - pub struct game(()); ///Marker type for the `album` field pub struct album(()); + ///Marker type for the `game` field + pub struct game(()); ///Marker type for the `deltarune_character` field pub struct deltarune_character(()); } @@ -211,8 +211,8 @@ impl<'a, S> FavoriteBuilder<'a, S> where S: favorite_state::State, S::Artist: favorite_state::IsSet, - S::Game: favorite_state::IsSet, S::Album: favorite_state::IsSet, + S::Game: favorite_state::IsSet, S::DeltaruneCharacter: favorite_state::IsSet, { /// Build the final struct @@ -229,7 +229,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Favorite<'a> { @@ -254,15 +254,15 @@ fn lexicon_doc_download_darkworld_state() -> ::jacquard_lexicon::lexicon::Lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("favorite"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("favorite"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("game"), - ::jacquard_common::smol_str::SmolStr::new_static("artist"), - ::jacquard_common::smol_str::SmolStr::new_static("album"), - ::jacquard_common::smol_str::SmolStr::new_static("deltaruneCharacter") + ::jacquard_common::deps::smol_str::SmolStr::new_static("game"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("artist"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("album"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("deltaruneCharacter") ], ), nullable: None, @@ -270,7 +270,9 @@ fn lexicon_doc_download_darkworld_state() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("album"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "album", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::String(::jacquard_lexicon::lexicon::LexString { @@ -290,7 +292,9 @@ fn lexicon_doc_download_darkworld_state() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("artist"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "artist", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::String(::jacquard_lexicon::lexicon::LexString { @@ -310,7 +314,7 @@ fn lexicon_doc_download_darkworld_state() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "deltaruneCharacter", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -332,7 +336,9 @@ fn lexicon_doc_download_darkworld_state() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("game"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "game", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::String(::jacquard_lexicon::lexicon::LexString { @@ -356,7 +362,7 @@ fn lexicon_doc_download_darkworld_state() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -368,8 +374,8 @@ fn lexicon_doc_download_darkworld_state() -> ::jacquard_lexicon::lexicon::Lexico description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("site"), - ::jacquard_common::smol_str::SmolStr::new_static("favorite") + ::jacquard_common::deps::smol_str::SmolStr::new_static("site"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("favorite") ], ), nullable: None, @@ -377,7 +383,7 @@ fn lexicon_doc_download_darkworld_state() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "favorite", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -393,7 +399,9 @@ fn lexicon_doc_download_darkworld_state() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("site"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "site", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: Some( ::jacquard_common::CowStr::new_static( @@ -410,12 +418,12 @@ fn lexicon_doc_download_darkworld_state() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("site"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("site"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("susieProphecy") + ::jacquard_common::deps::smol_str::SmolStr::new_static("susieProphecy") ], ), nullable: None, @@ -423,7 +431,7 @@ fn lexicon_doc_download_darkworld_state() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "susieProphecy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -433,7 +441,7 @@ fn lexicon_doc_download_darkworld_state() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "titleColors", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -626,7 +634,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> State<'a> { @@ -848,7 +856,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Site<'a> { diff --git a/crates/jacquard-api/src/eu_atchef/recipe.rs b/crates/jacquard-api/src/eu_atchef/recipe.rs index 1f296056a..19fc5992b 100644 --- a/crates/jacquard-api/src/eu_atchef/recipe.rs +++ b/crates/jacquard-api/src/eu_atchef/recipe.rs @@ -61,51 +61,51 @@ pub mod recipe_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Name; type Content; type CreatedAt; - type Name; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Name = Unset; type Content = Unset; type CreatedAt = Unset; - type Name = Unset; + } + ///State transition - sets the `name` field to Set + pub struct SetName(PhantomData S>); + impl sealed::Sealed for SetName {} + impl State for SetName { + type Name = Set; + type Content = S::Content; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `content` field to Set pub struct SetContent(PhantomData S>); impl sealed::Sealed for SetContent {} impl State for SetContent { + type Name = S::Name; type Content = Set; type CreatedAt = S::CreatedAt; - type Name = S::Name; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Content = S::Content; - type CreatedAt = Set; type Name = S::Name; - } - ///State transition - sets the `name` field to Set - pub struct SetName(PhantomData S>); - impl sealed::Sealed for SetName {} - impl State for SetName { type Content = S::Content; - type CreatedAt = S::CreatedAt; - type Name = Set; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `name` field + pub struct name(()); ///Marker type for the `content` field pub struct content(()); ///Marker type for the `created_at` field pub struct created_at(()); - ///Marker type for the `name` field - pub struct name(()); } } @@ -325,9 +325,9 @@ impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { impl<'a, S> RecipeBuilder<'a, S> where S: recipe_state::State, + S::Name: recipe_state::IsSet, S::Content: recipe_state::IsSet, S::CreatedAt: recipe_state::IsSet, - S::Name: recipe_state::IsSet, { /// Build the final struct pub fn build(self) -> Recipe<'a> { @@ -349,7 +349,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Recipe<'a> { @@ -459,7 +459,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Recipe<'a> { { let value = &self.content; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -500,7 +500,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Recipe<'a> { } if let Some(ref value) = self.description { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -532,7 +532,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Recipe<'a> { { let value = &self.name; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -594,7 +594,7 @@ fn lexicon_doc_eu_atchef_recipe() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -606,9 +606,9 @@ fn lexicon_doc_eu_atchef_recipe() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("content"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -616,7 +616,9 @@ fn lexicon_doc_eu_atchef_recipe() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "content", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -635,7 +637,7 @@ fn lexicon_doc_eu_atchef_recipe() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "cookTime", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -648,7 +650,7 @@ fn lexicon_doc_eu_atchef_recipe() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -671,7 +673,7 @@ fn lexicon_doc_eu_atchef_recipe() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -692,7 +694,9 @@ fn lexicon_doc_eu_atchef_recipe() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -700,7 +704,9 @@ fn lexicon_doc_eu_atchef_recipe() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Recipe title"), @@ -717,7 +723,7 @@ fn lexicon_doc_eu_atchef_recipe() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "portions", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -730,7 +736,7 @@ fn lexicon_doc_eu_atchef_recipe() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "prepTime", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -743,7 +749,9 @@ fn lexicon_doc_eu_atchef_recipe() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("time"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "time", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -754,7 +762,7 @@ fn lexicon_doc_eu_atchef_recipe() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/events_smokesignal/automation/invoke_webhook.rs b/crates/jacquard-api/src/events_smokesignal/automation/invoke_webhook.rs deleted file mode 100644 index 5e37efcee..000000000 --- a/crates/jacquard-api/src/events_smokesignal/automation/invoke_webhook.rs +++ /dev/null @@ -1,246 +0,0 @@ -// @generated by jacquard-lexicon. DO NOT EDIT. -// -// Lexicon: events.smokesignal.automation.InvokeWebhook -// -// This file was automatically generated from Lexicon schemas. -// Any manual changes will be overwritten on the next regeneration. - -#[jacquard_derive::lexicon] -#[derive( - serde::Serialize, - serde::Deserialize, - Debug, - Clone, - PartialEq, - Eq, - jacquard_derive::IntoStatic -)] -#[serde(rename_all = "camelCase")] -pub struct InvokeWebhook<'a> { - #[serde(borrow)] - pub context: jacquard_common::types::value::Data<'a>, - #[serde(borrow)] - pub event: jacquard_common::CowStr<'a>, - #[serde(borrow)] - pub record: jacquard_common::types::value::Data<'a>, -} - -pub mod invoke_webhook_state { - - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; - #[allow(unused)] - use ::core::marker::PhantomData; - mod sealed { - pub trait Sealed {} - } - /// State trait tracking which required fields have been set - pub trait State: sealed::Sealed { - type Event; - type Record; - type Context; - } - /// Empty state - all required fields are unset - pub struct Empty(()); - impl sealed::Sealed for Empty {} - impl State for Empty { - type Event = Unset; - type Record = Unset; - type Context = Unset; - } - ///State transition - sets the `event` field to Set - pub struct SetEvent(PhantomData S>); - impl sealed::Sealed for SetEvent {} - impl State for SetEvent { - type Event = Set; - type Record = S::Record; - type Context = S::Context; - } - ///State transition - sets the `record` field to Set - pub struct SetRecord(PhantomData S>); - impl sealed::Sealed for SetRecord {} - impl State for SetRecord { - type Event = S::Event; - type Record = Set; - type Context = S::Context; - } - ///State transition - sets the `context` field to Set - pub struct SetContext(PhantomData S>); - impl sealed::Sealed for SetContext {} - impl State for SetContext { - type Event = S::Event; - type Record = S::Record; - type Context = Set; - } - /// Marker types for field names - #[allow(non_camel_case_types)] - pub mod members { - ///Marker type for the `event` field - pub struct event(()); - ///Marker type for the `record` field - pub struct record(()); - ///Marker type for the `context` field - pub struct context(()); - } -} - -/// Builder for constructing an instance of this type -pub struct InvokeWebhookBuilder<'a, S: invoke_webhook_state::State> { - _phantom_state: ::core::marker::PhantomData S>, - __unsafe_private_named: ( - ::core::option::Option>, - ::core::option::Option>, - ::core::option::Option>, - ), - _phantom: ::core::marker::PhantomData<&'a ()>, -} - -impl<'a> InvokeWebhook<'a> { - /// Create a new builder for this type - pub fn new() -> InvokeWebhookBuilder<'a, invoke_webhook_state::Empty> { - InvokeWebhookBuilder::new() - } -} - -impl<'a> InvokeWebhookBuilder<'a, invoke_webhook_state::Empty> { - /// Create a new builder with all fields unset - pub fn new() -> Self { - InvokeWebhookBuilder { - _phantom_state: ::core::marker::PhantomData, - __unsafe_private_named: (None, None, None), - _phantom: ::core::marker::PhantomData, - } - } -} - -impl<'a, S> InvokeWebhookBuilder<'a, S> -where - S: invoke_webhook_state::State, - S::Context: invoke_webhook_state::IsUnset, -{ - /// Set the `context` field (required) - pub fn context( - mut self, - value: impl Into>, - ) -> InvokeWebhookBuilder<'a, invoke_webhook_state::SetContext> { - self.__unsafe_private_named.0 = ::core::option::Option::Some(value.into()); - InvokeWebhookBuilder { - _phantom_state: ::core::marker::PhantomData, - __unsafe_private_named: self.__unsafe_private_named, - _phantom: ::core::marker::PhantomData, - } - } -} - -impl<'a, S> InvokeWebhookBuilder<'a, S> -where - S: invoke_webhook_state::State, - S::Event: invoke_webhook_state::IsUnset, -{ - /// Set the `event` field (required) - pub fn event( - mut self, - value: impl Into>, - ) -> InvokeWebhookBuilder<'a, invoke_webhook_state::SetEvent> { - self.__unsafe_private_named.1 = ::core::option::Option::Some(value.into()); - InvokeWebhookBuilder { - _phantom_state: ::core::marker::PhantomData, - __unsafe_private_named: self.__unsafe_private_named, - _phantom: ::core::marker::PhantomData, - } - } -} - -impl<'a, S> InvokeWebhookBuilder<'a, S> -where - S: invoke_webhook_state::State, - S::Record: invoke_webhook_state::IsUnset, -{ - /// Set the `record` field (required) - pub fn record( - mut self, - value: impl Into>, - ) -> InvokeWebhookBuilder<'a, invoke_webhook_state::SetRecord> { - self.__unsafe_private_named.2 = ::core::option::Option::Some(value.into()); - InvokeWebhookBuilder { - _phantom_state: ::core::marker::PhantomData, - __unsafe_private_named: self.__unsafe_private_named, - _phantom: ::core::marker::PhantomData, - } - } -} - -impl<'a, S> InvokeWebhookBuilder<'a, S> -where - S: invoke_webhook_state::State, - S::Event: invoke_webhook_state::IsSet, - S::Record: invoke_webhook_state::IsSet, - S::Context: invoke_webhook_state::IsSet, -{ - /// Build the final struct - pub fn build(self) -> InvokeWebhook<'a> { - InvokeWebhook { - context: self.__unsafe_private_named.0.unwrap(), - event: self.__unsafe_private_named.1.unwrap(), - record: self.__unsafe_private_named.2.unwrap(), - extra_data: Default::default(), - } - } - /// Build the final struct with custom extra_data - pub fn build_with_data( - self, - extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, - jacquard_common::types::value::Data<'a>, - >, - ) -> InvokeWebhook<'a> { - InvokeWebhook { - context: self.__unsafe_private_named.0.unwrap(), - event: self.__unsafe_private_named.1.unwrap(), - record: self.__unsafe_private_named.2.unwrap(), - extra_data: Some(extra_data), - } - } -} - -#[jacquard_derive::lexicon] -#[derive( - serde::Serialize, - serde::Deserialize, - Debug, - Clone, - PartialEq, - Eq, - jacquard_derive::IntoStatic, - Default -)] -#[serde(rename_all = "camelCase")] -pub struct InvokeWebhookOutput<'a> {} -/// Response type for -///events.smokesignal.automation.InvokeWebhook -pub struct InvokeWebhookResponse; -impl jacquard_common::xrpc::XrpcResp for InvokeWebhookResponse { - const NSID: &'static str = "events.smokesignal.automation.InvokeWebhook"; - const ENCODING: &'static str = "application/json"; - type Output<'de> = InvokeWebhookOutput<'de>; - type Err<'de> = jacquard_common::xrpc::GenericError<'de>; -} - -impl<'a> jacquard_common::xrpc::XrpcRequest for InvokeWebhook<'a> { - const NSID: &'static str = "events.smokesignal.automation.InvokeWebhook"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); - type Response = InvokeWebhookResponse; -} - -/// Endpoint type for -///events.smokesignal.automation.InvokeWebhook -pub struct InvokeWebhookRequest; -impl jacquard_common::xrpc::XrpcEndpoint for InvokeWebhookRequest { - const PATH: &'static str = "/xrpc/events.smokesignal.automation.InvokeWebhook"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); - type Request<'de> = InvokeWebhook<'de>; - type Response = InvokeWebhookResponse; -} \ No newline at end of file diff --git a/crates/jacquard-api/src/events_smokesignal/calendar/acceptance.rs b/crates/jacquard-api/src/events_smokesignal/calendar/acceptance.rs index ebf3daa99..76b2f8e7f 100644 --- a/crates/jacquard-api/src/events_smokesignal/calendar/acceptance.rs +++ b/crates/jacquard-api/src/events_smokesignal/calendar/acceptance.rs @@ -117,7 +117,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Acceptance<'a> { @@ -219,7 +219,7 @@ fn lexicon_doc_events_smokesignal_calendar_acceptance() -> ::jacquard_lexicon::l defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -230,14 +230,18 @@ fn lexicon_doc_events_smokesignal_calendar_acceptance() -> ::jacquard_lexicon::l record: ::jacquard_lexicon::lexicon::LexRecordRecord::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("cid")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( 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 4152d0542..9fcbfc099 100644 --- a/crates/jacquard-api/src/events_smokesignal/calendar/event_configuration.rs +++ b/crates/jacquard-api/src/events_smokesignal/calendar/event_configuration.rs @@ -140,7 +140,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> EventConfiguration<'a> { @@ -256,7 +256,7 @@ fn lexicon_doc_events_smokesignal_calendar_eventConfiguration() -> ::jacquard_le defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -272,7 +272,7 @@ fn lexicon_doc_events_smokesignal_calendar_eventConfiguration() -> ::jacquard_le #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "disableDirectRsvp", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -282,7 +282,7 @@ fn lexicon_doc_events_smokesignal_calendar_eventConfiguration() -> ::jacquard_le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "requireConfirmedEmail", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -292,7 +292,7 @@ fn lexicon_doc_events_smokesignal_calendar_eventConfiguration() -> ::jacquard_le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "rsvpRedirectUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/events_smokesignal/event/configure.rs b/crates/jacquard-api/src/events_smokesignal/event/configure.rs index a24dc8c9b..e631e5eb8 100644 --- a/crates/jacquard-api/src/events_smokesignal/event/configure.rs +++ b/crates/jacquard-api/src/events_smokesignal/event/configure.rs @@ -177,7 +177,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Configure<'a> { diff --git a/crates/jacquard-api/src/events_smokesignal/lfg.rs b/crates/jacquard-api/src/events_smokesignal/lfg.rs index 9213ec8e7..03ad6a29b 100644 --- a/crates/jacquard-api/src/events_smokesignal/lfg.rs +++ b/crates/jacquard-api/src/events_smokesignal/lfg.rs @@ -45,104 +45,104 @@ pub mod lfg_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type CreatedAt; - type Active; type Tags; type StartsAt; - type EndsAt; + type Active; type Location; + type EndsAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type CreatedAt = Unset; - type Active = Unset; type Tags = Unset; type StartsAt = Unset; - type EndsAt = Unset; + type Active = Unset; type Location = Unset; + type EndsAt = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { type CreatedAt = Set; - type Active = S::Active; type Tags = S::Tags; type StartsAt = S::StartsAt; - type EndsAt = S::EndsAt; + type Active = S::Active; type Location = S::Location; - } - ///State transition - sets the `active` field to Set - pub struct SetActive(PhantomData S>); - impl sealed::Sealed for SetActive {} - impl State for SetActive { - type CreatedAt = S::CreatedAt; - type Active = Set; - type Tags = S::Tags; - type StartsAt = S::StartsAt; type EndsAt = S::EndsAt; - type Location = S::Location; } ///State transition - sets the `tags` field to Set pub struct SetTags(PhantomData S>); impl sealed::Sealed for SetTags {} impl State for SetTags { type CreatedAt = S::CreatedAt; - type Active = S::Active; type Tags = Set; type StartsAt = S::StartsAt; - type EndsAt = S::EndsAt; + type Active = S::Active; type Location = S::Location; + type EndsAt = S::EndsAt; } ///State transition - sets the `starts_at` field to Set pub struct SetStartsAt(PhantomData S>); impl sealed::Sealed for SetStartsAt {} impl State for SetStartsAt { type CreatedAt = S::CreatedAt; - type Active = S::Active; type Tags = S::Tags; type StartsAt = Set; - type EndsAt = S::EndsAt; + type Active = S::Active; type Location = S::Location; + type EndsAt = S::EndsAt; } - ///State transition - sets the `ends_at` field to Set - pub struct SetEndsAt(PhantomData S>); - impl sealed::Sealed for SetEndsAt {} - impl State for SetEndsAt { + ///State transition - sets the `active` field to Set + pub struct SetActive(PhantomData S>); + impl sealed::Sealed for SetActive {} + impl State for SetActive { type CreatedAt = S::CreatedAt; - type Active = S::Active; type Tags = S::Tags; type StartsAt = S::StartsAt; - type EndsAt = Set; + type Active = Set; type Location = S::Location; + type EndsAt = S::EndsAt; } ///State transition - sets the `location` field to Set pub struct SetLocation(PhantomData S>); impl sealed::Sealed for SetLocation {} impl State for SetLocation { type CreatedAt = S::CreatedAt; - type Active = S::Active; type Tags = S::Tags; type StartsAt = S::StartsAt; - type EndsAt = S::EndsAt; + type Active = S::Active; type Location = Set; + type EndsAt = S::EndsAt; + } + ///State transition - sets the `ends_at` field to Set + pub struct SetEndsAt(PhantomData S>); + impl sealed::Sealed for SetEndsAt {} + impl State for SetEndsAt { + type CreatedAt = S::CreatedAt; + type Tags = S::Tags; + type StartsAt = S::StartsAt; + type Active = S::Active; + type Location = S::Location; + type EndsAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `created_at` field pub struct created_at(()); - ///Marker type for the `active` field - pub struct active(()); ///Marker type for the `tags` field pub struct tags(()); ///Marker type for the `starts_at` field pub struct starts_at(()); - ///Marker type for the `ends_at` field - pub struct ends_at(()); + ///Marker type for the `active` field + pub struct active(()); ///Marker type for the `location` field pub struct location(()); + ///Marker type for the `ends_at` field + pub struct ends_at(()); } } @@ -296,11 +296,11 @@ impl<'a, S> LfgBuilder<'a, S> where S: lfg_state::State, S::CreatedAt: lfg_state::IsSet, - S::Active: lfg_state::IsSet, S::Tags: lfg_state::IsSet, S::StartsAt: lfg_state::IsSet, - S::EndsAt: lfg_state::IsSet, + S::Active: lfg_state::IsSet, S::Location: lfg_state::IsSet, + S::EndsAt: lfg_state::IsSet, { /// Build the final struct pub fn build(self) -> Lfg<'a> { @@ -318,7 +318,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Lfg<'a> { @@ -462,7 +462,7 @@ fn lexicon_doc_events_smokesignal_lfg() -> ::jacquard_lexicon::lexicon::LexiconD defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -474,12 +474,12 @@ fn lexicon_doc_events_smokesignal_lfg() -> ::jacquard_lexicon::lexicon::LexiconD description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("location"), - ::jacquard_common::smol_str::SmolStr::new_static("tags"), - ::jacquard_common::smol_str::SmolStr::new_static("startsAt"), - ::jacquard_common::smol_str::SmolStr::new_static("endsAt"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt"), - ::jacquard_common::smol_str::SmolStr::new_static("active") + ::jacquard_common::deps::smol_str::SmolStr::new_static("location"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("startsAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("endsAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("active") ], ), nullable: None, @@ -487,7 +487,9 @@ fn lexicon_doc_events_smokesignal_lfg() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("active"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "active", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -495,7 +497,7 @@ fn lexicon_doc_events_smokesignal_lfg() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -518,7 +520,9 @@ fn lexicon_doc_events_smokesignal_lfg() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("endsAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "endsAt", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -539,7 +543,7 @@ fn lexicon_doc_events_smokesignal_lfg() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "location", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -556,7 +560,7 @@ fn lexicon_doc_events_smokesignal_lfg() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "startsAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -579,7 +583,9 @@ fn lexicon_doc_events_smokesignal_lfg() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tags", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/events_smokesignal/profile.rs b/crates/jacquard-api/src/events_smokesignal/profile.rs index e1bf3dd43..8c0e08985 100644 --- a/crates/jacquard-api/src/events_smokesignal/profile.rs +++ b/crates/jacquard-api/src/events_smokesignal/profile.rs @@ -262,7 +262,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Profile<'a> { @@ -462,7 +462,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Profile<'a> { } if let Some(ref value) = self.description { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -492,7 +492,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Profile<'a> { } if let Some(ref value) = self.display_name { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -522,7 +522,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Profile<'a> { } if let Some(ref value) = self.profile_host { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -553,19 +553,19 @@ fn lexicon_doc_events_smokesignal_profile() -> ::jacquard_lexicon::lexicon::Lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("forhire"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("forhire"), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hiring"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("hiring"), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -581,7 +581,9 @@ fn lexicon_doc_events_smokesignal_profile() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("avatar"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "avatar", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -589,7 +591,9 @@ fn lexicon_doc_events_smokesignal_profile() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("banner"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "banner", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -597,7 +601,7 @@ fn lexicon_doc_events_smokesignal_profile() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -618,7 +622,7 @@ fn lexicon_doc_events_smokesignal_profile() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "displayName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -639,7 +643,9 @@ fn lexicon_doc_events_smokesignal_profile() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("facets"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "facets", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -657,7 +663,7 @@ fn lexicon_doc_events_smokesignal_profile() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "profileHost", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/fm_teal/alpha/actor.rs b/crates/jacquard-api/src/fm_teal/alpha/actor.rs index ce60053b3..fdd4cc350 100644 --- a/crates/jacquard-api/src/fm_teal/alpha/actor.rs +++ b/crates/jacquard-api/src/fm_teal/alpha/actor.rs @@ -52,7 +52,9 @@ fn lexicon_doc_fm_teal_alpha_actor_defs() -> ::jacquard_lexicon::lexicon::Lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("miniProfileView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "miniProfileView", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -61,7 +63,9 @@ fn lexicon_doc_fm_teal_alpha_actor_defs() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("avatar"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "avatar", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("IPLD of the avatar"), @@ -78,7 +82,9 @@ fn lexicon_doc_fm_teal_alpha_actor_defs() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -97,7 +103,7 @@ fn lexicon_doc_fm_teal_alpha_actor_defs() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "displayName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -114,7 +120,9 @@ fn lexicon_doc_fm_teal_alpha_actor_defs() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("handle"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "handle", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -133,7 +141,7 @@ fn lexicon_doc_fm_teal_alpha_actor_defs() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("profileView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("profileView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -142,7 +150,9 @@ fn lexicon_doc_fm_teal_alpha_actor_defs() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("avatar"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "avatar", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("IPLD of the avatar"), @@ -159,7 +169,9 @@ fn lexicon_doc_fm_teal_alpha_actor_defs() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("banner"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "banner", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -178,7 +190,7 @@ fn lexicon_doc_fm_teal_alpha_actor_defs() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -197,7 +209,7 @@ fn lexicon_doc_fm_teal_alpha_actor_defs() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -218,7 +230,7 @@ fn lexicon_doc_fm_teal_alpha_actor_defs() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "descriptionFacets", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -238,7 +250,9 @@ fn lexicon_doc_fm_teal_alpha_actor_defs() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -257,7 +271,7 @@ fn lexicon_doc_fm_teal_alpha_actor_defs() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "displayName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -274,7 +288,7 @@ fn lexicon_doc_fm_teal_alpha_actor_defs() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "featuredItem", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -285,7 +299,9 @@ fn lexicon_doc_fm_teal_alpha_actor_defs() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("status"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "status", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#statusView"), @@ -296,7 +312,7 @@ fn lexicon_doc_fm_teal_alpha_actor_defs() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("statusView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("statusView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -309,7 +325,9 @@ fn lexicon_doc_fm_teal_alpha_actor_defs() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("expiry"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "expiry", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -330,7 +348,9 @@ fn lexicon_doc_fm_teal_alpha_actor_defs() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("item"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "item", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -339,7 +359,9 @@ fn lexicon_doc_fm_teal_alpha_actor_defs() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("time"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "time", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( 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 60f7f7238..13f64762e 100644 --- a/crates/jacquard-api/src/fm_teal/alpha/actor/profile.rs +++ b/crates/jacquard-api/src/fm_teal/alpha/actor/profile.rs @@ -37,13 +37,13 @@ fn lexicon_doc_fm_teal_alpha_actor_profile() -> ::jacquard_lexicon::lexicon::Lex defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("featuredItem"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("featuredItem"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("mbid"), - ::jacquard_common::smol_str::SmolStr::new_static("type") + ::jacquard_common::deps::smol_str::SmolStr::new_static("mbid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("type") ], ), nullable: None, @@ -51,7 +51,9 @@ fn lexicon_doc_fm_teal_alpha_actor_profile() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("mbid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "mbid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -70,7 +72,9 @@ fn lexicon_doc_fm_teal_alpha_actor_profile() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "type", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -93,7 +97,7 @@ fn lexicon_doc_fm_teal_alpha_actor_profile() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -109,7 +113,9 @@ fn lexicon_doc_fm_teal_alpha_actor_profile() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("avatar"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "avatar", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -117,7 +123,9 @@ fn lexicon_doc_fm_teal_alpha_actor_profile() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("banner"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "banner", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -125,7 +133,7 @@ fn lexicon_doc_fm_teal_alpha_actor_profile() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -144,7 +152,7 @@ fn lexicon_doc_fm_teal_alpha_actor_profile() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -165,7 +173,7 @@ fn lexicon_doc_fm_teal_alpha_actor_profile() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "descriptionFacets", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -185,7 +193,7 @@ fn lexicon_doc_fm_teal_alpha_actor_profile() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "displayName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -202,7 +210,7 @@ fn lexicon_doc_fm_teal_alpha_actor_profile() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "featuredItem", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -489,7 +497,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Profile<'a> { @@ -594,7 +602,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Profile<'a> { } if let Some(ref value) = self.description { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -624,7 +632,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Profile<'a> { } if let Some(ref value) = self.display_name { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) 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 b15433654..65dc3b071 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 @@ -165,7 +165,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ProfileStatus<'a> { @@ -376,7 +376,7 @@ fn lexicon_doc_fm_teal_alpha_actor_profileStatus() -> ::jacquard_lexicon::lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -388,7 +388,7 @@ fn lexicon_doc_fm_teal_alpha_actor_profileStatus() -> ::jacquard_lexicon::lexico description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("completedOnboarding") + ::jacquard_common::deps::smol_str::SmolStr::new_static("completedOnboarding") ], ), nullable: None, @@ -396,7 +396,7 @@ fn lexicon_doc_fm_teal_alpha_actor_profileStatus() -> ::jacquard_lexicon::lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "completedOnboarding", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -417,7 +417,7 @@ fn lexicon_doc_fm_teal_alpha_actor_profileStatus() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -440,7 +440,7 @@ fn lexicon_doc_fm_teal_alpha_actor_profileStatus() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { 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 f2bc6bc5e..e5d2a918c 100644 --- a/crates/jacquard-api/src/fm_teal/alpha/actor/status.rs +++ b/crates/jacquard-api/src/fm_teal/alpha/actor/status.rs @@ -37,37 +37,37 @@ pub mod status_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Item; type Time; + type Item; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Item = Unset; type Time = Unset; - } - ///State transition - sets the `item` field to Set - pub struct SetItem(PhantomData S>); - impl sealed::Sealed for SetItem {} - impl State for SetItem { - type Item = Set; - type Time = S::Time; + type Item = Unset; } ///State transition - sets the `time` field to Set pub struct SetTime(PhantomData S>); impl sealed::Sealed for SetTime {} impl State for SetTime { - type Item = S::Item; type Time = Set; + type Item = S::Item; + } + ///State transition - sets the `item` field to Set + pub struct SetItem(PhantomData S>); + impl sealed::Sealed for SetItem {} + impl State for SetItem { + type Time = S::Time; + type Item = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `item` field - pub struct item(()); ///Marker type for the `time` field pub struct time(()); + ///Marker type for the `item` field + pub struct item(()); } } @@ -160,8 +160,8 @@ where impl<'a, S> StatusBuilder<'a, S> where S: status_state::State, - S::Item: status_state::IsSet, S::Time: status_state::IsSet, + S::Item: status_state::IsSet, { /// Build the final struct pub fn build(self) -> Status<'a> { @@ -176,7 +176,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Status<'a> { @@ -278,7 +278,7 @@ fn lexicon_doc_fm_teal_alpha_actor_status() -> ::jacquard_lexicon::lexicon::Lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -290,8 +290,8 @@ fn lexicon_doc_fm_teal_alpha_actor_status() -> ::jacquard_lexicon::lexicon::Lexi description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("time"), - ::jacquard_common::smol_str::SmolStr::new_static("item") + ::jacquard_common::deps::smol_str::SmolStr::new_static("time"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("item") ], ), nullable: None, @@ -299,7 +299,9 @@ fn lexicon_doc_fm_teal_alpha_actor_status() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("expiry"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "expiry", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -320,7 +322,9 @@ fn lexicon_doc_fm_teal_alpha_actor_status() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("item"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "item", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -329,7 +333,9 @@ fn lexicon_doc_fm_teal_alpha_actor_status() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("time"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "time", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/fm_teal/alpha/feed.rs b/crates/jacquard-api/src/fm_teal/alpha/feed.rs index c078f394e..09cd96223 100644 --- a/crates/jacquard-api/src/fm_teal/alpha/feed.rs +++ b/crates/jacquard-api/src/fm_teal/alpha/feed.rs @@ -42,12 +42,12 @@ fn lexicon_doc_fm_teal_alpha_feed_defs() -> ::jacquard_lexicon::lexicon::Lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("artist"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("artist"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("artistName") + ::jacquard_common::deps::smol_str::SmolStr::new_static("artistName") ], ), nullable: None, @@ -55,7 +55,7 @@ fn lexicon_doc_fm_teal_alpha_feed_defs() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "artistMbId", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -76,7 +76,7 @@ fn lexicon_doc_fm_teal_alpha_feed_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "artistName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -101,13 +101,13 @@ fn lexicon_doc_fm_teal_alpha_feed_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("playView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("playView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("trackName"), - ::jacquard_common::smol_str::SmolStr::new_static("artists") + ::jacquard_common::deps::smol_str::SmolStr::new_static("trackName"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("artists") ], ), nullable: None, @@ -115,7 +115,9 @@ fn lexicon_doc_fm_teal_alpha_feed_defs() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("artists"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "artists", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -131,7 +133,9 @@ fn lexicon_doc_fm_teal_alpha_feed_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("duration"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "duration", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -142,7 +146,9 @@ fn lexicon_doc_fm_teal_alpha_feed_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("isrc"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "isrc", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -161,7 +167,7 @@ fn lexicon_doc_fm_teal_alpha_feed_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "musicServiceBaseDomain", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -182,7 +188,7 @@ fn lexicon_doc_fm_teal_alpha_feed_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "originUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -203,7 +209,7 @@ fn lexicon_doc_fm_teal_alpha_feed_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "playedTime", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -226,7 +232,7 @@ fn lexicon_doc_fm_teal_alpha_feed_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "recordingMbId", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -247,7 +253,7 @@ fn lexicon_doc_fm_teal_alpha_feed_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "releaseMbId", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -268,7 +274,7 @@ fn lexicon_doc_fm_teal_alpha_feed_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "releaseName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -289,7 +295,7 @@ fn lexicon_doc_fm_teal_alpha_feed_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "submissionClientAgent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -310,7 +316,7 @@ fn lexicon_doc_fm_teal_alpha_feed_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "trackMbId", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -331,7 +337,7 @@ fn lexicon_doc_fm_teal_alpha_feed_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "trackName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -402,7 +408,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Artist<'a> { { let value = &self.artist_name; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -822,7 +828,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> PlayView<'a> { @@ -871,7 +877,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for PlayView<'a> { } if let Some(ref value) = self.release_name { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -901,7 +907,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for PlayView<'a> { } if let Some(ref value) = self.submission_client_agent { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -946,7 +952,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for PlayView<'a> { { let value = &self.track_name; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) 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 ddb2a980d..028e339b1 100644 --- a/crates/jacquard-api/src/fm_teal/alpha/feed/play.rs +++ b/crates/jacquard-api/src/fm_teal/alpha/feed/play.rs @@ -497,7 +497,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Play<'a> { @@ -611,7 +611,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Play<'a> { } if let Some(ref value) = self.release_discriminant { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -641,7 +641,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Play<'a> { } if let Some(ref value) = self.release_name { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -671,7 +671,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Play<'a> { } if let Some(ref value) = self.submission_client_agent { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -701,7 +701,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Play<'a> { } if let Some(ref value) = self.track_discriminant { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -746,7 +746,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Play<'a> { { let value = &self.track_name; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -777,7 +777,7 @@ fn lexicon_doc_fm_teal_alpha_feed_play() -> ::jacquard_lexicon::lexicon::Lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -785,7 +785,7 @@ fn lexicon_doc_fm_teal_alpha_feed_play() -> ::jacquard_lexicon::lexicon::Lexicon description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("trackName") + ::jacquard_common::deps::smol_str::SmolStr::new_static("trackName") ], ), nullable: None, @@ -793,7 +793,7 @@ fn lexicon_doc_fm_teal_alpha_feed_play() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "artistMbIds", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -819,7 +819,7 @@ fn lexicon_doc_fm_teal_alpha_feed_play() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "artistNames", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -845,7 +845,9 @@ fn lexicon_doc_fm_teal_alpha_feed_play() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("artists"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "artists", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -863,7 +865,7 @@ fn lexicon_doc_fm_teal_alpha_feed_play() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "duration", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -876,7 +878,9 @@ fn lexicon_doc_fm_teal_alpha_feed_play() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("isrc"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "isrc", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -895,7 +899,7 @@ fn lexicon_doc_fm_teal_alpha_feed_play() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "musicServiceBaseDomain", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -916,7 +920,7 @@ fn lexicon_doc_fm_teal_alpha_feed_play() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "originUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -937,7 +941,7 @@ fn lexicon_doc_fm_teal_alpha_feed_play() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "playedTime", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -960,7 +964,7 @@ fn lexicon_doc_fm_teal_alpha_feed_play() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "recordingMbId", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -981,7 +985,7 @@ fn lexicon_doc_fm_teal_alpha_feed_play() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "releaseDiscriminant", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1002,7 +1006,7 @@ fn lexicon_doc_fm_teal_alpha_feed_play() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "releaseMbId", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1023,7 +1027,7 @@ fn lexicon_doc_fm_teal_alpha_feed_play() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "releaseName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1044,7 +1048,7 @@ fn lexicon_doc_fm_teal_alpha_feed_play() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "submissionClientAgent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1065,7 +1069,7 @@ fn lexicon_doc_fm_teal_alpha_feed_play() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "trackDiscriminant", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1086,7 +1090,7 @@ fn lexicon_doc_fm_teal_alpha_feed_play() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "trackMbId", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1107,7 +1111,7 @@ fn lexicon_doc_fm_teal_alpha_feed_play() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "trackName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/fm_teal/alpha/stats.rs b/crates/jacquard-api/src/fm_teal/alpha/stats.rs index 03415186b..b7e8eceba 100644 --- a/crates/jacquard-api/src/fm_teal/alpha/stats.rs +++ b/crates/jacquard-api/src/fm_teal/alpha/stats.rs @@ -197,7 +197,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ArtistView<'a> { @@ -221,14 +221,14 @@ fn lexicon_doc_fm_teal_alpha_stats_defs() -> ::jacquard_lexicon::lexicon::Lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("artistView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("artistView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("mbid"), - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("playCount") + ::jacquard_common::deps::smol_str::SmolStr::new_static("mbid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("playCount") ], ), nullable: None, @@ -236,7 +236,9 @@ fn lexicon_doc_fm_teal_alpha_stats_defs() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("mbid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "mbid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -255,7 +257,9 @@ fn lexicon_doc_fm_teal_alpha_stats_defs() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Artist name"), @@ -272,7 +276,7 @@ fn lexicon_doc_fm_teal_alpha_stats_defs() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "playCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -289,14 +293,14 @@ fn lexicon_doc_fm_teal_alpha_stats_defs() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("recordingView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("recordingView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("mbid"), - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("playCount") + ::jacquard_common::deps::smol_str::SmolStr::new_static("mbid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("playCount") ], ), nullable: None, @@ -304,7 +308,9 @@ fn lexicon_doc_fm_teal_alpha_stats_defs() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("mbid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "mbid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -323,7 +329,9 @@ fn lexicon_doc_fm_teal_alpha_stats_defs() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -342,7 +350,7 @@ fn lexicon_doc_fm_teal_alpha_stats_defs() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "playCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -359,14 +367,14 @@ fn lexicon_doc_fm_teal_alpha_stats_defs() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("releaseView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("releaseView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("mbid"), - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("playCount") + ::jacquard_common::deps::smol_str::SmolStr::new_static("mbid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("playCount") ], ), nullable: None, @@ -374,7 +382,9 @@ fn lexicon_doc_fm_teal_alpha_stats_defs() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("mbid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "mbid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -393,7 +403,9 @@ fn lexicon_doc_fm_teal_alpha_stats_defs() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Release/album name"), @@ -410,7 +422,7 @@ fn lexicon_doc_fm_teal_alpha_stats_defs() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "playCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -480,49 +492,49 @@ pub mod recording_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Name; type Mbid; + type Name; type PlayCount; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Name = Unset; type Mbid = Unset; + type Name = Unset; type PlayCount = Unset; } - ///State transition - sets the `name` field to Set - pub struct SetName(PhantomData S>); - impl sealed::Sealed for SetName {} - impl State for SetName { - type Name = Set; - type Mbid = S::Mbid; - type PlayCount = S::PlayCount; - } ///State transition - sets the `mbid` field to Set pub struct SetMbid(PhantomData S>); impl sealed::Sealed for SetMbid {} impl State for SetMbid { - type Name = S::Name; type Mbid = Set; + type Name = S::Name; + type PlayCount = S::PlayCount; + } + ///State transition - sets the `name` field to Set + pub struct SetName(PhantomData S>); + impl sealed::Sealed for SetName {} + impl State for SetName { + type Mbid = S::Mbid; + type Name = Set; type PlayCount = S::PlayCount; } ///State transition - sets the `play_count` field to Set pub struct SetPlayCount(PhantomData S>); impl sealed::Sealed for SetPlayCount {} impl State for SetPlayCount { - type Name = S::Name; type Mbid = S::Mbid; + type Name = S::Name; type PlayCount = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `name` field - pub struct name(()); ///Marker type for the `mbid` field pub struct mbid(()); + ///Marker type for the `name` field + pub struct name(()); ///Marker type for the `play_count` field pub struct play_count(()); } @@ -617,8 +629,8 @@ where impl<'a, S> RecordingViewBuilder<'a, S> where S: recording_view_state::State, - S::Name: recording_view_state::IsSet, S::Mbid: recording_view_state::IsSet, + S::Name: recording_view_state::IsSet, S::PlayCount: recording_view_state::IsSet, { /// Build the final struct @@ -634,7 +646,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> RecordingView<'a> { @@ -850,7 +862,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ReleaseView<'a> { diff --git a/crates/jacquard-api/src/fyi_frontpage/feed/comment.rs b/crates/jacquard-api/src/fyi_frontpage/feed/comment.rs index 9c9ff780e..93ea88e58 100644 --- a/crates/jacquard-api/src/fyi_frontpage/feed/comment.rs +++ b/crates/jacquard-api/src/fyi_frontpage/feed/comment.rs @@ -41,50 +41,50 @@ pub mod comment_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Blocks; - type Post; type CreatedAt; + type Post; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Blocks = Unset; - type Post = Unset; type CreatedAt = Unset; + type Post = Unset; } ///State transition - sets the `blocks` field to Set pub struct SetBlocks(PhantomData S>); impl sealed::Sealed for SetBlocks {} impl State for SetBlocks { type Blocks = Set; - type Post = S::Post; - type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `post` field to Set - pub struct SetPost(PhantomData S>); - impl sealed::Sealed for SetPost {} - impl State for SetPost { - type Blocks = S::Blocks; - type Post = Set; type CreatedAt = S::CreatedAt; + type Post = S::Post; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { type Blocks = S::Blocks; - type Post = S::Post; type CreatedAt = Set; + type Post = S::Post; + } + ///State transition - sets the `post` field to Set + pub struct SetPost(PhantomData S>); + impl sealed::Sealed for SetPost {} + impl State for SetPost { + type Blocks = S::Blocks; + type CreatedAt = S::CreatedAt; + type Post = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `blocks` field pub struct blocks(()); - ///Marker type for the `post` field - pub struct post(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `post` field + pub struct post(()); } } @@ -198,8 +198,8 @@ impl<'a, S> CommentBuilder<'a, S> where S: comment_state::State, S::Blocks: comment_state::IsSet, - S::Post: comment_state::IsSet, S::CreatedAt: comment_state::IsSet, + S::Post: comment_state::IsSet, { /// Build the final struct pub fn build(self) -> Comment<'a> { @@ -215,7 +215,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Comment<'a> { @@ -331,7 +331,7 @@ fn lexicon_doc_fyi_frontpage_feed_comment() -> ::jacquard_lexicon::lexicon::Lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -343,9 +343,9 @@ fn lexicon_doc_fyi_frontpage_feed_comment() -> ::jacquard_lexicon::lexicon::Lexi description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("createdAt"), - ::jacquard_common::smol_str::SmolStr::new_static("post"), - ::jacquard_common::smol_str::SmolStr::new_static("blocks") + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("post"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("blocks") ], ), nullable: None, @@ -353,7 +353,9 @@ fn lexicon_doc_fyi_frontpage_feed_comment() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("blocks"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "blocks", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -371,7 +373,7 @@ fn lexicon_doc_fyi_frontpage_feed_comment() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -394,7 +396,9 @@ fn lexicon_doc_fyi_frontpage_feed_comment() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("parent"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "parent", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -403,7 +407,9 @@ fn lexicon_doc_fyi_frontpage_feed_comment() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("post"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "post", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/fyi_frontpage/feed/post.rs b/crates/jacquard-api/src/fyi_frontpage/feed/post.rs index 71d01fac1..3e5fafdd9 100644 --- a/crates/jacquard-api/src/fyi_frontpage/feed/post.rs +++ b/crates/jacquard-api/src/fyi_frontpage/feed/post.rs @@ -38,51 +38,51 @@ pub mod post_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; - type Subject; type Title; + type Subject; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; - type Subject = Unset; type Title = Unset; + type Subject = Unset; + type CreatedAt = Unset; } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; + ///State transition - sets the `title` field to Set + pub struct SetTitle(PhantomData S>); + impl sealed::Sealed for SetTitle {} + impl State for SetTitle { + type Title = Set; type Subject = S::Subject; - type Title = S::Title; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `subject` field to Set pub struct SetSubject(PhantomData S>); impl sealed::Sealed for SetSubject {} impl State for SetSubject { - type CreatedAt = S::CreatedAt; - type Subject = Set; type Title = S::Title; - } - ///State transition - sets the `title` field to Set - pub struct SetTitle(PhantomData S>); - impl sealed::Sealed for SetTitle {} - impl State for SetTitle { + type Subject = Set; type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Title = S::Title; type Subject = S::Subject; - type Title = Set; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); - ///Marker type for the `subject` field - pub struct subject(()); ///Marker type for the `title` field pub struct title(()); + ///Marker type for the `subject` field + pub struct subject(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -175,9 +175,9 @@ where impl<'a, S> PostBuilder<'a, S> where S: post_state::State, - S::CreatedAt: post_state::IsSet, - S::Subject: post_state::IsSet, S::Title: post_state::IsSet, + S::Subject: post_state::IsSet, + S::CreatedAt: post_state::IsSet, { /// Build the final struct pub fn build(self) -> Post<'a> { @@ -192,7 +192,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Post<'a> { @@ -295,7 +295,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Post<'a> { { let value = &self.title; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -326,7 +326,7 @@ fn lexicon_doc_fyi_frontpage_feed_post() -> ::jacquard_lexicon::lexicon::Lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -338,9 +338,9 @@ fn lexicon_doc_fyi_frontpage_feed_post() -> ::jacquard_lexicon::lexicon::Lexicon description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt"), - ::jacquard_common::smol_str::SmolStr::new_static("subject") + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject") ], ), nullable: None, @@ -348,7 +348,7 @@ fn lexicon_doc_fyi_frontpage_feed_post() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -371,7 +371,9 @@ fn lexicon_doc_fyi_frontpage_feed_post() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: Some( ::jacquard_common::CowStr::new_static( @@ -385,7 +387,9 @@ fn lexicon_doc_fyi_frontpage_feed_post() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -409,18 +413,22 @@ fn lexicon_doc_fyi_frontpage_feed_post() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("urlSubject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("urlSubject"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("url")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("url") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -555,7 +563,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> UrlSubject<'a> { diff --git a/crates/jacquard-api/src/fyi_frontpage/feed/vote.rs b/crates/jacquard-api/src/fyi_frontpage/feed/vote.rs index eb0c9fe34..c3498a951 100644 --- a/crates/jacquard-api/src/fyi_frontpage/feed/vote.rs +++ b/crates/jacquard-api/src/fyi_frontpage/feed/vote.rs @@ -35,37 +35,37 @@ pub mod vote_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type Subject; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type Subject = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Subject = S::Subject; + type CreatedAt = Unset; } ///State transition - sets the `subject` field to Set pub struct SetSubject(PhantomData S>); impl sealed::Sealed for SetSubject {} impl State for SetSubject { - type CreatedAt = S::CreatedAt; type Subject = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Subject = S::Subject; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `subject` field pub struct subject(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -138,8 +138,8 @@ where impl<'a, S> VoteBuilder<'a, S> where S: vote_state::State, - S::CreatedAt: vote_state::IsSet, S::Subject: vote_state::IsSet, + S::CreatedAt: vote_state::IsSet, { /// Build the final struct pub fn build(self) -> Vote<'a> { @@ -153,7 +153,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Vote<'a> { @@ -254,7 +254,7 @@ fn lexicon_doc_fyi_frontpage_feed_vote() -> ::jacquard_lexicon::lexicon::Lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -266,8 +266,8 @@ fn lexicon_doc_fyi_frontpage_feed_vote() -> ::jacquard_lexicon::lexicon::Lexicon description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -275,7 +275,7 @@ fn lexicon_doc_fyi_frontpage_feed_vote() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -298,7 +298,9 @@ fn lexicon_doc_fyi_frontpage_feed_vote() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/fyi_frontpage/richtext/block.rs b/crates/jacquard-api/src/fyi_frontpage/richtext/block.rs index 4020c4471..9d537f907 100644 --- a/crates/jacquard-api/src/fyi_frontpage/richtext/block.rs +++ b/crates/jacquard-api/src/fyi_frontpage/richtext/block.rs @@ -117,7 +117,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Block<'a> { @@ -139,18 +139,22 @@ fn lexicon_doc_fyi_frontpage_richtext_block() -> ::jacquard_lexicon::lexicon::Le defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("content")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("content") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "content", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -164,18 +168,24 @@ fn lexicon_doc_fyi_frontpage_richtext_block() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("plaintextParagraph"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "plaintextParagraph", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("text")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("text") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -261,7 +271,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for PlaintextParagraph<'a> { { let value = &self.text; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) diff --git a/crates/jacquard-api/src/fyi_questionable/actor/profile.rs b/crates/jacquard-api/src/fyi_questionable/actor/profile.rs index cf9d5eee8..efbcb9e63 100644 --- a/crates/jacquard-api/src/fyi_questionable/actor/profile.rs +++ b/crates/jacquard-api/src/fyi_questionable/actor/profile.rs @@ -150,7 +150,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Profile<'a> { @@ -251,7 +251,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Profile<'a> { } if let Some(ref value) = self.description { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -281,7 +281,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Profile<'a> { } if let Some(ref value) = self.display_name { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -312,7 +312,7 @@ fn lexicon_doc_fyi_questionable_actor_profile() -> ::jacquard_lexicon::lexicon:: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -328,7 +328,7 @@ fn lexicon_doc_fyi_questionable_actor_profile() -> ::jacquard_lexicon::lexicon:: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -347,7 +347,7 @@ fn lexicon_doc_fyi_questionable_actor_profile() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -364,7 +364,7 @@ fn lexicon_doc_fyi_questionable_actor_profile() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "displayName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/fyi_questionable/answer.rs b/crates/jacquard-api/src/fyi_questionable/answer.rs index 74b994f0b..1ad2980d2 100644 --- a/crates/jacquard-api/src/fyi_questionable/answer.rs +++ b/crates/jacquard-api/src/fyi_questionable/answer.rs @@ -38,51 +38,51 @@ pub mod answer_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type Question; type Content; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type Question = Unset; type Content = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Question = S::Question; - type Content = S::Content; + type CreatedAt = Unset; } ///State transition - sets the `question` field to Set pub struct SetQuestion(PhantomData S>); impl sealed::Sealed for SetQuestion {} impl State for SetQuestion { - type CreatedAt = S::CreatedAt; type Question = Set; type Content = S::Content; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `content` field to Set pub struct SetContent(PhantomData S>); impl sealed::Sealed for SetContent {} impl State for SetContent { - type CreatedAt = S::CreatedAt; type Question = S::Question; type Content = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Question = S::Question; + type Content = S::Content; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `question` field pub struct question(()); ///Marker type for the `content` field pub struct content(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -195,9 +195,9 @@ where impl<'a, S> AnswerBuilder<'a, S> where S: answer_state::State, - S::CreatedAt: answer_state::IsSet, S::Question: answer_state::IsSet, S::Content: answer_state::IsSet, + S::CreatedAt: answer_state::IsSet, { /// Build the final struct pub fn build(self) -> Answer<'a> { @@ -213,7 +213,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Answer<'a> { @@ -328,7 +328,7 @@ fn lexicon_doc_fyi_questionable_answer() -> ::jacquard_lexicon::lexicon::Lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -340,9 +340,9 @@ fn lexicon_doc_fyi_questionable_answer() -> ::jacquard_lexicon::lexicon::Lexicon description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("question"), - ::jacquard_common::smol_str::SmolStr::new_static("content"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("question"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -350,7 +350,9 @@ fn lexicon_doc_fyi_questionable_answer() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "content", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -359,7 +361,7 @@ fn lexicon_doc_fyi_questionable_answer() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -378,7 +380,7 @@ fn lexicon_doc_fyi_questionable_answer() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "languages", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -402,7 +404,7 @@ fn lexicon_doc_fyi_questionable_answer() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "question", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { diff --git a/crates/jacquard-api/src/fyi_questionable/question.rs b/crates/jacquard-api/src/fyi_questionable/question.rs index 31fb74093..ef22c33c5 100644 --- a/crates/jacquard-api/src/fyi_questionable/question.rs +++ b/crates/jacquard-api/src/fyi_questionable/question.rs @@ -241,7 +241,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Question<'a> { @@ -371,7 +371,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Question<'a> { { let value = &self.summary; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -402,7 +402,7 @@ fn lexicon_doc_fyi_questionable_question() -> ::jacquard_lexicon::lexicon::Lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -414,9 +414,9 @@ fn lexicon_doc_fyi_questionable_question() -> ::jacquard_lexicon::lexicon::Lexic description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("summary"), - ::jacquard_common::smol_str::SmolStr::new_static("content"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("summary"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -424,7 +424,9 @@ fn lexicon_doc_fyi_questionable_question() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "content", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -433,7 +435,7 @@ fn lexicon_doc_fyi_questionable_question() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contextRef", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -444,7 +446,7 @@ fn lexicon_doc_fyi_questionable_question() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -463,7 +465,7 @@ fn lexicon_doc_fyi_questionable_question() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "languages", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -491,7 +493,9 @@ fn lexicon_doc_fyi_questionable_question() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("summary"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "summary", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/fyi_questionable/richtext/blockquote.rs b/crates/jacquard-api/src/fyi_questionable/richtext/blockquote.rs index 89aa8e10c..08175109a 100644 --- a/crates/jacquard-api/src/fyi_questionable/richtext/blockquote.rs +++ b/crates/jacquard-api/src/fyi_questionable/richtext/blockquote.rs @@ -40,12 +40,12 @@ fn lexicon_doc_fyi_questionable_richtext_blockquote() -> ::jacquard_lexicon::lex defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("plaintext") + ::jacquard_common::deps::smol_str::SmolStr::new_static("plaintext") ], ), nullable: None, @@ -53,7 +53,9 @@ fn lexicon_doc_fyi_questionable_richtext_blockquote() -> ::jacquard_lexicon::lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("facets"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "facets", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -67,7 +69,7 @@ fn lexicon_doc_fyi_questionable_richtext_blockquote() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "plaintext", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { 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 b7769b71f..1de7008b0 100644 --- a/crates/jacquard-api/src/fyi_questionable/richtext/bsky_post.rs +++ b/crates/jacquard-api/src/fyi_questionable/richtext/bsky_post.rs @@ -115,7 +115,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> BskyPost<'a> { @@ -137,18 +137,22 @@ fn lexicon_doc_fyi_questionable_richtext_bskyPost() -> ::jacquard_lexicon::lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("postRef")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("postRef") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("postRef"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "postRef", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/fyi_questionable/richtext/code.rs b/crates/jacquard-api/src/fyi_questionable/richtext/code.rs index a68af5314..ba99e2d62 100644 --- a/crates/jacquard-api/src/fyi_questionable/richtext/code.rs +++ b/crates/jacquard-api/src/fyi_questionable/richtext/code.rs @@ -39,12 +39,12 @@ fn lexicon_doc_fyi_questionable_richtext_code() -> ::jacquard_lexicon::lexicon:: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("plaintext") + ::jacquard_common::deps::smol_str::SmolStr::new_static("plaintext") ], ), nullable: None, @@ -52,7 +52,9 @@ fn lexicon_doc_fyi_questionable_richtext_code() -> ::jacquard_lexicon::lexicon:: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("language"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "language", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -67,7 +69,7 @@ fn lexicon_doc_fyi_questionable_richtext_code() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "plaintext", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -84,7 +86,7 @@ fn lexicon_doc_fyi_questionable_richtext_code() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "syntaxHighlightingTheme", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -148,7 +150,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Code<'a> { } if let Some(ref value) = self.language { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -190,7 +192,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Code<'a> { } if let Some(ref value) = self.syntax_highlighting_theme { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) diff --git a/crates/jacquard-api/src/fyi_questionable/richtext/content.rs b/crates/jacquard-api/src/fyi_questionable/richtext/content.rs index 30fc3f0b1..436fd5904 100644 --- a/crates/jacquard-api/src/fyi_questionable/richtext/content.rs +++ b/crates/jacquard-api/src/fyi_questionable/richtext/content.rs @@ -7,7 +7,13 @@ #[jacquard_derive::lexicon] #[derive( - serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq, jacquard_derive::IntoStatic, + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic )] #[serde(rename_all = "camelCase")] pub struct Content<'a> { @@ -18,7 +24,7 @@ pub struct Content<'a> { pub mod content_state { - pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; + pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -108,7 +114,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Content<'a> { @@ -121,7 +127,13 @@ where #[jacquard_derive::open_union] #[derive( - serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq, jacquard_derive::IntoStatic, + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic )] #[serde(tag = "$type")] #[serde(bound(deserialize = "'de: 'a"))] @@ -137,7 +149,9 @@ pub enum ContentItemsItem<'a> { #[serde(rename = "fyi.questionable.richtext.header")] Header(Box>), #[serde(rename = "fyi.questionable.richtext.horizontalRule")] - HorizontalRule(Box>), + HorizontalRule( + Box>, + ), #[serde(rename = "fyi.questionable.richtext.image")] Image(Box>), #[serde(rename = "fyi.questionable.richtext.math")] @@ -148,8 +162,9 @@ pub enum ContentItemsItem<'a> { Website(Box>), } -fn lexicon_doc_fyi_questionable_richtext_content() --> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { +fn lexicon_doc_fyi_questionable_richtext_content() -> ::jacquard_lexicon::lexicon::LexiconDoc< + 'static, +> { ::jacquard_lexicon::lexicon::LexiconDoc { lexicon: ::jacquard_lexicon::lexicon::Lexicon::Lexicon1, id: ::jacquard_common::CowStr::new_static("fyi.questionable.richtext.content"), @@ -158,74 +173,52 @@ fn lexicon_doc_fyi_questionable_richtext_content() defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), - ::jacquard_lexicon::lexicon::LexUserType::Object( - ::jacquard_lexicon::lexicon::LexObject { - description: None, - required: Some(vec![::jacquard_common::smol_str::SmolStr::new_static( - "items", - )]), - nullable: None, - properties: { - #[allow(unused_mut)] - let mut map = ::alloc::collections::BTreeMap::new(); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("items"), - ::jacquard_lexicon::lexicon::LexObjectProperty::Array( - ::jacquard_lexicon::lexicon::LexArray { - description: Some(::jacquard_common::CowStr::new_static( - "Array of content blocks", - )), - items: ::jacquard_lexicon::lexicon::LexArrayItem::Union( - ::jacquard_lexicon::lexicon::LexRefUnion { - description: None, - refs: vec![ - ::jacquard_common::CowStr::new_static( - "fyi.questionable.richtext.text", - ), - ::jacquard_common::CowStr::new_static( - "fyi.questionable.richtext.blockquote", - ), - ::jacquard_common::CowStr::new_static( - "fyi.questionable.richtext.bskyPost", - ), - ::jacquard_common::CowStr::new_static( - "fyi.questionable.richtext.code", - ), - ::jacquard_common::CowStr::new_static( - "fyi.questionable.richtext.header", - ), - ::jacquard_common::CowStr::new_static( - "fyi.questionable.richtext.horizontalRule", - ), - ::jacquard_common::CowStr::new_static( - "fyi.questionable.richtext.image", - ), - ::jacquard_common::CowStr::new_static( - "fyi.questionable.richtext.math", - ), - ::jacquard_common::CowStr::new_static( - "fyi.questionable.richtext.text", - ), - ::jacquard_common::CowStr::new_static( - "fyi.questionable.richtext.list", - ), - ::jacquard_common::CowStr::new_static( - "fyi.questionable.richtext.website", - ), - ], - closed: Some(false), - }, - ), - min_length: None, - max_length: Some(1000usize), - }, + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: None, + required: Some( + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("items") + ], + ), + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "items", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { + description: Some( + ::jacquard_common::CowStr::new_static( + "Array of content blocks", + ), ), - ); - map - }, + items: ::jacquard_lexicon::lexicon::LexArrayItem::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("fyi.questionable.richtext.text"), + ::jacquard_common::CowStr::new_static("fyi.questionable.richtext.blockquote"), + ::jacquard_common::CowStr::new_static("fyi.questionable.richtext.bskyPost"), + ::jacquard_common::CowStr::new_static("fyi.questionable.richtext.code"), + ::jacquard_common::CowStr::new_static("fyi.questionable.richtext.header"), + ::jacquard_common::CowStr::new_static("fyi.questionable.richtext.horizontalRule"), + ::jacquard_common::CowStr::new_static("fyi.questionable.richtext.image"), + ::jacquard_common::CowStr::new_static("fyi.questionable.richtext.math"), + ::jacquard_common::CowStr::new_static("fyi.questionable.richtext.text"), + ::jacquard_common::CowStr::new_static("fyi.questionable.richtext.list"), + ::jacquard_common::CowStr::new_static("fyi.questionable.richtext.website") + ], + closed: Some(false), + }), + min_length: None, + max_length: Some(1000usize), + }), + ); + map }, - ), + }), ); map }, @@ -250,7 +243,9 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Content<'a> { #[allow(unused_comparisons)] if value.len() > 1000usize { return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { - path: ::jacquard_lexicon::validation::ValidationPath::from_field("items"), + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "items", + ), max: 1000usize, actual: value.len(), }); @@ -258,4 +253,4 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Content<'a> { } Ok(()) } -} +} \ 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 4fdedfe6a..165ec0d4e 100644 --- a/crates/jacquard-api/src/fyi_questionable/richtext/facet.rs +++ b/crates/jacquard-api/src/fyi_questionable/richtext/facet.rs @@ -30,7 +30,7 @@ fn lexicon_doc_fyi_questionable_richtext_facet() -> ::jacquard_lexicon::lexicon: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("bold"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("bold"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -47,7 +47,7 @@ fn lexicon_doc_fyi_questionable_richtext_facet() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("byteSlice"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("byteSlice"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -56,8 +56,8 @@ fn lexicon_doc_fyi_questionable_richtext_facet() -> ::jacquard_lexicon::lexicon: ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("byteStart"), - ::jacquard_common::smol_str::SmolStr::new_static("byteEnd") + ::jacquard_common::deps::smol_str::SmolStr::new_static("byteStart"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("byteEnd") ], ), nullable: None, @@ -65,7 +65,9 @@ fn lexicon_doc_fyi_questionable_richtext_facet() -> ::jacquard_lexicon::lexicon: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("byteEnd"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "byteEnd", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -76,7 +78,7 @@ fn lexicon_doc_fyi_questionable_richtext_facet() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "byteStart", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -93,7 +95,7 @@ fn lexicon_doc_fyi_questionable_richtext_facet() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("code"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("code"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -110,7 +112,7 @@ fn lexicon_doc_fyi_questionable_richtext_facet() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("highlight"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("highlight"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -127,7 +129,7 @@ fn lexicon_doc_fyi_questionable_richtext_facet() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("italic"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("italic"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -144,7 +146,7 @@ fn lexicon_doc_fyi_questionable_richtext_facet() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("link"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("link"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -152,14 +154,18 @@ fn lexicon_doc_fyi_questionable_richtext_facet() -> ::jacquard_lexicon::lexicon: ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("uri")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -180,7 +186,7 @@ fn lexicon_doc_fyi_questionable_richtext_facet() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -189,8 +195,8 @@ fn lexicon_doc_fyi_questionable_richtext_facet() -> ::jacquard_lexicon::lexicon: ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("index"), - ::jacquard_common::smol_str::SmolStr::new_static("features") + ::jacquard_common::deps::smol_str::SmolStr::new_static("index"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("features") ], ), nullable: None, @@ -198,7 +204,9 @@ fn lexicon_doc_fyi_questionable_richtext_facet() -> ::jacquard_lexicon::lexicon: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("features"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "features", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -220,7 +228,9 @@ fn lexicon_doc_fyi_questionable_richtext_facet() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("index"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "index", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#byteSlice"), @@ -231,7 +241,7 @@ fn lexicon_doc_fyi_questionable_richtext_facet() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("mention"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("mention"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -239,14 +249,18 @@ fn lexicon_doc_fyi_questionable_richtext_facet() -> ::jacquard_lexicon::lexicon: ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("did")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("did") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -267,7 +281,7 @@ fn lexicon_doc_fyi_questionable_richtext_facet() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("strikethrough"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("strikethrough"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -284,7 +298,7 @@ fn lexicon_doc_fyi_questionable_richtext_facet() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("underline"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("underline"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -464,7 +478,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ByteSlice<'a> { @@ -721,7 +735,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Link<'a> { @@ -778,37 +792,37 @@ pub mod facet_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Features; type Index; + type Features; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Features = Unset; type Index = Unset; - } - ///State transition - sets the `features` field to Set - pub struct SetFeatures(PhantomData S>); - impl sealed::Sealed for SetFeatures {} - impl State for SetFeatures { - type Features = Set; - type Index = S::Index; + type Features = Unset; } ///State transition - sets the `index` field to Set pub struct SetIndex(PhantomData S>); impl sealed::Sealed for SetIndex {} impl State for SetIndex { - type Features = S::Features; type Index = Set; + type Features = S::Features; + } + ///State transition - sets the `features` field to Set + pub struct SetFeatures(PhantomData S>); + impl sealed::Sealed for SetFeatures {} + impl State for SetFeatures { + type Index = S::Index; + type Features = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `features` field - pub struct features(()); ///Marker type for the `index` field pub struct index(()); + ///Marker type for the `features` field + pub struct features(()); } } @@ -881,8 +895,8 @@ where impl<'a, S> FacetBuilder<'a, S> where S: facet_state::State, - S::Features: facet_state::IsSet, S::Index: facet_state::IsSet, + S::Features: facet_state::IsSet, { /// Build the final struct pub fn build(self) -> Facet<'a> { @@ -896,7 +910,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Facet<'a> { @@ -1067,7 +1081,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Mention<'a> { diff --git a/crates/jacquard-api/src/fyi_questionable/richtext/header.rs b/crates/jacquard-api/src/fyi_questionable/richtext/header.rs index 043107c55..03af70eee 100644 --- a/crates/jacquard-api/src/fyi_questionable/richtext/header.rs +++ b/crates/jacquard-api/src/fyi_questionable/richtext/header.rs @@ -178,7 +178,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Header<'a> { @@ -202,13 +202,13 @@ fn lexicon_doc_fyi_questionable_richtext_header() -> ::jacquard_lexicon::lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("plaintext"), - ::jacquard_common::smol_str::SmolStr::new_static("level") + ::jacquard_common::deps::smol_str::SmolStr::new_static("plaintext"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("level") ], ), nullable: None, @@ -216,7 +216,9 @@ fn lexicon_doc_fyi_questionable_richtext_header() -> ::jacquard_lexicon::lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("facets"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "facets", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -230,7 +232,9 @@ fn lexicon_doc_fyi_questionable_richtext_header() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("level"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "level", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -241,7 +245,7 @@ fn lexicon_doc_fyi_questionable_richtext_header() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "plaintext", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -319,7 +323,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Header<'a> { { let value = &self.plaintext; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) 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 3eb534927..bb0dc165f 100644 --- a/crates/jacquard-api/src/fyi_questionable/richtext/horizontal_rule.rs +++ b/crates/jacquard-api/src/fyi_questionable/richtext/horizontal_rule.rs @@ -31,7 +31,7 @@ fn lexicon_doc_fyi_questionable_richtext_horizontalRule() -> ::jacquard_lexicon: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some(vec![]), diff --git a/crates/jacquard-api/src/fyi_questionable/richtext/image.rs b/crates/jacquard-api/src/fyi_questionable/richtext/image.rs index d5e648dc5..72d6460af 100644 --- a/crates/jacquard-api/src/fyi_questionable/richtext/image.rs +++ b/crates/jacquard-api/src/fyi_questionable/richtext/image.rs @@ -31,37 +31,37 @@ pub mod aspect_ratio_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Width; type Height; + type Width; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Width = Unset; type Height = Unset; - } - ///State transition - sets the `width` field to Set - pub struct SetWidth(PhantomData S>); - impl sealed::Sealed for SetWidth {} - impl State for SetWidth { - type Width = Set; - type Height = S::Height; + type Width = Unset; } ///State transition - sets the `height` field to Set pub struct SetHeight(PhantomData S>); impl sealed::Sealed for SetHeight {} impl State for SetHeight { - type Width = S::Width; type Height = Set; + type Width = S::Width; + } + ///State transition - sets the `width` field to Set + pub struct SetWidth(PhantomData S>); + impl sealed::Sealed for SetWidth {} + impl State for SetWidth { + type Height = S::Height; + type Width = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `width` field - pub struct width(()); ///Marker type for the `height` field pub struct height(()); + ///Marker type for the `width` field + pub struct width(()); } } @@ -131,8 +131,8 @@ where impl<'a, S> AspectRatioBuilder<'a, S> where S: aspect_ratio_state::State, - S::Width: aspect_ratio_state::IsSet, S::Height: aspect_ratio_state::IsSet, + S::Width: aspect_ratio_state::IsSet, { /// Build the final struct pub fn build(self) -> AspectRatio<'a> { @@ -146,7 +146,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> AspectRatio<'a> { @@ -169,13 +169,13 @@ fn lexicon_doc_fyi_questionable_richtext_image() -> ::jacquard_lexicon::lexicon: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("aspectRatio"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("aspectRatio"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("width"), - ::jacquard_common::smol_str::SmolStr::new_static("height") + ::jacquard_common::deps::smol_str::SmolStr::new_static("width"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("height") ], ), nullable: None, @@ -183,7 +183,9 @@ fn lexicon_doc_fyi_questionable_richtext_image() -> ::jacquard_lexicon::lexicon: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("height"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "height", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -194,7 +196,9 @@ fn lexicon_doc_fyi_questionable_richtext_image() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("width"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "width", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -209,13 +213,13 @@ fn lexicon_doc_fyi_questionable_richtext_image() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("image"), - ::jacquard_common::smol_str::SmolStr::new_static("aspectRatio") + ::jacquard_common::deps::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("aspectRatio") ], ), nullable: None, @@ -223,7 +227,9 @@ fn lexicon_doc_fyi_questionable_richtext_image() -> ::jacquard_lexicon::lexicon: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("alt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "alt", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -242,7 +248,7 @@ fn lexicon_doc_fyi_questionable_richtext_image() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "aspectRatio", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -251,7 +257,9 @@ fn lexicon_doc_fyi_questionable_richtext_image() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -451,7 +459,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Image<'a> { @@ -491,7 +499,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Image<'a> { } if let Some(ref value) = self.alt { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) diff --git a/crates/jacquard-api/src/fyi_questionable/richtext/list.rs b/crates/jacquard-api/src/fyi_questionable/richtext/list.rs index 45038d343..c250ea63e 100644 --- a/crates/jacquard-api/src/fyi_questionable/richtext/list.rs +++ b/crates/jacquard-api/src/fyi_questionable/richtext/list.rs @@ -132,7 +132,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> List<'a> { @@ -174,18 +174,22 @@ fn lexicon_doc_fyi_questionable_richtext_list() -> ::jacquard_lexicon::lexicon:: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("items")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("items") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("items"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "items", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -201,7 +205,9 @@ fn lexicon_doc_fyi_questionable_richtext_list() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("ordered"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "ordered", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, diff --git a/crates/jacquard-api/src/fyi_questionable/richtext/math.rs b/crates/jacquard-api/src/fyi_questionable/richtext/math.rs index a6e4ced0b..f915f95d9 100644 --- a/crates/jacquard-api/src/fyi_questionable/richtext/math.rs +++ b/crates/jacquard-api/src/fyi_questionable/richtext/math.rs @@ -33,18 +33,22 @@ fn lexicon_doc_fyi_questionable_richtext_math() -> ::jacquard_lexicon::lexicon:: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("tex")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("tex") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tex"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tex", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, diff --git a/crates/jacquard-api/src/fyi_questionable/richtext/text.rs b/crates/jacquard-api/src/fyi_questionable/richtext/text.rs index 0ce263a4a..1dffa8d79 100644 --- a/crates/jacquard-api/src/fyi_questionable/richtext/text.rs +++ b/crates/jacquard-api/src/fyi_questionable/richtext/text.rs @@ -41,12 +41,12 @@ fn lexicon_doc_fyi_questionable_richtext_text() -> ::jacquard_lexicon::lexicon:: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("plaintext") + ::jacquard_common::deps::smol_str::SmolStr::new_static("plaintext") ], ), nullable: None, @@ -54,7 +54,9 @@ fn lexicon_doc_fyi_questionable_richtext_text() -> ::jacquard_lexicon::lexicon:: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("facets"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "facets", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -68,7 +70,7 @@ fn lexicon_doc_fyi_questionable_richtext_text() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "plaintext", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -85,7 +87,9 @@ fn lexicon_doc_fyi_questionable_richtext_text() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("textSize"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "textSize", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, diff --git a/crates/jacquard-api/src/fyi_questionable/richtext/website.rs b/crates/jacquard-api/src/fyi_questionable/richtext/website.rs index 2444a1720..b8abd9de8 100644 --- a/crates/jacquard-api/src/fyi_questionable/richtext/website.rs +++ b/crates/jacquard-api/src/fyi_questionable/richtext/website.rs @@ -184,7 +184,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Website<'a> { @@ -209,18 +209,20 @@ fn lexicon_doc_fyi_questionable_richtext_website() -> ::jacquard_lexicon::lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("uri")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -237,7 +239,7 @@ fn lexicon_doc_fyi_questionable_richtext_website() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "previewImage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { @@ -247,7 +249,9 @@ fn lexicon_doc_fyi_questionable_richtext_website() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -262,7 +266,9 @@ fn lexicon_doc_fyi_questionable_richtext_website() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -314,7 +320,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Website<'a> { } if let Some(ref value) = self.description { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -344,7 +350,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Website<'a> { } if let Some(ref value) = self.title { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) diff --git a/crates/jacquard-api/src/fyi_questionable/selected_answer.rs b/crates/jacquard-api/src/fyi_questionable/selected_answer.rs index e824d7dbe..a9ff5f3f7 100644 --- a/crates/jacquard-api/src/fyi_questionable/selected_answer.rs +++ b/crates/jacquard-api/src/fyi_questionable/selected_answer.rs @@ -36,51 +36,51 @@ pub mod selected_answer_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type QuestionRef; type AnswerRef; type CreatedAt; + type QuestionRef; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type QuestionRef = Unset; type AnswerRef = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `question_ref` field to Set - pub struct SetQuestionRef(PhantomData S>); - impl sealed::Sealed for SetQuestionRef {} - impl State for SetQuestionRef { - type QuestionRef = Set; - type AnswerRef = S::AnswerRef; - type CreatedAt = S::CreatedAt; + type QuestionRef = Unset; } ///State transition - sets the `answer_ref` field to Set pub struct SetAnswerRef(PhantomData S>); impl sealed::Sealed for SetAnswerRef {} impl State for SetAnswerRef { - type QuestionRef = S::QuestionRef; type AnswerRef = Set; type CreatedAt = S::CreatedAt; + type QuestionRef = S::QuestionRef; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type QuestionRef = S::QuestionRef; type AnswerRef = S::AnswerRef; type CreatedAt = Set; + type QuestionRef = S::QuestionRef; + } + ///State transition - sets the `question_ref` field to Set + pub struct SetQuestionRef(PhantomData S>); + impl sealed::Sealed for SetQuestionRef {} + impl State for SetQuestionRef { + type AnswerRef = S::AnswerRef; + type CreatedAt = S::CreatedAt; + type QuestionRef = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `question_ref` field - pub struct question_ref(()); ///Marker type for the `answer_ref` field pub struct answer_ref(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `question_ref` field + pub struct question_ref(()); } } @@ -173,9 +173,9 @@ where impl<'a, S> SelectedAnswerBuilder<'a, S> where S: selected_answer_state::State, - S::QuestionRef: selected_answer_state::IsSet, S::AnswerRef: selected_answer_state::IsSet, S::CreatedAt: selected_answer_state::IsSet, + S::QuestionRef: selected_answer_state::IsSet, { /// Build the final struct pub fn build(self) -> SelectedAnswer<'a> { @@ -190,7 +190,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> SelectedAnswer<'a> { @@ -292,7 +292,7 @@ fn lexicon_doc_fyi_questionable_selectedAnswer() -> ::jacquard_lexicon::lexicon: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -304,9 +304,9 @@ fn lexicon_doc_fyi_questionable_selectedAnswer() -> ::jacquard_lexicon::lexicon: description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("questionRef"), - ::jacquard_common::smol_str::SmolStr::new_static("answerRef"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("questionRef"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("answerRef"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -314,7 +314,7 @@ fn lexicon_doc_fyi_questionable_selectedAnswer() -> ::jacquard_lexicon::lexicon: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "answerRef", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -325,7 +325,7 @@ fn lexicon_doc_fyi_questionable_selectedAnswer() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -348,7 +348,7 @@ fn lexicon_doc_fyi_questionable_selectedAnswer() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "questionRef", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { diff --git a/crates/jacquard-api/src/fyi_unravel/frontpage/comment.rs b/crates/jacquard-api/src/fyi_unravel/frontpage/comment.rs index 971adab7b..f2dba59e1 100644 --- a/crates/jacquard-api/src/fyi_unravel/frontpage/comment.rs +++ b/crates/jacquard-api/src/fyi_unravel/frontpage/comment.rs @@ -40,49 +40,49 @@ pub mod comment_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Content; type CreatedAt; + type Content; type Post; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Content = Unset; type CreatedAt = Unset; + type Content = Unset; type Post = Unset; } - ///State transition - sets the `content` field to Set - pub struct SetContent(PhantomData S>); - impl sealed::Sealed for SetContent {} - impl State for SetContent { - type Content = Set; - type CreatedAt = S::CreatedAt; - type Post = S::Post; - } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Content = S::Content; type CreatedAt = Set; + type Content = S::Content; + type Post = S::Post; + } + ///State transition - sets the `content` field to Set + pub struct SetContent(PhantomData S>); + impl sealed::Sealed for SetContent {} + impl State for SetContent { + type CreatedAt = S::CreatedAt; + type Content = Set; type Post = S::Post; } ///State transition - sets the `post` field to Set pub struct SetPost(PhantomData S>); impl sealed::Sealed for SetPost {} impl State for SetPost { - type Content = S::Content; type CreatedAt = S::CreatedAt; + type Content = S::Content; type Post = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `content` field - pub struct content(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `content` field + pub struct content(()); ///Marker type for the `post` field pub struct post(()); } @@ -197,8 +197,8 @@ where impl<'a, S> CommentBuilder<'a, S> where S: comment_state::State, - S::Content: comment_state::IsSet, S::CreatedAt: comment_state::IsSet, + S::Content: comment_state::IsSet, S::Post: comment_state::IsSet, { /// Build the final struct @@ -215,7 +215,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Comment<'a> { @@ -319,7 +319,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Comment<'a> { { let value = &self.content; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -350,7 +350,7 @@ fn lexicon_doc_fyi_unravel_frontpage_comment() -> ::jacquard_lexicon::lexicon::L defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -362,9 +362,9 @@ fn lexicon_doc_fyi_unravel_frontpage_comment() -> ::jacquard_lexicon::lexicon::L description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("content"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt"), - ::jacquard_common::smol_str::SmolStr::new_static("post") + ::jacquard_common::deps::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("post") ], ), nullable: None, @@ -372,7 +372,9 @@ fn lexicon_doc_fyi_unravel_frontpage_comment() -> ::jacquard_lexicon::lexicon::L #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "content", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -391,7 +393,7 @@ fn lexicon_doc_fyi_unravel_frontpage_comment() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -414,7 +416,9 @@ fn lexicon_doc_fyi_unravel_frontpage_comment() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("parent"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "parent", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -423,7 +427,9 @@ fn lexicon_doc_fyi_unravel_frontpage_comment() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("post"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "post", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/fyi_unravel/frontpage/post.rs b/crates/jacquard-api/src/fyi_unravel/frontpage/post.rs index 7dbe20529..4fc130faa 100644 --- a/crates/jacquard-api/src/fyi_unravel/frontpage/post.rs +++ b/crates/jacquard-api/src/fyi_unravel/frontpage/post.rs @@ -38,49 +38,49 @@ pub mod post_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Title; type Url; + type Title; type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Title = Unset; type Url = Unset; + type Title = Unset; type CreatedAt = Unset; } - ///State transition - sets the `title` field to Set - pub struct SetTitle(PhantomData S>); - impl sealed::Sealed for SetTitle {} - impl State for SetTitle { - type Title = Set; - type Url = S::Url; - type CreatedAt = S::CreatedAt; - } ///State transition - sets the `url` field to Set pub struct SetUrl(PhantomData S>); impl sealed::Sealed for SetUrl {} impl State for SetUrl { - type Title = S::Title; type Url = Set; + type Title = S::Title; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `title` field to Set + pub struct SetTitle(PhantomData S>); + impl sealed::Sealed for SetTitle {} + impl State for SetTitle { + type Url = S::Url; + type Title = Set; type CreatedAt = S::CreatedAt; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Title = S::Title; type Url = S::Url; + type Title = S::Title; type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `title` field - pub struct title(()); ///Marker type for the `url` field pub struct url(()); + ///Marker type for the `title` field + pub struct title(()); ///Marker type for the `created_at` field pub struct created_at(()); } @@ -175,8 +175,8 @@ where impl<'a, S> PostBuilder<'a, S> where S: post_state::State, - S::Title: post_state::IsSet, S::Url: post_state::IsSet, + S::Title: post_state::IsSet, S::CreatedAt: post_state::IsSet, { /// Build the final struct @@ -192,7 +192,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Post<'a> { @@ -295,7 +295,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Post<'a> { { let value = &self.title; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -326,7 +326,7 @@ fn lexicon_doc_fyi_unravel_frontpage_post() -> ::jacquard_lexicon::lexicon::Lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -338,9 +338,9 @@ fn lexicon_doc_fyi_unravel_frontpage_post() -> ::jacquard_lexicon::lexicon::Lexi description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("url"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -348,7 +348,7 @@ fn lexicon_doc_fyi_unravel_frontpage_post() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -371,7 +371,9 @@ fn lexicon_doc_fyi_unravel_frontpage_post() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -390,7 +392,9 @@ fn lexicon_doc_fyi_unravel_frontpage_post() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/fyi_unravel/frontpage/vote.rs b/crates/jacquard-api/src/fyi_unravel/frontpage/vote.rs index e8a5449e3..be2fcc7e1 100644 --- a/crates/jacquard-api/src/fyi_unravel/frontpage/vote.rs +++ b/crates/jacquard-api/src/fyi_unravel/frontpage/vote.rs @@ -152,7 +152,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Vote<'a> { @@ -253,7 +253,7 @@ fn lexicon_doc_fyi_unravel_frontpage_vote() -> ::jacquard_lexicon::lexicon::Lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -265,8 +265,8 @@ fn lexicon_doc_fyi_unravel_frontpage_vote() -> ::jacquard_lexicon::lexicon::Lexi description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -274,7 +274,7 @@ fn lexicon_doc_fyi_unravel_frontpage_vote() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -297,7 +297,9 @@ fn lexicon_doc_fyi_unravel_frontpage_vote() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( 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 c15c15391..5e7eba754 100644 --- a/crates/jacquard-api/src/games_firehose/barklesheep/place_sheeps.rs +++ b/crates/jacquard-api/src/games_firehose/barklesheep/place_sheeps.rs @@ -35,37 +35,37 @@ pub mod place_sheeps_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type GameId; type Sheeps; + type GameId; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type GameId = Unset; type Sheeps = Unset; - } - ///State transition - sets the `game_id` field to Set - pub struct SetGameId(PhantomData S>); - impl sealed::Sealed for SetGameId {} - impl State for SetGameId { - type GameId = Set; - type Sheeps = S::Sheeps; + type GameId = Unset; } ///State transition - sets the `sheeps` field to Set pub struct SetSheeps(PhantomData S>); impl sealed::Sealed for SetSheeps {} impl State for SetSheeps { - type GameId = S::GameId; type Sheeps = Set; + type GameId = S::GameId; + } + ///State transition - sets the `game_id` field to Set + pub struct SetGameId(PhantomData S>); + impl sealed::Sealed for SetGameId {} + impl State for SetGameId { + type Sheeps = S::Sheeps; + type GameId = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `game_id` field - pub struct game_id(()); ///Marker type for the `sheeps` field pub struct sheeps(()); + ///Marker type for the `game_id` field + pub struct game_id(()); } } @@ -142,8 +142,8 @@ where impl<'a, S> PlaceSheepsBuilder<'a, S> where S: place_sheeps_state::State, - S::GameId: place_sheeps_state::IsSet, S::Sheeps: place_sheeps_state::IsSet, + S::GameId: place_sheeps_state::IsSet, { /// Build the final struct pub fn build(self) -> PlaceSheeps<'a> { @@ -157,7 +157,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> PlaceSheeps<'a> { @@ -244,51 +244,51 @@ pub mod sheep_placement_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Horizontal; type Type; type Start; + type Horizontal; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Horizontal = Unset; type Type = Unset; type Start = Unset; - } - ///State transition - sets the `horizontal` field to Set - pub struct SetHorizontal(PhantomData S>); - impl sealed::Sealed for SetHorizontal {} - impl State for SetHorizontal { - type Horizontal = Set; - type Type = S::Type; - type Start = S::Start; + type Horizontal = Unset; } ///State transition - sets the `type` field to Set pub struct SetType(PhantomData S>); impl sealed::Sealed for SetType {} impl State for SetType { - type Horizontal = S::Horizontal; type Type = Set; type Start = S::Start; + type Horizontal = S::Horizontal; } ///State transition - sets the `start` field to Set pub struct SetStart(PhantomData S>); impl sealed::Sealed for SetStart {} impl State for SetStart { - type Horizontal = S::Horizontal; type Type = S::Type; type Start = Set; + type Horizontal = S::Horizontal; + } + ///State transition - sets the `horizontal` field to Set + pub struct SetHorizontal(PhantomData S>); + impl sealed::Sealed for SetHorizontal {} + impl State for SetHorizontal { + type Type = S::Type; + type Start = S::Start; + type Horizontal = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `horizontal` field - pub struct horizontal(()); ///Marker type for the `type` field pub struct r#type(()); ///Marker type for the `start` field pub struct start(()); + ///Marker type for the `horizontal` field + pub struct horizontal(()); } } @@ -381,9 +381,9 @@ where impl<'a, S> SheepPlacementBuilder<'a, S> where S: sheep_placement_state::State, - S::Horizontal: sheep_placement_state::IsSet, S::Type: sheep_placement_state::IsSet, S::Start: sheep_placement_state::IsSet, + S::Horizontal: sheep_placement_state::IsSet, { /// Build the final struct pub fn build(self) -> SheepPlacement<'a> { @@ -398,7 +398,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> SheepPlacement<'a> { @@ -424,7 +424,7 @@ fn lexicon_doc_games_firehose_barklesheep_placeSheeps() -> ::jacquard_lexicon::l defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcProcedure(::jacquard_lexicon::lexicon::LexXrpcProcedure { description: None, parameters: None, @@ -438,8 +438,8 @@ fn lexicon_doc_games_firehose_barklesheep_placeSheeps() -> ::jacquard_lexicon::l description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("gameId"), - ::jacquard_common::smol_str::SmolStr::new_static("sheeps") + ::jacquard_common::deps::smol_str::SmolStr::new_static("gameId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("sheeps") ], ), nullable: None, @@ -447,7 +447,9 @@ fn lexicon_doc_games_firehose_barklesheep_placeSheeps() -> ::jacquard_lexicon::l #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("gameId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "gameId", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -462,7 +464,9 @@ fn lexicon_doc_games_firehose_barklesheep_placeSheeps() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sheeps"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sheeps", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -485,14 +489,14 @@ fn lexicon_doc_games_firehose_barklesheep_placeSheeps() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sheepPlacement"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("sheepPlacement"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("type"), - ::jacquard_common::smol_str::SmolStr::new_static("start"), - ::jacquard_common::smol_str::SmolStr::new_static("horizontal") + ::jacquard_common::deps::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("start"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("horizontal") ], ), nullable: None, @@ -500,7 +504,7 @@ fn lexicon_doc_games_firehose_barklesheep_placeSheeps() -> ::jacquard_lexicon::l #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "horizontal", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -510,7 +514,9 @@ fn lexicon_doc_games_firehose_barklesheep_placeSheeps() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("start"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "start", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -521,7 +527,9 @@ fn lexicon_doc_games_firehose_barklesheep_placeSheeps() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "type", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, diff --git a/crates/jacquard-api/src/games_firehose/barklesheep/reaction.rs b/crates/jacquard-api/src/games_firehose/barklesheep/reaction.rs index 72600744a..1f0c4ca01 100644 --- a/crates/jacquard-api/src/games_firehose/barklesheep/reaction.rs +++ b/crates/jacquard-api/src/games_firehose/barklesheep/reaction.rs @@ -35,49 +35,49 @@ pub mod reaction_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Emoji; type GameId; + type Emoji; type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Emoji = Unset; type GameId = Unset; + type Emoji = Unset; type CreatedAt = Unset; } - ///State transition - sets the `emoji` field to Set - pub struct SetEmoji(PhantomData S>); - impl sealed::Sealed for SetEmoji {} - impl State for SetEmoji { - type Emoji = Set; - type GameId = S::GameId; - type CreatedAt = S::CreatedAt; - } ///State transition - sets the `game_id` field to Set pub struct SetGameId(PhantomData S>); impl sealed::Sealed for SetGameId {} impl State for SetGameId { - type Emoji = S::Emoji; type GameId = Set; + type Emoji = S::Emoji; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `emoji` field to Set + pub struct SetEmoji(PhantomData S>); + impl sealed::Sealed for SetEmoji {} + impl State for SetEmoji { + type GameId = S::GameId; + type Emoji = Set; type CreatedAt = S::CreatedAt; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Emoji = S::Emoji; type GameId = S::GameId; + type Emoji = S::Emoji; type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `emoji` field - pub struct emoji(()); ///Marker type for the `game_id` field pub struct game_id(()); + ///Marker type for the `emoji` field + pub struct emoji(()); ///Marker type for the `created_at` field pub struct created_at(()); } @@ -172,8 +172,8 @@ where impl<'a, S> ReactionBuilder<'a, S> where S: reaction_state::State, - S::Emoji: reaction_state::IsSet, S::GameId: reaction_state::IsSet, + S::Emoji: reaction_state::IsSet, S::CreatedAt: reaction_state::IsSet, { /// Build the final struct @@ -189,7 +189,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Reaction<'a> { @@ -304,7 +304,7 @@ fn lexicon_doc_games_firehose_barklesheep_reaction() -> ::jacquard_lexicon::lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -316,9 +316,9 @@ fn lexicon_doc_games_firehose_barklesheep_reaction() -> ::jacquard_lexicon::lexi description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("gameId"), - ::jacquard_common::smol_str::SmolStr::new_static("emoji"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("gameId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("emoji"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -326,7 +326,7 @@ fn lexicon_doc_games_firehose_barklesheep_reaction() -> ::jacquard_lexicon::lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -345,7 +345,9 @@ fn lexicon_doc_games_firehose_barklesheep_reaction() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("emoji"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "emoji", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -360,7 +362,9 @@ fn lexicon_doc_games_firehose_barklesheep_reaction() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("gameId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "gameId", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, diff --git a/crates/jacquard-api/src/games_gamesgamesgamesgames.rs b/crates/jacquard-api/src/games_gamesgamesgamesgames.rs index 4030bd00f..b893d5589 100644 --- a/crates/jacquard-api/src/games_gamesgamesgamesgames.rs +++ b/crates/jacquard-api/src/games_gamesgamesgamesgames.rs @@ -27,7 +27,13 @@ pub mod slug; #[jacquard_derive::lexicon] #[derive( - serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq, jacquard_derive::IntoStatic, + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic )] #[serde(rename_all = "camelCase")] pub struct ActorProfileDetailView<'a> { @@ -41,7 +47,9 @@ pub struct ActorProfileDetailView<'a> { pub description: std::option::Option>, #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub description_facets: std::option::Option>>, + pub description_facets: std::option::Option< + Vec>, + >, #[serde(borrow)] pub did: jacquard_common::types::string::Did<'a>, #[serde(skip_serializing_if = "std::option::Option::is_none")] @@ -54,12 +62,14 @@ pub struct ActorProfileDetailView<'a> { pub uri: jacquard_common::types::string::AtUri<'a>, #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub websites: std::option::Option>>, + pub websites: std::option::Option< + Vec>, + >, } pub mod actor_profile_detail_view_state { - pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; + pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -120,7 +130,10 @@ pub struct ActorProfileDetailViewBuilder<'a, S: actor_profile_detail_view_state: impl<'a> ActorProfileDetailView<'a> { /// Create a new builder for this type - pub fn new() -> ActorProfileDetailViewBuilder<'a, actor_profile_detail_view_state::Empty> { + pub fn new() -> ActorProfileDetailViewBuilder< + 'a, + actor_profile_detail_view_state::Empty, + > { ActorProfileDetailViewBuilder::new() } } @@ -130,13 +143,26 @@ impl<'a> ActorProfileDetailViewBuilder<'a, actor_profile_detail_view_state::Empt pub fn new() -> Self { ActorProfileDetailViewBuilder { _phantom_state: ::core::marker::PhantomData, - __unsafe_private_named: (None, None, None, None, None, None, None, None, None), + __unsafe_private_named: ( + None, + None, + None, + None, + None, + None, + None, + None, + None, + ), _phantom: ::core::marker::PhantomData, } } } -impl<'a, S: actor_profile_detail_view_state::State> ActorProfileDetailViewBuilder<'a, S> { +impl< + 'a, + S: actor_profile_detail_view_state::State, +> ActorProfileDetailViewBuilder<'a, S> { /// Set the `avatar` field (optional) pub fn avatar( mut self, @@ -155,7 +181,10 @@ impl<'a, S: actor_profile_detail_view_state::State> ActorProfileDetailViewBuilde } } -impl<'a, S: actor_profile_detail_view_state::State> ActorProfileDetailViewBuilder<'a, S> { +impl< + 'a, + S: actor_profile_detail_view_state::State, +> ActorProfileDetailViewBuilder<'a, S> { /// Set the `createdAt` field (optional) pub fn created_at( mut self, @@ -174,20 +203,32 @@ impl<'a, S: actor_profile_detail_view_state::State> ActorProfileDetailViewBuilde } } -impl<'a, S: actor_profile_detail_view_state::State> ActorProfileDetailViewBuilder<'a, S> { +impl< + 'a, + S: actor_profile_detail_view_state::State, +> ActorProfileDetailViewBuilder<'a, S> { /// Set the `description` field (optional) - pub fn description(mut self, value: impl Into>>) -> Self { + pub fn description( + mut self, + value: impl Into>>, + ) -> Self { self.__unsafe_private_named.2 = 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.__unsafe_private_named.2 = value; self } } -impl<'a, S: actor_profile_detail_view_state::State> ActorProfileDetailViewBuilder<'a, S> { +impl< + 'a, + S: actor_profile_detail_view_state::State, +> ActorProfileDetailViewBuilder<'a, S> { /// Set the `descriptionFacets` field (optional) pub fn description_facets( mut self, @@ -225,22 +266,37 @@ where } } -impl<'a, S: actor_profile_detail_view_state::State> ActorProfileDetailViewBuilder<'a, S> { +impl< + 'a, + S: actor_profile_detail_view_state::State, +> ActorProfileDetailViewBuilder<'a, S> { /// Set the `displayName` field (optional) - pub fn display_name(mut self, value: impl Into>>) -> Self { + pub fn display_name( + mut self, + value: impl Into>>, + ) -> Self { self.__unsafe_private_named.5 = value.into(); self } /// Set the `displayName` field to an Option value (optional) - pub fn maybe_display_name(mut self, value: Option>) -> Self { + pub fn maybe_display_name( + mut self, + value: Option>, + ) -> Self { self.__unsafe_private_named.5 = value; self } } -impl<'a, S: actor_profile_detail_view_state::State> ActorProfileDetailViewBuilder<'a, S> { +impl< + 'a, + S: actor_profile_detail_view_state::State, +> ActorProfileDetailViewBuilder<'a, S> { /// Set the `pronouns` field (optional) - pub fn pronouns(mut self, value: impl Into>>) -> Self { + pub fn pronouns( + mut self, + value: impl Into>>, + ) -> Self { self.__unsafe_private_named.6 = value.into(); self } @@ -270,7 +326,10 @@ where } } -impl<'a, S: actor_profile_detail_view_state::State> ActorProfileDetailViewBuilder<'a, S> { +impl< + 'a, + S: actor_profile_detail_view_state::State, +> ActorProfileDetailViewBuilder<'a, S> { /// Set the `websites` field (optional) pub fn websites( mut self, @@ -314,7 +373,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ActorProfileDetailView<'a> { @@ -333,8 +392,9 @@ where } } -fn lexicon_doc_games_gamesgamesgamesgames_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> -{ +fn lexicon_doc_games_gamesgamesgamesgames_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< + 'static, +> { ::jacquard_lexicon::lexicon::LexiconDoc { lexicon: ::jacquard_lexicon::lexicon::Lexicon::Lexicon1, id: ::jacquard_common::CowStr::new_static("games.gamesgamesgamesgames.defs"), @@ -343,920 +403,15 @@ fn lexicon_doc_games_gamesgamesgamesgames_defs() -> ::jacquard_lexicon::lexicon: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("actorProfileDetailView"), - ::jacquard_lexicon::lexicon::LexUserType::Object( - ::jacquard_lexicon::lexicon::LexObject { - description: None, - required: Some(vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("did"), - ]), - nullable: None, - properties: { - #[allow(unused_mut)] - let mut map = ::alloc::collections::BTreeMap::new(); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("avatar"), - ::jacquard_lexicon::lexicon::LexObjectProperty::Blob( - ::jacquard_lexicon::lexicon::LexBlob { - description: None, - accept: None, - max_size: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("createdAt"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: Some( - ::jacquard_lexicon::lexicon::LexStringFormat::Datetime, - ), - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("description"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: Some(3000usize), - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( - "descriptionFacets", - ), - ::jacquard_lexicon::lexicon::LexObjectProperty::Array( - ::jacquard_lexicon::lexicon::LexArray { - description: None, - items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref( - ::jacquard_lexicon::lexicon::LexRef { - description: None, - r#ref: ::jacquard_common::CowStr::new_static( - "app.bsky.richtext.facet", - ), - }, - ), - min_length: None, - max_length: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: Some( - ::jacquard_lexicon::lexicon::LexStringFormat::Did, - ), - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("displayName"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: Some(640usize), - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("pronouns"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: Some(200usize), - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: Some( - ::jacquard_lexicon::lexicon::LexStringFormat::AtUri, - ), - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("websites"), - ::jacquard_lexicon::lexicon::LexObjectProperty::Array( - ::jacquard_lexicon::lexicon::LexArray { - description: None, - items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref( - ::jacquard_lexicon::lexicon::LexRef { - description: None, - r#ref: ::jacquard_common::CowStr::new_static( - "games.gamesgamesgamesgames.defs#website", - ), - }, - ), - min_length: None, - max_length: None, - }, - ), - ); - map - }, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("actorProfileSummaryView"), - ::jacquard_lexicon::lexicon::LexUserType::Object( - ::jacquard_lexicon::lexicon::LexObject { - description: None, - required: Some(vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("did"), - ]), - nullable: None, - properties: { - #[allow(unused_mut)] - let mut map = ::alloc::collections::BTreeMap::new(); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("avatar"), - ::jacquard_lexicon::lexicon::LexObjectProperty::Blob( - ::jacquard_lexicon::lexicon::LexBlob { - description: None, - accept: None, - max_size: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: Some( - ::jacquard_lexicon::lexicon::LexStringFormat::Did, - ), - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("displayName"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: Some(640usize), - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: Some( - ::jacquard_lexicon::lexicon::LexStringFormat::AtUri, - ), - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map - }, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("ageRating"), - ::jacquard_lexicon::lexicon::LexUserType::Object( - ::jacquard_lexicon::lexicon::LexObject { - description: None, - required: Some(vec![ - ::jacquard_common::smol_str::SmolStr::new_static("organization"), - ::jacquard_common::smol_str::SmolStr::new_static("rating"), - ]), - nullable: None, - properties: { - #[allow(unused_mut)] - let mut map = ::alloc::collections::BTreeMap::new(); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( - "contentDescriptors", - ), - ::jacquard_lexicon::lexicon::LexObjectProperty::Array( - ::jacquard_lexicon::lexicon::LexArray { - description: None, - items: ::jacquard_lexicon::lexicon::LexArrayItem::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - min_length: None, - max_length: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("organization"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rating"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map - }, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("alternativeName"), - ::jacquard_lexicon::lexicon::LexUserType::Object( - ::jacquard_lexicon::lexicon::LexObject { - description: None, - required: Some(vec![::jacquard_common::smol_str::SmolStr::new_static( - "name", - )]), - nullable: None, - properties: { - #[allow(unused_mut)] - let mut map = ::alloc::collections::BTreeMap::new(); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("comment"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("locale"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map - }, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("applicationType"), - ::jacquard_lexicon::lexicon::LexUserType::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("collectionSummaryView"), - ::jacquard_lexicon::lexicon::LexUserType::Object( - ::jacquard_lexicon::lexicon::LexObject { - description: None, - required: Some(vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ]), - nullable: None, - properties: { - #[allow(unused_mut)] - let mut map = ::alloc::collections::BTreeMap::new(); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("slug"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("type"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: Some( - ::jacquard_lexicon::lexicon::LexStringFormat::AtUri, - ), - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map - }, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("companyRole"), - ::jacquard_lexicon::lexicon::LexUserType::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("creditEntry"), - ::jacquard_lexicon::lexicon::LexUserType::Object( - ::jacquard_lexicon::lexicon::LexObject { - description: None, - required: Some(vec![::jacquard_common::smol_str::SmolStr::new_static( - "role", - )]), - nullable: None, - properties: { - #[allow(unused_mut)] - let mut map = ::alloc::collections::BTreeMap::new(); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("department"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: Some(640usize), - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("role"), - ::jacquard_lexicon::lexicon::LexObjectProperty::Ref( - ::jacquard_lexicon::lexicon::LexRef { - description: None, - r#ref: ::jacquard_common::CowStr::new_static( - "games.gamesgamesgamesgames.defs#individualRole", - ), - }, - ), - ); - map - }, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("engineSummaryView"), - ::jacquard_lexicon::lexicon::LexUserType::Object( - ::jacquard_lexicon::lexicon::LexObject { - description: None, - required: Some(vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ]), - nullable: None, - properties: { - #[allow(unused_mut)] - let mut map = ::alloc::collections::BTreeMap::new(); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("slug"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: Some( - ::jacquard_lexicon::lexicon::LexStringFormat::AtUri, - ), - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map - }, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("externalIds"), - ::jacquard_lexicon::lexicon::LexUserType::Object( - ::jacquard_lexicon::lexicon::LexObject { - description: None, - required: None, - nullable: None, - properties: { - #[allow(unused_mut)] - let mut map = ::alloc::collections::BTreeMap::new(); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("appleAppStore"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("epicGames"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("gog"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("googlePlay"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("humbleBundle"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("igdb"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("itchIo"), - ::jacquard_lexicon::lexicon::LexObjectProperty::Ref( - ::jacquard_lexicon::lexicon::LexRef { - description: None, - r#ref: ::jacquard_common::CowStr::new_static( - "games.gamesgamesgamesgames.defs#itchIoId", - ), - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("nintendoEshop"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("playStation"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("steam"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("xbox"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map - }, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("externalVideo"), - ::jacquard_lexicon::lexicon::LexUserType::Object( - ::jacquard_lexicon::lexicon::LexObject { - description: None, - required: Some(vec![ - ::jacquard_common::smol_str::SmolStr::new_static("videoId"), - ::jacquard_common::smol_str::SmolStr::new_static("platform"), - ]), - nullable: None, - properties: { - #[allow(unused_mut)] - let mut map = ::alloc::collections::BTreeMap::new(); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("platform"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("videoId"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map - }, - }, + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "actorProfileDetailView", ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("gameDetailView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("did") ], ), nullable: None, @@ -1264,80 +419,75 @@ fn lexicon_doc_games_gamesgamesgamesgames_defs() -> ::jacquard_lexicon::lexicon: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( - "ageRatings", + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "avatar", ), - ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { + ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, - items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { - description: None, - r#ref: ::jacquard_common::CowStr::new_static( - "games.gamesgamesgamesgames.defs#ageRating", - ), - }), - min_length: None, - max_length: None, + accept: None, + max_size: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( - "alternativeNames", + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "createdAt", ), - ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, - items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { - description: None, - r#ref: ::jacquard_common::CowStr::new_static( - "games.gamesgamesgamesgames.defs#alternativeName", - ), - }), + format: Some( + ::jacquard_lexicon::lexicon::LexStringFormat::Datetime, + ), + default: None, min_length: None, max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( - "applicationType", + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "description", ), - ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, - r#ref: ::jacquard_common::CowStr::new_static( - "games.gamesgamesgamesgames.defs#applicationType", - ), + format: None, + default: None, + min_length: None, + max_length: Some(3000usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( - "collections", + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "descriptionFacets", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, - items: ::jacquard_lexicon::lexicon::LexArrayItem::String(::jacquard_lexicon::lexicon::LexString { + items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, - format: Some( - ::jacquard_lexicon::lexicon::LexStringFormat::AtUri, + r#ref: ::jacquard_common::CowStr::new_static( + "app.bsky.richtext.facet", ), - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, }), min_length: None, max_length: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( - "createdAt", + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( - ::jacquard_lexicon::lexicon::LexStringFormat::Datetime, + ::jacquard_lexicon::lexicon::LexStringFormat::Did, ), default: None, min_length: None, @@ -1350,140 +500,133 @@ fn lexicon_doc_games_gamesgamesgamesgames_defs() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("engines"), - ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "displayName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, - items: ::jacquard_lexicon::lexicon::LexArrayItem::String(::jacquard_lexicon::lexicon::LexString { - description: None, - format: Some( - ::jacquard_lexicon::lexicon::LexStringFormat::AtUri, - ), - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }), + format: None, + default: None, min_length: None, - max_length: None, + max_length: Some(640usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( - "externalIds", + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "pronouns", ), - ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { - description: None, - r#ref: ::jacquard_common::CowStr::new_static( - "games.gamesgamesgamesgames.defs#externalIds", - ), - }), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("genres"), - ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, - items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { - description: None, - r#ref: ::jacquard_common::CowStr::new_static( - "games.gamesgamesgamesgames.defs#genre", - ), - }), + format: None, + default: None, min_length: None, - max_length: None, + max_length: Some(200usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("keywords"), - ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, - items: ::jacquard_lexicon::lexicon::LexArrayItem::String(::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }), + format: Some( + ::jacquard_lexicon::lexicon::LexStringFormat::AtUri, + ), + default: None, min_length: None, max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( - "languageSupports", + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "websites", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( - "games.gamesgamesgamesgames.defs#languageSupport", - ), - }), - min_length: None, - max_length: None, - }), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("media"), - ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { - description: None, - items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { - description: None, - r#ref: ::jacquard_common::CowStr::new_static( - "games.gamesgamesgamesgames.defs#mediaItem", + "games.gamesgamesgamesgames.defs#website", ), }), min_length: None, max_length: None, }), ); + map + }, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "actorProfileSummaryView", + ), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: None, + required: Some( + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("did") + ], + ), + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("modes"), - ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "avatar", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, - items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { - description: None, - r#ref: ::jacquard_common::CowStr::new_static( - "games.gamesgamesgamesgames.defs#mode", - ), - }), - min_length: None, - max_length: None, + accept: None, + max_size: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( - "multiplayerModes", + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", ), - ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, - items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { - description: None, - r#ref: ::jacquard_common::CowStr::new_static( - "games.gamesgamesgamesgames.defs#multiplayerMode", - ), - }), + format: Some( + ::jacquard_lexicon::lexicon::LexStringFormat::Did, + ), + default: None, min_length: None, max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "displayName", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, default: None, min_length: None, - max_length: None, + max_length: Some(640usize), min_graphemes: None, max_graphemes: None, r#enum: None, @@ -1492,7 +635,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_defs() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("parent"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -1508,31 +653,53 @@ fn lexicon_doc_games_gamesgamesgamesgames_defs() -> ::jacquard_lexicon::lexicon: known_values: None, }), ); + map + }, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static("ageRating"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: None, + required: Some( + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("organization"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("rating") + ], + ), + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( - "playerPerspectives", + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "contentDescriptors", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, - items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { + items: ::jacquard_lexicon::lexicon::LexArrayItem::String(::jacquard_lexicon::lexicon::LexString { description: None, - r#ref: ::jacquard_common::CowStr::new_static( - "games.gamesgamesgamesgames.defs#playerPerspective", - ), + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, }), min_length: None, max_length: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( - "publishedAt", + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "organization", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, - format: Some( - ::jacquard_lexicon::lexicon::LexStringFormat::Datetime, - ), + format: None, default: None, min_length: None, max_length: None, @@ -1544,21 +711,45 @@ fn lexicon_doc_games_gamesgamesgamesgames_defs() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("releases"), - ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "rating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, - items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { - description: None, - r#ref: ::jacquard_common::CowStr::new_static( - "games.gamesgamesgamesgames.defs#release", - ), - }), + format: None, + default: None, min_length: None, max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, }), ); + map + }, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "alternativeName", + ), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: None, + required: Some( + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("name") + ], + ), + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("slug"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "comment", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -1573,8 +764,8 @@ fn lexicon_doc_games_gamesgamesgamesgames_defs() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( - "storyline", + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "locale", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, @@ -1590,7 +781,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_defs() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("summary"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -1604,38 +797,67 @@ fn lexicon_doc_games_gamesgamesgamesgames_defs() -> ::jacquard_lexicon::lexicon: known_values: None, }), ); + map + }, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "applicationType", + ), + ::jacquard_lexicon::lexicon::LexUserType::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "collectionSummaryView", + ), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: None, + required: Some( + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("name") + ], + ), + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("themes"), - ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, - items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { - description: None, - r#ref: ::jacquard_common::CowStr::new_static( - "games.gamesgamesgamesgames.defs#theme", - ), - }), + format: None, + default: None, min_length: None, max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( - "timeToBeat", + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "slug", ), - ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { - description: None, - r#ref: ::jacquard_common::CowStr::new_static( - "games.gamesgamesgamesgames.defs#timeToBeat", - ), - }), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, - format: Some( - ::jacquard_lexicon::lexicon::LexStringFormat::AtUri, - ), + format: None, default: None, min_length: None, max_length: None, @@ -1647,31 +869,39 @@ fn lexicon_doc_games_gamesgamesgamesgames_defs() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("videos"), - ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "type", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, - items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { - description: None, - r#ref: ::jacquard_common::CowStr::new_static( - "games.gamesgamesgamesgames.defs#externalVideo", - ), - }), + format: None, + default: None, min_length: None, max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("websites"), - ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, - items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { - description: None, - r#ref: ::jacquard_common::CowStr::new_static( - "games.gamesgamesgamesgames.defs#website", - ), - }), + format: Some( + ::jacquard_lexicon::lexicon::LexStringFormat::AtUri, + ), + default: None, min_length: None, max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, }), ); map @@ -1679,1632 +909,2955 @@ fn lexicon_doc_games_gamesgamesgamesgames_defs() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("gameFeedViewItem"), - ::jacquard_lexicon::lexicon::LexUserType::Object( - ::jacquard_lexicon::lexicon::LexObject { - description: None, - required: Some(vec![::jacquard_common::smol_str::SmolStr::new_static( - "game", - )]), - nullable: None, - properties: { - #[allow(unused_mut)] - let mut map = ::alloc::collections::BTreeMap::new(); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("feedContext"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: Some(2000usize), - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("game"), - ::jacquard_lexicon::lexicon::LexObjectProperty::Ref( - ::jacquard_lexicon::lexicon::LexRef { - description: None, - r#ref: ::jacquard_common::CowStr::new_static( - "games.gamesgamesgamesgames.defs#gameView", - ), - }, - ), - ); - map - }, - }, - ), + ::jacquard_common::deps::smol_str::SmolStr::new_static("companyRole"), + ::jacquard_lexicon::lexicon::LexUserType::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("gameSummaryView"), - ::jacquard_lexicon::lexicon::LexUserType::Object( - ::jacquard_lexicon::lexicon::LexObject { - description: None, - required: Some(vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ]), - nullable: None, - properties: { - #[allow(unused_mut)] - let mut map = ::alloc::collections::BTreeMap::new(); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("applicationType"), - ::jacquard_lexicon::lexicon::LexObjectProperty::Ref( - ::jacquard_lexicon::lexicon::LexRef { - description: None, - r#ref: ::jacquard_common::CowStr::new_static( - "games.gamesgamesgamesgames.defs#applicationType", - ), - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( - "firstReleaseDate", - ), - ::jacquard_lexicon::lexicon::LexObjectProperty::Integer( - ::jacquard_lexicon::lexicon::LexInteger { - description: None, - default: None, - minimum: None, - maximum: None, - r#enum: None, - r#const: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("media"), - ::jacquard_lexicon::lexicon::LexObjectProperty::Array( - ::jacquard_lexicon::lexicon::LexArray { - description: None, - items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref( - ::jacquard_lexicon::lexicon::LexRef { - description: None, - r#ref: ::jacquard_common::CowStr::new_static( - "games.gamesgamesgamesgames.defs#mediaItem", - ), - }, - ), - min_length: None, - max_length: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("slug"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("summary"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: Some( - ::jacquard_lexicon::lexicon::LexStringFormat::AtUri, - ), - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, + ::jacquard_common::deps::smol_str::SmolStr::new_static("creditEntry"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: None, + required: Some( + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("role") + ], + ), + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "department", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: Some(640usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "role", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "games.gamesgamesgamesgames.defs#individualRole", ), - ); - map - }, + }), + ); + map }, - ), + }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("gameView"), - ::jacquard_lexicon::lexicon::LexUserType::Object( - ::jacquard_lexicon::lexicon::LexObject { - description: None, - required: Some(vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("applicationType"), - ]), - nullable: None, - properties: { - #[allow(unused_mut)] - let mut map = ::alloc::collections::BTreeMap::new(); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("applicationType"), - ::jacquard_lexicon::lexicon::LexObjectProperty::Ref( - ::jacquard_lexicon::lexicon::LexRef { - description: None, - r#ref: ::jacquard_common::CowStr::new_static( - "games.gamesgamesgamesgames.defs#applicationType", - ), - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("genres"), - ::jacquard_lexicon::lexicon::LexObjectProperty::Array( - ::jacquard_lexicon::lexicon::LexArray { - description: None, - items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref( - ::jacquard_lexicon::lexicon::LexRef { - description: None, - r#ref: ::jacquard_common::CowStr::new_static( - "games.gamesgamesgamesgames.defs#genre", - ), - }, - ), - min_length: None, - max_length: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("likeCount"), - ::jacquard_lexicon::lexicon::LexObjectProperty::Integer( - ::jacquard_lexicon::lexicon::LexInteger { - description: None, - default: None, - minimum: Some(0i64), - maximum: None, - r#enum: None, - r#const: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("media"), - ::jacquard_lexicon::lexicon::LexObjectProperty::Array( - ::jacquard_lexicon::lexicon::LexArray { - description: None, - items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref( - ::jacquard_lexicon::lexicon::LexRef { - description: None, - r#ref: ::jacquard_common::CowStr::new_static( - "games.gamesgamesgamesgames.defs#mediaItem", - ), - }, - ), - min_length: None, - max_length: None, - }, + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "engineSummaryView", + ), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: None, + required: Some( + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("name") + ], + ), + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "slug", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: Some( + ::jacquard_lexicon::lexicon::LexStringFormat::AtUri, + ), + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static("externalIds"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: None, + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "appleAppStore", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "epicGames", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "gog", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "googlePlay", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "humbleBundle", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "igdb", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "itchIo", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "games.gamesgamesgamesgames.defs#itchIoId", + ), + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "nintendoEshop", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "playStation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "steam", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "xbox", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static("externalVideo"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: None, + required: Some( + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("videoId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("platform") + ], + ), + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "platform", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "videoId", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static("gameDetailView"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: None, + required: Some( + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") + ], + ), + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "ageRatings", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { + description: None, + items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "games.gamesgamesgamesgames.defs#ageRating", + ), + }), + min_length: None, + max_length: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "alternativeNames", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { + description: None, + items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "games.gamesgamesgamesgames.defs#alternativeName", + ), + }), + min_length: None, + max_length: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "applicationType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "games.gamesgamesgamesgames.defs#applicationType", + ), + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "collections", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { + description: None, + items: ::jacquard_lexicon::lexicon::LexArrayItem::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: Some( + ::jacquard_lexicon::lexicon::LexStringFormat::AtUri, + ), + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + min_length: None, + max_length: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "createdAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: Some( + ::jacquard_lexicon::lexicon::LexStringFormat::Datetime, + ), + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "engines", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { + description: None, + items: ::jacquard_lexicon::lexicon::LexArrayItem::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: Some( + ::jacquard_lexicon::lexicon::LexStringFormat::AtUri, + ), + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + min_length: None, + max_length: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "externalIds", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "games.gamesgamesgamesgames.defs#externalIds", + ), + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "genres", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { + description: None, + items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "games.gamesgamesgamesgames.defs#genre", + ), + }), + min_length: None, + max_length: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "keywords", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { + description: None, + items: ::jacquard_lexicon::lexicon::LexArrayItem::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + min_length: None, + max_length: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "languageSupports", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { + description: None, + items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "games.gamesgamesgamesgames.defs#languageSupport", + ), + }), + min_length: None, + max_length: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "media", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { + description: None, + items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "games.gamesgamesgamesgames.defs#mediaItem", + ), + }), + min_length: None, + max_length: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "modes", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { + description: None, + items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "games.gamesgamesgamesgames.defs#mode", + ), + }), + min_length: None, + max_length: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "multiplayerModes", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { + description: None, + items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "games.gamesgamesgamesgames.defs#multiplayerMode", + ), + }), + min_length: None, + max_length: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "parent", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: Some( + ::jacquard_lexicon::lexicon::LexStringFormat::AtUri, + ), + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "playerPerspectives", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { + description: None, + items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "games.gamesgamesgamesgames.defs#playerPerspective", + ), + }), + min_length: None, + max_length: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "publishedAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: Some( + ::jacquard_lexicon::lexicon::LexStringFormat::Datetime, + ), + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "releases", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { + description: None, + items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "games.gamesgamesgamesgames.defs#release", + ), + }), + min_length: None, + max_length: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "slug", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "storyline", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "summary", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "themes", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { + description: None, + items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "games.gamesgamesgamesgames.defs#theme", + ), + }), + min_length: None, + max_length: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "timeToBeat", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "games.gamesgamesgamesgames.defs#timeToBeat", + ), + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: Some( + ::jacquard_lexicon::lexicon::LexStringFormat::AtUri, + ), + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "videos", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { + description: None, + items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "games.gamesgamesgamesgames.defs#externalVideo", + ), + }), + min_length: None, + max_length: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "websites", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { + description: None, + items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "games.gamesgamesgamesgames.defs#website", + ), + }), + min_length: None, + max_length: None, + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "gameFeedViewItem", + ), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: None, + required: Some( + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("game") + ], + ), + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "feedContext", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: Some(2000usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "game", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "games.gamesgamesgamesgames.defs#gameView", + ), + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "gameSummaryView", + ), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: None, + required: Some( + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("name") + ], + ), + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "applicationType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "games.gamesgamesgamesgames.defs#applicationType", + ), + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "firstReleaseDate", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { + description: None, + default: None, + minimum: None, + maximum: None, + r#enum: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "media", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { + description: None, + items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "games.gamesgamesgamesgames.defs#mediaItem", + ), + }), + min_length: None, + max_length: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "slug", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "summary", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: Some( + ::jacquard_lexicon::lexicon::LexStringFormat::AtUri, + ), + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static("gameView"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: None, + required: Some( + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("applicationType") + ], + ), + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "applicationType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "games.gamesgamesgamesgames.defs#applicationType", + ), + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "genres", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { + description: None, + items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "games.gamesgamesgamesgames.defs#genre", + ), + }), + min_length: None, + max_length: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "likeCount", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { + description: None, + default: None, + minimum: Some(0i64), + maximum: None, + r#enum: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "media", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { + description: None, + items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "games.gamesgamesgamesgames.defs#mediaItem", + ), + }), + min_length: None, + max_length: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "releases", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { + description: None, + items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "games.gamesgamesgamesgames.defs#release", + ), + }), + min_length: None, + max_length: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "slug", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "summary", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "themes", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { + description: None, + items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "games.gamesgamesgamesgames.defs#theme", + ), + }), + min_length: None, + max_length: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: Some( + ::jacquard_lexicon::lexicon::LexStringFormat::AtUri, + ), + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "viewer", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "games.gamesgamesgamesgames.defs#viewerState", + ), + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static("genre"), + ::jacquard_lexicon::lexicon::LexUserType::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static("individualRole"), + ::jacquard_lexicon::lexicon::LexUserType::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static("itchIoId"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: None, + required: Some( + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("developer"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("game") + ], + ), + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "developer", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "game", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "languageSupport", + ), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: None, + required: Some( + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("language") + ], + ), + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "audio", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "interface", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "language", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subtitles", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static("mediaItem"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: None, + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "blob", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { + description: None, + accept: None, + max_size: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "description", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "height", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { + description: None, + default: None, + minimum: None, + maximum: None, + r#enum: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "locale", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "mediaType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "width", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { + description: None, + default: None, + minimum: None, + maximum: None, + r#enum: None, + r#const: None, + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static("mode"), + ::jacquard_lexicon::lexicon::LexUserType::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "multiplayerMode", + ), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: None, + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "hasCampaignCoop", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "hasDropIn", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "hasLanCoop", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "hasSplitscreen", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "hasSplitscreenOnline", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "offlineCoopMax", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { + description: None, + default: None, + minimum: None, + maximum: None, + r#enum: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "offlineMax", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { + description: None, + default: None, + minimum: None, + maximum: None, + r#enum: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "onlineCoopMax", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { + description: None, + default: None, + minimum: None, + maximum: None, + r#enum: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "onlineMax", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { + description: None, + default: None, + minimum: None, + maximum: None, + r#enum: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "platform", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "orgProfileDetailView", + ), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: None, + required: Some( + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("did") + ], + ), + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "avatar", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { + description: None, + accept: None, + max_size: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "country", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "createdAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: Some( + ::jacquard_lexicon::lexicon::LexStringFormat::Datetime, + ), + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "description", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: Some(3000usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "descriptionFacets", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { + description: None, + items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "app.bsky.richtext.facet", + ), + }), + min_length: None, + max_length: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: Some( + ::jacquard_lexicon::lexicon::LexStringFormat::Did, ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "displayName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: Some(640usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "foundedAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: Some( + ::jacquard_lexicon::lexicon::LexStringFormat::Datetime, ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("releases"), - ::jacquard_lexicon::lexicon::LexObjectProperty::Array( - ::jacquard_lexicon::lexicon::LexArray { - description: None, - items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref( - ::jacquard_lexicon::lexicon::LexRef { - description: None, - r#ref: ::jacquard_common::CowStr::new_static( - "games.gamesgamesgamesgames.defs#release", - ), - }, - ), - min_length: None, - max_length: None, - }, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "media", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { + description: None, + items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "games.gamesgamesgamesgames.defs#mediaItem", + ), + }), + min_length: None, + max_length: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "parent", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: Some( + ::jacquard_lexicon::lexicon::LexStringFormat::AtUri, ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("slug"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "status", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: Some( + ::jacquard_lexicon::lexicon::LexStringFormat::AtUri, ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("summary"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "websites", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { + description: None, + items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "games.gamesgamesgamesgames.defs#website", + ), + }), + min_length: None, + max_length: None, + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "orgProfileSummaryView", + ), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: None, + required: Some( + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("did") + ], + ), + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "avatar", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { + description: None, + accept: None, + max_size: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: Some( + ::jacquard_lexicon::lexicon::LexStringFormat::Did, ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("themes"), - ::jacquard_lexicon::lexicon::LexObjectProperty::Array( - ::jacquard_lexicon::lexicon::LexArray { - description: None, - items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref( - ::jacquard_lexicon::lexicon::LexRef { - description: None, - r#ref: ::jacquard_common::CowStr::new_static( - "games.gamesgamesgamesgames.defs#theme", - ), - }, - ), - min_length: None, - max_length: None, - }, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "displayName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: Some(640usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: Some( + ::jacquard_lexicon::lexicon::LexStringFormat::AtUri, ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: Some( - ::jacquard_lexicon::lexicon::LexStringFormat::AtUri, - ), - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "platformCategory", + ), + ::jacquard_lexicon::lexicon::LexUserType::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "platformFeatures", + ), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static( + "Features supported by a game on a specific storefront/platform.", + ), + ), + required: Some( + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("platform"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("features") + ], + ), + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "features", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { + description: None, + items: ::jacquard_lexicon::lexicon::LexArrayItem::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + min_length: None, + max_length: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "platform", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "platformSummaryView", + ), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: None, + required: Some( + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("name") + ], + ), + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "abbreviation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "category", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "games.gamesgamesgamesgames.defs#platformCategory", ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("viewer"), - ::jacquard_lexicon::lexicon::LexObjectProperty::Ref( - ::jacquard_lexicon::lexicon::LexRef { - description: None, - r#ref: ::jacquard_common::CowStr::new_static( - "games.gamesgamesgamesgames.defs#viewerState", - ), - }, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "slug", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: Some( + ::jacquard_lexicon::lexicon::LexStringFormat::AtUri, ), - ); - map - }, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map }, - ), + }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("genre"), - ::jacquard_lexicon::lexicon::LexUserType::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "platformVersion", ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("individualRole"), - ::jacquard_lexicon::lexicon::LexUserType::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: None, + required: Some( + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("name") + ], + ), + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "connectivity", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cpu", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "gpu", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "maxResolution", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "media", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { + description: None, + items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "games.gamesgamesgamesgames.defs#mediaItem", + ), + }), + min_length: None, + max_length: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "memory", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static("os"), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "output", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "storage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "summary", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map }, - ), + }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("itchIoId"), - ::jacquard_lexicon::lexicon::LexUserType::Object( - ::jacquard_lexicon::lexicon::LexObject { - description: None, - required: Some(vec![ - ::jacquard_common::smol_str::SmolStr::new_static("developer"), - ::jacquard_common::smol_str::SmolStr::new_static("game"), - ]), - nullable: None, - properties: { - #[allow(unused_mut)] - let mut map = ::alloc::collections::BTreeMap::new(); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("developer"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("game"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map - }, - }, + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "playerPerspective", ), + ::jacquard_lexicon::lexicon::LexUserType::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("languageSupport"), - ::jacquard_lexicon::lexicon::LexUserType::Object( - ::jacquard_lexicon::lexicon::LexObject { - description: None, - required: Some(vec![::jacquard_common::smol_str::SmolStr::new_static( - "language", - )]), - nullable: None, - properties: { - #[allow(unused_mut)] - let mut map = ::alloc::collections::BTreeMap::new(); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("audio"), - ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean( - ::jacquard_lexicon::lexicon::LexBoolean { - description: None, - default: None, - r#const: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("interface"), - ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean( - ::jacquard_lexicon::lexicon::LexBoolean { - description: None, - default: None, - r#const: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("language"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "profileSummaryView", + ), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: None, + required: Some( + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("profileType") + ], + ), + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "avatar", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { + description: None, + accept: None, + max_size: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: Some( + ::jacquard_lexicon::lexicon::LexStringFormat::Did, ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subtitles"), - ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean( - ::jacquard_lexicon::lexicon::LexBoolean { - description: None, - default: None, - r#const: None, - }, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "displayName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: Some(640usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "profileType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: Some( + ::jacquard_lexicon::lexicon::LexStringFormat::AtUri, ), - ); - map - }, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map }, - ), + }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("mediaItem"), - ::jacquard_lexicon::lexicon::LexUserType::Object( - ::jacquard_lexicon::lexicon::LexObject { - description: None, - required: None, - nullable: None, - properties: { - #[allow(unused_mut)] - let mut map = ::alloc::collections::BTreeMap::new(); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("blob"), - ::jacquard_lexicon::lexicon::LexObjectProperty::Blob( - ::jacquard_lexicon::lexicon::LexBlob { - description: None, - accept: None, - max_size: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("description"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("height"), - ::jacquard_lexicon::lexicon::LexObjectProperty::Integer( - ::jacquard_lexicon::lexicon::LexInteger { - description: None, - default: None, - minimum: None, - maximum: None, - r#enum: None, - r#const: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("locale"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("mediaType"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, + ::jacquard_common::deps::smol_str::SmolStr::new_static("release"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: None, + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "platform", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Free-text platform name, used when no platform record exists.", + ), ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "platformUri", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "AT URI of a platform record.", + ), ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("width"), - ::jacquard_lexicon::lexicon::LexObjectProperty::Integer( - ::jacquard_lexicon::lexicon::LexInteger { - description: None, - default: None, - minimum: None, - maximum: None, - r#enum: None, - r#const: None, - }, + format: Some( + ::jacquard_lexicon::lexicon::LexStringFormat::AtUri, ), - ); - map - }, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("mode"), - ::jacquard_lexicon::lexicon::LexUserType::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "releaseDates", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { + description: None, + items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "games.gamesgamesgamesgames.defs#releaseDate", + ), + }), + min_length: None, + max_length: None, + }), + ); + map }, - ), + }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("multiplayerMode"), - ::jacquard_lexicon::lexicon::LexUserType::Object( - ::jacquard_lexicon::lexicon::LexObject { - description: None, - required: None, - nullable: None, - properties: { - #[allow(unused_mut)] - let mut map = ::alloc::collections::BTreeMap::new(); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hasCampaignCoop"), - ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean( - ::jacquard_lexicon::lexicon::LexBoolean { - description: None, - default: None, - r#const: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hasDropIn"), - ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean( - ::jacquard_lexicon::lexicon::LexBoolean { - description: None, - default: None, - r#const: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hasLanCoop"), - ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean( - ::jacquard_lexicon::lexicon::LexBoolean { - description: None, - default: None, - r#const: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hasSplitscreen"), - ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean( - ::jacquard_lexicon::lexicon::LexBoolean { - description: None, - default: None, - r#const: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( - "hasSplitscreenOnline", - ), - ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean( - ::jacquard_lexicon::lexicon::LexBoolean { - description: None, - default: None, - r#const: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("offlineCoopMax"), - ::jacquard_lexicon::lexicon::LexObjectProperty::Integer( - ::jacquard_lexicon::lexicon::LexInteger { - description: None, - default: None, - minimum: None, - maximum: None, - r#enum: None, - r#const: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("offlineMax"), - ::jacquard_lexicon::lexicon::LexObjectProperty::Integer( - ::jacquard_lexicon::lexicon::LexInteger { - description: None, - default: None, - minimum: None, - maximum: None, - r#enum: None, - r#const: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("onlineCoopMax"), - ::jacquard_lexicon::lexicon::LexObjectProperty::Integer( - ::jacquard_lexicon::lexicon::LexInteger { - description: None, - default: None, - minimum: None, - maximum: None, - r#enum: None, - r#const: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("onlineMax"), - ::jacquard_lexicon::lexicon::LexObjectProperty::Integer( - ::jacquard_lexicon::lexicon::LexInteger { - description: None, - default: None, - minimum: None, - maximum: None, - r#enum: None, - r#const: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("platform"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map - }, + ::jacquard_common::deps::smol_str::SmolStr::new_static("releaseDate"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: None, + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "region", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "releasedAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "releasedAtFormat", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "status", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map }, - ), + }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("orgProfileDetailView"), - ::jacquard_lexicon::lexicon::LexUserType::Object( - ::jacquard_lexicon::lexicon::LexObject { - description: None, - required: Some(vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("did"), - ]), - nullable: None, - properties: { - #[allow(unused_mut)] - let mut map = ::alloc::collections::BTreeMap::new(); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("avatar"), - ::jacquard_lexicon::lexicon::LexObjectProperty::Blob( - ::jacquard_lexicon::lexicon::LexBlob { - description: None, - accept: None, - max_size: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("country"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("createdAt"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: Some( - ::jacquard_lexicon::lexicon::LexStringFormat::Datetime, - ), - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("description"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: Some(3000usize), - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( - "descriptionFacets", - ), - ::jacquard_lexicon::lexicon::LexObjectProperty::Array( - ::jacquard_lexicon::lexicon::LexArray { - description: None, - items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref( - ::jacquard_lexicon::lexicon::LexRef { - description: None, - r#ref: ::jacquard_common::CowStr::new_static( - "app.bsky.richtext.facet", - ), - }, - ), - min_length: None, - max_length: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: Some( - ::jacquard_lexicon::lexicon::LexStringFormat::Did, - ), - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("displayName"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: Some(640usize), - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("foundedAt"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: Some( - ::jacquard_lexicon::lexicon::LexStringFormat::Datetime, - ), - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("media"), - ::jacquard_lexicon::lexicon::LexObjectProperty::Array( - ::jacquard_lexicon::lexicon::LexArray { - description: None, - items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref( - ::jacquard_lexicon::lexicon::LexRef { - description: None, - r#ref: ::jacquard_common::CowStr::new_static( - "games.gamesgamesgamesgames.defs#mediaItem", - ), - }, - ), - min_length: None, - max_length: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("parent"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: Some( - ::jacquard_lexicon::lexicon::LexStringFormat::AtUri, - ), - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("status"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: Some( - ::jacquard_lexicon::lexicon::LexStringFormat::AtUri, - ), - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("websites"), - ::jacquard_lexicon::lexicon::LexObjectProperty::Array( - ::jacquard_lexicon::lexicon::LexArray { - description: None, - items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref( - ::jacquard_lexicon::lexicon::LexRef { - description: None, - r#ref: ::jacquard_common::CowStr::new_static( - "games.gamesgamesgamesgames.defs#website", - ), - }, - ), - min_length: None, - max_length: None, - }, - ), - ); - map - }, - }, + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "skeletonGameFeedItem", ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("orgProfileSummaryView"), - ::jacquard_lexicon::lexicon::LexUserType::Object( - ::jacquard_lexicon::lexicon::LexObject { - description: None, - required: Some(vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("did"), - ]), - nullable: None, - properties: { - #[allow(unused_mut)] - let mut map = ::alloc::collections::BTreeMap::new(); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("avatar"), - ::jacquard_lexicon::lexicon::LexObjectProperty::Blob( - ::jacquard_lexicon::lexicon::LexBlob { - description: None, - accept: None, - max_size: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: Some( - ::jacquard_lexicon::lexicon::LexStringFormat::Did, - ), - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("displayName"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: Some(640usize), - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: Some( - ::jacquard_lexicon::lexicon::LexStringFormat::AtUri, - ), - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: None, + required: Some( + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("game") + ], + ), + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "feedContext", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: Some(2000usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "game", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: Some( + ::jacquard_lexicon::lexicon::LexStringFormat::AtUri, ), - ); - map - }, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("platformCategory"), - ::jacquard_lexicon::lexicon::LexUserType::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map }, - ), + }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("platformFeatures"), - ::jacquard_lexicon::lexicon::LexUserType::Object( - ::jacquard_lexicon::lexicon::LexObject { - description: Some(::jacquard_common::CowStr::new_static( - "Features supported by a game on a specific storefront/platform.", - )), - required: Some(vec![ - ::jacquard_common::smol_str::SmolStr::new_static("platform"), - ::jacquard_common::smol_str::SmolStr::new_static("features"), - ]), - nullable: None, - properties: { - #[allow(unused_mut)] - let mut map = ::alloc::collections::BTreeMap::new(); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("features"), - ::jacquard_lexicon::lexicon::LexObjectProperty::Array( - ::jacquard_lexicon::lexicon::LexArray { - description: None, - items: ::jacquard_lexicon::lexicon::LexArrayItem::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - min_length: None, - max_length: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("platform"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map - }, - }, + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "systemRequirements", ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("platformSummaryView"), - ::jacquard_lexicon::lexicon::LexUserType::Object( - ::jacquard_lexicon::lexicon::LexObject { - description: None, - required: Some(vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ]), - nullable: None, - properties: { - #[allow(unused_mut)] - let mut map = ::alloc::collections::BTreeMap::new(); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("abbreviation"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("category"), - ::jacquard_lexicon::lexicon::LexObjectProperty::Ref( - ::jacquard_lexicon::lexicon::LexRef { - description: None, - r#ref: ::jacquard_common::CowStr::new_static( - "games.gamesgamesgamesgames.defs#platformCategory", - ), - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("slug"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: Some( - ::jacquard_lexicon::lexicon::LexStringFormat::AtUri, - ), - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map - }, + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static( + "System requirements for a game on a specific platform.", + ), + ), + required: Some( + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("platform") + ], + ), + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "minimum", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static("#systemSpec"), + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "platform", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "recommended", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static("#systemSpec"), + }), + ); + map }, - ), + }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("platformVersion"), - ::jacquard_lexicon::lexicon::LexUserType::Object( - ::jacquard_lexicon::lexicon::LexObject { - description: None, - required: Some(vec![::jacquard_common::smol_str::SmolStr::new_static( - "name", - )]), - nullable: None, - properties: { - #[allow(unused_mut)] - let mut map = ::alloc::collections::BTreeMap::new(); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("connectivity"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cpu"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("gpu"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("maxResolution"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("media"), - ::jacquard_lexicon::lexicon::LexObjectProperty::Array( - ::jacquard_lexicon::lexicon::LexArray { - description: None, - items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref( - ::jacquard_lexicon::lexicon::LexRef { - description: None, - r#ref: ::jacquard_common::CowStr::new_static( - "games.gamesgamesgamesgames.defs#mediaItem", - ), - }, - ), - min_length: None, - max_length: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("memory"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("os"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("output"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("storage"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("summary"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map - }, + ::jacquard_common::deps::smol_str::SmolStr::new_static("systemSpec"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static( + "Hardware/software specification for a platform.", + ), + ), + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "additionalNotes", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "directx", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "graphics", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "memory", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static("os"), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "processor", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "soundCard", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "storage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map }, - ), + }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("playerPerspective"), - ::jacquard_lexicon::lexicon::LexUserType::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), + ::jacquard_common::deps::smol_str::SmolStr::new_static("theme"), + ::jacquard_lexicon::lexicon::LexUserType::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("profileSummaryView"), - ::jacquard_lexicon::lexicon::LexUserType::Object( - ::jacquard_lexicon::lexicon::LexObject { - description: None, - required: Some(vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("did"), - ::jacquard_common::smol_str::SmolStr::new_static("profileType"), - ]), - nullable: None, - properties: { - #[allow(unused_mut)] - let mut map = ::alloc::collections::BTreeMap::new(); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("avatar"), - ::jacquard_lexicon::lexicon::LexObjectProperty::Blob( - ::jacquard_lexicon::lexicon::LexBlob { - description: None, - accept: None, - max_size: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: Some( - ::jacquard_lexicon::lexicon::LexStringFormat::Did, - ), - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("displayName"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: Some(640usize), - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("profileType"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: Some( - ::jacquard_lexicon::lexicon::LexStringFormat::AtUri, - ), - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map - }, + ::jacquard_common::deps::smol_str::SmolStr::new_static("timeToBeat"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: None, + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "completely", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { + description: None, + default: None, + minimum: None, + maximum: None, + r#enum: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "hastily", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { + description: None, + default: None, + minimum: None, + maximum: None, + r#enum: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "normally", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { + description: None, + default: None, + minimum: None, + maximum: None, + r#enum: None, + r#const: None, + }), + ); + map }, - ), + }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("release"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("viewerState"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -3313,14 +3866,14 @@ fn lexicon_doc_games_gamesgamesgamesgames_defs() -> ::jacquard_lexicon::lexicon: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("platform"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "like", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { - description: Some( - ::jacquard_common::CowStr::new_static( - "Free-text platform name, used when no platform record exists.", - ), + description: None, + format: Some( + ::jacquard_lexicon::lexicon::LexStringFormat::AtUri, ), - format: None, default: None, min_length: None, max_length: None, @@ -3331,19 +3884,30 @@ fn lexicon_doc_games_gamesgamesgamesgames_defs() -> ::jacquard_lexicon::lexicon: known_values: None, }), ); + map + }, + }), + ); + map.insert( + ::jacquard_common::deps::smol_str::SmolStr::new_static("website"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: None, + required: Some( + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("url") + ], + ), + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( - "platformUri", + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "type", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { - description: Some( - ::jacquard_common::CowStr::new_static( - "AT URI of a platform record.", - ), - ), - format: Some( - ::jacquard_lexicon::lexicon::LexStringFormat::AtUri, - ), + description: None, + format: None, default: None, min_length: None, max_length: None, @@ -3355,528 +3919,28 @@ fn lexicon_doc_games_gamesgamesgamesgames_defs() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( - "releaseDates", + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", ), - ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, - items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { - description: None, - r#ref: ::jacquard_common::CowStr::new_static( - "games.gamesgamesgamesgames.defs#releaseDate", - ), - }), + format: Some( + ::jacquard_lexicon::lexicon::LexStringFormat::Uri, + ), + default: None, min_length: None, max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, }), ); map }, }), ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("releaseDate"), - ::jacquard_lexicon::lexicon::LexUserType::Object( - ::jacquard_lexicon::lexicon::LexObject { - description: None, - required: None, - nullable: None, - properties: { - #[allow(unused_mut)] - let mut map = ::alloc::collections::BTreeMap::new(); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("region"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("releasedAt"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( - "releasedAtFormat", - ), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("status"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map - }, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("skeletonGameFeedItem"), - ::jacquard_lexicon::lexicon::LexUserType::Object( - ::jacquard_lexicon::lexicon::LexObject { - description: None, - required: Some(vec![::jacquard_common::smol_str::SmolStr::new_static( - "game", - )]), - nullable: None, - properties: { - #[allow(unused_mut)] - let mut map = ::alloc::collections::BTreeMap::new(); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("feedContext"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: Some(2000usize), - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("game"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: Some( - ::jacquard_lexicon::lexicon::LexStringFormat::AtUri, - ), - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map - }, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("systemRequirements"), - ::jacquard_lexicon::lexicon::LexUserType::Object( - ::jacquard_lexicon::lexicon::LexObject { - description: Some(::jacquard_common::CowStr::new_static( - "System requirements for a game on a specific platform.", - )), - required: Some(vec![::jacquard_common::smol_str::SmolStr::new_static( - "platform", - )]), - nullable: None, - properties: { - #[allow(unused_mut)] - let mut map = ::alloc::collections::BTreeMap::new(); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("minimum"), - ::jacquard_lexicon::lexicon::LexObjectProperty::Ref( - ::jacquard_lexicon::lexicon::LexRef { - description: None, - r#ref: ::jacquard_common::CowStr::new_static("#systemSpec"), - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("platform"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("recommended"), - ::jacquard_lexicon::lexicon::LexObjectProperty::Ref( - ::jacquard_lexicon::lexicon::LexRef { - description: None, - r#ref: ::jacquard_common::CowStr::new_static("#systemSpec"), - }, - ), - ); - map - }, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("systemSpec"), - ::jacquard_lexicon::lexicon::LexUserType::Object( - ::jacquard_lexicon::lexicon::LexObject { - description: Some(::jacquard_common::CowStr::new_static( - "Hardware/software specification for a platform.", - )), - required: None, - nullable: None, - properties: { - #[allow(unused_mut)] - let mut map = ::alloc::collections::BTreeMap::new(); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("additionalNotes"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("directx"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("graphics"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("memory"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("os"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("processor"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("soundCard"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("storage"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map - }, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("theme"), - ::jacquard_lexicon::lexicon::LexUserType::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("timeToBeat"), - ::jacquard_lexicon::lexicon::LexUserType::Object( - ::jacquard_lexicon::lexicon::LexObject { - description: None, - required: None, - nullable: None, - properties: { - #[allow(unused_mut)] - let mut map = ::alloc::collections::BTreeMap::new(); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("completely"), - ::jacquard_lexicon::lexicon::LexObjectProperty::Integer( - ::jacquard_lexicon::lexicon::LexInteger { - description: None, - default: None, - minimum: None, - maximum: None, - r#enum: None, - r#const: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hastily"), - ::jacquard_lexicon::lexicon::LexObjectProperty::Integer( - ::jacquard_lexicon::lexicon::LexInteger { - description: None, - default: None, - minimum: None, - maximum: None, - r#enum: None, - r#const: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("normally"), - ::jacquard_lexicon::lexicon::LexObjectProperty::Integer( - ::jacquard_lexicon::lexicon::LexInteger { - description: None, - default: None, - minimum: None, - maximum: None, - r#enum: None, - r#const: None, - }, - ), - ); - map - }, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("viewerState"), - ::jacquard_lexicon::lexicon::LexUserType::Object( - ::jacquard_lexicon::lexicon::LexObject { - description: None, - required: None, - nullable: None, - properties: { - #[allow(unused_mut)] - let mut map = ::alloc::collections::BTreeMap::new(); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("like"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: Some( - ::jacquard_lexicon::lexicon::LexStringFormat::AtUri, - ), - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map - }, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("website"), - ::jacquard_lexicon::lexicon::LexUserType::Object( - ::jacquard_lexicon::lexicon::LexObject { - description: None, - required: Some(vec![::jacquard_common::smol_str::SmolStr::new_static( - "url", - )]), - nullable: None, - properties: { - #[allow(unused_mut)] - let mut map = ::alloc::collections::BTreeMap::new(); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("type"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: None, - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String( - ::jacquard_lexicon::lexicon::LexString { - description: None, - format: Some( - ::jacquard_lexicon::lexicon::LexStringFormat::Uri, - ), - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }, - ), - ); - map - }, - }, - ), - ); map }, } @@ -3899,7 +3963,9 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ActorProfileDetailView<'a #[allow(unused_comparisons)] if ::len(value.as_ref()) > 3000usize { return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { - path: ::jacquard_lexicon::validation::ValidationPath::from_field("description"), + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "description", + ), max: 3000usize, actual: ::len(value.as_ref()), }); @@ -3921,7 +3987,9 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ActorProfileDetailView<'a #[allow(unused_comparisons)] if ::len(value.as_ref()) > 200usize { return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { - path: ::jacquard_lexicon::validation::ValidationPath::from_field("pronouns"), + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "pronouns", + ), max: 200usize, actual: ::len(value.as_ref()), }); @@ -3933,7 +4001,13 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ActorProfileDetailView<'a #[jacquard_derive::lexicon] #[derive( - serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq, jacquard_derive::IntoStatic, + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic )] #[serde(rename_all = "camelCase")] pub struct ActorProfileSummaryView<'a> { @@ -3951,7 +4025,7 @@ pub struct ActorProfileSummaryView<'a> { pub mod actor_profile_summary_view_state { - pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; + pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -3959,42 +4033,45 @@ pub mod actor_profile_summary_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Did; type Uri; + type Did; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Did = Unset; type Uri = Unset; - } - ///State transition - sets the `did` field to Set - pub struct SetDid(PhantomData S>); - impl sealed::Sealed for SetDid {} - impl State for SetDid { - type Did = Set; - type Uri = S::Uri; + type Did = Unset; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { - type Did = S::Did; type Uri = Set; + type Did = S::Did; + } + ///State transition - sets the `did` field to Set + pub struct SetDid(PhantomData S>); + impl sealed::Sealed for SetDid {} + impl State for SetDid { + type Uri = S::Uri; + type Did = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `did` field - pub struct did(()); ///Marker type for the `uri` field pub struct uri(()); + ///Marker type for the `did` field + pub struct did(()); } } /// Builder for constructing an instance of this type -pub struct ActorProfileSummaryViewBuilder<'a, S: actor_profile_summary_view_state::State> { +pub struct ActorProfileSummaryViewBuilder< + 'a, + S: actor_profile_summary_view_state::State, +> { _phantom_state: ::core::marker::PhantomData S>, __unsafe_private_named: ( ::core::option::Option>, @@ -4007,7 +4084,10 @@ pub struct ActorProfileSummaryViewBuilder<'a, S: actor_profile_summary_view_stat impl<'a> ActorProfileSummaryView<'a> { /// Create a new builder for this type - pub fn new() -> ActorProfileSummaryViewBuilder<'a, actor_profile_summary_view_state::Empty> { + pub fn new() -> ActorProfileSummaryViewBuilder< + 'a, + actor_profile_summary_view_state::Empty, + > { ActorProfileSummaryViewBuilder::new() } } @@ -4023,7 +4103,10 @@ impl<'a> ActorProfileSummaryViewBuilder<'a, actor_profile_summary_view_state::Em } } -impl<'a, S: actor_profile_summary_view_state::State> ActorProfileSummaryViewBuilder<'a, S> { +impl< + 'a, + S: actor_profile_summary_view_state::State, +> ActorProfileSummaryViewBuilder<'a, S> { /// Set the `avatar` field (optional) pub fn avatar( mut self, @@ -4051,7 +4134,10 @@ where pub fn did( mut self, value: impl Into>, - ) -> ActorProfileSummaryViewBuilder<'a, actor_profile_summary_view_state::SetDid> { + ) -> ActorProfileSummaryViewBuilder< + 'a, + actor_profile_summary_view_state::SetDid, + > { self.__unsafe_private_named.1 = ::core::option::Option::Some(value.into()); ActorProfileSummaryViewBuilder { _phantom_state: ::core::marker::PhantomData, @@ -4061,14 +4147,23 @@ where } } -impl<'a, S: actor_profile_summary_view_state::State> ActorProfileSummaryViewBuilder<'a, S> { +impl< + 'a, + S: actor_profile_summary_view_state::State, +> ActorProfileSummaryViewBuilder<'a, S> { /// Set the `displayName` field (optional) - pub fn display_name(mut self, value: impl Into>>) -> Self { + pub fn display_name( + mut self, + value: impl Into>>, + ) -> Self { self.__unsafe_private_named.2 = value.into(); self } /// Set the `displayName` field to an Option value (optional) - pub fn maybe_display_name(mut self, value: Option>) -> Self { + pub fn maybe_display_name( + mut self, + value: Option>, + ) -> Self { self.__unsafe_private_named.2 = value; self } @@ -4083,7 +4178,10 @@ where pub fn uri( mut self, value: impl Into>, - ) -> ActorProfileSummaryViewBuilder<'a, actor_profile_summary_view_state::SetUri> { + ) -> ActorProfileSummaryViewBuilder< + 'a, + actor_profile_summary_view_state::SetUri, + > { self.__unsafe_private_named.3 = ::core::option::Option::Some(value.into()); ActorProfileSummaryViewBuilder { _phantom_state: ::core::marker::PhantomData, @@ -4096,8 +4194,8 @@ where impl<'a, S> ActorProfileSummaryViewBuilder<'a, S> where S: actor_profile_summary_view_state::State, - S::Did: actor_profile_summary_view_state::IsSet, S::Uri: actor_profile_summary_view_state::IsSet, + S::Did: actor_profile_summary_view_state::IsSet, { /// Build the final struct pub fn build(self) -> ActorProfileSummaryView<'a> { @@ -4113,7 +4211,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ActorProfileSummaryView<'a> { @@ -4165,7 +4263,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ActorProfileSummaryView<' PartialEq, Eq, jacquard_derive::IntoStatic, - Default, + Default )] #[serde(rename_all = "camelCase")] pub struct AgeRating<'a> { @@ -4286,7 +4384,9 @@ impl jacquard_common::IntoStatic for AgeRatingOrganization<'_> { 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()) + } } } } @@ -4317,7 +4417,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for AgeRating<'a> { PartialEq, Eq, jacquard_derive::IntoStatic, - Default, + Default )] #[serde(rename_all = "camelCase")] pub struct AlternativeName<'a> { @@ -4351,7 +4451,13 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for AlternativeName<'a> { pub type ApplicationType<'a> = jacquard_common::CowStr<'a>; #[jacquard_derive::lexicon] #[derive( - serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq, jacquard_derive::IntoStatic, + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic )] #[serde(rename_all = "camelCase")] pub struct CollectionSummaryView<'a> { @@ -4369,7 +4475,7 @@ pub struct CollectionSummaryView<'a> { pub mod collection_summary_view_state { - pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; + pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -4377,37 +4483,37 @@ pub mod collection_summary_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Name; type Uri; + type Name; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Name = Unset; type Uri = Unset; - } - ///State transition - sets the `name` field to Set - pub struct SetName(PhantomData S>); - impl sealed::Sealed for SetName {} - impl State for SetName { - type Name = Set; - type Uri = S::Uri; + type Name = Unset; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { - type Name = S::Name; type Uri = Set; + type Name = S::Name; + } + ///State transition - sets the `name` field to Set + pub struct SetName(PhantomData S>); + impl sealed::Sealed for SetName {} + impl State for SetName { + type Uri = S::Uri; + type Name = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `name` field - pub struct name(()); ///Marker type for the `uri` field pub struct uri(()); + ///Marker type for the `name` field + pub struct name(()); } } @@ -4425,7 +4531,10 @@ pub struct CollectionSummaryViewBuilder<'a, S: collection_summary_view_state::St impl<'a> CollectionSummaryView<'a> { /// Create a new builder for this type - pub fn new() -> CollectionSummaryViewBuilder<'a, collection_summary_view_state::Empty> { + pub fn new() -> CollectionSummaryViewBuilder< + 'a, + collection_summary_view_state::Empty, + > { CollectionSummaryViewBuilder::new() } } @@ -4462,7 +4571,10 @@ where impl<'a, S: collection_summary_view_state::State> CollectionSummaryViewBuilder<'a, S> { /// Set the `slug` field (optional) - pub fn slug(mut self, value: impl Into>>) -> Self { + pub fn slug( + mut self, + value: impl Into>>, + ) -> Self { self.__unsafe_private_named.1 = value.into(); self } @@ -4475,7 +4587,10 @@ impl<'a, S: collection_summary_view_state::State> CollectionSummaryViewBuilder<' impl<'a, S: collection_summary_view_state::State> CollectionSummaryViewBuilder<'a, S> { /// 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.__unsafe_private_named.2 = value.into(); self } @@ -4508,8 +4623,8 @@ where impl<'a, S> CollectionSummaryViewBuilder<'a, S> where S: collection_summary_view_state::State, - S::Name: collection_summary_view_state::IsSet, S::Uri: collection_summary_view_state::IsSet, + S::Name: collection_summary_view_state::IsSet, { /// Build the final struct pub fn build(self) -> CollectionSummaryView<'a> { @@ -4525,7 +4640,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> CollectionSummaryView<'a> { @@ -4745,7 +4860,13 @@ impl jacquard_common::IntoStatic for CompanyRole<'_> { #[jacquard_derive::lexicon] #[derive( - serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq, jacquard_derive::IntoStatic, + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic )] #[serde(rename_all = "camelCase")] pub struct CreditEntry<'a> { @@ -4758,7 +4879,7 @@ pub struct CreditEntry<'a> { pub mod credit_entry_state { - pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; + pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -4818,12 +4939,18 @@ impl<'a> CreditEntryBuilder<'a, credit_entry_state::Empty> { impl<'a, S: credit_entry_state::State> CreditEntryBuilder<'a, S> { /// Set the `department` field (optional) - pub fn department(mut self, value: impl Into>>) -> Self { + pub fn department( + mut self, + value: impl Into>>, + ) -> Self { self.__unsafe_private_named.0 = 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.__unsafe_private_named.0 = value; self } @@ -4865,7 +4992,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> CreditEntry<'a> { @@ -4894,7 +5021,9 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for CreditEntry<'a> { #[allow(unused_comparisons)] if ::len(value.as_ref()) > 640usize { return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { - path: ::jacquard_lexicon::validation::ValidationPath::from_field("department"), + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "department", + ), max: 640usize, actual: ::len(value.as_ref()), }); @@ -4906,7 +5035,13 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for CreditEntry<'a> { #[jacquard_derive::lexicon] #[derive( - serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq, jacquard_derive::IntoStatic, + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic )] #[serde(rename_all = "camelCase")] pub struct EngineSummaryView<'a> { @@ -4921,7 +5056,7 @@ pub struct EngineSummaryView<'a> { pub mod engine_summary_view_state { - pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; + pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -5013,7 +5148,10 @@ where impl<'a, S: engine_summary_view_state::State> EngineSummaryViewBuilder<'a, S> { /// Set the `slug` field (optional) - pub fn slug(mut self, value: impl Into>>) -> Self { + pub fn slug( + mut self, + value: impl Into>>, + ) -> Self { self.__unsafe_private_named.1 = value.into(); self } @@ -5062,7 +5200,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> EngineSummaryView<'a> { @@ -5101,7 +5239,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for EngineSummaryView<'a> { PartialEq, Eq, jacquard_derive::IntoStatic, - Default, + Default )] #[serde(rename_all = "camelCase")] pub struct ExternalIds<'a> { @@ -5166,7 +5304,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ExternalIds<'a> { PartialEq, Eq, jacquard_derive::IntoStatic, - Default, + Default )] #[serde(rename_all = "camelCase")] pub struct ExternalVideo<'a> { @@ -5267,7 +5405,9 @@ impl jacquard_common::IntoStatic for ExternalVideoPlatform<'_> { 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()) + } } } } @@ -5291,21 +5431,31 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ExternalVideo<'a> { #[jacquard_derive::lexicon] #[derive( - serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq, jacquard_derive::IntoStatic, + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic )] #[serde(rename_all = "camelCase")] pub struct GameDetailView<'a> { #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub age_ratings: std::option::Option>>, + pub age_ratings: std::option::Option< + Vec>, + >, #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub alternative_names: - std::option::Option>>, + pub alternative_names: std::option::Option< + Vec>, + >, #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub application_type: - std::option::Option>, + pub application_type: std::option::Option< + crate::games_gamesgamesgamesgames::ApplicationType<'a>, + >, #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] pub collections: std::option::Option>>, @@ -5315,7 +5465,9 @@ pub struct GameDetailView<'a> { pub engines: std::option::Option>>, #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub external_ids: std::option::Option>, + pub external_ids: std::option::Option< + crate::games_gamesgamesgamesgames::ExternalIds<'a>, + >, #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] pub genres: std::option::Option>>, @@ -5324,18 +5476,22 @@ pub struct GameDetailView<'a> { pub keywords: std::option::Option>>, #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub language_supports: - std::option::Option>>, + pub language_supports: std::option::Option< + Vec>, + >, #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub media: std::option::Option>>, + pub media: std::option::Option< + Vec>, + >, #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] pub modes: std::option::Option>>, #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub multiplayer_modes: - std::option::Option>>, + pub multiplayer_modes: std::option::Option< + Vec>, + >, #[serde(borrow)] pub name: jacquard_common::CowStr<'a>, #[serde(skip_serializing_if = "std::option::Option::is_none")] @@ -5343,13 +5499,16 @@ pub struct GameDetailView<'a> { pub parent: std::option::Option>, #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub player_perspectives: - std::option::Option>>, + pub player_perspectives: std::option::Option< + Vec>, + >, #[serde(skip_serializing_if = "std::option::Option::is_none")] pub published_at: std::option::Option, #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub releases: std::option::Option>>, + pub releases: std::option::Option< + Vec>, + >, #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] pub slug: std::option::Option>, @@ -5364,20 +5523,26 @@ pub struct GameDetailView<'a> { pub themes: std::option::Option>>, #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub time_to_beat: std::option::Option>, + pub time_to_beat: std::option::Option< + crate::games_gamesgamesgamesgames::TimeToBeat<'a>, + >, #[serde(borrow)] pub uri: jacquard_common::types::string::AtUri<'a>, #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub videos: std::option::Option>>, + pub videos: std::option::Option< + Vec>, + >, #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub websites: std::option::Option>>, + pub websites: std::option::Option< + Vec>, + >, } pub mod game_detail_view_state { - pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; + pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -5438,7 +5603,9 @@ pub struct GameDetailViewBuilder<'a, S: game_detail_view_state::State> { _phantom_state: ::core::marker::PhantomData S>, __unsafe_private_named: ( ::core::option::Option>>, - ::core::option::Option>>, + ::core::option::Option< + Vec>, + >, ::core::option::Option>, ::core::option::Option>>, ::core::option::Option, @@ -5446,13 +5613,19 @@ pub struct GameDetailViewBuilder<'a, S: game_detail_view_state::State> { ::core::option::Option>, ::core::option::Option>>, ::core::option::Option>>, - ::core::option::Option>>, + ::core::option::Option< + Vec>, + >, ::core::option::Option>>, ::core::option::Option>>, - ::core::option::Option>>, + ::core::option::Option< + Vec>, + >, ::core::option::Option>, ::core::option::Option>, - ::core::option::Option>>, + ::core::option::Option< + Vec>, + >, ::core::option::Option, ::core::option::Option>>, ::core::option::Option>, @@ -5461,7 +5634,9 @@ pub struct GameDetailViewBuilder<'a, S: game_detail_view_state::State> { ::core::option::Option>>, ::core::option::Option>, ::core::option::Option>, - ::core::option::Option>>, + ::core::option::Option< + Vec>, + >, ::core::option::Option>>, ), _phantom: ::core::marker::PhantomData<&'a ()>, @@ -5480,8 +5655,32 @@ impl<'a> GameDetailViewBuilder<'a, game_detail_view_state::Empty> { GameDetailViewBuilder { _phantom_state: ::core::marker::PhantomData, __unsafe_private_named: ( - None, None, None, None, None, None, None, None, None, None, None, None, None, None, - None, None, None, None, None, None, None, None, None, None, None, None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, ), _phantom: ::core::marker::PhantomData, } @@ -5511,7 +5710,9 @@ impl<'a, S: game_detail_view_state::State> GameDetailViewBuilder<'a, S> { /// Set the `alternativeNames` field (optional) pub fn alternative_names( mut self, - value: impl Into>>>, + value: impl Into< + Option>>, + >, ) -> Self { self.__unsafe_private_named.1 = value.into(); self @@ -5642,12 +5843,18 @@ impl<'a, S: game_detail_view_state::State> GameDetailViewBuilder<'a, S> { impl<'a, S: game_detail_view_state::State> GameDetailViewBuilder<'a, S> { /// Set the `keywords` field (optional) - pub fn keywords(mut self, value: impl Into>>>) -> Self { + pub fn keywords( + mut self, + value: impl Into>>>, + ) -> Self { self.__unsafe_private_named.8 = 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.__unsafe_private_named.8 = value; self } @@ -5657,7 +5864,9 @@ impl<'a, S: game_detail_view_state::State> GameDetailViewBuilder<'a, S> { /// Set the `languageSupports` field (optional) pub fn language_supports( mut self, - value: impl Into>>>, + value: impl Into< + Option>>, + >, ) -> Self { self.__unsafe_private_named.9 = value.into(); self @@ -5714,7 +5923,9 @@ impl<'a, S: game_detail_view_state::State> GameDetailViewBuilder<'a, S> { /// Set the `multiplayerModes` field (optional) pub fn multiplayer_modes( mut self, - value: impl Into>>>, + value: impl Into< + Option>>, + >, ) -> Self { self.__unsafe_private_named.12 = value.into(); self @@ -5771,7 +5982,9 @@ impl<'a, S: game_detail_view_state::State> GameDetailViewBuilder<'a, S> { /// Set the `playerPerspectives` field (optional) pub fn player_perspectives( mut self, - value: impl Into>>>, + value: impl Into< + Option>>, + >, ) -> Self { self.__unsafe_private_named.15 = value.into(); self @@ -5826,7 +6039,10 @@ impl<'a, S: game_detail_view_state::State> GameDetailViewBuilder<'a, S> { impl<'a, S: game_detail_view_state::State> GameDetailViewBuilder<'a, S> { /// Set the `slug` field (optional) - pub fn slug(mut self, value: impl Into>>) -> Self { + pub fn slug( + mut self, + value: impl Into>>, + ) -> Self { self.__unsafe_private_named.18 = value.into(); self } @@ -5839,12 +6055,18 @@ impl<'a, S: game_detail_view_state::State> GameDetailViewBuilder<'a, S> { impl<'a, S: game_detail_view_state::State> GameDetailViewBuilder<'a, S> { /// Set the `storyline` field (optional) - pub fn storyline(mut self, value: impl Into>>) -> Self { + pub fn storyline( + mut self, + value: impl Into>>, + ) -> Self { self.__unsafe_private_named.19 = value.into(); self } /// Set the `storyline` field to an Option value (optional) - pub fn maybe_storyline(mut self, value: Option>) -> Self { + pub fn maybe_storyline( + mut self, + value: Option>, + ) -> Self { self.__unsafe_private_named.19 = value; self } @@ -5852,7 +6074,10 @@ impl<'a, S: game_detail_view_state::State> GameDetailViewBuilder<'a, S> { impl<'a, S: game_detail_view_state::State> GameDetailViewBuilder<'a, S> { /// Set the `summary` field (optional) - pub fn summary(mut self, value: impl Into>>) -> Self { + pub fn summary( + mut self, + value: impl Into>>, + ) -> Self { self.__unsafe_private_named.20 = value.into(); self } @@ -5924,7 +6149,9 @@ impl<'a, S: game_detail_view_state::State> GameDetailViewBuilder<'a, S> { /// Set the `videos` field (optional) pub fn videos( mut self, - value: impl Into>>>, + value: impl Into< + Option>>, + >, ) -> Self { self.__unsafe_private_named.24 = value.into(); self @@ -6001,7 +6228,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> GameDetailView<'a> { @@ -6056,7 +6283,13 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for GameDetailView<'a> { #[jacquard_derive::lexicon] #[derive( - serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq, jacquard_derive::IntoStatic, + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic )] #[serde(rename_all = "camelCase")] pub struct GameFeedViewItem<'a> { @@ -6069,7 +6302,7 @@ pub struct GameFeedViewItem<'a> { pub mod game_feed_view_item_state { - pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; + pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -6129,12 +6362,18 @@ impl<'a> GameFeedViewItemBuilder<'a, game_feed_view_item_state::Empty> { impl<'a, S: game_feed_view_item_state::State> GameFeedViewItemBuilder<'a, S> { /// 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.__unsafe_private_named.0 = value.into(); self } /// Set the `feedContext` field to an Option value (optional) - pub fn maybe_feed_context(mut self, value: Option>) -> Self { + pub fn maybe_feed_context( + mut self, + value: Option>, + ) -> Self { self.__unsafe_private_named.0 = value; self } @@ -6176,7 +6415,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> GameFeedViewItem<'a> { @@ -6219,20 +6458,29 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for GameFeedViewItem<'a> { #[jacquard_derive::lexicon] #[derive( - serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq, jacquard_derive::IntoStatic, + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic )] #[serde(rename_all = "camelCase")] pub struct GameSummaryView<'a> { #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub application_type: - std::option::Option>, + pub application_type: std::option::Option< + crate::games_gamesgamesgamesgames::ApplicationType<'a>, + >, /// Earliest release date as YYYYMMDD integer. #[serde(skip_serializing_if = "std::option::Option::is_none")] pub first_release_date: std::option::Option, #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub media: std::option::Option>>, + pub media: std::option::Option< + Vec>, + >, #[serde(borrow)] pub name: jacquard_common::CowStr<'a>, #[serde(skip_serializing_if = "std::option::Option::is_none")] @@ -6247,7 +6495,7 @@ pub struct GameSummaryView<'a> { pub mod game_summary_view_state { - pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; + pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -6255,37 +6503,37 @@ pub mod game_summary_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Name; type Uri; + type Name; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Name = Unset; type Uri = Unset; - } - ///State transition - sets the `name` field to Set - pub struct SetName(PhantomData S>); - impl sealed::Sealed for SetName {} - impl State for SetName { - type Name = Set; - type Uri = S::Uri; + type Name = Unset; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { - type Name = S::Name; type Uri = Set; + type Name = S::Name; + } + ///State transition - sets the `name` field to Set + pub struct SetName(PhantomData S>); + impl sealed::Sealed for SetName {} + impl State for SetName { + type Uri = S::Uri; + type Name = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `name` field - pub struct name(()); ///Marker type for the `uri` field pub struct uri(()); + ///Marker type for the `name` field + pub struct name(()); } } @@ -6394,7 +6642,10 @@ where impl<'a, S: game_summary_view_state::State> GameSummaryViewBuilder<'a, S> { /// Set the `slug` field (optional) - pub fn slug(mut self, value: impl Into>>) -> Self { + pub fn slug( + mut self, + value: impl Into>>, + ) -> Self { self.__unsafe_private_named.4 = value.into(); self } @@ -6407,7 +6658,10 @@ impl<'a, S: game_summary_view_state::State> GameSummaryViewBuilder<'a, S> { impl<'a, S: game_summary_view_state::State> GameSummaryViewBuilder<'a, S> { /// Set the `summary` field (optional) - pub fn summary(mut self, value: impl Into>>) -> Self { + pub fn summary( + mut self, + value: impl Into>>, + ) -> Self { self.__unsafe_private_named.5 = value.into(); self } @@ -6440,8 +6694,8 @@ where impl<'a, S> GameSummaryViewBuilder<'a, S> where S: game_summary_view_state::State, - S::Name: game_summary_view_state::IsSet, S::Uri: game_summary_view_state::IsSet, + S::Name: game_summary_view_state::IsSet, { /// Build the final struct pub fn build(self) -> GameSummaryView<'a> { @@ -6460,7 +6714,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> GameSummaryView<'a> { @@ -6496,7 +6750,13 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for GameSummaryView<'a> { #[jacquard_derive::lexicon] #[derive( - serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq, jacquard_derive::IntoStatic, + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic )] #[serde(rename_all = "camelCase")] pub struct GameView<'a> { @@ -6509,12 +6769,16 @@ pub struct GameView<'a> { pub like_count: std::option::Option, #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub media: std::option::Option>>, + pub media: std::option::Option< + Vec>, + >, #[serde(borrow)] pub name: jacquard_common::CowStr<'a>, #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub releases: std::option::Option>>, + pub releases: std::option::Option< + Vec>, + >, #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] pub slug: std::option::Option>, @@ -6533,7 +6797,7 @@ pub struct GameView<'a> { pub mod game_view_state { - pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; + pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -6621,7 +6885,17 @@ impl<'a> GameViewBuilder<'a, game_view_state::Empty> { GameViewBuilder { _phantom_state: ::core::marker::PhantomData, __unsafe_private_named: ( - None, None, None, None, None, None, None, None, None, None, None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, ), _phantom: ::core::marker::PhantomData, } @@ -6738,7 +7012,10 @@ impl<'a, S: game_view_state::State> GameViewBuilder<'a, S> { impl<'a, S: game_view_state::State> GameViewBuilder<'a, S> { /// Set the `slug` field (optional) - pub fn slug(mut self, value: impl Into>>) -> Self { + pub fn slug( + mut self, + value: impl Into>>, + ) -> Self { self.__unsafe_private_named.6 = value.into(); self } @@ -6751,7 +7028,10 @@ impl<'a, S: game_view_state::State> GameViewBuilder<'a, S> { impl<'a, S: game_view_state::State> GameViewBuilder<'a, S> { /// Set the `summary` field (optional) - pub fn summary(mut self, value: impl Into>>) -> Self { + pub fn summary( + mut self, + value: impl Into>>, + ) -> Self { self.__unsafe_private_named.7 = value.into(); self } @@ -6847,7 +7127,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> GameView<'a> { @@ -6884,7 +7164,9 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for GameView<'a> { if let Some(ref value) = self.like_count { if *value < 0i64 { return Err(::jacquard_lexicon::validation::ConstraintError::Minimum { - path: ::jacquard_lexicon::validation::ValidationPath::from_field("like_count"), + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "like_count", + ), min: 0i64, actual: *value, }); @@ -7167,7 +7449,7 @@ impl jacquard_common::IntoStatic for IndividualRole<'_> { PartialEq, Eq, jacquard_derive::IntoStatic, - Default, + Default )] #[serde(rename_all = "camelCase")] pub struct ItchIoId<'a> { @@ -7203,7 +7485,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ItchIoId<'a> { PartialEq, Eq, jacquard_derive::IntoStatic, - Default, + Default )] #[serde(rename_all = "camelCase")] pub struct LanguageSupport<'a> { @@ -7243,7 +7525,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for LanguageSupport<'a> { PartialEq, Eq, jacquard_derive::IntoStatic, - Default, + Default )] #[serde(rename_all = "camelCase")] pub struct MediaItem<'a> { @@ -7396,7 +7678,7 @@ impl jacquard_common::IntoStatic for Mode<'_> { PartialEq, Eq, jacquard_derive::IntoStatic, - Default, + Default )] #[serde(rename_all = "camelCase")] pub struct MultiplayerMode<'a> { @@ -7442,7 +7724,13 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for MultiplayerMode<'a> { #[jacquard_derive::lexicon] #[derive( - serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq, jacquard_derive::IntoStatic, + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic )] #[serde(rename_all = "camelCase")] pub struct OrgProfileDetailView<'a> { @@ -7459,7 +7747,9 @@ pub struct OrgProfileDetailView<'a> { pub description: std::option::Option>, #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub description_facets: std::option::Option>>, + pub description_facets: std::option::Option< + Vec>, + >, #[serde(borrow)] pub did: jacquard_common::types::string::Did<'a>, #[serde(skip_serializing_if = "std::option::Option::is_none")] @@ -7469,7 +7759,9 @@ pub struct OrgProfileDetailView<'a> { pub founded_at: std::option::Option, #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub media: std::option::Option>>, + pub media: std::option::Option< + Vec>, + >, #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] pub parent: std::option::Option>, @@ -7480,12 +7772,14 @@ pub struct OrgProfileDetailView<'a> { pub uri: jacquard_common::types::string::AtUri<'a>, #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub websites: std::option::Option>>, + pub websites: std::option::Option< + Vec>, + >, } pub mod org_profile_detail_view_state { - pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; + pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -7493,37 +7787,37 @@ pub mod org_profile_detail_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Uri; type Did; + type Uri; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Uri = Unset; type Did = Unset; - } - ///State transition - sets the `uri` field to Set - pub struct SetUri(PhantomData S>); - impl sealed::Sealed for SetUri {} - impl State for SetUri { - type Uri = Set; - type Did = S::Did; + type Uri = Unset; } ///State transition - sets the `did` field to Set pub struct SetDid(PhantomData S>); impl sealed::Sealed for SetDid {} impl State for SetDid { - type Uri = S::Uri; type Did = Set; + type Uri = S::Uri; + } + ///State transition - sets the `uri` field to Set + pub struct SetUri(PhantomData S>); + impl sealed::Sealed for SetUri {} + impl State for SetUri { + type Did = S::Did; + type Uri = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `uri` field - pub struct uri(()); ///Marker type for the `did` field pub struct did(()); + ///Marker type for the `uri` field + pub struct uri(()); } } @@ -7550,7 +7844,10 @@ pub struct OrgProfileDetailViewBuilder<'a, S: org_profile_detail_view_state::Sta impl<'a> OrgProfileDetailView<'a> { /// Create a new builder for this type - pub fn new() -> OrgProfileDetailViewBuilder<'a, org_profile_detail_view_state::Empty> { + pub fn new() -> OrgProfileDetailViewBuilder< + 'a, + org_profile_detail_view_state::Empty, + > { OrgProfileDetailViewBuilder::new() } } @@ -7561,7 +7858,19 @@ impl<'a> OrgProfileDetailViewBuilder<'a, org_profile_detail_view_state::Empty> { OrgProfileDetailViewBuilder { _phantom_state: ::core::marker::PhantomData, __unsafe_private_named: ( - None, None, None, None, None, None, None, None, None, None, None, None, None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, ), _phantom: ::core::marker::PhantomData, } @@ -7589,7 +7898,10 @@ impl<'a, S: org_profile_detail_view_state::State> OrgProfileDetailViewBuilder<'a impl<'a, S: org_profile_detail_view_state::State> OrgProfileDetailViewBuilder<'a, S> { /// Set the `country` field (optional) - pub fn country(mut self, value: impl Into>>) -> Self { + pub fn country( + mut self, + value: impl Into>>, + ) -> Self { self.__unsafe_private_named.1 = value.into(); self } @@ -7621,12 +7933,18 @@ impl<'a, S: org_profile_detail_view_state::State> OrgProfileDetailViewBuilder<'a impl<'a, S: org_profile_detail_view_state::State> OrgProfileDetailViewBuilder<'a, S> { /// Set the `description` field (optional) - pub fn description(mut self, value: impl Into>>) -> Self { + pub fn description( + mut self, + value: impl Into>>, + ) -> Self { self.__unsafe_private_named.3 = 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.__unsafe_private_named.3 = value; self } @@ -7672,12 +7990,18 @@ where impl<'a, S: org_profile_detail_view_state::State> OrgProfileDetailViewBuilder<'a, S> { /// Set the `displayName` field (optional) - pub fn display_name(mut self, value: impl Into>>) -> Self { + pub fn display_name( + mut self, + value: impl Into>>, + ) -> Self { self.__unsafe_private_named.6 = value.into(); self } /// Set the `displayName` field to an Option value (optional) - pub fn maybe_display_name(mut self, value: Option>) -> Self { + pub fn maybe_display_name( + mut self, + value: Option>, + ) -> Self { self.__unsafe_private_named.6 = value; self } @@ -7742,12 +8066,18 @@ impl<'a, S: org_profile_detail_view_state::State> OrgProfileDetailViewBuilder<'a impl<'a, S: org_profile_detail_view_state::State> OrgProfileDetailViewBuilder<'a, S> { /// Set the `status` field (optional) - pub fn status(mut self, value: impl Into>>) -> Self { + pub fn status( + mut self, + value: impl Into>>, + ) -> Self { self.__unsafe_private_named.10 = 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.__unsafe_private_named.10 = value; self } @@ -7794,8 +8124,8 @@ impl<'a, S: org_profile_detail_view_state::State> OrgProfileDetailViewBuilder<'a impl<'a, S> OrgProfileDetailViewBuilder<'a, S> where S: org_profile_detail_view_state::State, - S::Uri: org_profile_detail_view_state::IsSet, S::Did: org_profile_detail_view_state::IsSet, + S::Uri: org_profile_detail_view_state::IsSet, { /// Build the final struct pub fn build(self) -> OrgProfileDetailView<'a> { @@ -7820,7 +8150,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> OrgProfileDetailView<'a> { @@ -7965,7 +8295,9 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for OrgProfileDetailView<'a> #[allow(unused_comparisons)] if ::len(value.as_ref()) > 3000usize { return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { - path: ::jacquard_lexicon::validation::ValidationPath::from_field("description"), + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "description", + ), max: 3000usize, actual: ::len(value.as_ref()), }); @@ -7989,7 +8321,13 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for OrgProfileDetailView<'a> #[jacquard_derive::lexicon] #[derive( - serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq, jacquard_derive::IntoStatic, + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic )] #[serde(rename_all = "camelCase")] pub struct OrgProfileSummaryView<'a> { @@ -8007,7 +8345,7 @@ pub struct OrgProfileSummaryView<'a> { pub mod org_profile_summary_view_state { - pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; + pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -8063,7 +8401,10 @@ pub struct OrgProfileSummaryViewBuilder<'a, S: org_profile_summary_view_state::S impl<'a> OrgProfileSummaryView<'a> { /// Create a new builder for this type - pub fn new() -> OrgProfileSummaryViewBuilder<'a, org_profile_summary_view_state::Empty> { + pub fn new() -> OrgProfileSummaryViewBuilder< + 'a, + org_profile_summary_view_state::Empty, + > { OrgProfileSummaryViewBuilder::new() } } @@ -8119,12 +8460,18 @@ where impl<'a, S: org_profile_summary_view_state::State> OrgProfileSummaryViewBuilder<'a, S> { /// Set the `displayName` field (optional) - pub fn display_name(mut self, value: impl Into>>) -> Self { + pub fn display_name( + mut self, + value: impl Into>>, + ) -> Self { self.__unsafe_private_named.2 = value.into(); self } /// Set the `displayName` field to an Option value (optional) - pub fn maybe_display_name(mut self, value: Option>) -> Self { + pub fn maybe_display_name( + mut self, + value: Option>, + ) -> Self { self.__unsafe_private_named.2 = value; self } @@ -8169,7 +8516,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> OrgProfileSummaryView<'a> { @@ -8312,7 +8659,13 @@ impl jacquard_common::IntoStatic for PlatformCategory<'_> { /// Features supported by a game on a specific storefront/platform. #[jacquard_derive::lexicon] #[derive( - serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq, jacquard_derive::IntoStatic, + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic )] #[serde(rename_all = "camelCase")] pub struct PlatformFeatures<'a> { @@ -8324,7 +8677,7 @@ pub struct PlatformFeatures<'a> { pub mod platform_features_state { - pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; + pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -8332,37 +8685,37 @@ pub mod platform_features_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Platform; type Features; + type Platform; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Platform = Unset; type Features = Unset; - } - ///State transition - sets the `platform` field to Set - pub struct SetPlatform(PhantomData S>); - impl sealed::Sealed for SetPlatform {} - impl State for SetPlatform { - type Platform = Set; - type Features = S::Features; + type Platform = Unset; } ///State transition - sets the `features` field to Set pub struct SetFeatures(PhantomData S>); impl sealed::Sealed for SetFeatures {} impl State for SetFeatures { - type Platform = S::Platform; type Features = Set; + type Platform = S::Platform; + } + ///State transition - sets the `platform` field to Set + pub struct SetPlatform(PhantomData S>); + impl sealed::Sealed for SetPlatform {} + impl State for SetPlatform { + type Features = S::Features; + type Platform = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `platform` field - pub struct platform(()); ///Marker type for the `features` field pub struct features(()); + ///Marker type for the `platform` field + pub struct platform(()); } } @@ -8435,8 +8788,8 @@ where impl<'a, S> PlatformFeaturesBuilder<'a, S> where S: platform_features_state::State, - S::Platform: platform_features_state::IsSet, S::Features: platform_features_state::IsSet, + S::Platform: platform_features_state::IsSet, { /// Build the final struct pub fn build(self) -> PlatformFeatures<'a> { @@ -8450,7 +8803,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> PlatformFeatures<'a> { @@ -8562,10 +8915,16 @@ impl jacquard_common::IntoStatic for PlatformFeaturesPlatform<'_> { 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()) + } } } } @@ -8589,7 +8948,13 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for PlatformFeatures<'a> { #[jacquard_derive::lexicon] #[derive( - serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq, jacquard_derive::IntoStatic, + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic )] #[serde(rename_all = "camelCase")] pub struct PlatformSummaryView<'a> { @@ -8598,7 +8963,9 @@ pub struct PlatformSummaryView<'a> { pub abbreviation: std::option::Option>, #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub category: std::option::Option>, + pub category: std::option::Option< + crate::games_gamesgamesgamesgames::PlatformCategory<'a>, + >, #[serde(borrow)] pub name: jacquard_common::CowStr<'a>, #[serde(skip_serializing_if = "std::option::Option::is_none")] @@ -8610,7 +8977,7 @@ pub struct PlatformSummaryView<'a> { pub mod platform_summary_view_state { - pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; + pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -8618,37 +8985,37 @@ pub mod platform_summary_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Uri; type Name; + type Uri; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Uri = Unset; type Name = Unset; - } - ///State transition - sets the `uri` field to Set - pub struct SetUri(PhantomData S>); - impl sealed::Sealed for SetUri {} - impl State for SetUri { - type Uri = Set; - type Name = S::Name; + type Uri = Unset; } ///State transition - sets the `name` field to Set pub struct SetName(PhantomData S>); impl sealed::Sealed for SetName {} impl State for SetName { - type Uri = S::Uri; type Name = Set; + type Uri = S::Uri; + } + ///State transition - sets the `uri` field to Set + pub struct SetUri(PhantomData S>); + impl sealed::Sealed for SetUri {} + impl State for SetUri { + type Name = S::Name; + type Uri = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `uri` field - pub struct uri(()); ///Marker type for the `name` field pub struct name(()); + ///Marker type for the `uri` field + pub struct uri(()); } } @@ -8685,12 +9052,18 @@ impl<'a> PlatformSummaryViewBuilder<'a, platform_summary_view_state::Empty> { impl<'a, S: platform_summary_view_state::State> PlatformSummaryViewBuilder<'a, S> { /// Set the `abbreviation` field (optional) - pub fn abbreviation(mut self, value: impl Into>>) -> Self { + pub fn abbreviation( + mut self, + value: impl Into>>, + ) -> Self { self.__unsafe_private_named.0 = value.into(); self } /// Set the `abbreviation` field to an Option value (optional) - pub fn maybe_abbreviation(mut self, value: Option>) -> Self { + pub fn maybe_abbreviation( + mut self, + value: Option>, + ) -> Self { self.__unsafe_private_named.0 = value; self } @@ -8736,7 +9109,10 @@ where impl<'a, S: platform_summary_view_state::State> PlatformSummaryViewBuilder<'a, S> { /// Set the `slug` field (optional) - pub fn slug(mut self, value: impl Into>>) -> Self { + pub fn slug( + mut self, + value: impl Into>>, + ) -> Self { self.__unsafe_private_named.3 = value.into(); self } @@ -8769,8 +9145,8 @@ where impl<'a, S> PlatformSummaryViewBuilder<'a, S> where S: platform_summary_view_state::State, - S::Uri: platform_summary_view_state::IsSet, S::Name: platform_summary_view_state::IsSet, + S::Uri: platform_summary_view_state::IsSet, { /// Build the final struct pub fn build(self) -> PlatformSummaryView<'a> { @@ -8787,7 +9163,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> PlatformSummaryView<'a> { @@ -8828,7 +9204,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for PlatformSummaryView<'a> { PartialEq, Eq, jacquard_derive::IntoStatic, - Default, + Default )] #[serde(rename_all = "camelCase")] pub struct PlatformVersion<'a> { @@ -8846,7 +9222,9 @@ pub struct PlatformVersion<'a> { pub max_resolution: std::option::Option>, #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub media: std::option::Option>>, + pub media: std::option::Option< + Vec>, + >, #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] pub memory: std::option::Option>, @@ -8997,7 +9375,13 @@ impl jacquard_common::IntoStatic for PlayerPerspective<'_> { #[jacquard_derive::lexicon] #[derive( - serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq, jacquard_derive::IntoStatic, + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic )] #[serde(rename_all = "camelCase")] pub struct ProfileSummaryView<'a> { @@ -9017,7 +9401,7 @@ pub struct ProfileSummaryView<'a> { pub mod profile_summary_view_state { - pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; + pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -9025,51 +9409,51 @@ pub mod profile_summary_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Uri; - type Did; type ProfileType; + type Did; + type Uri; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Uri = Unset; - type Did = Unset; type ProfileType = Unset; + type Did = Unset; + type Uri = Unset; } - ///State transition - sets the `uri` field to Set - pub struct SetUri(PhantomData S>); - impl sealed::Sealed for SetUri {} - impl State for SetUri { - type Uri = Set; + ///State transition - sets the `profile_type` field to Set + pub struct SetProfileType(PhantomData S>); + impl sealed::Sealed for SetProfileType {} + impl State for SetProfileType { + type ProfileType = Set; type Did = S::Did; - type ProfileType = S::ProfileType; + type Uri = S::Uri; } ///State transition - sets the `did` field to Set pub struct SetDid(PhantomData S>); impl sealed::Sealed for SetDid {} impl State for SetDid { - type Uri = S::Uri; - type Did = Set; type ProfileType = S::ProfileType; - } - ///State transition - sets the `profile_type` field to Set - pub struct SetProfileType(PhantomData S>); - impl sealed::Sealed for SetProfileType {} - impl State for SetProfileType { + type Did = Set; type Uri = S::Uri; + } + ///State transition - sets the `uri` field to Set + pub struct SetUri(PhantomData S>); + impl sealed::Sealed for SetUri {} + impl State for SetUri { + type ProfileType = S::ProfileType; type Did = S::Did; - type ProfileType = Set; + type Uri = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `uri` field - pub struct uri(()); - ///Marker type for the `did` field - pub struct did(()); ///Marker type for the `profile_type` field pub struct profile_type(()); + ///Marker type for the `did` field + pub struct did(()); + ///Marker type for the `uri` field + pub struct uri(()); } } @@ -9144,12 +9528,18 @@ where impl<'a, S: profile_summary_view_state::State> ProfileSummaryViewBuilder<'a, S> { /// Set the `displayName` field (optional) - pub fn display_name(mut self, value: impl Into>>) -> Self { + pub fn display_name( + mut self, + value: impl Into>>, + ) -> Self { self.__unsafe_private_named.2 = value.into(); self } /// Set the `displayName` field to an Option value (optional) - pub fn maybe_display_name(mut self, value: Option>) -> Self { + pub fn maybe_display_name( + mut self, + value: Option>, + ) -> Self { self.__unsafe_private_named.2 = value; self } @@ -9196,9 +9586,9 @@ where impl<'a, S> ProfileSummaryViewBuilder<'a, S> where S: profile_summary_view_state::State, - S::Uri: profile_summary_view_state::IsSet, - S::Did: profile_summary_view_state::IsSet, S::ProfileType: profile_summary_view_state::IsSet, + S::Did: profile_summary_view_state::IsSet, + S::Uri: profile_summary_view_state::IsSet, { /// Build the final struct pub fn build(self) -> ProfileSummaryView<'a> { @@ -9215,7 +9605,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ProfileSummaryView<'a> { @@ -9358,7 +9748,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ProfileSummaryView<'a> { PartialEq, Eq, jacquard_derive::IntoStatic, - Default, + Default )] #[serde(rename_all = "camelCase")] pub struct Release<'a> { @@ -9372,7 +9762,9 @@ pub struct Release<'a> { pub platform_uri: std::option::Option>, #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub release_dates: std::option::Option>>, + pub release_dates: std::option::Option< + Vec>, + >, } impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Release<'a> { @@ -9401,7 +9793,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Release<'a> { PartialEq, Eq, jacquard_derive::IntoStatic, - Default, + Default )] #[serde(rename_all = "camelCase")] pub struct ReleaseDate<'a> { @@ -9693,7 +10085,13 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ReleaseDate<'a> { #[jacquard_derive::lexicon] #[derive( - serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq, jacquard_derive::IntoStatic, + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic )] #[serde(rename_all = "camelCase")] pub struct SkeletonGameFeedItem<'a> { @@ -9706,7 +10104,7 @@ pub struct SkeletonGameFeedItem<'a> { pub mod skeleton_game_feed_item_state { - pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; + pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -9748,7 +10146,10 @@ pub struct SkeletonGameFeedItemBuilder<'a, S: skeleton_game_feed_item_state::Sta impl<'a> SkeletonGameFeedItem<'a> { /// Create a new builder for this type - pub fn new() -> SkeletonGameFeedItemBuilder<'a, skeleton_game_feed_item_state::Empty> { + pub fn new() -> SkeletonGameFeedItemBuilder< + 'a, + skeleton_game_feed_item_state::Empty, + > { SkeletonGameFeedItemBuilder::new() } } @@ -9766,12 +10167,18 @@ impl<'a> SkeletonGameFeedItemBuilder<'a, skeleton_game_feed_item_state::Empty> { impl<'a, S: skeleton_game_feed_item_state::State> SkeletonGameFeedItemBuilder<'a, S> { /// 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.__unsafe_private_named.0 = value.into(); self } /// Set the `feedContext` field to an Option value (optional) - pub fn maybe_feed_context(mut self, value: Option>) -> Self { + pub fn maybe_feed_context( + mut self, + value: Option>, + ) -> Self { self.__unsafe_private_named.0 = value; self } @@ -9813,7 +10220,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> SkeletonGameFeedItem<'a> { @@ -9864,7 +10271,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for SkeletonGameFeedItem<'a> PartialEq, Eq, jacquard_derive::IntoStatic, - Default, + Default )] #[serde(rename_all = "camelCase")] pub struct SystemRequirements<'a> { @@ -9875,7 +10282,9 @@ pub struct SystemRequirements<'a> { pub platform: SystemRequirementsPlatform<'a>, #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub recommended: std::option::Option>, + pub recommended: std::option::Option< + crate::games_gamesgamesgamesgames::SystemSpec<'a>, + >, } #[derive(Debug, Clone, PartialEq, Eq, Hash)] @@ -10000,7 +10409,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for SystemRequirements<'a> { PartialEq, Eq, jacquard_derive::IntoStatic, - Default, + Default )] #[serde(rename_all = "camelCase")] pub struct SystemSpec<'a> { @@ -10238,7 +10647,7 @@ impl jacquard_common::IntoStatic for Theme<'_> { PartialEq, Eq, jacquard_derive::IntoStatic, - Default, + Default )] #[serde(rename_all = "camelCase")] pub struct TimeToBeat<'a> { @@ -10276,7 +10685,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for TimeToBeat<'a> { PartialEq, Eq, jacquard_derive::IntoStatic, - Default, + Default )] #[serde(rename_all = "camelCase")] pub struct ViewerState<'a> { @@ -10304,7 +10713,13 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ViewerState<'a> { #[jacquard_derive::lexicon] #[derive( - serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq, jacquard_derive::IntoStatic, + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic )] #[serde(rename_all = "camelCase")] pub struct Website<'a> { @@ -10317,7 +10732,7 @@ pub struct Website<'a> { pub mod website_state { - pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; + pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -10424,7 +10839,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Website<'a> { @@ -10458,7 +10873,7 @@ pub enum WebsiteType<'a> { Nintendo, Meta, Other, - Unknown(jacquard_common::CowStr<'a>), + UnknownValue(jacquard_common::CowStr<'a>), } impl<'a> WebsiteType<'a> { @@ -10484,7 +10899,7 @@ impl<'a> WebsiteType<'a> { Self::Nintendo => "nintendo", Self::Meta => "meta", Self::Other => "other", - Self::Unknown(s) => s.as_ref(), + Self::UnknownValue(s) => s.as_ref(), } } } @@ -10512,7 +10927,7 @@ impl<'a> From<&'a str> for WebsiteType<'a> { "nintendo" => Self::Nintendo, "meta" => Self::Meta, "other" => Self::Other, - _ => Self::Unknown(jacquard_common::CowStr::from(s)), + _ => Self::UnknownValue(jacquard_common::CowStr::from(s)), } } } @@ -10540,7 +10955,7 @@ impl<'a> From for WebsiteType<'a> { "nintendo" => Self::Nintendo, "meta" => Self::Meta, "other" => Self::Other, - _ => Self::Unknown(jacquard_common::CowStr::from(s)), + _ => Self::UnknownValue(jacquard_common::CowStr::from(s)), } } } @@ -10581,7 +10996,7 @@ where impl<'a> Default for WebsiteType<'a> { fn default() -> Self { - Self::Unknown(Default::default()) + Self::UnknownValue(Default::default()) } } @@ -10609,7 +11024,7 @@ impl jacquard_common::IntoStatic for WebsiteType<'_> { WebsiteType::Nintendo => WebsiteType::Nintendo, WebsiteType::Meta => WebsiteType::Meta, WebsiteType::Other => WebsiteType::Other, - WebsiteType::Unknown(v) => WebsiteType::Unknown(v.into_static()), + WebsiteType::UnknownValue(v) => WebsiteType::UnknownValue(v.into_static()), } } } @@ -10629,4 +11044,4 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Website<'a> { ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { Ok(()) } -} +} \ 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 c82700d2d..772040b55 100644 --- a/crates/jacquard-api/src/games_gamesgamesgamesgames/actor/credit.rs +++ b/crates/jacquard-api/src/games_gamesgamesgamesgames/actor/credit.rs @@ -43,37 +43,37 @@ pub mod credit_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Game; type Credits; + type Game; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Game = Unset; type Credits = Unset; - } - ///State transition - sets the `game` field to Set - pub struct SetGame(PhantomData S>); - impl sealed::Sealed for SetGame {} - impl State for SetGame { - type Game = Set; - type Credits = S::Credits; + type Game = Unset; } ///State transition - sets the `credits` field to Set pub struct SetCredits(PhantomData S>); impl sealed::Sealed for SetCredits {} impl State for SetCredits { - type Game = S::Game; type Credits = Set; + type Game = S::Game; + } + ///State transition - sets the `game` field to Set + pub struct SetGame(PhantomData S>); + impl sealed::Sealed for SetGame {} + impl State for SetGame { + type Credits = S::Credits; + type Game = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `game` field - pub struct game(()); ///Marker type for the `credits` field pub struct credits(()); + ///Marker type for the `game` field + pub struct game(()); } } @@ -186,8 +186,8 @@ where impl<'a, S> CreditBuilder<'a, S> where S: credit_state::State, - S::Game: credit_state::IsSet, S::Credits: credit_state::IsSet, + S::Game: credit_state::IsSet, { /// Build the final struct pub fn build(self) -> Credit<'a> { @@ -203,7 +203,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Credit<'a> { @@ -320,7 +320,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_actor_credit() -> ::jacquard_lexicon:: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -332,8 +332,8 @@ fn lexicon_doc_games_gamesgamesgamesgames_actor_credit() -> ::jacquard_lexicon:: description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("game"), - ::jacquard_common::smol_str::SmolStr::new_static("credits") + ::jacquard_common::deps::smol_str::SmolStr::new_static("game"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("credits") ], ), nullable: None, @@ -341,7 +341,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_actor_credit() -> ::jacquard_lexicon:: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("actor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "actor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -350,7 +352,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_actor_credit() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("credits"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "credits", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -368,7 +372,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_actor_credit() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "displayName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -389,7 +393,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_actor_credit() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("game"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "game", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/games_gamesgamesgamesgames/actor/profile.rs b/crates/jacquard-api/src/games_gamesgamesgamesgames/actor/profile.rs index 3351ff3c2..855e5398b 100644 --- a/crates/jacquard-api/src/games_gamesgamesgamesgames/actor/profile.rs +++ b/crates/jacquard-api/src/games_gamesgamesgamesgames/actor/profile.rs @@ -276,7 +276,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Profile<'a> { @@ -421,7 +421,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_actor_profile() -> ::jacquard_lexicon: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -433,8 +433,8 @@ fn lexicon_doc_games_gamesgamesgamesgames_actor_profile() -> ::jacquard_lexicon: description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("displayName"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("displayName"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -442,7 +442,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_actor_profile() -> ::jacquard_lexicon: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("avatar"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "avatar", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -450,7 +452,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_actor_profile() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -469,7 +471,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_actor_profile() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -490,7 +492,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_actor_profile() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "descriptionFacets", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -510,7 +512,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_actor_profile() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "displayName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -527,7 +529,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_actor_profile() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "pronouns", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -548,7 +550,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_actor_profile() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "websites", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { diff --git a/crates/jacquard-api/src/games_gamesgamesgamesgames/collection.rs b/crates/jacquard-api/src/games_gamesgamesgamesgames/collection.rs index cc7988333..e5b3e3401 100644 --- a/crates/jacquard-api/src/games_gamesgamesgamesgames/collection.rs +++ b/crates/jacquard-api/src/games_gamesgamesgamesgames/collection.rs @@ -55,37 +55,37 @@ pub mod collection_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Name; type CreatedAt; + type Name; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Name = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `name` field to Set - pub struct SetName(PhantomData S>); - impl sealed::Sealed for SetName {} - impl State for SetName { - type Name = Set; - type CreatedAt = S::CreatedAt; + type Name = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Name = S::Name; type CreatedAt = Set; + type Name = S::Name; + } + ///State transition - sets the `name` field to Set + pub struct SetName(PhantomData S>); + impl sealed::Sealed for SetName {} + impl State for SetName { + type CreatedAt = S::CreatedAt; + type Name = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `name` field - pub struct name(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `name` field + pub struct name(()); } } @@ -272,8 +272,8 @@ impl<'a, S: collection_state::State> CollectionBuilder<'a, S> { impl<'a, S> CollectionBuilder<'a, S> where S: collection_state::State, - S::Name: collection_state::IsSet, S::CreatedAt: collection_state::IsSet, + S::Name: collection_state::IsSet, { /// Build the final struct pub fn build(self) -> Collection<'a> { @@ -293,7 +293,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Collection<'a> { @@ -495,7 +495,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_collection() -> ::jacquard_lexicon::le defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -507,8 +507,8 @@ fn lexicon_doc_games_gamesgamesgamesgames_collection() -> ::jacquard_lexicon::le description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -516,7 +516,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_collection() -> ::jacquard_lexicon::le #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -535,7 +535,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_collection() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -552,7 +552,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_collection() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("games"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "games", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::String(::jacquard_lexicon::lexicon::LexString { @@ -574,7 +576,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_collection() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("media"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "media", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -588,7 +592,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_collection() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -603,7 +609,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_collection() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("parent"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "parent", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -620,7 +628,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_collection() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "type", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -635,7 +645,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_collection() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "websites", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { diff --git a/crates/jacquard-api/src/games_gamesgamesgamesgames/engine.rs b/crates/jacquard-api/src/games_gamesgamesgamesgames/engine.rs index b49c3c05e..50eb93f38 100644 --- a/crates/jacquard-api/src/games_gamesgamesgamesgames/engine.rs +++ b/crates/jacquard-api/src/games_gamesgamesgamesgames/engine.rs @@ -52,37 +52,37 @@ pub mod engine_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type Name; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type Name = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Name = S::Name; + type CreatedAt = Unset; } ///State transition - sets the `name` field to Set pub struct SetName(PhantomData S>); impl sealed::Sealed for SetName {} impl State for SetName { - type CreatedAt = S::CreatedAt; type Name = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Name = S::Name; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `name` field pub struct name(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -255,8 +255,8 @@ impl<'a, S: engine_state::State> EngineBuilder<'a, S> { impl<'a, S> EngineBuilder<'a, S> where S: engine_state::State, - S::CreatedAt: engine_state::IsSet, S::Name: engine_state::IsSet, + S::CreatedAt: engine_state::IsSet, { /// Build the final struct pub fn build(self) -> Engine<'a> { @@ -275,7 +275,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Engine<'a> { @@ -381,7 +381,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_engine() -> ::jacquard_lexicon::lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static("A game engine."), @@ -391,8 +391,8 @@ fn lexicon_doc_games_gamesgamesgamesgames_engine() -> ::jacquard_lexicon::lexico description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -400,7 +400,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_engine() -> ::jacquard_lexicon::lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "companies", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -424,7 +424,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_engine() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -443,7 +443,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_engine() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -460,7 +460,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_engine() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("media"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "media", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -474,7 +476,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_engine() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -489,7 +493,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_engine() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "platforms", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -513,7 +517,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_engine() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "websites", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { 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 91de0f9d1..8d3484c42 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 @@ -115,7 +115,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Feed<'a> { @@ -139,18 +139,22 @@ fn lexicon_doc_games_gamesgamesgamesgames_feed_describeFeedGenerator() -> ::jacq defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("feed"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("feed"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("uri")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -171,7 +175,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_feed_describeFeedGenerator() -> ::jacq }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("links"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("links"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -180,7 +184,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_feed_describeFeedGenerator() -> ::jacq #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "privacyPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -197,7 +201,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_feed_describeFeedGenerator() -> ::jacq }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "termsOfService", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -218,7 +222,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_feed_describeFeedGenerator() -> ::jacq }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcQuery(::jacquard_lexicon::lexicon::LexXrpcQuery { description: None, parameters: None, diff --git a/crates/jacquard-api/src/games_gamesgamesgamesgames/feed/generator.rs b/crates/jacquard-api/src/games_gamesgamesgamesgames/feed/generator.rs index 662095d3c..9e0f86fbf 100644 --- a/crates/jacquard-api/src/games_gamesgamesgamesgames/feed/generator.rs +++ b/crates/jacquard-api/src/games_gamesgamesgamesgames/feed/generator.rs @@ -44,50 +44,50 @@ pub mod generator_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Did; - type DisplayName; type CreatedAt; + type DisplayName; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Did = Unset; - type DisplayName = Unset; type CreatedAt = Unset; + type DisplayName = Unset; } ///State transition - sets the `did` field to Set pub struct SetDid(PhantomData S>); impl sealed::Sealed for SetDid {} impl State for SetDid { type Did = Set; - type DisplayName = S::DisplayName; - type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `display_name` field to Set - pub struct SetDisplayName(PhantomData S>); - impl sealed::Sealed for SetDisplayName {} - impl State for SetDisplayName { - type Did = S::Did; - type DisplayName = Set; type CreatedAt = S::CreatedAt; + type DisplayName = S::DisplayName; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { type Did = S::Did; - type DisplayName = S::DisplayName; type CreatedAt = Set; + type DisplayName = S::DisplayName; + } + ///State transition - sets the `display_name` field to Set + pub struct SetDisplayName(PhantomData S>); + impl sealed::Sealed for SetDisplayName {} + impl State for SetDisplayName { + type Did = S::Did; + type CreatedAt = S::CreatedAt; + type DisplayName = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `did` field pub struct did(()); - ///Marker type for the `display_name` field - pub struct display_name(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `display_name` field + pub struct display_name(()); } } @@ -235,8 +235,8 @@ impl<'a, S> GeneratorBuilder<'a, S> where S: generator_state::State, S::Did: generator_state::IsSet, - S::DisplayName: generator_state::IsSet, S::CreatedAt: generator_state::IsSet, + S::DisplayName: generator_state::IsSet, { /// Build the final struct pub fn build(self) -> Generator<'a> { @@ -254,7 +254,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Generator<'a> { @@ -358,7 +358,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Generator<'a> { } if let Some(ref value) = self.description { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -390,7 +390,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Generator<'a> { { let value = &self.display_name; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -423,7 +423,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_feed_generator() -> ::jacquard_lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -435,9 +435,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_feed_generator() -> ::jacquard_lexicon description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("did"), - ::jacquard_common::smol_str::SmolStr::new_static("displayName"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("displayName"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -445,7 +445,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_feed_generator() -> ::jacquard_lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "acceptsInteractions", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -455,7 +455,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_feed_generator() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("avatar"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "avatar", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -463,7 +465,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_feed_generator() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -482,7 +484,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_feed_generator() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -499,7 +501,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_feed_generator() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -516,7 +520,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_feed_generator() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "displayName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/games_gamesgamesgamesgames/game.rs b/crates/jacquard-api/src/games_gamesgamesgamesgames/game.rs index b4efcc8af..365db651d 100644 --- a/crates/jacquard-api/src/games_gamesgamesgamesgames/game.rs +++ b/crates/jacquard-api/src/games_gamesgamesgamesgames/game.rs @@ -140,49 +140,49 @@ pub mod game_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Name; type ApplicationType; + type Name; type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Name = Unset; type ApplicationType = Unset; + type Name = Unset; type CreatedAt = Unset; } - ///State transition - sets the `name` field to Set - pub struct SetName(PhantomData S>); - impl sealed::Sealed for SetName {} - impl State for SetName { - type Name = Set; - type ApplicationType = S::ApplicationType; - type CreatedAt = S::CreatedAt; - } ///State transition - sets the `application_type` field to Set pub struct SetApplicationType(PhantomData S>); impl sealed::Sealed for SetApplicationType {} impl State for SetApplicationType { - type Name = S::Name; type ApplicationType = Set; + type Name = S::Name; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `name` field to Set + pub struct SetName(PhantomData S>); + impl sealed::Sealed for SetName {} + impl State for SetName { + type ApplicationType = S::ApplicationType; + type Name = Set; type CreatedAt = S::CreatedAt; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Name = S::Name; type ApplicationType = S::ApplicationType; + type Name = S::Name; type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `name` field - pub struct name(()); ///Marker type for the `application_type` field pub struct application_type(()); + ///Marker type for the `name` field + pub struct name(()); ///Marker type for the `created_at` field pub struct created_at(()); } @@ -810,8 +810,8 @@ impl<'a, S: game_state::State> GameBuilder<'a, S> { impl<'a, S> GameBuilder<'a, S> where S: game_state::State, - S::Name: game_state::IsSet, S::ApplicationType: game_state::IsSet, + S::Name: game_state::IsSet, S::CreatedAt: game_state::IsSet, { /// Build the final struct @@ -851,7 +851,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Game<'a> { @@ -977,7 +977,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_game() -> ::jacquard_lexicon::lexicon: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static("A video game."), @@ -987,9 +987,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_game() -> ::jacquard_lexicon::lexicon: description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt"), - ::jacquard_common::smol_str::SmolStr::new_static("applicationType") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("applicationType") ], ), nullable: None, @@ -997,7 +997,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_game() -> ::jacquard_lexicon::lexicon: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "ageRatings", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -1013,7 +1013,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_game() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternativeNames", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -1029,7 +1029,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_game() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "applicationType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -1040,7 +1040,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_game() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1059,7 +1059,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_game() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1080,7 +1080,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_game() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "descriptionFacets", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -1100,7 +1100,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_game() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("engines"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "engines", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::String(::jacquard_lexicon::lexicon::LexString { @@ -1122,7 +1124,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_game() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "externalIds", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -1133,7 +1135,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_game() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("genres"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "genres", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -1147,7 +1151,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_game() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "keywords", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -1169,7 +1173,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_game() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "languageSupports", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -1185,7 +1189,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_game() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("media"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "media", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -1203,7 +1209,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_game() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("modes"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "modes", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -1217,7 +1225,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_game() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "multiplayerModes", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -1233,7 +1241,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_game() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -1248,7 +1258,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_game() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("parent"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "parent", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -1265,7 +1277,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_game() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "platformFeatures", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -1285,7 +1297,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_game() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "playerPerspectives", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -1301,7 +1313,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_game() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publishedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1324,7 +1336,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_game() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "releases", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -1340,7 +1352,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_game() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "storyline", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1357,7 +1369,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_game() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("summary"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "summary", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -1372,7 +1386,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_game() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "systemRequirements", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -1392,7 +1406,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_game() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("themes"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "themes", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -1406,7 +1422,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_game() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "timeToBeat", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -1417,7 +1433,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_game() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("videos"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "videos", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -1431,7 +1449,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_game() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "websites", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { diff --git a/crates/jacquard-api/src/games_gamesgamesgamesgames/get_reviews.rs b/crates/jacquard-api/src/games_gamesgamesgamesgames/get_reviews.rs index e42089bd8..0fa03841d 100644 --- a/crates/jacquard-api/src/games_gamesgamesgamesgames/get_reviews.rs +++ b/crates/jacquard-api/src/games_gamesgamesgamesgames/get_reviews.rs @@ -240,8 +240,8 @@ pub mod popfeed_review_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Rating; - type Uri; type CreatedAt; + type Uri; type Did; } /// Empty state - all required fields are unset @@ -249,8 +249,8 @@ pub mod popfeed_review_state { impl sealed::Sealed for Empty {} impl State for Empty { type Rating = Unset; - type Uri = Unset; type CreatedAt = Unset; + type Uri = Unset; type Did = Unset; } ///State transition - sets the `rating` field to Set @@ -258,17 +258,8 @@ pub mod popfeed_review_state { impl sealed::Sealed for SetRating {} impl State for SetRating { type Rating = Set; - type Uri = S::Uri; - type CreatedAt = S::CreatedAt; - type Did = S::Did; - } - ///State transition - sets the `uri` field to Set - pub struct SetUri(PhantomData S>); - impl sealed::Sealed for SetUri {} - impl State for SetUri { - type Rating = S::Rating; - type Uri = Set; type CreatedAt = S::CreatedAt; + type Uri = S::Uri; type Did = S::Did; } ///State transition - sets the `created_at` field to Set @@ -276,8 +267,17 @@ pub mod popfeed_review_state { impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { type Rating = S::Rating; - type Uri = S::Uri; type CreatedAt = Set; + type Uri = S::Uri; + type Did = S::Did; + } + ///State transition - sets the `uri` field to Set + pub struct SetUri(PhantomData S>); + impl sealed::Sealed for SetUri {} + impl State for SetUri { + type Rating = S::Rating; + type CreatedAt = S::CreatedAt; + type Uri = Set; type Did = S::Did; } ///State transition - sets the `did` field to Set @@ -285,8 +285,8 @@ pub mod popfeed_review_state { impl sealed::Sealed for SetDid {} impl State for SetDid { type Rating = S::Rating; - type Uri = S::Uri; type CreatedAt = S::CreatedAt; + type Uri = S::Uri; type Did = Set; } /// Marker types for field names @@ -294,10 +294,10 @@ pub mod popfeed_review_state { pub mod members { ///Marker type for the `rating` field pub struct rating(()); - ///Marker type for the `uri` field - pub struct uri(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `uri` field + pub struct uri(()); ///Marker type for the `did` field pub struct did(()); } @@ -511,8 +511,8 @@ impl<'a, S> PopfeedReviewBuilder<'a, S> where S: popfeed_review_state::State, S::Rating: popfeed_review_state::IsSet, - S::Uri: popfeed_review_state::IsSet, S::CreatedAt: popfeed_review_state::IsSet, + S::Uri: popfeed_review_state::IsSet, S::Did: popfeed_review_state::IsSet, { /// Build the final struct @@ -534,7 +534,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> PopfeedReview<'a> { @@ -566,7 +566,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_getReviews() -> ::jacquard_lexicon::le defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcQuery(::jacquard_lexicon::lexicon::LexXrpcQuery { description: None, parameters: Some( @@ -574,14 +574,16 @@ fn lexicon_doc_games_gamesgamesgamesgames_getReviews() -> ::jacquard_lexicon::le description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri") ], ), properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cursor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cursor", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -600,7 +602,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_getReviews() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("limit"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "limit", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -611,7 +615,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_getReviews() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -640,15 +646,15 @@ fn lexicon_doc_games_gamesgamesgamesgames_getReviews() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("popfeedReview"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("popfeedReview"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("did"), - ::jacquard_common::smol_str::SmolStr::new_static("rating"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("rating"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -656,7 +662,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_getReviews() -> ::jacquard_lexicon::le #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "containsSpoilers", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -666,7 +672,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_getReviews() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -685,7 +691,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_getReviews() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -702,7 +710,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_getReviews() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("facets"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "facets", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -716,7 +726,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_getReviews() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rating"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "rating", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -727,7 +739,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_getReviews() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tags", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::String(::jacquard_lexicon::lexicon::LexString { @@ -747,7 +761,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_getReviews() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -762,7 +778,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_getReviews() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -777,7 +795,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_getReviews() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( diff --git a/crates/jacquard-api/src/games_gamesgamesgamesgames/graph/like.rs b/crates/jacquard-api/src/games_gamesgamesgamesgames/graph/like.rs index 28b9eb806..5ec7f5402 100644 --- a/crates/jacquard-api/src/games_gamesgamesgamesgames/graph/like.rs +++ b/crates/jacquard-api/src/games_gamesgamesgamesgames/graph/like.rs @@ -152,7 +152,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Like<'a> { @@ -255,7 +255,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_graph_like() -> ::jacquard_lexicon::le defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -267,8 +267,8 @@ fn lexicon_doc_games_gamesgamesgamesgames_graph_like() -> ::jacquard_lexicon::le description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -276,7 +276,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_graph_like() -> ::jacquard_lexicon::le #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -295,7 +295,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_graph_like() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( 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 891ae4822..49e13e68b 100644 --- a/crates/jacquard-api/src/games_gamesgamesgamesgames/graph/toggle_like.rs +++ b/crates/jacquard-api/src/games_gamesgamesgamesgames/graph/toggle_like.rs @@ -116,7 +116,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ToggleLike<'a> { diff --git a/crates/jacquard-api/src/games_gamesgamesgamesgames/org/credit.rs b/crates/jacquard-api/src/games_gamesgamesgamesgames/org/credit.rs index 9dba708fa..daaecbd4c 100644 --- a/crates/jacquard-api/src/games_gamesgamesgamesgames/org/credit.rs +++ b/crates/jacquard-api/src/games_gamesgamesgamesgames/org/credit.rs @@ -43,51 +43,51 @@ pub mod credit_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Game; type Org; type Roles; + type Game; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Game = Unset; type Org = Unset; type Roles = Unset; - } - ///State transition - sets the `game` field to Set - pub struct SetGame(PhantomData S>); - impl sealed::Sealed for SetGame {} - impl State for SetGame { - type Game = Set; - type Org = S::Org; - type Roles = S::Roles; + type Game = Unset; } ///State transition - sets the `org` field to Set pub struct SetOrg(PhantomData S>); impl sealed::Sealed for SetOrg {} impl State for SetOrg { - type Game = S::Game; type Org = Set; type Roles = S::Roles; + type Game = S::Game; } ///State transition - sets the `roles` field to Set pub struct SetRoles(PhantomData S>); impl sealed::Sealed for SetRoles {} impl State for SetRoles { - type Game = S::Game; type Org = S::Org; type Roles = Set; + type Game = S::Game; + } + ///State transition - sets the `game` field to Set + pub struct SetGame(PhantomData S>); + impl sealed::Sealed for SetGame {} + impl State for SetGame { + type Org = S::Org; + type Roles = S::Roles; + type Game = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `game` field - pub struct game(()); ///Marker type for the `org` field pub struct org(()); ///Marker type for the `roles` field pub struct roles(()); + ///Marker type for the `game` field + pub struct game(()); } } @@ -220,9 +220,9 @@ where impl<'a, S> CreditBuilder<'a, S> where S: credit_state::State, - S::Game: credit_state::IsSet, S::Org: credit_state::IsSet, S::Roles: credit_state::IsSet, + S::Game: credit_state::IsSet, { /// Build the final struct pub fn build(self) -> Credit<'a> { @@ -239,7 +239,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Credit<'a> { @@ -357,7 +357,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_org_credit() -> ::jacquard_lexicon::le defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -369,9 +369,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_org_credit() -> ::jacquard_lexicon::le description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("org"), - ::jacquard_common::smol_str::SmolStr::new_static("game"), - ::jacquard_common::smol_str::SmolStr::new_static("roles") + ::jacquard_common::deps::smol_str::SmolStr::new_static("org"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("game"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("roles") ], ), nullable: None, @@ -379,7 +379,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_org_credit() -> ::jacquard_lexicon::le #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -398,7 +398,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_org_credit() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "displayName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -419,7 +419,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_org_credit() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("game"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "game", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -428,7 +430,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_org_credit() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("org"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "org", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -437,7 +441,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_org_credit() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("roles"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "roles", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { diff --git a/crates/jacquard-api/src/games_gamesgamesgamesgames/org/profile.rs b/crates/jacquard-api/src/games_gamesgamesgamesgames/org/profile.rs index 785c1e2b6..a21d6408a 100644 --- a/crates/jacquard-api/src/games_gamesgamesgamesgames/org/profile.rs +++ b/crates/jacquard-api/src/games_gamesgamesgamesgames/org/profile.rs @@ -378,7 +378,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Profile<'a> { @@ -618,7 +618,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_org_profile() -> ::jacquard_lexicon::l defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -630,8 +630,8 @@ fn lexicon_doc_games_gamesgamesgamesgames_org_profile() -> ::jacquard_lexicon::l description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("displayName"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("displayName"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -639,7 +639,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_org_profile() -> ::jacquard_lexicon::l #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("avatar"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "avatar", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -647,7 +649,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_org_profile() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("country"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "country", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -662,7 +666,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_org_profile() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -681,7 +685,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_org_profile() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -702,7 +706,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_org_profile() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "descriptionFacets", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -722,7 +726,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_org_profile() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "displayName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -739,7 +743,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_org_profile() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "foundedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -758,7 +762,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_org_profile() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("media"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "media", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -772,7 +778,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_org_profile() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("parent"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "parent", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -789,7 +797,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_org_profile() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("status"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "status", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -804,7 +814,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_org_profile() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "websites", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { diff --git a/crates/jacquard-api/src/games_gamesgamesgamesgames/platform.rs b/crates/jacquard-api/src/games_gamesgamesgamesgames/platform.rs index 5f99170c1..e4343d36d 100644 --- a/crates/jacquard-api/src/games_gamesgamesgamesgames/platform.rs +++ b/crates/jacquard-api/src/games_gamesgamesgamesgames/platform.rs @@ -67,37 +67,37 @@ pub mod platform_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type Name; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type Name = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Name = S::Name; + type CreatedAt = Unset; } ///State transition - sets the `name` field to Set pub struct SetName(PhantomData S>); impl sealed::Sealed for SetName {} impl State for SetName { - type CreatedAt = S::CreatedAt; type Name = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Name = S::Name; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `name` field pub struct name(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -360,8 +360,8 @@ impl<'a, S: platform_state::State> PlatformBuilder<'a, S> { impl<'a, S> PlatformBuilder<'a, S> where S: platform_state::State, - S::CreatedAt: platform_state::IsSet, S::Name: platform_state::IsSet, + S::CreatedAt: platform_state::IsSet, { /// Build the final struct pub fn build(self) -> Platform<'a> { @@ -384,7 +384,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Platform<'a> { @@ -494,7 +494,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_platform() -> ::jacquard_lexicon::lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -506,8 +506,8 @@ fn lexicon_doc_games_gamesgamesgamesgames_platform() -> ::jacquard_lexicon::lexi description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -515,7 +515,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_platform() -> ::jacquard_lexicon::lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "abbreviation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -532,7 +532,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_platform() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternativeName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -549,7 +549,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_platform() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "category", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -560,7 +560,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_platform() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -579,7 +579,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_platform() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -596,7 +596,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_platform() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("family"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "family", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -613,7 +615,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_platform() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "generation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -626,7 +628,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_platform() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("media"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "media", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -640,7 +644,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_platform() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -655,7 +661,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_platform() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "versions", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -671,7 +677,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_platform() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "websites", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { diff --git a/crates/jacquard-api/src/games_gamesgamesgamesgames/platform_family.rs b/crates/jacquard-api/src/games_gamesgamesgamesgames/platform_family.rs index 5779b199e..4949546aa 100644 --- a/crates/jacquard-api/src/games_gamesgamesgamesgames/platform_family.rs +++ b/crates/jacquard-api/src/games_gamesgamesgamesgames/platform_family.rs @@ -175,7 +175,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> PlatformFamily<'a> { @@ -279,7 +279,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_platformFamily() -> ::jacquard_lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -291,8 +291,8 @@ fn lexicon_doc_games_gamesgamesgamesgames_platformFamily() -> ::jacquard_lexicon description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -300,7 +300,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_platformFamily() -> ::jacquard_lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -319,7 +319,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_platformFamily() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -336,7 +336,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_platformFamily() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, diff --git a/crates/jacquard-api/src/games_gamesgamesgamesgames/put_game.rs b/crates/jacquard-api/src/games_gamesgamesgamesgames/put_game.rs index 1af6ef221..5fb34ccdd 100644 --- a/crates/jacquard-api/src/games_gamesgamesgamesgames/put_game.rs +++ b/crates/jacquard-api/src/games_gamesgamesgamesgames/put_game.rs @@ -116,37 +116,37 @@ pub mod put_game_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Uri; type Name; + type Uri; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Uri = Unset; type Name = Unset; - } - ///State transition - sets the `uri` field to Set - pub struct SetUri(PhantomData S>); - impl sealed::Sealed for SetUri {} - impl State for SetUri { - type Uri = Set; - type Name = S::Name; + type Uri = Unset; } ///State transition - sets the `name` field to Set pub struct SetName(PhantomData S>); impl sealed::Sealed for SetName {} impl State for SetName { - type Uri = S::Uri; type Name = Set; + type Uri = S::Uri; + } + ///State transition - sets the `uri` field to Set + pub struct SetUri(PhantomData S>); + impl sealed::Sealed for SetUri {} + impl State for SetUri { + type Name = S::Name; + type Uri = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `uri` field - pub struct uri(()); ///Marker type for the `name` field pub struct name(()); + ///Marker type for the `uri` field + pub struct uri(()); } } @@ -674,8 +674,8 @@ impl<'a, S: put_game_state::State> PutGameBuilder<'a, S> { impl<'a, S> PutGameBuilder<'a, S> where S: put_game_state::State, - S::Uri: put_game_state::IsSet, S::Name: put_game_state::IsSet, + S::Uri: put_game_state::IsSet, { /// Build the final struct pub fn build(self) -> PutGame<'a> { @@ -710,7 +710,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> PutGame<'a> { diff --git a/crates/jacquard-api/src/games_gamesgamesgamesgames/search_slugs.rs b/crates/jacquard-api/src/games_gamesgamesgamesgames/search_slugs.rs index 7532d8675..64f19cff8 100644 --- a/crates/jacquard-api/src/games_gamesgamesgamesgames/search_slugs.rs +++ b/crates/jacquard-api/src/games_gamesgamesgamesgames/search_slugs.rs @@ -199,37 +199,37 @@ pub mod slug_result_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Ref; type Slug; + type Ref; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Ref = Unset; type Slug = Unset; - } - ///State transition - sets the `ref` field to Set - pub struct SetRef(PhantomData S>); - impl sealed::Sealed for SetRef {} - impl State for SetRef { - type Ref = Set; - type Slug = S::Slug; + type Ref = Unset; } ///State transition - sets the `slug` field to Set pub struct SetSlug(PhantomData S>); impl sealed::Sealed for SetSlug {} impl State for SetSlug { - type Ref = S::Ref; type Slug = Set; + type Ref = S::Ref; + } + ///State transition - sets the `ref` field to Set + pub struct SetRef(PhantomData S>); + impl sealed::Sealed for SetRef {} + impl State for SetRef { + type Slug = S::Slug; + type Ref = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `ref` field - pub struct r#ref(()); ///Marker type for the `slug` field pub struct slug(()); + ///Marker type for the `ref` field + pub struct r#ref(()); } } @@ -302,8 +302,8 @@ where impl<'a, S> SlugResultBuilder<'a, S> where S: slug_result_state::State, - S::Ref: slug_result_state::IsSet, S::Slug: slug_result_state::IsSet, + S::Ref: slug_result_state::IsSet, { /// Build the final struct pub fn build(self) -> SlugResult<'a> { @@ -317,7 +317,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> SlugResult<'a> { @@ -342,7 +342,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_searchSlugs() -> ::jacquard_lexicon::l defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcQuery(::jacquard_lexicon::lexicon::LexXrpcQuery { description: None, parameters: Some( @@ -350,14 +350,16 @@ fn lexicon_doc_games_gamesgamesgamesgames_searchSlugs() -> ::jacquard_lexicon::l description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("slug") + ::jacquard_common::deps::smol_str::SmolStr::new_static("slug") ], ), properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("limit"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "limit", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -368,7 +370,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_searchSlugs() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("slug"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "slug", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -395,13 +399,13 @@ fn lexicon_doc_games_gamesgamesgamesgames_searchSlugs() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("slugResult"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("slugResult"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("slug"), - ::jacquard_common::smol_str::SmolStr::new_static("ref") + ::jacquard_common::deps::smol_str::SmolStr::new_static("slug"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("ref") ], ), nullable: None, @@ -409,7 +413,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_searchSlugs() -> ::jacquard_lexicon::l #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("ref"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "ref", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -426,7 +432,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_searchSlugs() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("slug"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "slug", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, diff --git a/crates/jacquard-api/src/games_gamesgamesgamesgames/slug.rs b/crates/jacquard-api/src/games_gamesgamesgamesgames/slug.rs index 5ba327c23..c7e20b34e 100644 --- a/crates/jacquard-api/src/games_gamesgamesgamesgames/slug.rs +++ b/crates/jacquard-api/src/games_gamesgamesgamesgames/slug.rs @@ -36,37 +36,37 @@ pub mod slug_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Ref; type Slug; + type Ref; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Ref = Unset; type Slug = Unset; - } - ///State transition - sets the `ref` field to Set - pub struct SetRef(PhantomData S>); - impl sealed::Sealed for SetRef {} - impl State for SetRef { - type Ref = Set; - type Slug = S::Slug; + type Ref = Unset; } ///State transition - sets the `slug` field to Set pub struct SetSlug(PhantomData S>); impl sealed::Sealed for SetSlug {} impl State for SetSlug { - type Ref = S::Ref; type Slug = Set; + type Ref = S::Ref; + } + ///State transition - sets the `ref` field to Set + pub struct SetRef(PhantomData S>); + impl sealed::Sealed for SetRef {} + impl State for SetRef { + type Slug = S::Slug; + type Ref = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `ref` field - pub struct r#ref(()); ///Marker type for the `slug` field pub struct slug(()); + ///Marker type for the `ref` field + pub struct r#ref(()); } } @@ -139,8 +139,8 @@ where impl<'a, S> SlugBuilder<'a, S> where S: slug_state::State, - S::Ref: slug_state::IsSet, S::Slug: slug_state::IsSet, + S::Ref: slug_state::IsSet, { /// Build the final struct pub fn build(self) -> Slug<'a> { @@ -154,7 +154,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Slug<'a> { @@ -281,7 +281,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_slug() -> ::jacquard_lexicon::lexicon: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -293,8 +293,8 @@ fn lexicon_doc_games_gamesgamesgamesgames_slug() -> ::jacquard_lexicon::lexicon: description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("slug"), - ::jacquard_common::smol_str::SmolStr::new_static("ref") + ::jacquard_common::deps::smol_str::SmolStr::new_static("slug"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("ref") ], ), nullable: None, @@ -302,7 +302,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_slug() -> ::jacquard_lexicon::lexicon: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("ref"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "ref", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -323,7 +325,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_slug() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("slug"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "slug", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/garden_goals/category.rs b/crates/jacquard-api/src/garden_goals/category.rs index cbb39e3de..4f2e2bae6 100644 --- a/crates/jacquard-api/src/garden_goals/category.rs +++ b/crates/jacquard-api/src/garden_goals/category.rs @@ -38,51 +38,51 @@ pub mod category_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type CategoryId; type Name; type CreatedAt; - type CategoryId; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type CategoryId = Unset; type Name = Unset; type CreatedAt = Unset; - type CategoryId = Unset; + } + ///State transition - sets the `category_id` field to Set + pub struct SetCategoryId(PhantomData S>); + impl sealed::Sealed for SetCategoryId {} + impl State for SetCategoryId { + type CategoryId = Set; + type Name = S::Name; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `name` field to Set pub struct SetName(PhantomData S>); impl sealed::Sealed for SetName {} impl State for SetName { + type CategoryId = S::CategoryId; type Name = Set; type CreatedAt = S::CreatedAt; - type CategoryId = S::CategoryId; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Name = S::Name; - type CreatedAt = Set; type CategoryId = S::CategoryId; - } - ///State transition - sets the `category_id` field to Set - pub struct SetCategoryId(PhantomData S>); - impl sealed::Sealed for SetCategoryId {} - impl State for SetCategoryId { type Name = S::Name; - type CreatedAt = S::CreatedAt; - type CategoryId = Set; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `category_id` field + pub struct category_id(()); ///Marker type for the `name` field pub struct name(()); ///Marker type for the `created_at` field pub struct created_at(()); - ///Marker type for the `category_id` field - pub struct category_id(()); } } @@ -175,9 +175,9 @@ where impl<'a, S> CategoryBuilder<'a, S> where S: category_state::State, + S::CategoryId: category_state::IsSet, S::Name: category_state::IsSet, S::CreatedAt: category_state::IsSet, - S::CategoryId: category_state::IsSet, { /// Build the final struct pub fn build(self) -> Category<'a> { @@ -192,7 +192,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Category<'a> { @@ -320,7 +320,7 @@ fn lexicon_doc_garden_goals_category() -> ::jacquard_lexicon::lexicon::LexiconDo defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -332,9 +332,9 @@ fn lexicon_doc_garden_goals_category() -> ::jacquard_lexicon::lexicon::LexiconDo description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("categoryId"), - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("categoryId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -342,7 +342,7 @@ fn lexicon_doc_garden_goals_category() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "categoryId", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -363,7 +363,7 @@ fn lexicon_doc_garden_goals_category() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -386,7 +386,9 @@ fn lexicon_doc_garden_goals_category() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/garden_goals/completion.rs b/crates/jacquard-api/src/garden_goals/completion.rs index 948065213..2827c147d 100644 --- a/crates/jacquard-api/src/garden_goals/completion.rs +++ b/crates/jacquard-api/src/garden_goals/completion.rs @@ -56,83 +56,83 @@ pub mod completion_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Day; - type Month; - type GoalId; type Year; + type GoalId; + type Month; + type Day; type CompletedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Day = Unset; - type Month = Unset; - type GoalId = Unset; type Year = Unset; + type GoalId = Unset; + type Month = Unset; + type Day = Unset; type CompletedAt = Unset; } - ///State transition - sets the `day` field to Set - pub struct SetDay(PhantomData S>); - impl sealed::Sealed for SetDay {} - impl State for SetDay { - type Day = Set; - type Month = S::Month; + ///State transition - sets the `year` field to Set + pub struct SetYear(PhantomData S>); + impl sealed::Sealed for SetYear {} + impl State for SetYear { + type Year = Set; type GoalId = S::GoalId; - type Year = S::Year; - type CompletedAt = S::CompletedAt; - } - ///State transition - sets the `month` field to Set - pub struct SetMonth(PhantomData S>); - impl sealed::Sealed for SetMonth {} - impl State for SetMonth { + type Month = S::Month; type Day = S::Day; - type Month = Set; - type GoalId = S::GoalId; - type Year = S::Year; type CompletedAt = S::CompletedAt; } ///State transition - sets the `goal_id` field to Set pub struct SetGoalId(PhantomData S>); impl sealed::Sealed for SetGoalId {} impl State for SetGoalId { - type Day = S::Day; - type Month = S::Month; - type GoalId = Set; type Year = S::Year; + type GoalId = Set; + type Month = S::Month; + type Day = S::Day; type CompletedAt = S::CompletedAt; } - ///State transition - sets the `year` field to Set - pub struct SetYear(PhantomData S>); - impl sealed::Sealed for SetYear {} - impl State for SetYear { + ///State transition - sets the `month` field to Set + pub struct SetMonth(PhantomData S>); + impl sealed::Sealed for SetMonth {} + impl State for SetMonth { + type Year = S::Year; + type GoalId = S::GoalId; + type Month = Set; type Day = S::Day; - type Month = S::Month; + type CompletedAt = S::CompletedAt; + } + ///State transition - sets the `day` field to Set + pub struct SetDay(PhantomData S>); + impl sealed::Sealed for SetDay {} + impl State for SetDay { + type Year = S::Year; type GoalId = S::GoalId; - type Year = Set; + type Month = S::Month; + type Day = Set; type CompletedAt = S::CompletedAt; } ///State transition - sets the `completed_at` field to Set pub struct SetCompletedAt(PhantomData S>); impl sealed::Sealed for SetCompletedAt {} impl State for SetCompletedAt { - type Day = S::Day; - type Month = S::Month; - type GoalId = S::GoalId; type Year = S::Year; + type GoalId = S::GoalId; + type Month = S::Month; + type Day = S::Day; type CompletedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `day` field - pub struct day(()); - ///Marker type for the `month` field - pub struct month(()); - ///Marker type for the `goal_id` field - pub struct goal_id(()); ///Marker type for the `year` field pub struct year(()); + ///Marker type for the `goal_id` field + pub struct goal_id(()); + ///Marker type for the `month` field + pub struct month(()); + ///Marker type for the `day` field + pub struct day(()); ///Marker type for the `completed_at` field pub struct completed_at(()); } @@ -348,10 +348,10 @@ where impl<'a, S> CompletionBuilder<'a, S> where S: completion_state::State, - S::Day: completion_state::IsSet, - S::Month: completion_state::IsSet, - S::GoalId: completion_state::IsSet, S::Year: completion_state::IsSet, + S::GoalId: completion_state::IsSet, + S::Month: completion_state::IsSet, + S::Day: completion_state::IsSet, S::CompletedAt: completion_state::IsSet, { /// Build the final struct @@ -373,7 +373,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Completion<'a> { @@ -577,7 +577,7 @@ fn lexicon_doc_garden_goals_completion() -> ::jacquard_lexicon::lexicon::Lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -589,11 +589,11 @@ fn lexicon_doc_garden_goals_completion() -> ::jacquard_lexicon::lexicon::Lexicon description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("goalId"), - ::jacquard_common::smol_str::SmolStr::new_static("year"), - ::jacquard_common::smol_str::SmolStr::new_static("month"), - ::jacquard_common::smol_str::SmolStr::new_static("day"), - ::jacquard_common::smol_str::SmolStr::new_static("completedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("goalId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("year"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("month"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("day"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("completedAt") ], ), nullable: None, @@ -601,7 +601,7 @@ fn lexicon_doc_garden_goals_completion() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "completedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -624,7 +624,9 @@ fn lexicon_doc_garden_goals_completion() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("day"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "day", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -635,7 +637,9 @@ fn lexicon_doc_garden_goals_completion() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("goalId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "goalId", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -654,7 +658,9 @@ fn lexicon_doc_garden_goals_completion() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("goalUri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "goalUri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -675,7 +681,9 @@ fn lexicon_doc_garden_goals_completion() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("month"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "month", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -686,7 +694,9 @@ fn lexicon_doc_garden_goals_completion() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("notes"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "notes", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -705,7 +715,7 @@ fn lexicon_doc_garden_goals_completion() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "photoBlob", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { @@ -715,7 +725,7 @@ fn lexicon_doc_garden_goals_completion() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sequenceNum", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -728,7 +738,9 @@ fn lexicon_doc_garden_goals_completion() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("year"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "year", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, diff --git a/crates/jacquard-api/src/garden_goals/completion_details.rs b/crates/jacquard-api/src/garden_goals/completion_details.rs index fe398722c..6edba8937 100644 --- a/crates/jacquard-api/src/garden_goals/completion_details.rs +++ b/crates/jacquard-api/src/garden_goals/completion_details.rs @@ -57,85 +57,85 @@ pub mod completion_details_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Year; type Month; + type UpdatedAt; type GoalId; type Day; - type UpdatedAt; - type Year; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Year = Unset; type Month = Unset; + type UpdatedAt = Unset; type GoalId = Unset; type Day = Unset; - type UpdatedAt = Unset; - type Year = Unset; + } + ///State transition - sets the `year` field to Set + pub struct SetYear(PhantomData S>); + impl sealed::Sealed for SetYear {} + impl State for SetYear { + type Year = Set; + type Month = S::Month; + type UpdatedAt = S::UpdatedAt; + type GoalId = S::GoalId; + type Day = S::Day; } ///State transition - sets the `month` field to Set pub struct SetMonth(PhantomData S>); impl sealed::Sealed for SetMonth {} impl State for SetMonth { + type Year = S::Year; type Month = Set; + type UpdatedAt = S::UpdatedAt; type GoalId = S::GoalId; type Day = S::Day; - type UpdatedAt = S::UpdatedAt; + } + ///State transition - sets the `updated_at` field to Set + pub struct SetUpdatedAt(PhantomData S>); + impl sealed::Sealed for SetUpdatedAt {} + impl State for SetUpdatedAt { type Year = S::Year; + type Month = S::Month; + type UpdatedAt = Set; + type GoalId = S::GoalId; + type Day = S::Day; } ///State transition - sets the `goal_id` field to Set pub struct SetGoalId(PhantomData S>); impl sealed::Sealed for SetGoalId {} impl State for SetGoalId { + type Year = S::Year; type Month = S::Month; + type UpdatedAt = S::UpdatedAt; type GoalId = Set; type Day = S::Day; - type UpdatedAt = S::UpdatedAt; - type Year = S::Year; } ///State transition - sets the `day` field to Set pub struct SetDay(PhantomData S>); impl sealed::Sealed for SetDay {} impl State for SetDay { - type Month = S::Month; - type GoalId = S::GoalId; - type Day = Set; - type UpdatedAt = S::UpdatedAt; type Year = S::Year; - } - ///State transition - sets the `updated_at` field to Set - pub struct SetUpdatedAt(PhantomData S>); - impl sealed::Sealed for SetUpdatedAt {} - impl State for SetUpdatedAt { type Month = S::Month; - type GoalId = S::GoalId; - type Day = S::Day; - type UpdatedAt = Set; - type Year = S::Year; - } - ///State transition - sets the `year` field to Set - pub struct SetYear(PhantomData S>); - impl sealed::Sealed for SetYear {} - impl State for SetYear { - type Month = S::Month; - type GoalId = S::GoalId; - type Day = S::Day; type UpdatedAt = S::UpdatedAt; - type Year = Set; + type GoalId = S::GoalId; + type Day = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `year` field + pub struct year(()); ///Marker type for the `month` field pub struct month(()); + ///Marker type for the `updated_at` field + pub struct updated_at(()); ///Marker type for the `goal_id` field pub struct goal_id(()); ///Marker type for the `day` field pub struct day(()); - ///Marker type for the `updated_at` field - pub struct updated_at(()); - ///Marker type for the `year` field - pub struct year(()); } } @@ -355,11 +355,11 @@ where impl<'a, S> CompletionDetailsBuilder<'a, S> where S: completion_details_state::State, + S::Year: completion_details_state::IsSet, S::Month: completion_details_state::IsSet, + S::UpdatedAt: completion_details_state::IsSet, S::GoalId: completion_details_state::IsSet, S::Day: completion_details_state::IsSet, - S::UpdatedAt: completion_details_state::IsSet, - S::Year: completion_details_state::IsSet, { /// Build the final struct pub fn build(self) -> CompletionDetails<'a> { @@ -380,7 +380,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> CompletionDetails<'a> { @@ -585,7 +585,7 @@ fn lexicon_doc_garden_goals_completionDetails() -> ::jacquard_lexicon::lexicon:: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -597,11 +597,11 @@ fn lexicon_doc_garden_goals_completionDetails() -> ::jacquard_lexicon::lexicon:: description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("goalId"), - ::jacquard_common::smol_str::SmolStr::new_static("year"), - ::jacquard_common::smol_str::SmolStr::new_static("month"), - ::jacquard_common::smol_str::SmolStr::new_static("day"), - ::jacquard_common::smol_str::SmolStr::new_static("updatedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("goalId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("year"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("month"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("day"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("updatedAt") ], ), nullable: None, @@ -609,7 +609,9 @@ fn lexicon_doc_garden_goals_completionDetails() -> ::jacquard_lexicon::lexicon:: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("day"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "day", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -620,7 +622,9 @@ fn lexicon_doc_garden_goals_completionDetails() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("goalId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "goalId", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -639,7 +643,9 @@ fn lexicon_doc_garden_goals_completionDetails() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("goalUri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "goalUri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -660,7 +666,9 @@ fn lexicon_doc_garden_goals_completionDetails() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("month"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "month", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -671,7 +679,9 @@ fn lexicon_doc_garden_goals_completionDetails() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("notes"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "notes", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -690,7 +700,7 @@ fn lexicon_doc_garden_goals_completionDetails() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "photoAlt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -711,7 +721,7 @@ fn lexicon_doc_garden_goals_completionDetails() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "photoBlob", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { @@ -721,7 +731,7 @@ fn lexicon_doc_garden_goals_completionDetails() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -744,7 +754,9 @@ fn lexicon_doc_garden_goals_completionDetails() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("year"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "year", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, diff --git a/crates/jacquard-api/src/garden_goals/goal.rs b/crates/jacquard-api/src/garden_goals/goal.rs index e8be021d9..8b72494b8 100644 --- a/crates/jacquard-api/src/garden_goals/goal.rs +++ b/crates/jacquard-api/src/garden_goals/goal.rs @@ -87,67 +87,67 @@ pub mod goal_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Name; type GoalId; - type Year; type CreatedAt; + type Year; + type Name; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Name = Unset; type GoalId = Unset; - type Year = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `name` field to Set - pub struct SetName(PhantomData S>); - impl sealed::Sealed for SetName {} - impl State for SetName { - type Name = Set; - type GoalId = S::GoalId; - type Year = S::Year; - type CreatedAt = S::CreatedAt; + type Year = Unset; + type Name = Unset; } ///State transition - sets the `goal_id` field to Set pub struct SetGoalId(PhantomData S>); impl sealed::Sealed for SetGoalId {} impl State for SetGoalId { - type Name = S::Name; type GoalId = Set; - type Year = S::Year; type CreatedAt = S::CreatedAt; + type Year = S::Year; + type Name = S::Name; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type GoalId = S::GoalId; + type CreatedAt = Set; + type Year = S::Year; + type Name = S::Name; } ///State transition - sets the `year` field to Set pub struct SetYear(PhantomData S>); impl sealed::Sealed for SetYear {} impl State for SetYear { - type Name = S::Name; type GoalId = S::GoalId; - type Year = Set; type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { + type Year = Set; type Name = S::Name; + } + ///State transition - sets the `name` field to Set + pub struct SetName(PhantomData S>); + impl sealed::Sealed for SetName {} + impl State for SetName { type GoalId = S::GoalId; + type CreatedAt = S::CreatedAt; type Year = S::Year; - type CreatedAt = Set; + type Name = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `name` field - pub struct name(()); ///Marker type for the `goal_id` field pub struct goal_id(()); - ///Marker type for the `year` field - pub struct year(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `year` field + pub struct year(()); + ///Marker type for the `name` field + pub struct name(()); } } @@ -487,10 +487,10 @@ where impl<'a, S> GoalBuilder<'a, S> where S: goal_state::State, - S::Name: goal_state::IsSet, S::GoalId: goal_state::IsSet, - S::Year: goal_state::IsSet, S::CreatedAt: goal_state::IsSet, + S::Year: goal_state::IsSet, + S::Name: goal_state::IsSet, { /// Build the final struct pub fn build(self) -> Goal<'a> { @@ -517,7 +517,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Goal<'a> { @@ -738,7 +738,7 @@ fn lexicon_doc_garden_goals_goal() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -750,10 +750,10 @@ fn lexicon_doc_garden_goals_goal() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("goalId"), - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("year"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("goalId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("year"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -761,7 +761,7 @@ fn lexicon_doc_garden_goals_goal() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accentColor", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -782,7 +782,7 @@ fn lexicon_doc_garden_goals_goal() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "categories", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -808,7 +808,7 @@ fn lexicon_doc_garden_goals_goal() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "completedAccentColor", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -829,7 +829,7 @@ fn lexicon_doc_garden_goals_goal() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "completedPiece", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -850,7 +850,7 @@ fn lexicon_doc_garden_goals_goal() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "completedPieceBlob", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { @@ -860,7 +860,7 @@ fn lexicon_doc_garden_goals_goal() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "completedPieceUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -883,7 +883,7 @@ fn lexicon_doc_garden_goals_goal() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -906,7 +906,7 @@ fn lexicon_doc_garden_goals_goal() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -927,7 +927,9 @@ fn lexicon_doc_garden_goals_goal() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("goalId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "goalId", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -946,7 +948,9 @@ fn lexicon_doc_garden_goals_goal() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -965,7 +969,9 @@ fn lexicon_doc_garden_goals_goal() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("piece"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "piece", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -984,7 +990,7 @@ fn lexicon_doc_garden_goals_goal() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "pieceBlob", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { @@ -994,7 +1000,7 @@ fn lexicon_doc_garden_goals_goal() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "pieceUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1017,7 +1023,7 @@ fn lexicon_doc_garden_goals_goal() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "targetCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1030,7 +1036,9 @@ fn lexicon_doc_garden_goals_goal() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("year"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "year", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, diff --git a/crates/jacquard-api/src/garden_goals/profile.rs b/crates/jacquard-api/src/garden_goals/profile.rs index 9fee2daad..a048f5200 100644 --- a/crates/jacquard-api/src/garden_goals/profile.rs +++ b/crates/jacquard-api/src/garden_goals/profile.rs @@ -116,7 +116,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Profile<'a> { @@ -216,7 +216,7 @@ fn lexicon_doc_garden_goals_profile() -> ::jacquard_lexicon::lexicon::LexiconDoc defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -228,7 +228,7 @@ fn lexicon_doc_garden_goals_profile() -> ::jacquard_lexicon::lexicon::LexiconDoc description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("joinedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("joinedAt") ], ), nullable: None, @@ -236,7 +236,7 @@ fn lexicon_doc_garden_goals_profile() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "joinedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { 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 6865258c1..25ee0a9d8 100644 --- a/crates/jacquard-api/src/garden_lexicon/conquering_wolfhound/example.rs +++ b/crates/jacquard-api/src/garden_lexicon/conquering_wolfhound/example.rs @@ -109,7 +109,7 @@ fn lexicon_doc_garden_lexicon_conquering_wolfhound_example() -> ::jacquard_lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/garden_lexicon/documentation.rs b/crates/jacquard-api/src/garden_lexicon/documentation.rs index 32cb47194..fbc074007 100644 --- a/crates/jacquard-api/src/garden_lexicon/documentation.rs +++ b/crates/jacquard-api/src/garden_lexicon/documentation.rs @@ -47,7 +47,7 @@ fn lexicon_doc_garden_lexicon_documentation() -> ::jacquard_lexicon::lexicon::Le defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("definitionDoc"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("definitionDoc"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -55,14 +55,16 @@ fn lexicon_doc_garden_lexicon_documentation() -> ::jacquard_lexicon::lexicon::Le ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("name")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("name") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -82,7 +84,9 @@ fn lexicon_doc_garden_lexicon_documentation() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -101,7 +105,7 @@ fn lexicon_doc_garden_lexicon_documentation() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "properties", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -123,7 +127,9 @@ fn lexicon_doc_garden_lexicon_documentation() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("localizedString"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "localizedString", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -132,8 +138,8 @@ fn lexicon_doc_garden_lexicon_documentation() -> ::jacquard_lexicon::lexicon::Le ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("lang"), - ::jacquard_common::smol_str::SmolStr::new_static("value") + ::jacquard_common::deps::smol_str::SmolStr::new_static("lang"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("value") ], ), nullable: None, @@ -141,7 +147,9 @@ fn lexicon_doc_garden_lexicon_documentation() -> ::jacquard_lexicon::lexicon::Le #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("lang"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "lang", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -162,7 +170,9 @@ fn lexicon_doc_garden_lexicon_documentation() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("value"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "value", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -185,7 +195,7 @@ fn lexicon_doc_garden_lexicon_documentation() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -197,8 +207,8 @@ fn lexicon_doc_garden_lexicon_documentation() -> ::jacquard_lexicon::lexicon::Le description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("lexicon"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("lexicon"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -206,7 +216,7 @@ fn lexicon_doc_garden_lexicon_documentation() -> ::jacquard_lexicon::lexicon::Le #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -229,7 +239,7 @@ fn lexicon_doc_garden_lexicon_documentation() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "definitions", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -249,7 +259,7 @@ fn lexicon_doc_garden_lexicon_documentation() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -269,7 +279,9 @@ fn lexicon_doc_garden_lexicon_documentation() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("lexicon"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "lexicon", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -295,7 +307,7 @@ fn lexicon_doc_garden_lexicon_documentation() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("propertyDoc"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("propertyDoc"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -303,14 +315,16 @@ fn lexicon_doc_garden_lexicon_documentation() -> ::jacquard_lexicon::lexicon::Le ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("name")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("name") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -330,7 +344,9 @@ fn lexicon_doc_garden_lexicon_documentation() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -417,37 +433,37 @@ pub mod localized_string_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Lang; type Value; + type Lang; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Lang = Unset; type Value = Unset; - } - ///State transition - sets the `lang` field to Set - pub struct SetLang(PhantomData S>); - impl sealed::Sealed for SetLang {} - impl State for SetLang { - type Lang = Set; - type Value = S::Value; + type Lang = Unset; } ///State transition - sets the `value` field to Set pub struct SetValue(PhantomData S>); impl sealed::Sealed for SetValue {} impl State for SetValue { - type Lang = S::Lang; type Value = Set; + type Lang = S::Lang; + } + ///State transition - sets the `lang` field to Set + pub struct SetLang(PhantomData S>); + impl sealed::Sealed for SetLang {} + impl State for SetLang { + type Value = S::Value; + type Lang = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `lang` field - pub struct lang(()); ///Marker type for the `value` field pub struct value(()); + ///Marker type for the `lang` field + pub struct lang(()); } } @@ -520,8 +536,8 @@ where impl<'a, S> LocalizedStringBuilder<'a, S> where S: localized_string_state::State, - S::Lang: localized_string_state::IsSet, S::Value: localized_string_state::IsSet, + S::Lang: localized_string_state::IsSet, { /// Build the final struct pub fn build(self) -> LocalizedString<'a> { @@ -535,7 +551,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> LocalizedString<'a> { @@ -619,37 +635,37 @@ pub mod documentation_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type Lexicon; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type Lexicon = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Lexicon = S::Lexicon; + type CreatedAt = Unset; } ///State transition - sets the `lexicon` field to Set pub struct SetLexicon(PhantomData S>); impl sealed::Sealed for SetLexicon {} impl State for SetLexicon { - type CreatedAt = S::CreatedAt; type Lexicon = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Lexicon = S::Lexicon; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `lexicon` field pub struct lexicon(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -770,8 +786,8 @@ where impl<'a, S> DocumentationBuilder<'a, S> where S: documentation_state::State, - S::CreatedAt: documentation_state::IsSet, S::Lexicon: documentation_state::IsSet, + S::CreatedAt: documentation_state::IsSet, { /// Build the final struct pub fn build(self) -> Documentation<'a> { @@ -787,7 +803,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Documentation<'a> { diff --git a/crates/jacquard-api/src/garden_lexicon/example.rs b/crates/jacquard-api/src/garden_lexicon/example.rs index 8b7726a0a..d7e2b454d 100644 --- a/crates/jacquard-api/src/garden_lexicon/example.rs +++ b/crates/jacquard-api/src/garden_lexicon/example.rs @@ -43,50 +43,50 @@ pub mod example_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Lexicon; - type CreatedAt; type Value; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Lexicon = Unset; - type CreatedAt = Unset; type Value = Unset; + type CreatedAt = Unset; } ///State transition - sets the `lexicon` field to Set pub struct SetLexicon(PhantomData S>); impl sealed::Sealed for SetLexicon {} impl State for SetLexicon { type Lexicon = Set; - type CreatedAt = S::CreatedAt; - type Value = S::Value; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type Lexicon = S::Lexicon; - type CreatedAt = Set; type Value = S::Value; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `value` field to Set pub struct SetValue(PhantomData S>); impl sealed::Sealed for SetValue {} impl State for SetValue { type Lexicon = S::Lexicon; - type CreatedAt = S::CreatedAt; type Value = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Lexicon = S::Lexicon; + type Value = S::Value; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `lexicon` field pub struct lexicon(()); - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `value` field pub struct value(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -200,8 +200,8 @@ impl<'a, S> ExampleBuilder<'a, S> where S: example_state::State, S::Lexicon: example_state::IsSet, - S::CreatedAt: example_state::IsSet, S::Value: example_state::IsSet, + S::CreatedAt: example_state::IsSet, { /// Build the final struct pub fn build(self) -> Example<'a> { @@ -217,7 +217,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Example<'a> { @@ -320,7 +320,7 @@ fn lexicon_doc_garden_lexicon_example() -> ::jacquard_lexicon::lexicon::LexiconD defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -332,9 +332,9 @@ fn lexicon_doc_garden_lexicon_example() -> ::jacquard_lexicon::lexicon::LexiconD description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("lexicon"), - ::jacquard_common::smol_str::SmolStr::new_static("value"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("lexicon"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("value"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -342,7 +342,7 @@ fn lexicon_doc_garden_lexicon_example() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -365,7 +365,7 @@ fn lexicon_doc_garden_lexicon_example() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -386,7 +386,9 @@ fn lexicon_doc_garden_lexicon_example() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("lexicon"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "lexicon", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -407,7 +409,9 @@ fn lexicon_doc_garden_lexicon_example() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("value"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "value", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { description: None, }), 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 45a798d3b..490254dce 100644 --- a/crates/jacquard-api/src/garden_lexicon/exultant_zebra/app.rs +++ b/crates/jacquard-api/src/garden_lexicon/exultant_zebra/app.rs @@ -40,37 +40,37 @@ pub mod app_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Name; type Distributions; + type Name; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Name = Unset; type Distributions = Unset; - } - ///State transition - sets the `name` field to Set - pub struct SetName(PhantomData S>); - impl sealed::Sealed for SetName {} - impl State for SetName { - type Name = Set; - type Distributions = S::Distributions; + type Name = Unset; } ///State transition - sets the `distributions` field to Set pub struct SetDistributions(PhantomData S>); impl sealed::Sealed for SetDistributions {} impl State for SetDistributions { - type Name = S::Name; type Distributions = Set; + type Name = S::Name; + } + ///State transition - sets the `name` field to Set + pub struct SetName(PhantomData S>); + impl sealed::Sealed for SetName {} + impl State for SetName { + type Distributions = S::Distributions; + type Name = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `name` field - pub struct name(()); ///Marker type for the `distributions` field pub struct distributions(()); + ///Marker type for the `name` field + pub struct name(()); } } @@ -163,8 +163,8 @@ where impl<'a, S> AppBuilder<'a, S> where S: app_state::State, - S::Name: app_state::IsSet, S::Distributions: app_state::IsSet, + S::Name: app_state::IsSet, { /// Build the final struct pub fn build(self) -> App<'a> { @@ -179,7 +179,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> App<'a> { @@ -281,7 +281,7 @@ fn lexicon_doc_garden_lexicon_exultant_zebra_app() -> ::jacquard_lexicon::lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static("An application record."), @@ -291,8 +291,8 @@ fn lexicon_doc_garden_lexicon_exultant_zebra_app() -> ::jacquard_lexicon::lexico description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("distributions") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("distributions") ], ), nullable: None, @@ -300,7 +300,7 @@ fn lexicon_doc_garden_lexicon_exultant_zebra_app() -> ::jacquard_lexicon::lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -321,7 +321,7 @@ fn lexicon_doc_garden_lexicon_exultant_zebra_app() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "distributions", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -341,7 +341,9 @@ fn lexicon_doc_garden_lexicon_exultant_zebra_app() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( 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 10cc998d6..454f4f0f6 100644 --- a/crates/jacquard-api/src/garden_lexicon/exultant_zebra/distribution.rs +++ b/crates/jacquard-api/src/garden_lexicon/exultant_zebra/distribution.rs @@ -167,7 +167,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Artifact<'a> { @@ -193,7 +193,7 @@ fn lexicon_doc_garden_lexicon_exultant_zebra_distribution() -> ::jacquard_lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("artifact"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("artifact"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -202,7 +202,7 @@ fn lexicon_doc_garden_lexicon_exultant_zebra_distribution() -> ::jacquard_lexico ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("download") + ::jacquard_common::deps::smol_str::SmolStr::new_static("download") ], ), nullable: None, @@ -210,7 +210,7 @@ fn lexicon_doc_garden_lexicon_exultant_zebra_distribution() -> ::jacquard_lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -231,7 +231,9 @@ fn lexicon_doc_garden_lexicon_exultant_zebra_distribution() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("download"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "download", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -239,7 +241,9 @@ fn lexicon_doc_garden_lexicon_exultant_zebra_distribution() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tags", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -267,7 +271,7 @@ fn lexicon_doc_garden_lexicon_exultant_zebra_distribution() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -279,8 +283,8 @@ fn lexicon_doc_garden_lexicon_exultant_zebra_distribution() -> ::jacquard_lexico description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("version"), - ::jacquard_common::smol_str::SmolStr::new_static("artifacts") + ::jacquard_common::deps::smol_str::SmolStr::new_static("version"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("artifacts") ], ), nullable: None, @@ -288,7 +292,7 @@ fn lexicon_doc_garden_lexicon_exultant_zebra_distribution() -> ::jacquard_lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "artifacts", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -306,7 +310,7 @@ fn lexicon_doc_garden_lexicon_exultant_zebra_distribution() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -327,7 +331,9 @@ fn lexicon_doc_garden_lexicon_exultant_zebra_distribution() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("version"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "version", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -552,7 +558,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Distribution<'a> { 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 b729c598d..c08018994 100644 --- a/crates/jacquard-api/src/garden_lexicon/exultant_zebra/masl.rs +++ b/crates/jacquard-api/src/garden_lexicon/exultant_zebra/masl.rs @@ -141,7 +141,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Masl<'a> { @@ -164,14 +164,14 @@ fn lexicon_doc_garden_lexicon_exultant_zebra_masl() -> ::jacquard_lexicon::lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static("A bundle of resources."), ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("resources") + ::jacquard_common::deps::smol_str::SmolStr::new_static("resources") ], ), nullable: None, @@ -179,7 +179,9 @@ fn lexicon_doc_garden_lexicon_exultant_zebra_masl() -> ::jacquard_lexicon::lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -198,7 +200,7 @@ fn lexicon_doc_garden_lexicon_exultant_zebra_masl() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "resources", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -222,7 +224,7 @@ fn lexicon_doc_garden_lexicon_exultant_zebra_masl() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("resource"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("resource"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -230,14 +232,16 @@ fn lexicon_doc_garden_lexicon_exultant_zebra_masl() -> ::jacquard_lexicon::lexic ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("src")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("src") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -254,7 +258,9 @@ fn lexicon_doc_garden_lexicon_exultant_zebra_masl() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("path"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "path", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -273,7 +279,9 @@ fn lexicon_doc_garden_lexicon_exultant_zebra_masl() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("src"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "src", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -464,7 +472,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Resource<'a> { 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 1bdf236ea..4fc6caff8 100644 --- a/crates/jacquard-api/src/garden_lexicon/exultant_zebra/tile.rs +++ b/crates/jacquard-api/src/garden_lexicon/exultant_zebra/tile.rs @@ -44,7 +44,7 @@ fn lexicon_doc_garden_lexicon_exultant_zebra_tile() -> ::jacquard_lexicon::lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("interactions"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("interactions"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -57,7 +57,7 @@ fn lexicon_doc_garden_lexicon_exultant_zebra_tile() -> ::jacquard_lexicon::lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "collections", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -85,7 +85,9 @@ fn lexicon_doc_garden_lexicon_exultant_zebra_tile() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("methods"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "methods", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -109,7 +111,9 @@ fn lexicon_doc_garden_lexicon_exultant_zebra_tile() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("services"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "services", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -137,7 +141,7 @@ fn lexicon_doc_garden_lexicon_exultant_zebra_tile() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -149,8 +153,8 @@ fn lexicon_doc_garden_lexicon_exultant_zebra_tile() -> ::jacquard_lexicon::lexic description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("content") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("content") ], ), nullable: None, @@ -158,7 +162,7 @@ fn lexicon_doc_garden_lexicon_exultant_zebra_tile() -> ::jacquard_lexicon::lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "aspectRatio", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -179,7 +183,9 @@ fn lexicon_doc_garden_lexicon_exultant_zebra_tile() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "content", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: Some( ::jacquard_common::CowStr::new_static( @@ -194,7 +200,7 @@ fn lexicon_doc_garden_lexicon_exultant_zebra_tile() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -215,7 +221,9 @@ fn lexicon_doc_garden_lexicon_exultant_zebra_tile() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("facets"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "facets", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -233,7 +241,9 @@ fn lexicon_doc_garden_lexicon_exultant_zebra_tile() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("icon"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "icon", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -241,7 +251,7 @@ fn lexicon_doc_garden_lexicon_exultant_zebra_tile() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interactions", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -252,7 +262,7 @@ fn lexicon_doc_garden_lexicon_exultant_zebra_tile() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "loadingImage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { @@ -262,7 +272,9 @@ fn lexicon_doc_garden_lexicon_exultant_zebra_tile() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -281,7 +293,9 @@ fn lexicon_doc_garden_lexicon_exultant_zebra_tile() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("params"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "params", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -302,7 +316,7 @@ fn lexicon_doc_garden_lexicon_exultant_zebra_tile() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("param"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("param"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -311,8 +325,8 @@ fn lexicon_doc_garden_lexicon_exultant_zebra_tile() -> ::jacquard_lexicon::lexic ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("type") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("type") ], ), nullable: None, @@ -320,7 +334,9 @@ fn lexicon_doc_garden_lexicon_exultant_zebra_tile() -> ::jacquard_lexicon::lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("default"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "default", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -339,7 +355,7 @@ fn lexicon_doc_garden_lexicon_exultant_zebra_tile() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -360,7 +376,9 @@ fn lexicon_doc_garden_lexicon_exultant_zebra_tile() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -379,7 +397,9 @@ fn lexicon_doc_garden_lexicon_exultant_zebra_tile() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("required"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "required", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -387,7 +407,9 @@ fn lexicon_doc_garden_lexicon_exultant_zebra_tile() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "type", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -494,37 +516,37 @@ pub mod tile_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Name; type Content; + type Name; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Name = Unset; type Content = Unset; - } - ///State transition - sets the `name` field to Set - pub struct SetName(PhantomData S>); - impl sealed::Sealed for SetName {} - impl State for SetName { - type Name = Set; - type Content = S::Content; + type Name = Unset; } ///State transition - sets the `content` field to Set pub struct SetContent(PhantomData S>); impl sealed::Sealed for SetContent {} impl State for SetContent { - type Name = S::Name; type Content = Set; + type Name = S::Name; + } + ///State transition - sets the `name` field to Set + pub struct SetName(PhantomData S>); + impl sealed::Sealed for SetName {} + impl State for SetName { + type Content = S::Content; + type Name = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `name` field - pub struct name(()); ///Marker type for the `content` field pub struct content(()); + ///Marker type for the `name` field + pub struct name(()); } } @@ -752,8 +774,8 @@ impl<'a, S: tile_state::State> TileBuilder<'a, S> { impl<'a, S> TileBuilder<'a, S> where S: tile_state::State, - S::Name: tile_state::IsSet, S::Content: tile_state::IsSet, + S::Name: tile_state::IsSet, { /// Build the final struct pub fn build(self) -> Tile<'a> { @@ -774,7 +796,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Tile<'a> { 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 62f479579..92187fe11 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 @@ -117,7 +117,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> TileEmbed<'a> { @@ -141,7 +141,7 @@ fn lexicon_doc_garden_lexicon_exultant_zebra_tileEmbed() -> ::jacquard_lexicon:: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -149,14 +149,18 @@ fn lexicon_doc_garden_lexicon_exultant_zebra_tileEmbed() -> ::jacquard_lexicon:: ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("tile")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("tile") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tile"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tile", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( 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 4df68dcdc..ffa696ca9 100644 --- a/crates/jacquard-api/src/garden_lexicon/joyous_grackle/example.rs +++ b/crates/jacquard-api/src/garden_lexicon/joyous_grackle/example.rs @@ -109,7 +109,7 @@ fn lexicon_doc_garden_lexicon_joyous_grackle_example() -> ::jacquard_lexicon::le defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static("My lexicon description"), 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 5c19af5db..da4b626cb 100644 --- a/crates/jacquard-api/src/garden_lexicon/lawyerlike_deangelo/example.rs +++ b/crates/jacquard-api/src/garden_lexicon/lawyerlike_deangelo/example.rs @@ -109,7 +109,7 @@ fn lexicon_doc_garden_lexicon_lawyerlike_deangelo_example() -> ::jacquard_lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static("My lexicon description"), 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 dd4fd841d..ce7855dea 100644 --- a/crates/jacquard-api/src/garden_lexicon/ngerakines/semeion/sign.rs +++ b/crates/jacquard-api/src/garden_lexicon/ngerakines/semeion/sign.rs @@ -16,7 +16,7 @@ )] #[serde(rename_all = "camelCase")] pub struct Sign { - pub body: bytes::Bytes, + pub body: jacquard_common::deps::bytes::Bytes, } #[derive( @@ -30,7 +30,7 @@ pub struct Sign { )] #[serde(rename_all = "camelCase")] pub struct SignOutput { - pub body: bytes::Bytes, + pub body: jacquard_common::deps::bytes::Bytes, } /// Response type for @@ -53,7 +53,7 @@ impl jacquard_common::xrpc::XrpcResp for SignResponse { Self::Output<'de>: serde::Deserialize<'de>, { Ok(SignOutput { - body: bytes::Bytes::copy_from_slice(body), + body: jacquard_common::deps::bytes::Bytes::copy_from_slice(body), }) } } @@ -75,7 +75,7 @@ impl jacquard_common::xrpc::XrpcRequest for Sign { { Ok( Box::new(Self { - body: bytes::Bytes::copy_from_slice(body), + body: jacquard_common::deps::bytes::Bytes::copy_from_slice(body), }), ) } diff --git a/crates/jacquard-api/src/garden_lexicon/service.rs b/crates/jacquard-api/src/garden_lexicon/service.rs index 619d9394c..df33bda80 100644 --- a/crates/jacquard-api/src/garden_lexicon/service.rs +++ b/crates/jacquard-api/src/garden_lexicon/service.rs @@ -194,7 +194,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Service<'a> { @@ -322,7 +322,7 @@ fn lexicon_doc_garden_lexicon_service() -> ::jacquard_lexicon::lexicon::LexiconD defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -334,7 +334,7 @@ fn lexicon_doc_garden_lexicon_service() -> ::jacquard_lexicon::lexicon::LexiconD description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("serviceType") + ::jacquard_common::deps::smol_str::SmolStr::new_static("serviceType") ], ), nullable: None, @@ -342,7 +342,7 @@ fn lexicon_doc_garden_lexicon_service() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -363,7 +363,9 @@ fn lexicon_doc_garden_lexicon_service() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("methods"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "methods", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -379,7 +381,7 @@ fn lexicon_doc_garden_lexicon_service() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "serviceType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -400,7 +402,7 @@ fn lexicon_doc_garden_lexicon_service() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "urlTemplates", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -423,18 +425,20 @@ fn lexicon_doc_garden_lexicon_service() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("method"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("method"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("lexicon")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("lexicon") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "authMethods", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -460,7 +464,7 @@ fn lexicon_doc_garden_lexicon_service() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "deprecated", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -470,7 +474,9 @@ fn lexicon_doc_garden_lexicon_service() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("lexicon"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "lexicon", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -495,18 +501,20 @@ fn lexicon_doc_garden_lexicon_service() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("urlTemplate"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("urlTemplate"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("url")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("url") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "collections", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -534,7 +542,7 @@ fn lexicon_doc_garden_lexicon_service() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -555,7 +563,9 @@ fn lexicon_doc_garden_lexicon_service() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -736,7 +746,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Method<'a> { 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 414839ddf..28c7e5500 100644 --- a/crates/jacquard-api/src/garden_lexicon/stunning_leafcutter/example.rs +++ b/crates/jacquard-api/src/garden_lexicon/stunning_leafcutter/example.rs @@ -109,7 +109,7 @@ fn lexicon_doc_garden_lexicon_stunning_leafcutter_example() -> ::jacquard_lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static("My lexicon description"), 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 e1e6208ae..7aedaf9dc 100644 --- a/crates/jacquard-api/src/garden_lexicon/unconquered_modesto/example.rs +++ b/crates/jacquard-api/src/garden_lexicon/unconquered_modesto/example.rs @@ -114,7 +114,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Example<'a> { @@ -216,7 +216,7 @@ fn lexicon_doc_garden_lexicon_unconquered_modesto_example() -> ::jacquard_lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static("My lexicon description"), @@ -226,7 +226,7 @@ fn lexicon_doc_garden_lexicon_unconquered_modesto_example() -> ::jacquard_lexico description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("message2") + ::jacquard_common::deps::smol_str::SmolStr::new_static("message2") ], ), nullable: None, @@ -234,7 +234,7 @@ fn lexicon_doc_garden_lexicon_unconquered_modesto_example() -> ::jacquard_lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "message2", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/haus_opn/mic/artist.rs b/crates/jacquard-api/src/haus_opn/mic/artist.rs index 93c69e34b..6d8975bc4 100644 --- a/crates/jacquard-api/src/haus_opn/mic/artist.rs +++ b/crates/jacquard-api/src/haus_opn/mic/artist.rs @@ -243,7 +243,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Artist<'a> { @@ -373,7 +373,7 @@ fn lexicon_doc_haus_opn_mic_artist() -> ::jacquard_lexicon::lexicon::LexiconDoc< defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -385,8 +385,8 @@ fn lexicon_doc_haus_opn_mic_artist() -> ::jacquard_lexicon::lexicon::LexiconDoc< description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -394,7 +394,7 @@ fn lexicon_doc_haus_opn_mic_artist() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "artistPic", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { @@ -404,7 +404,9 @@ fn lexicon_doc_haus_opn_mic_artist() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("bio"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "bio", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -419,7 +421,7 @@ fn lexicon_doc_haus_opn_mic_artist() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -438,7 +440,7 @@ fn lexicon_doc_haus_opn_mic_artist() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "externalLinks", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -462,7 +464,9 @@ fn lexicon_doc_haus_opn_mic_artist() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("genre"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "genre", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::String(::jacquard_lexicon::lexicon::LexString { @@ -482,7 +486,9 @@ fn lexicon_doc_haus_opn_mic_artist() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, diff --git a/crates/jacquard-api/src/haus_opn/mic/show.rs b/crates/jacquard-api/src/haus_opn/mic/show.rs index 9616f906b..72bca9eb2 100644 --- a/crates/jacquard-api/src/haus_opn/mic/show.rs +++ b/crates/jacquard-api/src/haus_opn/mic/show.rs @@ -48,66 +48,66 @@ pub mod show_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Artist; - type Title; type CreatedAt; type Schedule; + type Title; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Artist = Unset; - type Title = Unset; type CreatedAt = Unset; type Schedule = Unset; + type Title = Unset; } ///State transition - sets the `artist` field to Set pub struct SetArtist(PhantomData S>); impl sealed::Sealed for SetArtist {} impl State for SetArtist { type Artist = Set; - type Title = S::Title; - type CreatedAt = S::CreatedAt; - type Schedule = S::Schedule; - } - ///State transition - sets the `title` field to Set - pub struct SetTitle(PhantomData S>); - impl sealed::Sealed for SetTitle {} - impl State for SetTitle { - type Artist = S::Artist; - type Title = Set; type CreatedAt = S::CreatedAt; type Schedule = S::Schedule; + type Title = S::Title; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { type Artist = S::Artist; - type Title = S::Title; type CreatedAt = Set; type Schedule = S::Schedule; + type Title = S::Title; } ///State transition - sets the `schedule` field to Set pub struct SetSchedule(PhantomData S>); impl sealed::Sealed for SetSchedule {} impl State for SetSchedule { type Artist = S::Artist; - type Title = S::Title; type CreatedAt = S::CreatedAt; type Schedule = Set; + type Title = S::Title; + } + ///State transition - sets the `title` field to Set + pub struct SetTitle(PhantomData S>); + impl sealed::Sealed for SetTitle {} + impl State for SetTitle { + type Artist = S::Artist; + type CreatedAt = S::CreatedAt; + type Schedule = S::Schedule; + type Title = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `artist` field pub struct artist(()); - ///Marker type for the `title` field - pub struct title(()); ///Marker type for the `created_at` field pub struct created_at(()); ///Marker type for the `schedule` field pub struct schedule(()); + ///Marker type for the `title` field + pub struct title(()); } } @@ -261,9 +261,9 @@ impl<'a, S> ShowBuilder<'a, S> where S: show_state::State, S::Artist: show_state::IsSet, - S::Title: show_state::IsSet, S::CreatedAt: show_state::IsSet, S::Schedule: show_state::IsSet, + S::Title: show_state::IsSet, { /// Build the final struct pub fn build(self) -> Show<'a> { @@ -281,7 +281,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Show<'a> { @@ -512,7 +512,7 @@ fn lexicon_doc_haus_opn_mic_show() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -524,10 +524,10 @@ fn lexicon_doc_haus_opn_mic_show() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("artist"), - ::jacquard_common::smol_str::SmolStr::new_static("schedule"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("artist"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("schedule"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -535,7 +535,9 @@ fn lexicon_doc_haus_opn_mic_show() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("artist"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "artist", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -556,7 +558,7 @@ fn lexicon_doc_haus_opn_mic_show() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "coverArt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { @@ -566,7 +568,7 @@ fn lexicon_doc_haus_opn_mic_show() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -585,7 +587,7 @@ fn lexicon_doc_haus_opn_mic_show() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -602,7 +604,7 @@ fn lexicon_doc_haus_opn_mic_show() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "schedule", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -619,7 +621,9 @@ fn lexicon_doc_haus_opn_mic_show() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, 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 5737f9173..f3a0479d4 100644 --- a/crates/jacquard-api/src/haus_opn/mic/show/episode.rs +++ b/crates/jacquard-api/src/haus_opn/mic/show/episode.rs @@ -54,49 +54,49 @@ pub mod episode_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Title; type ShowUri; + type Title; type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Title = Unset; type ShowUri = Unset; + type Title = Unset; type CreatedAt = Unset; } - ///State transition - sets the `title` field to Set - pub struct SetTitle(PhantomData S>); - impl sealed::Sealed for SetTitle {} - impl State for SetTitle { - type Title = Set; - type ShowUri = S::ShowUri; - type CreatedAt = S::CreatedAt; - } ///State transition - sets the `show_uri` field to Set pub struct SetShowUri(PhantomData S>); impl sealed::Sealed for SetShowUri {} impl State for SetShowUri { - type Title = S::Title; type ShowUri = Set; + type Title = S::Title; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `title` field to Set + pub struct SetTitle(PhantomData S>); + impl sealed::Sealed for SetTitle {} + impl State for SetTitle { + type ShowUri = S::ShowUri; + type Title = Set; type CreatedAt = S::CreatedAt; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Title = S::Title; type ShowUri = S::ShowUri; + type Title = S::Title; type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `title` field - pub struct title(()); ///Marker type for the `show_uri` field pub struct show_uri(()); + ///Marker type for the `title` field + pub struct title(()); ///Marker type for the `created_at` field pub struct created_at(()); } @@ -285,8 +285,8 @@ impl<'a, S: episode_state::State> EpisodeBuilder<'a, S> { impl<'a, S> EpisodeBuilder<'a, S> where S: episode_state::State, - S::Title: episode_state::IsSet, S::ShowUri: episode_state::IsSet, + S::Title: episode_state::IsSet, S::CreatedAt: episode_state::IsSet, { /// Build the final struct @@ -307,7 +307,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Episode<'a> { @@ -533,7 +533,7 @@ fn lexicon_doc_haus_opn_mic_show_episode() -> ::jacquard_lexicon::lexicon::Lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -545,9 +545,9 @@ fn lexicon_doc_haus_opn_mic_show_episode() -> ::jacquard_lexicon::lexicon::Lexic description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("showUri"), - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("showUri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -555,7 +555,7 @@ fn lexicon_doc_haus_opn_mic_show_episode() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "airingDate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -578,7 +578,7 @@ fn lexicon_doc_haus_opn_mic_show_episode() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "coverArt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { @@ -588,7 +588,7 @@ fn lexicon_doc_haus_opn_mic_show_episode() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -607,7 +607,7 @@ fn lexicon_doc_haus_opn_mic_show_episode() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -624,7 +624,9 @@ fn lexicon_doc_haus_opn_mic_show_episode() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("showUri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "showUri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -645,7 +647,9 @@ fn lexicon_doc_haus_opn_mic_show_episode() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("status"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "status", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -664,7 +668,9 @@ fn lexicon_doc_haus_opn_mic_show_episode() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -679,7 +685,9 @@ fn lexicon_doc_haus_opn_mic_show_episode() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("vodUrl"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "vodUrl", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( 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 a33b54de5..2676a6fe8 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 @@ -152,7 +152,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Favorite<'a> { @@ -253,7 +253,7 @@ fn lexicon_doc_haus_opn_mic_show_episode_favorite() -> ::jacquard_lexicon::lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -265,8 +265,8 @@ fn lexicon_doc_haus_opn_mic_show_episode_favorite() -> ::jacquard_lexicon::lexic description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -274,7 +274,7 @@ fn lexicon_doc_haus_opn_mic_show_episode_favorite() -> ::jacquard_lexicon::lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -293,7 +293,9 @@ fn lexicon_doc_haus_opn_mic_show_episode_favorite() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( 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 1982eb855..30542bad6 100644 --- a/crates/jacquard-api/src/haus_opn/mic/show/favorite.rs +++ b/crates/jacquard-api/src/haus_opn/mic/show/favorite.rs @@ -152,7 +152,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Favorite<'a> { @@ -253,7 +253,7 @@ fn lexicon_doc_haus_opn_mic_show_favorite() -> ::jacquard_lexicon::lexicon::Lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -265,8 +265,8 @@ fn lexicon_doc_haus_opn_mic_show_favorite() -> ::jacquard_lexicon::lexicon::Lexi description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -274,7 +274,7 @@ fn lexicon_doc_haus_opn_mic_show_favorite() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -293,7 +293,9 @@ fn lexicon_doc_haus_opn_mic_show_favorite() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/io_atcr/hold/captain.rs b/crates/jacquard-api/src/io_atcr/hold/captain.rs index cfb88d136..8539ce2d7 100644 --- a/crates/jacquard-api/src/io_atcr/hold/captain.rs +++ b/crates/jacquard-api/src/io_atcr/hold/captain.rs @@ -53,85 +53,85 @@ pub mod captain_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type AllowAllCrew; - type Owner; type Public; type EnableBlueskyPosts; type DeployedAt; + type Owner; + type AllowAllCrew; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type AllowAllCrew = Unset; - type Owner = Unset; type Public = Unset; type EnableBlueskyPosts = Unset; type DeployedAt = Unset; - } - ///State transition - sets the `allow_all_crew` field to Set - pub struct SetAllowAllCrew(PhantomData S>); - impl sealed::Sealed for SetAllowAllCrew {} - impl State for SetAllowAllCrew { - type AllowAllCrew = Set; - type Owner = S::Owner; - type Public = S::Public; - type EnableBlueskyPosts = S::EnableBlueskyPosts; - type DeployedAt = S::DeployedAt; - } - ///State transition - sets the `owner` field to Set - pub struct SetOwner(PhantomData S>); - impl sealed::Sealed for SetOwner {} - impl State for SetOwner { - type AllowAllCrew = S::AllowAllCrew; - type Owner = Set; - type Public = S::Public; - type EnableBlueskyPosts = S::EnableBlueskyPosts; - type DeployedAt = S::DeployedAt; + type Owner = Unset; + type AllowAllCrew = Unset; } ///State transition - sets the `public` field to Set pub struct SetPublic(PhantomData S>); impl sealed::Sealed for SetPublic {} impl State for SetPublic { - type AllowAllCrew = S::AllowAllCrew; - type Owner = S::Owner; type Public = Set; type EnableBlueskyPosts = S::EnableBlueskyPosts; type DeployedAt = S::DeployedAt; + type Owner = S::Owner; + type AllowAllCrew = S::AllowAllCrew; } ///State transition - sets the `enable_bluesky_posts` field to Set pub struct SetEnableBlueskyPosts(PhantomData S>); impl sealed::Sealed for SetEnableBlueskyPosts {} impl State for SetEnableBlueskyPosts { - type AllowAllCrew = S::AllowAllCrew; - type Owner = S::Owner; type Public = S::Public; type EnableBlueskyPosts = Set; type DeployedAt = S::DeployedAt; + type Owner = S::Owner; + type AllowAllCrew = S::AllowAllCrew; } ///State transition - sets the `deployed_at` field to Set pub struct SetDeployedAt(PhantomData S>); impl sealed::Sealed for SetDeployedAt {} impl State for SetDeployedAt { - type AllowAllCrew = S::AllowAllCrew; - type Owner = S::Owner; type Public = S::Public; type EnableBlueskyPosts = S::EnableBlueskyPosts; type DeployedAt = Set; + type Owner = S::Owner; + type AllowAllCrew = S::AllowAllCrew; + } + ///State transition - sets the `owner` field to Set + pub struct SetOwner(PhantomData S>); + impl sealed::Sealed for SetOwner {} + impl State for SetOwner { + type Public = S::Public; + type EnableBlueskyPosts = S::EnableBlueskyPosts; + type DeployedAt = S::DeployedAt; + type Owner = Set; + type AllowAllCrew = S::AllowAllCrew; + } + ///State transition - sets the `allow_all_crew` field to Set + pub struct SetAllowAllCrew(PhantomData S>); + impl sealed::Sealed for SetAllowAllCrew {} + impl State for SetAllowAllCrew { + type Public = S::Public; + type EnableBlueskyPosts = S::EnableBlueskyPosts; + type DeployedAt = S::DeployedAt; + type Owner = S::Owner; + type AllowAllCrew = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `allow_all_crew` field - pub struct allow_all_crew(()); - ///Marker type for the `owner` field - pub struct owner(()); ///Marker type for the `public` field pub struct public(()); ///Marker type for the `enable_bluesky_posts` field pub struct enable_bluesky_posts(()); ///Marker type for the `deployed_at` field pub struct deployed_at(()); + ///Marker type for the `owner` field + pub struct owner(()); + ///Marker type for the `allow_all_crew` field + pub struct allow_all_crew(()); } } @@ -321,11 +321,11 @@ impl<'a, S: captain_state::State> CaptainBuilder<'a, S> { impl<'a, S> CaptainBuilder<'a, S> where S: captain_state::State, - S::AllowAllCrew: captain_state::IsSet, - S::Owner: captain_state::IsSet, S::Public: captain_state::IsSet, S::EnableBlueskyPosts: captain_state::IsSet, S::DeployedAt: captain_state::IsSet, + S::Owner: captain_state::IsSet, + S::AllowAllCrew: captain_state::IsSet, { /// Build the final struct pub fn build(self) -> Captain<'a> { @@ -345,7 +345,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Captain<'a> { @@ -464,7 +464,7 @@ fn lexicon_doc_io_atcr_hold_captain() -> ::jacquard_lexicon::lexicon::LexiconDoc defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -476,11 +476,11 @@ fn lexicon_doc_io_atcr_hold_captain() -> ::jacquard_lexicon::lexicon::LexiconDoc description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("owner"), - ::jacquard_common::smol_str::SmolStr::new_static("public"), - ::jacquard_common::smol_str::SmolStr::new_static("allowAllCrew"), - ::jacquard_common::smol_str::SmolStr::new_static("enableBlueskyPosts"), - ::jacquard_common::smol_str::SmolStr::new_static("deployedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("owner"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("public"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("allowAllCrew"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("enableBlueskyPosts"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("deployedAt") ], ), nullable: None, @@ -488,7 +488,7 @@ fn lexicon_doc_io_atcr_hold_captain() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "allowAllCrew", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -498,7 +498,7 @@ fn lexicon_doc_io_atcr_hold_captain() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "deployedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -521,7 +521,7 @@ fn lexicon_doc_io_atcr_hold_captain() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "enableBlueskyPosts", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -531,7 +531,9 @@ fn lexicon_doc_io_atcr_hold_captain() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("owner"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "owner", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -552,7 +554,9 @@ fn lexicon_doc_io_atcr_hold_captain() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("public"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "public", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -560,7 +564,9 @@ fn lexicon_doc_io_atcr_hold_captain() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("region"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "region", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -579,7 +585,7 @@ fn lexicon_doc_io_atcr_hold_captain() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "successor", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -602,7 +608,7 @@ fn lexicon_doc_io_atcr_hold_captain() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "supporterBadgeTiers", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { 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 2d45a97e4..b193ae827 100644 --- a/crates/jacquard-api/src/io_atcr/hold/complete_upload.rs +++ b/crates/jacquard-api/src/io_atcr/hold/complete_upload.rs @@ -192,7 +192,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> CompleteUpload<'a> { @@ -347,37 +347,37 @@ pub mod part_info_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Etag; type PartNumber; + type Etag; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Etag = Unset; type PartNumber = Unset; - } - ///State transition - sets the `etag` field to Set - pub struct SetEtag(PhantomData S>); - impl sealed::Sealed for SetEtag {} - impl State for SetEtag { - type Etag = Set; - type PartNumber = S::PartNumber; + type Etag = Unset; } ///State transition - sets the `part_number` field to Set pub struct SetPartNumber(PhantomData S>); impl sealed::Sealed for SetPartNumber {} impl State for SetPartNumber { - type Etag = S::Etag; type PartNumber = Set; + type Etag = S::Etag; + } + ///State transition - sets the `etag` field to Set + pub struct SetEtag(PhantomData S>); + impl sealed::Sealed for SetEtag {} + impl State for SetEtag { + type PartNumber = S::PartNumber; + type Etag = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `etag` field - pub struct etag(()); ///Marker type for the `part_number` field pub struct part_number(()); + ///Marker type for the `etag` field + pub struct etag(()); } } @@ -450,8 +450,8 @@ where impl<'a, S> PartInfoBuilder<'a, S> where S: part_info_state::State, - S::Etag: part_info_state::IsSet, S::PartNumber: part_info_state::IsSet, + S::Etag: part_info_state::IsSet, { /// Build the final struct pub fn build(self) -> PartInfo<'a> { @@ -465,7 +465,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> PartInfo<'a> { @@ -488,7 +488,7 @@ fn lexicon_doc_io_atcr_hold_completeUpload() -> ::jacquard_lexicon::lexicon::Lex defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcProcedure(::jacquard_lexicon::lexicon::LexXrpcProcedure { description: None, parameters: None, @@ -502,9 +502,9 @@ fn lexicon_doc_io_atcr_hold_completeUpload() -> ::jacquard_lexicon::lexicon::Lex description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uploadId"), - ::jacquard_common::smol_str::SmolStr::new_static("digest"), - ::jacquard_common::smol_str::SmolStr::new_static("parts") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uploadId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("digest"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("parts") ], ), nullable: None, @@ -512,7 +512,9 @@ fn lexicon_doc_io_atcr_hold_completeUpload() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("digest"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "digest", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -531,7 +533,9 @@ fn lexicon_doc_io_atcr_hold_completeUpload() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("parts"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "parts", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -547,7 +551,7 @@ fn lexicon_doc_io_atcr_hold_completeUpload() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "uploadId", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -577,7 +581,7 @@ fn lexicon_doc_io_atcr_hold_completeUpload() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("partInfo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("partInfo"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -586,8 +590,8 @@ fn lexicon_doc_io_atcr_hold_completeUpload() -> ::jacquard_lexicon::lexicon::Lex ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("partNumber"), - ::jacquard_common::smol_str::SmolStr::new_static("etag") + ::jacquard_common::deps::smol_str::SmolStr::new_static("partNumber"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("etag") ], ), nullable: None, @@ -595,7 +599,9 @@ fn lexicon_doc_io_atcr_hold_completeUpload() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("etag"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "etag", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -614,7 +620,7 @@ fn lexicon_doc_io_atcr_hold_completeUpload() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "partNumber", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { diff --git a/crates/jacquard-api/src/io_atcr/hold/crew.rs b/crates/jacquard-api/src/io_atcr/hold/crew.rs index 62669498d..e3e3de8b7 100644 --- a/crates/jacquard-api/src/io_atcr/hold/crew.rs +++ b/crates/jacquard-api/src/io_atcr/hold/crew.rs @@ -45,65 +45,65 @@ pub mod crew_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Member; type Role; type AddedAt; - type Member; type Permissions; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Member = Unset; type Role = Unset; type AddedAt = Unset; - type Member = Unset; type Permissions = Unset; } + ///State transition - sets the `member` field to Set + pub struct SetMember(PhantomData S>); + impl sealed::Sealed for SetMember {} + impl State for SetMember { + type Member = Set; + type Role = S::Role; + type AddedAt = S::AddedAt; + type Permissions = S::Permissions; + } ///State transition - sets the `role` field to Set pub struct SetRole(PhantomData S>); impl sealed::Sealed for SetRole {} impl State for SetRole { + type Member = S::Member; type Role = Set; type AddedAt = S::AddedAt; - type Member = S::Member; type Permissions = S::Permissions; } ///State transition - sets the `added_at` field to Set pub struct SetAddedAt(PhantomData S>); impl sealed::Sealed for SetAddedAt {} impl State for SetAddedAt { - type Role = S::Role; - type AddedAt = Set; type Member = S::Member; - type Permissions = S::Permissions; - } - ///State transition - sets the `member` field to Set - pub struct SetMember(PhantomData S>); - impl sealed::Sealed for SetMember {} - impl State for SetMember { type Role = S::Role; - type AddedAt = S::AddedAt; - type Member = Set; + type AddedAt = Set; type Permissions = S::Permissions; } ///State transition - sets the `permissions` field to Set pub struct SetPermissions(PhantomData S>); impl sealed::Sealed for SetPermissions {} impl State for SetPermissions { + type Member = S::Member; type Role = S::Role; type AddedAt = S::AddedAt; - type Member = S::Member; type Permissions = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `member` field + pub struct member(()); ///Marker type for the `role` field pub struct role(()); ///Marker type for the `added_at` field pub struct added_at(()); - ///Marker type for the `member` field - pub struct member(()); ///Marker type for the `permissions` field pub struct permissions(()); } @@ -235,9 +235,9 @@ impl<'a, S: crew_state::State> CrewBuilder<'a, S> { impl<'a, S> CrewBuilder<'a, S> where S: crew_state::State, + S::Member: crew_state::IsSet, S::Role: crew_state::IsSet, S::AddedAt: crew_state::IsSet, - S::Member: crew_state::IsSet, S::Permissions: crew_state::IsSet, { /// Build the final struct @@ -255,7 +255,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Crew<'a> { @@ -481,7 +481,7 @@ fn lexicon_doc_io_atcr_hold_crew() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -493,10 +493,10 @@ fn lexicon_doc_io_atcr_hold_crew() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("member"), - ::jacquard_common::smol_str::SmolStr::new_static("role"), - ::jacquard_common::smol_str::SmolStr::new_static("permissions"), - ::jacquard_common::smol_str::SmolStr::new_static("addedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("member"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("role"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("permissions"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("addedAt") ], ), nullable: None, @@ -504,7 +504,9 @@ fn lexicon_doc_io_atcr_hold_crew() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("addedAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "addedAt", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -525,7 +527,9 @@ fn lexicon_doc_io_atcr_hold_crew() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("member"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "member", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -546,7 +550,7 @@ fn lexicon_doc_io_atcr_hold_crew() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "permissions", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -572,7 +576,9 @@ fn lexicon_doc_io_atcr_hold_crew() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("role"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "role", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -591,7 +597,9 @@ fn lexicon_doc_io_atcr_hold_crew() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tier"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tier", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( 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 143cb871f..b727371b8 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 @@ -42,7 +42,7 @@ fn lexicon_doc_io_atcr_hold_exportUserData() -> ::jacquard_lexicon::lexicon::Lex defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("crewExport"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("crewExport"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -51,7 +51,9 @@ fn lexicon_doc_io_atcr_hold_exportUserData() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("addedAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "addedAt", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -68,7 +70,7 @@ fn lexicon_doc_io_atcr_hold_exportUserData() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "permissions", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -90,7 +92,9 @@ fn lexicon_doc_io_atcr_hold_exportUserData() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("role"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "role", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -105,7 +109,9 @@ fn lexicon_doc_io_atcr_hold_exportUserData() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tier"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tier", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -124,7 +130,7 @@ fn lexicon_doc_io_atcr_hold_exportUserData() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("layerExport"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("layerExport"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -133,7 +139,7 @@ fn lexicon_doc_io_atcr_hold_exportUserData() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -152,7 +158,9 @@ fn lexicon_doc_io_atcr_hold_exportUserData() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("digest"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "digest", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -167,7 +175,9 @@ fn lexicon_doc_io_atcr_hold_exportUserData() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("manifest"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "manifest", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -184,7 +194,7 @@ fn lexicon_doc_io_atcr_hold_exportUserData() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mediaType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -201,7 +211,9 @@ fn lexicon_doc_io_atcr_hold_exportUserData() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "size", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -216,7 +228,7 @@ fn lexicon_doc_io_atcr_hold_exportUserData() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcQuery(::jacquard_lexicon::lexicon::LexXrpcQuery { description: None, parameters: Some( @@ -235,7 +247,7 @@ fn lexicon_doc_io_atcr_hold_exportUserData() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("postExport"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("postExport"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -244,7 +256,7 @@ fn lexicon_doc_io_atcr_hold_exportUserData() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -263,7 +275,9 @@ fn lexicon_doc_io_atcr_hold_exportUserData() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -278,7 +292,9 @@ fn lexicon_doc_io_atcr_hold_exportUserData() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -299,7 +315,7 @@ fn lexicon_doc_io_atcr_hold_exportUserData() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("statsExport"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("statsExport"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -308,7 +324,9 @@ fn lexicon_doc_io_atcr_hold_exportUserData() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("lastPull"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "lastPull", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -325,7 +343,9 @@ fn lexicon_doc_io_atcr_hold_exportUserData() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("lastPush"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "lastPush", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -342,7 +362,7 @@ fn lexicon_doc_io_atcr_hold_exportUserData() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "pullCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -355,7 +375,7 @@ fn lexicon_doc_io_atcr_hold_exportUserData() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "pushCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -368,7 +388,7 @@ fn lexicon_doc_io_atcr_hold_exportUserData() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "repository", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -385,7 +405,7 @@ fn lexicon_doc_io_atcr_hold_exportUserData() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -682,7 +702,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for PostExport<'a> { } if let Some(ref value) = self.text { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) 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 9e8649922..62a55df16 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 @@ -152,7 +152,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> GetPartUploadUrl<'a> { diff --git a/crates/jacquard-api/src/io_atcr/hold/layer.rs b/crates/jacquard-api/src/io_atcr/hold/layer.rs index fc487ebf0..5b07105b5 100644 --- a/crates/jacquard-api/src/io_atcr/hold/layer.rs +++ b/crates/jacquard-api/src/io_atcr/hold/layer.rs @@ -47,10 +47,10 @@ pub mod layer_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Manifest; - type CreatedAt; - type Size; type MediaType; type UserDid; + type Size; + type CreatedAt; type Digest; } /// Empty state - all required fields are unset @@ -58,10 +58,10 @@ pub mod layer_state { impl sealed::Sealed for Empty {} impl State for Empty { type Manifest = Unset; - type CreatedAt = Unset; - type Size = Unset; type MediaType = Unset; type UserDid = Unset; + type Size = Unset; + type CreatedAt = Unset; type Digest = Unset; } ///State transition - sets the `manifest` field to Set @@ -69,32 +69,10 @@ pub mod layer_state { impl sealed::Sealed for SetManifest {} impl State for SetManifest { type Manifest = Set; - type CreatedAt = S::CreatedAt; - type Size = S::Size; type MediaType = S::MediaType; type UserDid = S::UserDid; - type Digest = S::Digest; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type Manifest = S::Manifest; - type CreatedAt = Set; type Size = S::Size; - type MediaType = S::MediaType; - type UserDid = S::UserDid; - type Digest = S::Digest; - } - ///State transition - sets the `size` field to Set - pub struct SetSize(PhantomData S>); - impl sealed::Sealed for SetSize {} - impl State for SetSize { - type Manifest = S::Manifest; type CreatedAt = S::CreatedAt; - type Size = Set; - type MediaType = S::MediaType; - type UserDid = S::UserDid; type Digest = S::Digest; } ///State transition - sets the `media_type` field to Set @@ -102,10 +80,10 @@ pub mod layer_state { impl sealed::Sealed for SetMediaType {} impl State for SetMediaType { type Manifest = S::Manifest; - type CreatedAt = S::CreatedAt; - type Size = S::Size; type MediaType = Set; type UserDid = S::UserDid; + type Size = S::Size; + type CreatedAt = S::CreatedAt; type Digest = S::Digest; } ///State transition - sets the `user_did` field to Set @@ -113,10 +91,32 @@ pub mod layer_state { impl sealed::Sealed for SetUserDid {} impl State for SetUserDid { type Manifest = S::Manifest; - type CreatedAt = S::CreatedAt; - type Size = S::Size; type MediaType = S::MediaType; type UserDid = Set; + type Size = S::Size; + type CreatedAt = S::CreatedAt; + type Digest = S::Digest; + } + ///State transition - sets the `size` field to Set + pub struct SetSize(PhantomData S>); + impl sealed::Sealed for SetSize {} + impl State for SetSize { + type Manifest = S::Manifest; + type MediaType = S::MediaType; + type UserDid = S::UserDid; + type Size = Set; + type CreatedAt = S::CreatedAt; + type Digest = S::Digest; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Manifest = S::Manifest; + type MediaType = S::MediaType; + type UserDid = S::UserDid; + type Size = S::Size; + type CreatedAt = Set; type Digest = S::Digest; } ///State transition - sets the `digest` field to Set @@ -124,10 +124,10 @@ pub mod layer_state { impl sealed::Sealed for SetDigest {} impl State for SetDigest { type Manifest = S::Manifest; - type CreatedAt = S::CreatedAt; - type Size = S::Size; type MediaType = S::MediaType; type UserDid = S::UserDid; + type Size = S::Size; + type CreatedAt = S::CreatedAt; type Digest = Set; } /// Marker types for field names @@ -135,14 +135,14 @@ pub mod layer_state { pub mod members { ///Marker type for the `manifest` field pub struct manifest(()); - ///Marker type for the `created_at` field - pub struct created_at(()); - ///Marker type for the `size` field - pub struct size(()); ///Marker type for the `media_type` field pub struct media_type(()); ///Marker type for the `user_did` field pub struct user_did(()); + ///Marker type for the `size` field + pub struct size(()); + ///Marker type for the `created_at` field + pub struct created_at(()); ///Marker type for the `digest` field pub struct digest(()); } @@ -298,10 +298,10 @@ impl<'a, S> LayerBuilder<'a, S> where S: layer_state::State, S::Manifest: layer_state::IsSet, - S::CreatedAt: layer_state::IsSet, - S::Size: layer_state::IsSet, S::MediaType: layer_state::IsSet, S::UserDid: layer_state::IsSet, + S::Size: layer_state::IsSet, + S::CreatedAt: layer_state::IsSet, S::Digest: layer_state::IsSet, { /// Build the final struct @@ -320,7 +320,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Layer<'a> { @@ -449,7 +449,7 @@ fn lexicon_doc_io_atcr_hold_layer() -> ::jacquard_lexicon::lexicon::LexiconDoc<' defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -461,12 +461,12 @@ fn lexicon_doc_io_atcr_hold_layer() -> ::jacquard_lexicon::lexicon::LexiconDoc<' description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("digest"), - ::jacquard_common::smol_str::SmolStr::new_static("size"), - ::jacquard_common::smol_str::SmolStr::new_static("mediaType"), - ::jacquard_common::smol_str::SmolStr::new_static("manifest"), - ::jacquard_common::smol_str::SmolStr::new_static("userDid"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("digest"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("size"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("mediaType"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("manifest"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("userDid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -474,7 +474,7 @@ fn lexicon_doc_io_atcr_hold_layer() -> ::jacquard_lexicon::lexicon::LexiconDoc<' #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -497,7 +497,9 @@ fn lexicon_doc_io_atcr_hold_layer() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("digest"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "digest", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -516,7 +518,7 @@ fn lexicon_doc_io_atcr_hold_layer() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "manifest", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -539,7 +541,7 @@ fn lexicon_doc_io_atcr_hold_layer() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mediaType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -560,7 +562,9 @@ fn lexicon_doc_io_atcr_hold_layer() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "size", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -571,7 +575,9 @@ fn lexicon_doc_io_atcr_hold_layer() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("userDid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "userDid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( 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 7ac828a64..d9f4eec19 100644 --- a/crates/jacquard-api/src/io_atcr/hold/notify_manifest.rs +++ b/crates/jacquard-api/src/io_atcr/hold/notify_manifest.rs @@ -36,7 +36,7 @@ fn lexicon_doc_io_atcr_hold_notifyManifest() -> ::jacquard_lexicon::lexicon::Lex defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("blobInfo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("blobInfo"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -45,7 +45,9 @@ fn lexicon_doc_io_atcr_hold_notifyManifest() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("digest"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "digest", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -60,7 +62,9 @@ fn lexicon_doc_io_atcr_hold_notifyManifest() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "size", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -75,7 +79,9 @@ fn lexicon_doc_io_atcr_hold_notifyManifest() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("childManifestInfo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "childManifestInfo", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -84,7 +90,9 @@ fn lexicon_doc_io_atcr_hold_notifyManifest() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("digest"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "digest", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -99,7 +107,7 @@ fn lexicon_doc_io_atcr_hold_notifyManifest() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mediaType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -116,7 +124,9 @@ fn lexicon_doc_io_atcr_hold_notifyManifest() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("platform"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "platform", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -125,7 +135,9 @@ fn lexicon_doc_io_atcr_hold_notifyManifest() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "size", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -140,7 +152,7 @@ fn lexicon_doc_io_atcr_hold_notifyManifest() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("layerInfo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("layerInfo"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -149,7 +161,9 @@ fn lexicon_doc_io_atcr_hold_notifyManifest() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("digest"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "digest", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -164,7 +178,7 @@ fn lexicon_doc_io_atcr_hold_notifyManifest() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mediaType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -181,7 +195,9 @@ fn lexicon_doc_io_atcr_hold_notifyManifest() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "size", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -196,7 +212,7 @@ fn lexicon_doc_io_atcr_hold_notifyManifest() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcProcedure(::jacquard_lexicon::lexicon::LexXrpcProcedure { description: None, parameters: None, @@ -210,10 +226,10 @@ fn lexicon_doc_io_atcr_hold_notifyManifest() -> ::jacquard_lexicon::lexicon::Lex description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("repository"), - ::jacquard_common::smol_str::SmolStr::new_static("userDid"), - ::jacquard_common::smol_str::SmolStr::new_static("manifestDigest"), - ::jacquard_common::smol_str::SmolStr::new_static("manifest") + ::jacquard_common::deps::smol_str::SmolStr::new_static("repository"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("userDid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("manifestDigest"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("manifest") ], ), nullable: None, @@ -221,7 +237,7 @@ fn lexicon_doc_io_atcr_hold_notifyManifest() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "manifest", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -232,7 +248,7 @@ fn lexicon_doc_io_atcr_hold_notifyManifest() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "manifestDigest", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -253,7 +269,7 @@ fn lexicon_doc_io_atcr_hold_notifyManifest() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "operation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -274,7 +290,7 @@ fn lexicon_doc_io_atcr_hold_notifyManifest() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "repository", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -295,7 +311,9 @@ fn lexicon_doc_io_atcr_hold_notifyManifest() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tag"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tag", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -314,7 +332,9 @@ fn lexicon_doc_io_atcr_hold_notifyManifest() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("userDid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "userDid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -344,7 +364,7 @@ fn lexicon_doc_io_atcr_hold_notifyManifest() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("manifestInfo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("manifestInfo"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static("OCI manifest information"), @@ -355,14 +375,18 @@ fn lexicon_doc_io_atcr_hold_notifyManifest() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("config"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "config", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#blobInfo"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("layers"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "layers", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -374,7 +398,7 @@ fn lexicon_doc_io_atcr_hold_notifyManifest() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "manifests", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -394,7 +418,7 @@ fn lexicon_doc_io_atcr_hold_notifyManifest() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mediaType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -417,7 +441,7 @@ fn lexicon_doc_io_atcr_hold_notifyManifest() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("platformInfo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("platformInfo"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -426,7 +450,7 @@ fn lexicon_doc_io_atcr_hold_notifyManifest() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "architecture", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -443,7 +467,7 @@ fn lexicon_doc_io_atcr_hold_notifyManifest() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("os"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("os"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -671,67 +695,67 @@ pub mod notify_manifest_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Repository; type UserDid; type ManifestDigest; type Manifest; + type Repository; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Repository = Unset; type UserDid = Unset; type ManifestDigest = Unset; type Manifest = Unset; - } - ///State transition - sets the `repository` field to Set - pub struct SetRepository(PhantomData S>); - impl sealed::Sealed for SetRepository {} - impl State for SetRepository { - type Repository = Set; - type UserDid = S::UserDid; - type ManifestDigest = S::ManifestDigest; - type Manifest = S::Manifest; + type Repository = Unset; } ///State transition - sets the `user_did` field to Set pub struct SetUserDid(PhantomData S>); impl sealed::Sealed for SetUserDid {} impl State for SetUserDid { - type Repository = S::Repository; type UserDid = Set; type ManifestDigest = S::ManifestDigest; type Manifest = S::Manifest; + type Repository = S::Repository; } ///State transition - sets the `manifest_digest` field to Set pub struct SetManifestDigest(PhantomData S>); impl sealed::Sealed for SetManifestDigest {} impl State for SetManifestDigest { - type Repository = S::Repository; type UserDid = S::UserDid; type ManifestDigest = Set; type Manifest = S::Manifest; + type Repository = S::Repository; } ///State transition - sets the `manifest` field to Set pub struct SetManifest(PhantomData S>); impl sealed::Sealed for SetManifest {} impl State for SetManifest { - type Repository = S::Repository; type UserDid = S::UserDid; type ManifestDigest = S::ManifestDigest; type Manifest = Set; + type Repository = S::Repository; + } + ///State transition - sets the `repository` field to Set + pub struct SetRepository(PhantomData S>); + impl sealed::Sealed for SetRepository {} + impl State for SetRepository { + type UserDid = S::UserDid; + type ManifestDigest = S::ManifestDigest; + type Manifest = S::Manifest; + type Repository = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `repository` field - pub struct repository(()); ///Marker type for the `user_did` field pub struct user_did(()); ///Marker type for the `manifest_digest` field pub struct manifest_digest(()); ///Marker type for the `manifest` field pub struct manifest(()); + ///Marker type for the `repository` field + pub struct repository(()); } } @@ -878,10 +902,10 @@ where impl<'a, S> NotifyManifestBuilder<'a, S> where S: notify_manifest_state::State, - S::Repository: notify_manifest_state::IsSet, S::UserDid: notify_manifest_state::IsSet, S::ManifestDigest: notify_manifest_state::IsSet, S::Manifest: notify_manifest_state::IsSet, + S::Repository: notify_manifest_state::IsSet, { /// Build the final struct pub fn build(self) -> NotifyManifest<'a> { @@ -899,7 +923,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> NotifyManifest<'a> { diff --git a/crates/jacquard-api/src/io_atcr/hold/scan.rs b/crates/jacquard-api/src/io_atcr/hold/scan.rs index 11e7973d5..0f531b3c4 100644 --- a/crates/jacquard-api/src/io_atcr/hold/scan.rs +++ b/crates/jacquard-api/src/io_atcr/hold/scan.rs @@ -62,203 +62,203 @@ pub mod scan_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type UserDid; - type High; + type Low; type Medium; + type Manifest; + type ScannerVersion; + type High; type ScannedAt; type Critical; - type Low; - type Manifest; type Repository; - type ScannerVersion; + type UserDid; type Total; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type UserDid = Unset; - type High = Unset; + type Low = Unset; type Medium = Unset; + type Manifest = Unset; + type ScannerVersion = Unset; + type High = Unset; type ScannedAt = Unset; type Critical = Unset; - type Low = Unset; - type Manifest = Unset; type Repository = Unset; - type ScannerVersion = Unset; + type UserDid = Unset; type Total = Unset; } - ///State transition - sets the `user_did` field to Set - pub struct SetUserDid(PhantomData S>); - impl sealed::Sealed for SetUserDid {} - impl State for SetUserDid { - type UserDid = Set; - type High = S::High; + ///State transition - sets the `low` field to Set + pub struct SetLow(PhantomData S>); + impl sealed::Sealed for SetLow {} + impl State for SetLow { + type Low = Set; type Medium = S::Medium; - type ScannedAt = S::ScannedAt; - type Critical = S::Critical; - type Low = S::Low; type Manifest = S::Manifest; - type Repository = S::Repository; type ScannerVersion = S::ScannerVersion; - type Total = S::Total; - } - ///State transition - sets the `high` field to Set - pub struct SetHigh(PhantomData S>); - impl sealed::Sealed for SetHigh {} - impl State for SetHigh { - type UserDid = S::UserDid; - type High = Set; - type Medium = S::Medium; + type High = S::High; type ScannedAt = S::ScannedAt; type Critical = S::Critical; - type Low = S::Low; - type Manifest = S::Manifest; type Repository = S::Repository; - type ScannerVersion = S::ScannerVersion; + type UserDid = S::UserDid; type Total = S::Total; } ///State transition - sets the `medium` field to Set pub struct SetMedium(PhantomData S>); impl sealed::Sealed for SetMedium {} impl State for SetMedium { + type Low = S::Low; + type Medium = Set; + type Manifest = S::Manifest; + type ScannerVersion = S::ScannerVersion; + type High = S::High; + type ScannedAt = S::ScannedAt; + type Critical = S::Critical; + type Repository = S::Repository; type UserDid = S::UserDid; + type Total = S::Total; + } + ///State transition - sets the `manifest` field to Set + pub struct SetManifest(PhantomData S>); + impl sealed::Sealed for SetManifest {} + impl State for SetManifest { + type Low = S::Low; + type Medium = S::Medium; + type Manifest = Set; + type ScannerVersion = S::ScannerVersion; type High = S::High; - type Medium = Set; type ScannedAt = S::ScannedAt; type Critical = S::Critical; + type Repository = S::Repository; + type UserDid = S::UserDid; + type Total = S::Total; + } + ///State transition - sets the `scanner_version` field to Set + pub struct SetScannerVersion(PhantomData S>); + impl sealed::Sealed for SetScannerVersion {} + impl State for SetScannerVersion { type Low = S::Low; + type Medium = S::Medium; type Manifest = S::Manifest; + type ScannerVersion = Set; + type High = S::High; + type ScannedAt = S::ScannedAt; + type Critical = S::Critical; type Repository = S::Repository; + type UserDid = S::UserDid; + type Total = S::Total; + } + ///State transition - sets the `high` field to Set + pub struct SetHigh(PhantomData S>); + impl sealed::Sealed for SetHigh {} + impl State for SetHigh { + type Low = S::Low; + type Medium = S::Medium; + type Manifest = S::Manifest; type ScannerVersion = S::ScannerVersion; + type High = Set; + type ScannedAt = S::ScannedAt; + type Critical = S::Critical; + type Repository = S::Repository; + type UserDid = S::UserDid; type Total = S::Total; } ///State transition - sets the `scanned_at` field to Set pub struct SetScannedAt(PhantomData S>); impl sealed::Sealed for SetScannedAt {} impl State for SetScannedAt { - type UserDid = S::UserDid; - type High = S::High; + type Low = S::Low; type Medium = S::Medium; + type Manifest = S::Manifest; + type ScannerVersion = S::ScannerVersion; + type High = S::High; type ScannedAt = Set; type Critical = S::Critical; - type Low = S::Low; - type Manifest = S::Manifest; type Repository = S::Repository; - type ScannerVersion = S::ScannerVersion; + type UserDid = S::UserDid; type Total = S::Total; } ///State transition - sets the `critical` field to Set pub struct SetCritical(PhantomData S>); impl sealed::Sealed for SetCritical {} impl State for SetCritical { - type UserDid = S::UserDid; - type High = S::High; - type Medium = S::Medium; - type ScannedAt = S::ScannedAt; - type Critical = Set; type Low = S::Low; - type Manifest = S::Manifest; - type Repository = S::Repository; - type ScannerVersion = S::ScannerVersion; - type Total = S::Total; - } - ///State transition - sets the `low` field to Set - pub struct SetLow(PhantomData S>); - impl sealed::Sealed for SetLow {} - impl State for SetLow { - type UserDid = S::UserDid; - type High = S::High; type Medium = S::Medium; - type ScannedAt = S::ScannedAt; - type Critical = S::Critical; - type Low = Set; type Manifest = S::Manifest; - type Repository = S::Repository; type ScannerVersion = S::ScannerVersion; - type Total = S::Total; - } - ///State transition - sets the `manifest` field to Set - pub struct SetManifest(PhantomData S>); - impl sealed::Sealed for SetManifest {} - impl State for SetManifest { - type UserDid = S::UserDid; type High = S::High; - type Medium = S::Medium; type ScannedAt = S::ScannedAt; - type Critical = S::Critical; - type Low = S::Low; - type Manifest = Set; + type Critical = Set; type Repository = S::Repository; - type ScannerVersion = S::ScannerVersion; + type UserDid = S::UserDid; type Total = S::Total; } ///State transition - sets the `repository` field to Set pub struct SetRepository(PhantomData S>); impl sealed::Sealed for SetRepository {} impl State for SetRepository { - type UserDid = S::UserDid; - type High = S::High; + type Low = S::Low; type Medium = S::Medium; + type Manifest = S::Manifest; + type ScannerVersion = S::ScannerVersion; + type High = S::High; type ScannedAt = S::ScannedAt; type Critical = S::Critical; - type Low = S::Low; - type Manifest = S::Manifest; type Repository = Set; - type ScannerVersion = S::ScannerVersion; + type UserDid = S::UserDid; type Total = S::Total; } - ///State transition - sets the `scanner_version` field to Set - pub struct SetScannerVersion(PhantomData S>); - impl sealed::Sealed for SetScannerVersion {} - impl State for SetScannerVersion { - type UserDid = S::UserDid; - type High = S::High; + ///State transition - sets the `user_did` field to Set + pub struct SetUserDid(PhantomData S>); + impl sealed::Sealed for SetUserDid {} + impl State for SetUserDid { + type Low = S::Low; type Medium = S::Medium; + type Manifest = S::Manifest; + type ScannerVersion = S::ScannerVersion; + type High = S::High; type ScannedAt = S::ScannedAt; type Critical = S::Critical; - type Low = S::Low; - type Manifest = S::Manifest; type Repository = S::Repository; - type ScannerVersion = Set; + type UserDid = Set; type Total = S::Total; } ///State transition - sets the `total` field to Set pub struct SetTotal(PhantomData S>); impl sealed::Sealed for SetTotal {} impl State for SetTotal { - type UserDid = S::UserDid; - type High = S::High; + type Low = S::Low; type Medium = S::Medium; + type Manifest = S::Manifest; + type ScannerVersion = S::ScannerVersion; + type High = S::High; type ScannedAt = S::ScannedAt; type Critical = S::Critical; - type Low = S::Low; - type Manifest = S::Manifest; type Repository = S::Repository; - type ScannerVersion = S::ScannerVersion; + type UserDid = S::UserDid; type Total = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `user_did` field - pub struct user_did(()); - ///Marker type for the `high` field - pub struct high(()); + ///Marker type for the `low` field + pub struct low(()); ///Marker type for the `medium` field pub struct medium(()); + ///Marker type for the `manifest` field + pub struct manifest(()); + ///Marker type for the `scanner_version` field + pub struct scanner_version(()); + ///Marker type for the `high` field + pub struct high(()); ///Marker type for the `scanned_at` field pub struct scanned_at(()); ///Marker type for the `critical` field pub struct critical(()); - ///Marker type for the `low` field - pub struct low(()); - ///Marker type for the `manifest` field - pub struct manifest(()); ///Marker type for the `repository` field pub struct repository(()); - ///Marker type for the `scanner_version` field - pub struct scanner_version(()); + ///Marker type for the `user_did` field + pub struct user_did(()); ///Marker type for the `total` field pub struct total(()); } @@ -546,15 +546,15 @@ impl<'a, S: scan_state::State> ScanBuilder<'a, S> { impl<'a, S> ScanBuilder<'a, S> where S: scan_state::State, - S::UserDid: scan_state::IsSet, - S::High: scan_state::IsSet, + S::Low: scan_state::IsSet, S::Medium: scan_state::IsSet, + S::Manifest: scan_state::IsSet, + S::ScannerVersion: scan_state::IsSet, + S::High: scan_state::IsSet, S::ScannedAt: scan_state::IsSet, S::Critical: scan_state::IsSet, - S::Low: scan_state::IsSet, - S::Manifest: scan_state::IsSet, S::Repository: scan_state::IsSet, - S::ScannerVersion: scan_state::IsSet, + S::UserDid: scan_state::IsSet, S::Total: scan_state::IsSet, { /// Build the final struct @@ -579,7 +579,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Scan<'a> { @@ -774,7 +774,7 @@ fn lexicon_doc_io_atcr_hold_scan() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -786,16 +786,16 @@ fn lexicon_doc_io_atcr_hold_scan() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("manifest"), - ::jacquard_common::smol_str::SmolStr::new_static("repository"), - ::jacquard_common::smol_str::SmolStr::new_static("userDid"), - ::jacquard_common::smol_str::SmolStr::new_static("critical"), - ::jacquard_common::smol_str::SmolStr::new_static("high"), - ::jacquard_common::smol_str::SmolStr::new_static("medium"), - ::jacquard_common::smol_str::SmolStr::new_static("low"), - ::jacquard_common::smol_str::SmolStr::new_static("total"), - ::jacquard_common::smol_str::SmolStr::new_static("scannerVersion"), - ::jacquard_common::smol_str::SmolStr::new_static("scannedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("manifest"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("repository"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("userDid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("critical"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("high"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("medium"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("low"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("total"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("scannerVersion"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("scannedAt") ], ), nullable: None, @@ -803,7 +803,7 @@ fn lexicon_doc_io_atcr_hold_scan() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "critical", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -816,7 +816,9 @@ fn lexicon_doc_io_atcr_hold_scan() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("high"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "high", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -827,7 +829,9 @@ fn lexicon_doc_io_atcr_hold_scan() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("low"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "low", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -838,7 +842,7 @@ fn lexicon_doc_io_atcr_hold_scan() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "manifest", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -861,7 +865,9 @@ fn lexicon_doc_io_atcr_hold_scan() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("medium"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "medium", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -872,7 +878,7 @@ fn lexicon_doc_io_atcr_hold_scan() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "repository", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -893,7 +899,7 @@ fn lexicon_doc_io_atcr_hold_scan() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sbomBlob", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { @@ -903,7 +909,7 @@ fn lexicon_doc_io_atcr_hold_scan() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "scannedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -926,7 +932,7 @@ fn lexicon_doc_io_atcr_hold_scan() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "scannerVersion", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -947,7 +953,9 @@ fn lexicon_doc_io_atcr_hold_scan() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("total"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "total", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -958,7 +966,9 @@ fn lexicon_doc_io_atcr_hold_scan() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("userDid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "userDid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -979,7 +989,7 @@ fn lexicon_doc_io_atcr_hold_scan() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "vulnReportBlob", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { 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 2056c0e5d..146b4b86f 100644 --- a/crates/jacquard-api/src/io_atcr/hold/set_stats.rs +++ b/crates/jacquard-api/src/io_atcr/hold/set_stats.rs @@ -237,7 +237,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> SetStats<'a> { diff --git a/crates/jacquard-api/src/io_atcr/hold/stats.rs b/crates/jacquard-api/src/io_atcr/hold/stats.rs index 2f1155719..114270c7d 100644 --- a/crates/jacquard-api/src/io_atcr/hold/stats.rs +++ b/crates/jacquard-api/src/io_atcr/hold/stats.rs @@ -48,85 +48,85 @@ pub mod stats_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type PushCount; type UpdatedAt; type OwnerDid; - type PullCount; type Repository; - type PushCount; + type PullCount; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type PushCount = Unset; type UpdatedAt = Unset; type OwnerDid = Unset; - type PullCount = Unset; type Repository = Unset; - type PushCount = Unset; + type PullCount = Unset; + } + ///State transition - sets the `push_count` field to Set + pub struct SetPushCount(PhantomData S>); + impl sealed::Sealed for SetPushCount {} + impl State for SetPushCount { + type PushCount = Set; + type UpdatedAt = S::UpdatedAt; + type OwnerDid = S::OwnerDid; + type Repository = S::Repository; + type PullCount = S::PullCount; } ///State transition - sets the `updated_at` field to Set pub struct SetUpdatedAt(PhantomData S>); impl sealed::Sealed for SetUpdatedAt {} impl State for SetUpdatedAt { + type PushCount = S::PushCount; type UpdatedAt = Set; type OwnerDid = S::OwnerDid; - type PullCount = S::PullCount; type Repository = S::Repository; - type PushCount = S::PushCount; + type PullCount = S::PullCount; } ///State transition - sets the `owner_did` field to Set pub struct SetOwnerDid(PhantomData S>); impl sealed::Sealed for SetOwnerDid {} impl State for SetOwnerDid { - type UpdatedAt = S::UpdatedAt; - type OwnerDid = Set; - type PullCount = S::PullCount; - type Repository = S::Repository; type PushCount = S::PushCount; - } - ///State transition - sets the `pull_count` field to Set - pub struct SetPullCount(PhantomData S>); - impl sealed::Sealed for SetPullCount {} - impl State for SetPullCount { type UpdatedAt = S::UpdatedAt; - type OwnerDid = S::OwnerDid; - type PullCount = Set; + type OwnerDid = Set; type Repository = S::Repository; - type PushCount = S::PushCount; + type PullCount = S::PullCount; } ///State transition - sets the `repository` field to Set pub struct SetRepository(PhantomData S>); impl sealed::Sealed for SetRepository {} impl State for SetRepository { + type PushCount = S::PushCount; type UpdatedAt = S::UpdatedAt; type OwnerDid = S::OwnerDid; - type PullCount = S::PullCount; type Repository = Set; - type PushCount = S::PushCount; + type PullCount = S::PullCount; } - ///State transition - sets the `push_count` field to Set - pub struct SetPushCount(PhantomData S>); - impl sealed::Sealed for SetPushCount {} - impl State for SetPushCount { + ///State transition - sets the `pull_count` field to Set + pub struct SetPullCount(PhantomData S>); + impl sealed::Sealed for SetPullCount {} + impl State for SetPullCount { + type PushCount = S::PushCount; type UpdatedAt = S::UpdatedAt; type OwnerDid = S::OwnerDid; - type PullCount = S::PullCount; type Repository = S::Repository; - type PushCount = Set; + type PullCount = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `push_count` field + pub struct push_count(()); ///Marker type for the `updated_at` field pub struct updated_at(()); ///Marker type for the `owner_did` field pub struct owner_did(()); - ///Marker type for the `pull_count` field - pub struct pull_count(()); ///Marker type for the `repository` field pub struct repository(()); - ///Marker type for the `push_count` field - pub struct push_count(()); + ///Marker type for the `pull_count` field + pub struct pull_count(()); } } @@ -299,11 +299,11 @@ where impl<'a, S> StatsBuilder<'a, S> where S: stats_state::State, + S::PushCount: stats_state::IsSet, S::UpdatedAt: stats_state::IsSet, S::OwnerDid: stats_state::IsSet, - S::PullCount: stats_state::IsSet, S::Repository: stats_state::IsSet, - S::PushCount: stats_state::IsSet, + S::PullCount: stats_state::IsSet, { /// Build the final struct pub fn build(self) -> Stats<'a> { @@ -322,7 +322,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Stats<'a> { @@ -463,7 +463,7 @@ fn lexicon_doc_io_atcr_hold_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<' defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -475,11 +475,11 @@ fn lexicon_doc_io_atcr_hold_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<' description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("ownerDid"), - ::jacquard_common::smol_str::SmolStr::new_static("repository"), - ::jacquard_common::smol_str::SmolStr::new_static("pullCount"), - ::jacquard_common::smol_str::SmolStr::new_static("pushCount"), - ::jacquard_common::smol_str::SmolStr::new_static("updatedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("ownerDid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("repository"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("pullCount"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("pushCount"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("updatedAt") ], ), nullable: None, @@ -487,7 +487,7 @@ fn lexicon_doc_io_atcr_hold_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<' #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "lastPull", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -510,7 +510,7 @@ fn lexicon_doc_io_atcr_hold_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "lastPush", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -533,7 +533,7 @@ fn lexicon_doc_io_atcr_hold_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "ownerDid", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -556,7 +556,7 @@ fn lexicon_doc_io_atcr_hold_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "pullCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -569,7 +569,7 @@ fn lexicon_doc_io_atcr_hold_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "pushCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -582,7 +582,7 @@ fn lexicon_doc_io_atcr_hold_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "repository", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -603,7 +603,7 @@ fn lexicon_doc_io_atcr_hold_stats() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { 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 6c5acb2a4..2294d26b0 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 @@ -116,11 +116,15 @@ impl<'a> SubscribeScanJobsMessage<'a> { )?; match header.t.as_str() { "#scanJob" => { - let variant = 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 = 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 => { @@ -243,127 +247,127 @@ pub mod scan_job_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Type; type Seq; type Digest; + type Repository; type UserDid; - type HoldDid; + type Type; type HoldEndpoint; - type Repository; + type HoldDid; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Type = Unset; type Seq = Unset; type Digest = Unset; + type Repository = Unset; type UserDid = Unset; - type HoldDid = Unset; + type Type = Unset; type HoldEndpoint = Unset; - type Repository = Unset; - } - ///State transition - sets the `type` field to Set - pub struct SetType(PhantomData S>); - impl sealed::Sealed for SetType {} - impl State for SetType { - type Type = Set; - type Seq = S::Seq; - type Digest = S::Digest; - type UserDid = S::UserDid; - type HoldDid = S::HoldDid; - type HoldEndpoint = S::HoldEndpoint; - type Repository = S::Repository; + type HoldDid = Unset; } ///State transition - sets the `seq` field to Set pub struct SetSeq(PhantomData S>); impl sealed::Sealed for SetSeq {} impl State for SetSeq { - type Type = S::Type; type Seq = Set; type Digest = S::Digest; + type Repository = S::Repository; type UserDid = S::UserDid; - type HoldDid = S::HoldDid; + type Type = S::Type; type HoldEndpoint = S::HoldEndpoint; - type Repository = S::Repository; + type HoldDid = S::HoldDid; } ///State transition - sets the `digest` field to Set pub struct SetDigest(PhantomData S>); impl sealed::Sealed for SetDigest {} impl State for SetDigest { - type Type = S::Type; type Seq = S::Seq; type Digest = Set; + type Repository = S::Repository; type UserDid = S::UserDid; + type Type = S::Type; + type HoldEndpoint = S::HoldEndpoint; type HoldDid = S::HoldDid; + } + ///State transition - sets the `repository` field to Set + pub struct SetRepository(PhantomData S>); + impl sealed::Sealed for SetRepository {} + impl State for SetRepository { + type Seq = S::Seq; + type Digest = S::Digest; + type Repository = Set; + type UserDid = S::UserDid; + type Type = S::Type; type HoldEndpoint = S::HoldEndpoint; - type Repository = S::Repository; + type HoldDid = S::HoldDid; } ///State transition - sets the `user_did` field to Set pub struct SetUserDid(PhantomData S>); impl sealed::Sealed for SetUserDid {} impl State for SetUserDid { - type Type = S::Type; type Seq = S::Seq; type Digest = S::Digest; + type Repository = S::Repository; type UserDid = Set; - type HoldDid = S::HoldDid; + type Type = S::Type; type HoldEndpoint = S::HoldEndpoint; - type Repository = S::Repository; + type HoldDid = S::HoldDid; } - ///State transition - sets the `hold_did` field to Set - pub struct SetHoldDid(PhantomData S>); - impl sealed::Sealed for SetHoldDid {} - impl State for SetHoldDid { - type Type = S::Type; + ///State transition - sets the `type` field to Set + pub struct SetType(PhantomData S>); + impl sealed::Sealed for SetType {} + impl State for SetType { type Seq = S::Seq; type Digest = S::Digest; + type Repository = S::Repository; type UserDid = S::UserDid; - type HoldDid = Set; + type Type = Set; type HoldEndpoint = S::HoldEndpoint; - type Repository = S::Repository; + type HoldDid = S::HoldDid; } ///State transition - sets the `hold_endpoint` field to Set pub struct SetHoldEndpoint(PhantomData S>); impl sealed::Sealed for SetHoldEndpoint {} impl State for SetHoldEndpoint { - type Type = S::Type; type Seq = S::Seq; type Digest = S::Digest; + type Repository = S::Repository; type UserDid = S::UserDid; - type HoldDid = S::HoldDid; + type Type = S::Type; type HoldEndpoint = Set; - type Repository = S::Repository; + type HoldDid = S::HoldDid; } - ///State transition - sets the `repository` field to Set - pub struct SetRepository(PhantomData S>); - impl sealed::Sealed for SetRepository {} - impl State for SetRepository { - type Type = S::Type; + ///State transition - sets the `hold_did` field to Set + pub struct SetHoldDid(PhantomData S>); + impl sealed::Sealed for SetHoldDid {} + impl State for SetHoldDid { type Seq = S::Seq; type Digest = S::Digest; + type Repository = S::Repository; type UserDid = S::UserDid; - type HoldDid = S::HoldDid; + type Type = S::Type; type HoldEndpoint = S::HoldEndpoint; - type Repository = Set; + type HoldDid = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `type` field - pub struct r#type(()); ///Marker type for the `seq` field pub struct seq(()); ///Marker type for the `digest` field pub struct digest(()); + ///Marker type for the `repository` field + pub struct repository(()); ///Marker type for the `user_did` field pub struct user_did(()); - ///Marker type for the `hold_did` field - pub struct hold_did(()); + ///Marker type for the `type` field + pub struct r#type(()); ///Marker type for the `hold_endpoint` field pub struct hold_endpoint(()); - ///Marker type for the `repository` field - pub struct repository(()); + ///Marker type for the `hold_did` field + pub struct hold_did(()); } } @@ -574,13 +578,13 @@ where impl<'a, S> ScanJobBuilder<'a, S> where S: scan_job_state::State, - S::Type: scan_job_state::IsSet, S::Seq: scan_job_state::IsSet, S::Digest: scan_job_state::IsSet, + S::Repository: scan_job_state::IsSet, S::UserDid: scan_job_state::IsSet, - S::HoldDid: scan_job_state::IsSet, + S::Type: scan_job_state::IsSet, S::HoldEndpoint: scan_job_state::IsSet, - S::Repository: scan_job_state::IsSet, + S::HoldDid: scan_job_state::IsSet, { /// Build the final struct pub fn build(self) -> ScanJob<'a> { @@ -601,7 +605,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ScanJob<'a> { @@ -631,7 +635,7 @@ fn lexicon_doc_io_atcr_hold_subscribeScanJobs() -> ::jacquard_lexicon::lexicon:: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcSubscription(::jacquard_lexicon::lexicon::LexXrpcSubscription { description: None, parameters: Some( @@ -642,7 +646,9 @@ fn lexicon_doc_io_atcr_hold_subscribeScanJobs() -> ::jacquard_lexicon::lexicon:: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cursor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cursor", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -662,7 +668,7 @@ fn lexicon_doc_io_atcr_hold_subscribeScanJobs() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("scanJob"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("scanJob"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -671,13 +677,13 @@ fn lexicon_doc_io_atcr_hold_subscribeScanJobs() -> ::jacquard_lexicon::lexicon:: ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("type"), - ::jacquard_common::smol_str::SmolStr::new_static("seq"), - ::jacquard_common::smol_str::SmolStr::new_static("digest"), - ::jacquard_common::smol_str::SmolStr::new_static("repository"), - ::jacquard_common::smol_str::SmolStr::new_static("userDid"), - ::jacquard_common::smol_str::SmolStr::new_static("holdDid"), - ::jacquard_common::smol_str::SmolStr::new_static("holdEndpoint") + ::jacquard_common::deps::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("seq"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("digest"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("repository"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("userDid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("holdDid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("holdEndpoint") ], ), nullable: None, @@ -685,7 +691,9 @@ fn lexicon_doc_io_atcr_hold_subscribeScanJobs() -> ::jacquard_lexicon::lexicon:: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("digest"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "digest", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -704,7 +712,9 @@ fn lexicon_doc_io_atcr_hold_subscribeScanJobs() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("holdDid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "holdDid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -725,7 +735,7 @@ fn lexicon_doc_io_atcr_hold_subscribeScanJobs() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "holdEndpoint", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -748,7 +758,9 @@ fn lexicon_doc_io_atcr_hold_subscribeScanJobs() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("priority"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "priority", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -759,7 +771,7 @@ fn lexicon_doc_io_atcr_hold_subscribeScanJobs() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "repository", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -780,7 +792,9 @@ fn lexicon_doc_io_atcr_hold_subscribeScanJobs() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("seq"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "seq", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -791,7 +805,9 @@ fn lexicon_doc_io_atcr_hold_subscribeScanJobs() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tag"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tag", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -810,7 +826,9 @@ fn lexicon_doc_io_atcr_hold_subscribeScanJobs() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "type", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -829,7 +847,9 @@ fn lexicon_doc_io_atcr_hold_subscribeScanJobs() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("userDid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "userDid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -854,7 +874,7 @@ fn lexicon_doc_io_atcr_hold_subscribeScanJobs() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("scanResult"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("scanResult"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -863,9 +883,9 @@ fn lexicon_doc_io_atcr_hold_subscribeScanJobs() -> ::jacquard_lexicon::lexicon:: ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("type"), - ::jacquard_common::smol_str::SmolStr::new_static("digest"), - ::jacquard_common::smol_str::SmolStr::new_static("summary") + ::jacquard_common::deps::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("digest"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("summary") ], ), nullable: None, @@ -873,7 +893,9 @@ fn lexicon_doc_io_atcr_hold_subscribeScanJobs() -> ::jacquard_lexicon::lexicon:: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("digest"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "digest", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -892,7 +914,9 @@ fn lexicon_doc_io_atcr_hold_subscribeScanJobs() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("error"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "error", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -911,7 +935,9 @@ fn lexicon_doc_io_atcr_hold_subscribeScanJobs() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sbom"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sbom", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Bytes(::jacquard_lexicon::lexicon::LexBytes { description: None, max_length: Some(104857600usize), @@ -919,7 +945,7 @@ fn lexicon_doc_io_atcr_hold_subscribeScanJobs() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "scannerVersion", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -940,14 +966,18 @@ fn lexicon_doc_io_atcr_hold_subscribeScanJobs() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("summary"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "summary", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#vulnSummary"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "type", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -966,7 +996,7 @@ fn lexicon_doc_io_atcr_hold_subscribeScanJobs() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "vulnReport", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Bytes(::jacquard_lexicon::lexicon::LexBytes { @@ -980,16 +1010,16 @@ fn lexicon_doc_io_atcr_hold_subscribeScanJobs() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("vulnSummary"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("vulnSummary"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("critical"), - ::jacquard_common::smol_str::SmolStr::new_static("high"), - ::jacquard_common::smol_str::SmolStr::new_static("medium"), - ::jacquard_common::smol_str::SmolStr::new_static("low"), - ::jacquard_common::smol_str::SmolStr::new_static("total") + ::jacquard_common::deps::smol_str::SmolStr::new_static("critical"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("high"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("medium"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("low"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("total") ], ), nullable: None, @@ -997,7 +1027,9 @@ fn lexicon_doc_io_atcr_hold_subscribeScanJobs() -> ::jacquard_lexicon::lexicon:: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("critical"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "critical", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -1008,7 +1040,9 @@ fn lexicon_doc_io_atcr_hold_subscribeScanJobs() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("high"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "high", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -1019,7 +1053,9 @@ fn lexicon_doc_io_atcr_hold_subscribeScanJobs() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("low"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "low", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -1030,7 +1066,9 @@ fn lexicon_doc_io_atcr_hold_subscribeScanJobs() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("medium"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "medium", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -1041,7 +1079,9 @@ fn lexicon_doc_io_atcr_hold_subscribeScanJobs() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("total"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "total", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -1151,7 +1191,7 @@ pub struct ScanResult<'a> { /// SBOM blob (SPDX JSON format, max 100MB) #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(default, with = "jacquard_common::opt_serde_bytes_helper")] - pub sbom: std::option::Option, + pub sbom: std::option::Option, /// Scanner version string #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] @@ -1165,7 +1205,7 @@ pub struct ScanResult<'a> { /// Grype vulnerability report blob (JSON, max 100MB) #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(default, with = "jacquard_common::opt_serde_bytes_helper")] - pub vuln_report: std::option::Option, + pub vuln_report: std::option::Option, } pub mod scan_result_state { @@ -1178,49 +1218,49 @@ pub mod scan_result_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Digest; type Type; + type Digest; type Summary; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Digest = Unset; type Type = Unset; + type Digest = Unset; type Summary = Unset; } - ///State transition - sets the `digest` field to Set - pub struct SetDigest(PhantomData S>); - impl sealed::Sealed for SetDigest {} - impl State for SetDigest { - type Digest = Set; - type Type = S::Type; - type Summary = S::Summary; - } ///State transition - sets the `type` field to Set pub struct SetType(PhantomData S>); impl sealed::Sealed for SetType {} impl State for SetType { - type Digest = S::Digest; type Type = Set; + type Digest = S::Digest; + type Summary = S::Summary; + } + ///State transition - sets the `digest` field to Set + pub struct SetDigest(PhantomData S>); + impl sealed::Sealed for SetDigest {} + impl State for SetDigest { + type Type = S::Type; + type Digest = Set; type Summary = S::Summary; } ///State transition - sets the `summary` field to Set pub struct SetSummary(PhantomData S>); impl sealed::Sealed for SetSummary {} impl State for SetSummary { - type Digest = S::Digest; type Type = S::Type; + type Digest = S::Digest; type Summary = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `digest` field - pub struct digest(()); ///Marker type for the `type` field pub struct r#type(()); + ///Marker type for the `digest` field + pub struct digest(()); ///Marker type for the `summary` field pub struct summary(()); } @@ -1232,13 +1272,13 @@ pub struct ScanResultBuilder<'a, S: scan_result_state::State> { __unsafe_private_named: ( ::core::option::Option>, ::core::option::Option>, - ::core::option::Option, + ::core::option::Option, ::core::option::Option>, ::core::option::Option< crate::io_atcr::hold::subscribe_scan_jobs::VulnSummary<'a>, >, ::core::option::Option>, - ::core::option::Option, + ::core::option::Option, ), _phantom: ::core::marker::PhantomData<&'a ()>, } @@ -1298,12 +1338,18 @@ impl<'a, S: scan_result_state::State> ScanResultBuilder<'a, S> { impl<'a, S: scan_result_state::State> ScanResultBuilder<'a, S> { /// Set the `sbom` field (optional) - pub fn sbom(mut self, value: impl Into>) -> Self { + pub fn sbom( + mut self, + value: impl Into>, + ) -> Self { self.__unsafe_private_named.2 = value.into(); self } /// Set the `sbom` field to an Option value (optional) - pub fn maybe_sbom(mut self, value: Option) -> Self { + pub fn maybe_sbom( + mut self, + value: Option, + ) -> Self { self.__unsafe_private_named.2 = value; self } @@ -1368,12 +1414,18 @@ where impl<'a, S: scan_result_state::State> ScanResultBuilder<'a, S> { /// Set the `vulnReport` field (optional) - pub fn vuln_report(mut self, value: impl Into>) -> Self { + pub fn vuln_report( + mut self, + value: impl Into>, + ) -> Self { self.__unsafe_private_named.6 = value.into(); self } /// Set the `vulnReport` field to an Option value (optional) - pub fn maybe_vuln_report(mut self, value: Option) -> Self { + pub fn maybe_vuln_report( + mut self, + value: Option, + ) -> Self { self.__unsafe_private_named.6 = value; self } @@ -1382,8 +1434,8 @@ impl<'a, S: scan_result_state::State> ScanResultBuilder<'a, S> { impl<'a, S> ScanResultBuilder<'a, S> where S: scan_result_state::State, - S::Digest: scan_result_state::IsSet, S::Type: scan_result_state::IsSet, + S::Digest: scan_result_state::IsSet, S::Summary: scan_result_state::IsSet, { /// Build the final struct @@ -1403,7 +1455,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ScanResult<'a> { @@ -1521,85 +1573,85 @@ pub mod vuln_summary_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type High; type Low; type Total; - type Medium; + type High; type Critical; + type Medium; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type High = Unset; type Low = Unset; type Total = Unset; - type Medium = Unset; + type High = Unset; type Critical = Unset; - } - ///State transition - sets the `high` field to Set - pub struct SetHigh(PhantomData S>); - impl sealed::Sealed for SetHigh {} - impl State for SetHigh { - type High = Set; - type Low = S::Low; - type Total = S::Total; - type Medium = S::Medium; - type Critical = S::Critical; + type Medium = Unset; } ///State transition - sets the `low` field to Set pub struct SetLow(PhantomData S>); impl sealed::Sealed for SetLow {} impl State for SetLow { - type High = S::High; type Low = Set; type Total = S::Total; - type Medium = S::Medium; + type High = S::High; type Critical = S::Critical; + type Medium = S::Medium; } ///State transition - sets the `total` field to Set pub struct SetTotal(PhantomData S>); impl sealed::Sealed for SetTotal {} impl State for SetTotal { - type High = S::High; type Low = S::Low; type Total = Set; - type Medium = S::Medium; + type High = S::High; type Critical = S::Critical; + type Medium = S::Medium; } - ///State transition - sets the `medium` field to Set - pub struct SetMedium(PhantomData S>); - impl sealed::Sealed for SetMedium {} - impl State for SetMedium { - type High = S::High; + ///State transition - sets the `high` field to Set + pub struct SetHigh(PhantomData S>); + impl sealed::Sealed for SetHigh {} + impl State for SetHigh { type Low = S::Low; type Total = S::Total; - type Medium = Set; + type High = Set; type Critical = S::Critical; + type Medium = S::Medium; } ///State transition - sets the `critical` field to Set pub struct SetCritical(PhantomData S>); impl sealed::Sealed for SetCritical {} impl State for SetCritical { - type High = S::High; type Low = S::Low; type Total = S::Total; - type Medium = S::Medium; + type High = S::High; type Critical = Set; + type Medium = S::Medium; + } + ///State transition - sets the `medium` field to Set + pub struct SetMedium(PhantomData S>); + impl sealed::Sealed for SetMedium {} + impl State for SetMedium { + type Low = S::Low; + type Total = S::Total; + type High = S::High; + type Critical = S::Critical; + type Medium = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `high` field - pub struct high(()); ///Marker type for the `low` field pub struct low(()); ///Marker type for the `total` field pub struct total(()); - ///Marker type for the `medium` field - pub struct medium(()); + ///Marker type for the `high` field + pub struct high(()); ///Marker type for the `critical` field pub struct critical(()); + ///Marker type for the `medium` field + pub struct medium(()); } } @@ -1732,11 +1784,11 @@ where impl<'a, S> VulnSummaryBuilder<'a, S> where S: vuln_summary_state::State, - S::High: vuln_summary_state::IsSet, S::Low: vuln_summary_state::IsSet, S::Total: vuln_summary_state::IsSet, - S::Medium: vuln_summary_state::IsSet, + S::High: vuln_summary_state::IsSet, S::Critical: vuln_summary_state::IsSet, + S::Medium: vuln_summary_state::IsSet, { /// Build the final struct pub fn build(self) -> VulnSummary<'a> { @@ -1753,7 +1805,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> VulnSummary<'a> { 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 272f08192..b37522e3f 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 @@ -34,37 +34,37 @@ pub mod update_crew_tier_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type TierRank; type UserDid; + type TierRank; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type TierRank = Unset; type UserDid = Unset; - } - ///State transition - sets the `tier_rank` field to Set - pub struct SetTierRank(PhantomData S>); - impl sealed::Sealed for SetTierRank {} - impl State for SetTierRank { - type TierRank = Set; - type UserDid = S::UserDid; + type TierRank = Unset; } ///State transition - sets the `user_did` field to Set pub struct SetUserDid(PhantomData S>); impl sealed::Sealed for SetUserDid {} impl State for SetUserDid { - type TierRank = S::TierRank; type UserDid = Set; + type TierRank = S::TierRank; + } + ///State transition - sets the `tier_rank` field to Set + pub struct SetTierRank(PhantomData S>); + impl sealed::Sealed for SetTierRank {} + impl State for SetTierRank { + type UserDid = S::UserDid; + type TierRank = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `tier_rank` field - pub struct tier_rank(()); ///Marker type for the `user_did` field pub struct user_did(()); + ///Marker type for the `tier_rank` field + pub struct tier_rank(()); } } @@ -137,8 +137,8 @@ where impl<'a, S> UpdateCrewTierBuilder<'a, S> where S: update_crew_tier_state::State, - S::TierRank: update_crew_tier_state::IsSet, S::UserDid: update_crew_tier_state::IsSet, + S::TierRank: update_crew_tier_state::IsSet, { /// Build the final struct pub fn build(self) -> UpdateCrewTier<'a> { @@ -152,7 +152,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> UpdateCrewTier<'a> { 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 9798fb39f..c71295ce0 100644 --- a/crates/jacquard-api/src/io_atcr/hold/upload_part.rs +++ b/crates/jacquard-api/src/io_atcr/hold/upload_part.rs @@ -17,7 +17,7 @@ )] #[serde(rename_all = "camelCase")] pub struct UploadPart { - pub body: bytes::Bytes, + pub body: jacquard_common::deps::bytes::Bytes, } #[jacquard_derive::lexicon] @@ -117,7 +117,7 @@ impl jacquard_common::xrpc::XrpcRequest for UploadPart { { Ok( Box::new(Self { - body: bytes::Bytes::copy_from_slice(body), + body: jacquard_common::deps::bytes::Bytes::copy_from_slice(body), }), ) } diff --git a/crates/jacquard-api/src/io_atcr/manifest.rs b/crates/jacquard-api/src/io_atcr/manifest.rs index bb54ef5ba..66acf41c4 100644 --- a/crates/jacquard-api/src/io_atcr/manifest.rs +++ b/crates/jacquard-api/src/io_atcr/manifest.rs @@ -47,50 +47,50 @@ pub mod blob_reference_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type MediaType; - type Digest; type Size; + type Digest; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type MediaType = Unset; - type Digest = Unset; type Size = Unset; + type Digest = Unset; } ///State transition - sets the `media_type` field to Set pub struct SetMediaType(PhantomData S>); impl sealed::Sealed for SetMediaType {} impl State for SetMediaType { type MediaType = Set; - type Digest = S::Digest; - type Size = S::Size; - } - ///State transition - sets the `digest` field to Set - pub struct SetDigest(PhantomData S>); - impl sealed::Sealed for SetDigest {} - impl State for SetDigest { - type MediaType = S::MediaType; - type Digest = Set; type Size = S::Size; + type Digest = S::Digest; } ///State transition - sets the `size` field to Set pub struct SetSize(PhantomData S>); impl sealed::Sealed for SetSize {} impl State for SetSize { type MediaType = S::MediaType; - type Digest = S::Digest; type Size = Set; + type Digest = S::Digest; + } + ///State transition - sets the `digest` field to Set + pub struct SetDigest(PhantomData S>); + impl sealed::Sealed for SetDigest {} + impl State for SetDigest { + type MediaType = S::MediaType; + type Size = S::Size; + type Digest = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `media_type` field pub struct media_type(()); - ///Marker type for the `digest` field - pub struct digest(()); ///Marker type for the `size` field pub struct size(()); + ///Marker type for the `digest` field + pub struct digest(()); } } @@ -224,8 +224,8 @@ impl<'a, S> BlobReferenceBuilder<'a, S> where S: blob_reference_state::State, S::MediaType: blob_reference_state::IsSet, - S::Digest: blob_reference_state::IsSet, S::Size: blob_reference_state::IsSet, + S::Digest: blob_reference_state::IsSet, { /// Build the final struct pub fn build(self) -> BlobReference<'a> { @@ -242,7 +242,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> BlobReference<'a> { @@ -266,7 +266,7 @@ fn lexicon_doc_io_atcr_manifest() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("blobReference"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("blobReference"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -275,9 +275,9 @@ fn lexicon_doc_io_atcr_manifest() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("mediaType"), - ::jacquard_common::smol_str::SmolStr::new_static("size"), - ::jacquard_common::smol_str::SmolStr::new_static("digest") + ::jacquard_common::deps::smol_str::SmolStr::new_static("mediaType"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("size"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("digest") ], ), nullable: None, @@ -285,7 +285,7 @@ fn lexicon_doc_io_atcr_manifest() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "annotations", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { @@ -293,7 +293,9 @@ fn lexicon_doc_io_atcr_manifest() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("digest"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "digest", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -312,7 +314,7 @@ fn lexicon_doc_io_atcr_manifest() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mediaType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -333,7 +335,9 @@ fn lexicon_doc_io_atcr_manifest() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "size", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -344,7 +348,9 @@ fn lexicon_doc_io_atcr_manifest() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("urls"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "urls", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -374,7 +380,7 @@ fn lexicon_doc_io_atcr_manifest() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -386,11 +392,11 @@ fn lexicon_doc_io_atcr_manifest() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("repository"), - ::jacquard_common::smol_str::SmolStr::new_static("digest"), - ::jacquard_common::smol_str::SmolStr::new_static("mediaType"), - ::jacquard_common::smol_str::SmolStr::new_static("schemaVersion"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("repository"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("digest"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("mediaType"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("schemaVersion"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -398,7 +404,7 @@ fn lexicon_doc_io_atcr_manifest() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "annotations", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { @@ -406,7 +412,9 @@ fn lexicon_doc_io_atcr_manifest() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("config"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "config", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -415,7 +423,7 @@ fn lexicon_doc_io_atcr_manifest() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -438,7 +446,9 @@ fn lexicon_doc_io_atcr_manifest() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("digest"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "digest", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -457,7 +467,9 @@ fn lexicon_doc_io_atcr_manifest() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("holdDid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "holdDid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -478,7 +490,7 @@ fn lexicon_doc_io_atcr_manifest() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "holdEndpoint", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -501,7 +513,9 @@ fn lexicon_doc_io_atcr_manifest() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("layers"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "layers", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -519,7 +533,7 @@ fn lexicon_doc_io_atcr_manifest() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "manifestBlob", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { @@ -529,7 +543,7 @@ fn lexicon_doc_io_atcr_manifest() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "manifests", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -549,7 +563,7 @@ fn lexicon_doc_io_atcr_manifest() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mediaType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -568,7 +582,7 @@ fn lexicon_doc_io_atcr_manifest() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "repository", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -589,7 +603,7 @@ fn lexicon_doc_io_atcr_manifest() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "schemaVersion", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -602,7 +616,9 @@ fn lexicon_doc_io_atcr_manifest() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -616,7 +632,9 @@ fn lexicon_doc_io_atcr_manifest() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("manifestReference"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "manifestReference", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -625,9 +643,9 @@ fn lexicon_doc_io_atcr_manifest() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("mediaType"), - ::jacquard_common::smol_str::SmolStr::new_static("size"), - ::jacquard_common::smol_str::SmolStr::new_static("digest") + ::jacquard_common::deps::smol_str::SmolStr::new_static("mediaType"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("size"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("digest") ], ), nullable: None, @@ -635,7 +653,7 @@ fn lexicon_doc_io_atcr_manifest() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "annotations", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { @@ -643,7 +661,9 @@ fn lexicon_doc_io_atcr_manifest() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("digest"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "digest", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -662,7 +682,7 @@ fn lexicon_doc_io_atcr_manifest() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mediaType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -683,14 +703,18 @@ fn lexicon_doc_io_atcr_manifest() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("platform"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "platform", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#platform"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "size", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -705,7 +729,7 @@ fn lexicon_doc_io_atcr_manifest() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("platform"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("platform"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -714,8 +738,8 @@ fn lexicon_doc_io_atcr_manifest() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("architecture"), - ::jacquard_common::smol_str::SmolStr::new_static("os") + ::jacquard_common::deps::smol_str::SmolStr::new_static("architecture"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("os") ], ), nullable: None, @@ -723,7 +747,7 @@ fn lexicon_doc_io_atcr_manifest() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "architecture", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -744,7 +768,7 @@ fn lexicon_doc_io_atcr_manifest() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("os"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("os"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -763,7 +787,7 @@ fn lexicon_doc_io_atcr_manifest() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "osFeatures", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -789,7 +813,7 @@ fn lexicon_doc_io_atcr_manifest() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "osVersion", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -808,7 +832,9 @@ fn lexicon_doc_io_atcr_manifest() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("variant"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "variant", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -950,85 +976,85 @@ pub mod manifest_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type SchemaVersion; - type MediaType; type Digest; - type CreatedAt; type Repository; + type CreatedAt; + type MediaType; + type SchemaVersion; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type SchemaVersion = Unset; - type MediaType = Unset; type Digest = Unset; - type CreatedAt = Unset; type Repository = Unset; - } - ///State transition - sets the `schema_version` field to Set - pub struct SetSchemaVersion(PhantomData S>); - impl sealed::Sealed for SetSchemaVersion {} - impl State for SetSchemaVersion { - type SchemaVersion = Set; - type MediaType = S::MediaType; - type Digest = S::Digest; - type CreatedAt = S::CreatedAt; - type Repository = S::Repository; - } - ///State transition - sets the `media_type` field to Set - pub struct SetMediaType(PhantomData S>); - impl sealed::Sealed for SetMediaType {} - impl State for SetMediaType { - type SchemaVersion = S::SchemaVersion; - type MediaType = Set; - type Digest = S::Digest; - type CreatedAt = S::CreatedAt; - type Repository = S::Repository; + type CreatedAt = Unset; + type MediaType = Unset; + type SchemaVersion = Unset; } ///State transition - sets the `digest` field to Set pub struct SetDigest(PhantomData S>); impl sealed::Sealed for SetDigest {} impl State for SetDigest { - type SchemaVersion = S::SchemaVersion; - type MediaType = S::MediaType; type Digest = Set; - type CreatedAt = S::CreatedAt; type Repository = S::Repository; + type CreatedAt = S::CreatedAt; + type MediaType = S::MediaType; + type SchemaVersion = S::SchemaVersion; + } + ///State transition - sets the `repository` field to Set + pub struct SetRepository(PhantomData S>); + impl sealed::Sealed for SetRepository {} + impl State for SetRepository { + type Digest = S::Digest; + type Repository = Set; + type CreatedAt = S::CreatedAt; + type MediaType = S::MediaType; + type SchemaVersion = S::SchemaVersion; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type SchemaVersion = S::SchemaVersion; - type MediaType = S::MediaType; type Digest = S::Digest; - type CreatedAt = Set; type Repository = S::Repository; + type CreatedAt = Set; + type MediaType = S::MediaType; + type SchemaVersion = S::SchemaVersion; } - ///State transition - sets the `repository` field to Set - pub struct SetRepository(PhantomData S>); - impl sealed::Sealed for SetRepository {} - impl State for SetRepository { + ///State transition - sets the `media_type` field to Set + pub struct SetMediaType(PhantomData S>); + impl sealed::Sealed for SetMediaType {} + impl State for SetMediaType { + type Digest = S::Digest; + type Repository = S::Repository; + type CreatedAt = S::CreatedAt; + type MediaType = Set; type SchemaVersion = S::SchemaVersion; - type MediaType = S::MediaType; + } + ///State transition - sets the `schema_version` field to Set + pub struct SetSchemaVersion(PhantomData S>); + impl sealed::Sealed for SetSchemaVersion {} + impl State for SetSchemaVersion { type Digest = S::Digest; + type Repository = S::Repository; type CreatedAt = S::CreatedAt; - type Repository = Set; + type MediaType = S::MediaType; + type SchemaVersion = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `schema_version` field - pub struct schema_version(()); - ///Marker type for the `media_type` field - pub struct media_type(()); ///Marker type for the `digest` field pub struct digest(()); - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `repository` field pub struct repository(()); + ///Marker type for the `created_at` field + pub struct created_at(()); + ///Marker type for the `media_type` field + pub struct media_type(()); + ///Marker type for the `schema_version` field + pub struct schema_version(()); } } @@ -1335,11 +1361,11 @@ impl<'a, S: manifest_state::State> ManifestBuilder<'a, S> { impl<'a, S> ManifestBuilder<'a, S> where S: manifest_state::State, - S::SchemaVersion: manifest_state::IsSet, - S::MediaType: manifest_state::IsSet, S::Digest: manifest_state::IsSet, - S::CreatedAt: manifest_state::IsSet, S::Repository: manifest_state::IsSet, + S::CreatedAt: manifest_state::IsSet, + S::MediaType: manifest_state::IsSet, + S::SchemaVersion: manifest_state::IsSet, { /// Build the final struct pub fn build(self) -> Manifest<'a> { @@ -1364,7 +1390,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Manifest<'a> { @@ -1676,49 +1702,49 @@ pub mod manifest_reference_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type MediaType; type Size; + type MediaType; type Digest; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type MediaType = Unset; type Size = Unset; + type MediaType = Unset; type Digest = Unset; } - ///State transition - sets the `media_type` field to Set - pub struct SetMediaType(PhantomData S>); - impl sealed::Sealed for SetMediaType {} - impl State for SetMediaType { - type MediaType = Set; - type Size = S::Size; - type Digest = S::Digest; - } ///State transition - sets the `size` field to Set pub struct SetSize(PhantomData S>); impl sealed::Sealed for SetSize {} impl State for SetSize { - type MediaType = S::MediaType; type Size = Set; + type MediaType = S::MediaType; + type Digest = S::Digest; + } + ///State transition - sets the `media_type` field to Set + pub struct SetMediaType(PhantomData S>); + impl sealed::Sealed for SetMediaType {} + impl State for SetMediaType { + type Size = S::Size; + type MediaType = Set; type Digest = S::Digest; } ///State transition - sets the `digest` field to Set pub struct SetDigest(PhantomData S>); impl sealed::Sealed for SetDigest {} impl State for SetDigest { - type MediaType = S::MediaType; type Size = S::Size; + type MediaType = S::MediaType; type Digest = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `media_type` field - pub struct media_type(()); ///Marker type for the `size` field pub struct size(()); + ///Marker type for the `media_type` field + pub struct media_type(()); ///Marker type for the `digest` field pub struct digest(()); } @@ -1853,8 +1879,8 @@ where impl<'a, S> ManifestReferenceBuilder<'a, S> where S: manifest_reference_state::State, - S::MediaType: manifest_reference_state::IsSet, S::Size: manifest_reference_state::IsSet, + S::MediaType: manifest_reference_state::IsSet, S::Digest: manifest_reference_state::IsSet, { /// Build the final struct @@ -1872,7 +1898,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ManifestReference<'a> { diff --git a/crates/jacquard-api/src/io_atcr/repo/page.rs b/crates/jacquard-api/src/io_atcr/repo/page.rs index 99052cdcd..696963e01 100644 --- a/crates/jacquard-api/src/io_atcr/repo/page.rs +++ b/crates/jacquard-api/src/io_atcr/repo/page.rs @@ -45,51 +45,51 @@ pub mod page_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type UpdatedAt; type Repository; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type UpdatedAt = Unset; type Repository = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type UpdatedAt = S::UpdatedAt; - type Repository = S::Repository; + type CreatedAt = Unset; } ///State transition - sets the `updated_at` field to Set pub struct SetUpdatedAt(PhantomData S>); impl sealed::Sealed for SetUpdatedAt {} impl State for SetUpdatedAt { - type CreatedAt = S::CreatedAt; type UpdatedAt = Set; type Repository = S::Repository; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `repository` field to Set pub struct SetRepository(PhantomData S>); impl sealed::Sealed for SetRepository {} impl State for SetRepository { - type CreatedAt = S::CreatedAt; type UpdatedAt = S::UpdatedAt; type Repository = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type UpdatedAt = S::UpdatedAt; + type Repository = S::Repository; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `updated_at` field pub struct updated_at(()); ///Marker type for the `repository` field pub struct repository(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -222,9 +222,9 @@ where impl<'a, S> PageBuilder<'a, S> where S: page_state::State, - S::CreatedAt: page_state::IsSet, S::UpdatedAt: page_state::IsSet, S::Repository: page_state::IsSet, + S::CreatedAt: page_state::IsSet, { /// Build the final struct pub fn build(self) -> Page<'a> { @@ -241,7 +241,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Page<'a> { @@ -368,7 +368,7 @@ fn lexicon_doc_io_atcr_repo_page() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -380,9 +380,9 @@ fn lexicon_doc_io_atcr_repo_page() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("repository"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt"), - ::jacquard_common::smol_str::SmolStr::new_static("updatedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("repository"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("updatedAt") ], ), nullable: None, @@ -390,7 +390,9 @@ fn lexicon_doc_io_atcr_repo_page() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("avatar"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "avatar", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -398,7 +400,7 @@ fn lexicon_doc_io_atcr_repo_page() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -421,7 +423,7 @@ fn lexicon_doc_io_atcr_repo_page() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -442,7 +444,7 @@ fn lexicon_doc_io_atcr_repo_page() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "repository", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -463,7 +465,7 @@ fn lexicon_doc_io_atcr_repo_page() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/io_atcr/sailor/profile.rs b/crates/jacquard-api/src/io_atcr/sailor/profile.rs index 000e013bf..c4bc31e30 100644 --- a/crates/jacquard-api/src/io_atcr/sailor/profile.rs +++ b/crates/jacquard-api/src/io_atcr/sailor/profile.rs @@ -165,7 +165,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Profile<'a> { @@ -267,7 +267,7 @@ fn lexicon_doc_io_atcr_sailor_profile() -> ::jacquard_lexicon::lexicon::LexiconD defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -279,7 +279,7 @@ fn lexicon_doc_io_atcr_sailor_profile() -> ::jacquard_lexicon::lexicon::LexiconD description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -287,7 +287,7 @@ fn lexicon_doc_io_atcr_sailor_profile() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -310,7 +310,7 @@ fn lexicon_doc_io_atcr_sailor_profile() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "defaultHold", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -333,7 +333,7 @@ fn lexicon_doc_io_atcr_sailor_profile() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/io_atcr/sailor/star.rs b/crates/jacquard-api/src/io_atcr/sailor/star.rs index eeb777de4..589a86cbb 100644 --- a/crates/jacquard-api/src/io_atcr/sailor/star.rs +++ b/crates/jacquard-api/src/io_atcr/sailor/star.rs @@ -35,37 +35,37 @@ pub mod star_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type Subject; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type Subject = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Subject = S::Subject; + type CreatedAt = Unset; } ///State transition - sets the `subject` field to Set pub struct SetSubject(PhantomData S>); impl sealed::Sealed for SetSubject {} impl State for SetSubject { - type CreatedAt = S::CreatedAt; type Subject = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Subject = S::Subject; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `subject` field pub struct subject(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -138,8 +138,8 @@ where impl<'a, S> StarBuilder<'a, S> where S: star_state::State, - S::CreatedAt: star_state::IsSet, S::Subject: star_state::IsSet, + S::CreatedAt: star_state::IsSet, { /// Build the final struct pub fn build(self) -> Star<'a> { @@ -153,7 +153,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Star<'a> { @@ -254,7 +254,7 @@ fn lexicon_doc_io_atcr_sailor_star() -> ::jacquard_lexicon::lexicon::LexiconDoc< defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -266,8 +266,8 @@ fn lexicon_doc_io_atcr_sailor_star() -> ::jacquard_lexicon::lexicon::LexiconDoc< description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -275,7 +275,7 @@ fn lexicon_doc_io_atcr_sailor_star() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -298,7 +298,9 @@ fn lexicon_doc_io_atcr_sailor_star() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/io_atcr/sailor/webhook.rs b/crates/jacquard-api/src/io_atcr/sailor/webhook.rs index 1e39966a3..7cacaeb02 100644 --- a/crates/jacquard-api/src/io_atcr/sailor/webhook.rs +++ b/crates/jacquard-api/src/io_atcr/sailor/webhook.rs @@ -43,67 +43,67 @@ pub mod webhook_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Triggers; - type PrivateCid; type HoldDid; type CreatedAt; + type PrivateCid; + type Triggers; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Triggers = Unset; - type PrivateCid = Unset; type HoldDid = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `triggers` field to Set - pub struct SetTriggers(PhantomData S>); - impl sealed::Sealed for SetTriggers {} - impl State for SetTriggers { - type Triggers = Set; - type PrivateCid = S::PrivateCid; - type HoldDid = S::HoldDid; - type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `private_cid` field to Set - pub struct SetPrivateCid(PhantomData S>); - impl sealed::Sealed for SetPrivateCid {} - impl State for SetPrivateCid { - type Triggers = S::Triggers; - type PrivateCid = Set; - type HoldDid = S::HoldDid; - type CreatedAt = S::CreatedAt; + type PrivateCid = Unset; + type Triggers = Unset; } ///State transition - sets the `hold_did` field to Set pub struct SetHoldDid(PhantomData S>); impl sealed::Sealed for SetHoldDid {} impl State for SetHoldDid { - type Triggers = S::Triggers; - type PrivateCid = S::PrivateCid; type HoldDid = Set; type CreatedAt = S::CreatedAt; + type PrivateCid = S::PrivateCid; + type Triggers = S::Triggers; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Triggers = S::Triggers; - type PrivateCid = S::PrivateCid; type HoldDid = S::HoldDid; type CreatedAt = Set; + type PrivateCid = S::PrivateCid; + type Triggers = S::Triggers; + } + ///State transition - sets the `private_cid` field to Set + pub struct SetPrivateCid(PhantomData S>); + impl sealed::Sealed for SetPrivateCid {} + impl State for SetPrivateCid { + type HoldDid = S::HoldDid; + type CreatedAt = S::CreatedAt; + type PrivateCid = Set; + type Triggers = S::Triggers; + } + ///State transition - sets the `triggers` field to Set + pub struct SetTriggers(PhantomData S>); + impl sealed::Sealed for SetTriggers {} + impl State for SetTriggers { + type HoldDid = S::HoldDid; + type CreatedAt = S::CreatedAt; + type PrivateCid = S::PrivateCid; + type Triggers = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `triggers` field - pub struct triggers(()); - ///Marker type for the `private_cid` field - pub struct private_cid(()); ///Marker type for the `hold_did` field pub struct hold_did(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `private_cid` field + pub struct private_cid(()); + ///Marker type for the `triggers` field + pub struct triggers(()); } } @@ -236,10 +236,10 @@ impl<'a, S: webhook_state::State> WebhookBuilder<'a, S> { impl<'a, S> WebhookBuilder<'a, S> where S: webhook_state::State, - S::Triggers: webhook_state::IsSet, - S::PrivateCid: webhook_state::IsSet, S::HoldDid: webhook_state::IsSet, S::CreatedAt: webhook_state::IsSet, + S::PrivateCid: webhook_state::IsSet, + S::Triggers: webhook_state::IsSet, { /// Build the final struct pub fn build(self) -> Webhook<'a> { @@ -256,7 +256,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Webhook<'a> { @@ -385,7 +385,7 @@ fn lexicon_doc_io_atcr_sailor_webhook() -> ::jacquard_lexicon::lexicon::LexiconD defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -397,10 +397,10 @@ fn lexicon_doc_io_atcr_sailor_webhook() -> ::jacquard_lexicon::lexicon::LexiconD description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("holdDid"), - ::jacquard_common::smol_str::SmolStr::new_static("triggers"), - ::jacquard_common::smol_str::SmolStr::new_static("privateCid"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("holdDid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("triggers"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("privateCid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -408,7 +408,7 @@ fn lexicon_doc_io_atcr_sailor_webhook() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -431,7 +431,9 @@ fn lexicon_doc_io_atcr_sailor_webhook() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("holdDid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "holdDid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -452,7 +454,7 @@ fn lexicon_doc_io_atcr_sailor_webhook() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "privateCid", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -473,7 +475,7 @@ fn lexicon_doc_io_atcr_sailor_webhook() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "triggers", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -486,7 +488,7 @@ fn lexicon_doc_io_atcr_sailor_webhook() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/io_atcr/tag.rs b/crates/jacquard-api/src/io_atcr/tag.rs index 5d2b3c267..3ec5f66e3 100644 --- a/crates/jacquard-api/src/io_atcr/tag.rs +++ b/crates/jacquard-api/src/io_atcr/tag.rs @@ -47,37 +47,37 @@ pub mod tag_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Repository; type Tag; + type Repository; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Repository = Unset; type Tag = Unset; - } - ///State transition - sets the `repository` field to Set - pub struct SetRepository(PhantomData S>); - impl sealed::Sealed for SetRepository {} - impl State for SetRepository { - type Repository = Set; - type Tag = S::Tag; + type Repository = Unset; } ///State transition - sets the `tag` field to Set pub struct SetTag(PhantomData S>); impl sealed::Sealed for SetTag {} impl State for SetTag { - type Repository = S::Repository; type Tag = Set; + type Repository = S::Repository; + } + ///State transition - sets the `repository` field to Set + pub struct SetRepository(PhantomData S>); + impl sealed::Sealed for SetRepository {} + impl State for SetRepository { + type Tag = S::Tag; + type Repository = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `repository` field - pub struct repository(()); ///Marker type for the `tag` field pub struct tag(()); + ///Marker type for the `repository` field + pub struct repository(()); } } @@ -210,8 +210,8 @@ impl<'a, S: tag_state::State> TagBuilder<'a, S> { impl<'a, S> TagBuilder<'a, S> where S: tag_state::State, - S::Repository: tag_state::IsSet, S::Tag: tag_state::IsSet, + S::Repository: tag_state::IsSet, { /// Build the final struct pub fn build(self) -> Tag<'a> { @@ -228,7 +228,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Tag<'a> { @@ -368,7 +368,7 @@ fn lexicon_doc_io_atcr_tag() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -380,8 +380,8 @@ fn lexicon_doc_io_atcr_tag() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("repository"), - ::jacquard_common::smol_str::SmolStr::new_static("tag") + ::jacquard_common::deps::smol_str::SmolStr::new_static("repository"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("tag") ], ), nullable: None, @@ -389,7 +389,7 @@ fn lexicon_doc_io_atcr_tag() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "manifest", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -412,7 +412,7 @@ fn lexicon_doc_io_atcr_tag() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "manifestDigest", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -433,7 +433,7 @@ fn lexicon_doc_io_atcr_tag() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "repository", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -454,7 +454,9 @@ fn lexicon_doc_io_atcr_tag() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tag"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tag", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -473,7 +475,7 @@ fn lexicon_doc_io_atcr_tag() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/io_kich/accomplishment.rs b/crates/jacquard-api/src/io_kich/accomplishment.rs index 6f414c56f..7b3875b09 100644 --- a/crates/jacquard-api/src/io_kich/accomplishment.rs +++ b/crates/jacquard-api/src/io_kich/accomplishment.rs @@ -176,7 +176,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Accomplishment<'a> { @@ -278,7 +278,7 @@ fn lexicon_doc_io_kich_accomplishment() -> ::jacquard_lexicon::lexicon::LexiconD defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("any")), @@ -286,8 +286,8 @@ fn lexicon_doc_io_kich_accomplishment() -> ::jacquard_lexicon::lexicon::LexiconD description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("type"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -295,7 +295,7 @@ fn lexicon_doc_io_kich_accomplishment() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -314,7 +314,7 @@ fn lexicon_doc_io_kich_accomplishment() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "metadata", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { @@ -322,7 +322,9 @@ fn lexicon_doc_io_kich_accomplishment() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "type", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/io_kich/graph.rs b/crates/jacquard-api/src/io_kich/graph.rs index b84c236e4..51d24e62f 100644 --- a/crates/jacquard-api/src/io_kich/graph.rs +++ b/crates/jacquard-api/src/io_kich/graph.rs @@ -30,7 +30,7 @@ fn lexicon_doc_io_kich_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/io_kich/graph/follow.rs b/crates/jacquard-api/src/io_kich/graph/follow.rs index a3e6ce17b..f02816ef9 100644 --- a/crates/jacquard-api/src/io_kich/graph/follow.rs +++ b/crates/jacquard-api/src/io_kich/graph/follow.rs @@ -152,7 +152,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Follow<'a> { @@ -253,7 +253,7 @@ fn lexicon_doc_io_kich_graph_follow() -> ::jacquard_lexicon::lexicon::LexiconDoc defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -261,8 +261,8 @@ fn lexicon_doc_io_kich_graph_follow() -> ::jacquard_lexicon::lexicon::LexiconDoc description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -270,7 +270,7 @@ fn lexicon_doc_io_kich_graph_follow() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -293,7 +293,9 @@ fn lexicon_doc_io_kich_graph_follow() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/io_kich/profile.rs b/crates/jacquard-api/src/io_kich/profile.rs index 6d8da5f13..35efe7508 100644 --- a/crates/jacquard-api/src/io_kich/profile.rs +++ b/crates/jacquard-api/src/io_kich/profile.rs @@ -140,7 +140,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Profile<'a> { @@ -251,7 +251,7 @@ fn lexicon_doc_io_kich_profile() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -259,7 +259,7 @@ fn lexicon_doc_io_kich_profile() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -267,7 +267,7 @@ fn lexicon_doc_io_kich_profile() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -290,7 +290,7 @@ fn lexicon_doc_io_kich_profile() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/io_kich/recipe.rs b/crates/jacquard-api/src/io_kich/recipe.rs index 8600de0aa..4045cbfd2 100644 --- a/crates/jacquard-api/src/io_kich/recipe.rs +++ b/crates/jacquard-api/src/io_kich/recipe.rs @@ -37,7 +37,7 @@ fn lexicon_doc_io_kich_recipe_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/io_kich/recipe/collection.rs b/crates/jacquard-api/src/io_kich/recipe/collection.rs index 1f6ca398f..1c2d884ce 100644 --- a/crates/jacquard-api/src/io_kich/recipe/collection.rs +++ b/crates/jacquard-api/src/io_kich/recipe/collection.rs @@ -41,37 +41,37 @@ pub mod collection_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Name; type CreatedAt; + type Name; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Name = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `name` field to Set - pub struct SetName(PhantomData S>); - impl sealed::Sealed for SetName {} - impl State for SetName { - type Name = Set; - type CreatedAt = S::CreatedAt; + type Name = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Name = S::Name; type CreatedAt = Set; + type Name = S::Name; + } + ///State transition - sets the `name` field to Set + pub struct SetName(PhantomData S>); + impl sealed::Sealed for SetName {} + impl State for SetName { + type CreatedAt = S::CreatedAt; + type Name = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `name` field - pub struct name(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `name` field + pub struct name(()); } } @@ -184,8 +184,8 @@ impl<'a, S: collection_state::State> CollectionBuilder<'a, S> { impl<'a, S> CollectionBuilder<'a, S> where S: collection_state::State, - S::Name: collection_state::IsSet, S::CreatedAt: collection_state::IsSet, + S::Name: collection_state::IsSet, { /// Build the final struct pub fn build(self) -> Collection<'a> { @@ -201,7 +201,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Collection<'a> { @@ -342,7 +342,7 @@ fn lexicon_doc_io_kich_recipe_collection() -> ::jacquard_lexicon::lexicon::Lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -350,8 +350,8 @@ fn lexicon_doc_io_kich_recipe_collection() -> ::jacquard_lexicon::lexicon::Lexic description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -359,7 +359,7 @@ fn lexicon_doc_io_kich_recipe_collection() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -382,7 +382,7 @@ fn lexicon_doc_io_kich_recipe_collection() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -403,7 +403,9 @@ fn lexicon_doc_io_kich_recipe_collection() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -422,7 +424,7 @@ fn lexicon_doc_io_kich_recipe_collection() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/io_kich/recipe/collectionfollow.rs b/crates/jacquard-api/src/io_kich/recipe/collectionfollow.rs index 2f6b36cfa..af422c0ce 100644 --- a/crates/jacquard-api/src/io_kich/recipe/collectionfollow.rs +++ b/crates/jacquard-api/src/io_kich/recipe/collectionfollow.rs @@ -152,7 +152,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Collectionfollow<'a> { @@ -253,7 +253,7 @@ fn lexicon_doc_io_kich_recipe_collectionfollow() -> ::jacquard_lexicon::lexicon: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -261,8 +261,8 @@ fn lexicon_doc_io_kich_recipe_collectionfollow() -> ::jacquard_lexicon::lexicon: description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -270,7 +270,7 @@ fn lexicon_doc_io_kich_recipe_collectionfollow() -> ::jacquard_lexicon::lexicon: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -293,7 +293,9 @@ fn lexicon_doc_io_kich_recipe_collectionfollow() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/io_kich/recipe/collectionitem.rs b/crates/jacquard-api/src/io_kich/recipe/collectionitem.rs index 5df340425..1724aa7fc 100644 --- a/crates/jacquard-api/src/io_kich/recipe/collectionitem.rs +++ b/crates/jacquard-api/src/io_kich/recipe/collectionitem.rs @@ -209,7 +209,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Collectionitem<'a> { @@ -312,7 +312,7 @@ fn lexicon_doc_io_kich_recipe_collectionitem() -> ::jacquard_lexicon::lexicon::L defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -320,9 +320,9 @@ fn lexicon_doc_io_kich_recipe_collectionitem() -> ::jacquard_lexicon::lexicon::L description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("collection"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("collection"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -330,7 +330,7 @@ fn lexicon_doc_io_kich_recipe_collectionitem() -> ::jacquard_lexicon::lexicon::L #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "collection", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -353,7 +353,7 @@ fn lexicon_doc_io_kich_recipe_collectionitem() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -376,7 +376,7 @@ fn lexicon_doc_io_kich_recipe_collectionitem() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "position", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -389,7 +389,9 @@ fn lexicon_doc_io_kich_recipe_collectionitem() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/io_kich/recipe/like.rs b/crates/jacquard-api/src/io_kich/recipe/like.rs index 6ddb2b5de..e5716986a 100644 --- a/crates/jacquard-api/src/io_kich/recipe/like.rs +++ b/crates/jacquard-api/src/io_kich/recipe/like.rs @@ -174,7 +174,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Like<'a> { @@ -276,7 +276,7 @@ fn lexicon_doc_io_kich_recipe_like() -> ::jacquard_lexicon::lexicon::LexiconDoc< defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -284,8 +284,8 @@ fn lexicon_doc_io_kich_recipe_like() -> ::jacquard_lexicon::lexicon::LexiconDoc< description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -293,7 +293,7 @@ fn lexicon_doc_io_kich_recipe_like() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -312,7 +312,9 @@ fn lexicon_doc_io_kich_recipe_like() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -321,7 +323,9 @@ fn lexicon_doc_io_kich_recipe_like() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("via"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "via", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/io_kich/recipe/recipe.rs b/crates/jacquard-api/src/io_kich/recipe/recipe.rs index 1bbe69077..7bde9995b 100644 --- a/crates/jacquard-api/src/io_kich/recipe/recipe.rs +++ b/crates/jacquard-api/src/io_kich/recipe/recipe.rs @@ -51,51 +51,51 @@ pub mod ingredient_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Grams; type Name; type Id; - type Grams; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Grams = Unset; type Name = Unset; type Id = Unset; - type Grams = Unset; + } + ///State transition - sets the `grams` field to Set + pub struct SetGrams(PhantomData S>); + impl sealed::Sealed for SetGrams {} + impl State for SetGrams { + type Grams = Set; + type Name = S::Name; + type Id = S::Id; } ///State transition - sets the `name` field to Set pub struct SetName(PhantomData S>); impl sealed::Sealed for SetName {} impl State for SetName { + type Grams = S::Grams; type Name = Set; type Id = S::Id; - type Grams = S::Grams; } ///State transition - sets the `id` field to Set pub struct SetId(PhantomData S>); impl sealed::Sealed for SetId {} impl State for SetId { - type Name = S::Name; - type Id = Set; type Grams = S::Grams; - } - ///State transition - sets the `grams` field to Set - pub struct SetGrams(PhantomData S>); - impl sealed::Sealed for SetGrams {} - impl State for SetGrams { type Name = S::Name; - type Id = S::Id; - type Grams = Set; + type Id = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `grams` field + pub struct grams(()); ///Marker type for the `name` field pub struct name(()); ///Marker type for the `id` field pub struct id(()); - ///Marker type for the `grams` field - pub struct grams(()); } } @@ -250,9 +250,9 @@ impl<'a, S: ingredient_state::State> IngredientBuilder<'a, S> { impl<'a, S> IngredientBuilder<'a, S> where S: ingredient_state::State, + S::Grams: ingredient_state::IsSet, S::Name: ingredient_state::IsSet, S::Id: ingredient_state::IsSet, - S::Grams: ingredient_state::IsSet, { /// Build the final struct pub fn build(self) -> Ingredient<'a> { @@ -271,7 +271,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Ingredient<'a> { @@ -299,14 +299,14 @@ fn lexicon_doc_io_kich_recipe_recipe() -> ::jacquard_lexicon::lexicon::LexiconDo defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("ingredient"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("ingredient"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("id"), - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("grams") + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("grams") ], ), nullable: None, @@ -314,7 +314,9 @@ fn lexicon_doc_io_kich_recipe_recipe() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("grams"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "grams", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -325,7 +327,9 @@ fn lexicon_doc_io_kich_recipe_recipe() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("group"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "group", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -344,7 +348,7 @@ fn lexicon_doc_io_kich_recipe_recipe() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -363,7 +367,7 @@ fn lexicon_doc_io_kich_recipe_recipe() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isDetached", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -373,7 +377,7 @@ fn lexicon_doc_io_kich_recipe_recipe() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isOptional", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -383,7 +387,9 @@ fn lexicon_doc_io_kich_recipe_recipe() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Ingredient name"), @@ -400,7 +406,9 @@ fn lexicon_doc_io_kich_recipe_recipe() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("notes"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "notes", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -423,13 +431,15 @@ fn lexicon_doc_io_kich_recipe_recipe() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("instructionStep"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "instructionStep", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("id"), - ::jacquard_common::smol_str::SmolStr::new_static("value") + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("value") ], ), nullable: None, @@ -437,7 +447,7 @@ fn lexicon_doc_io_kich_recipe_recipe() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -456,7 +466,9 @@ fn lexicon_doc_io_kich_recipe_recipe() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("value"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "value", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Instruction text"), @@ -477,7 +489,7 @@ fn lexicon_doc_io_kich_recipe_recipe() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -485,9 +497,9 @@ fn lexicon_doc_io_kich_recipe_recipe() -> ::jacquard_lexicon::lexicon::LexiconDo description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("servings"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("servings"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -495,7 +507,7 @@ fn lexicon_doc_io_kich_recipe_recipe() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "cookTimeMinutes", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -508,7 +520,7 @@ fn lexicon_doc_io_kich_recipe_recipe() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -531,7 +543,7 @@ fn lexicon_doc_io_kich_recipe_recipe() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdBy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -542,7 +554,7 @@ fn lexicon_doc_io_kich_recipe_recipe() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -561,7 +573,7 @@ fn lexicon_doc_io_kich_recipe_recipe() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "imageUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -584,7 +596,7 @@ fn lexicon_doc_io_kich_recipe_recipe() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "ingredients", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -600,7 +612,7 @@ fn lexicon_doc_io_kich_recipe_recipe() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "instructions", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -620,7 +632,7 @@ fn lexicon_doc_io_kich_recipe_recipe() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isPrivate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -630,7 +642,9 @@ fn lexicon_doc_io_kich_recipe_recipe() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Recipe name"), @@ -647,7 +661,7 @@ fn lexicon_doc_io_kich_recipe_recipe() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "prepTimeMinutes", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -660,7 +674,7 @@ fn lexicon_doc_io_kich_recipe_recipe() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "servings", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -673,7 +687,9 @@ fn lexicon_doc_io_kich_recipe_recipe() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("source"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "source", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -692,7 +708,7 @@ fn lexicon_doc_io_kich_recipe_recipe() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -715,7 +731,9 @@ fn lexicon_doc_io_kich_recipe_recipe() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -877,51 +895,51 @@ pub mod recipe_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; - type Name; type Servings; + type Name; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; - type Name = Unset; type Servings = Unset; + type Name = Unset; + type CreatedAt = Unset; } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; + ///State transition - sets the `servings` field to Set + pub struct SetServings(PhantomData S>); + impl sealed::Sealed for SetServings {} + impl State for SetServings { + type Servings = Set; type Name = S::Name; - type Servings = S::Servings; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `name` field to Set pub struct SetName(PhantomData S>); impl sealed::Sealed for SetName {} impl State for SetName { - type CreatedAt = S::CreatedAt; - type Name = Set; type Servings = S::Servings; - } - ///State transition - sets the `servings` field to Set - pub struct SetServings(PhantomData S>); - impl sealed::Sealed for SetServings {} - impl State for SetServings { + type Name = Set; type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Servings = S::Servings; type Name = S::Name; - type Servings = Set; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); - ///Marker type for the `name` field - pub struct name(()); ///Marker type for the `servings` field pub struct servings(()); + ///Marker type for the `name` field + pub struct name(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -1230,9 +1248,9 @@ impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { impl<'a, S> RecipeBuilder<'a, S> where S: recipe_state::State, - S::CreatedAt: recipe_state::IsSet, - S::Name: recipe_state::IsSet, S::Servings: recipe_state::IsSet, + S::Name: recipe_state::IsSet, + S::CreatedAt: recipe_state::IsSet, { /// Build the final struct pub fn build(self) -> Recipe<'a> { @@ -1258,7 +1276,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Recipe<'a> { diff --git a/crates/jacquard-api/src/io_kich/recipe/review.rs b/crates/jacquard-api/src/io_kich/recipe/review.rs index 20312b029..1e90b31e1 100644 --- a/crates/jacquard-api/src/io_kich/recipe/review.rs +++ b/crates/jacquard-api/src/io_kich/recipe/review.rs @@ -44,51 +44,51 @@ pub mod review_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type Rating; type Subject; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type Rating = Unset; type Subject = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Rating = S::Rating; - type Subject = S::Subject; + type CreatedAt = Unset; } ///State transition - sets the `rating` field to Set pub struct SetRating(PhantomData S>); impl sealed::Sealed for SetRating {} impl State for SetRating { - type CreatedAt = S::CreatedAt; type Rating = Set; type Subject = S::Subject; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `subject` field to Set pub struct SetSubject(PhantomData S>); impl sealed::Sealed for SetSubject {} impl State for SetSubject { - type CreatedAt = S::CreatedAt; type Rating = S::Rating; type Subject = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Rating = S::Rating; + type Subject = S::Subject; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `rating` field pub struct rating(()); ///Marker type for the `subject` field pub struct subject(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -218,9 +218,9 @@ impl<'a, S: review_state::State> ReviewBuilder<'a, S> { impl<'a, S> ReviewBuilder<'a, S> where S: review_state::State, - S::CreatedAt: review_state::IsSet, S::Rating: review_state::IsSet, S::Subject: review_state::IsSet, + S::CreatedAt: review_state::IsSet, { /// Build the final struct pub fn build(self) -> Review<'a> { @@ -237,7 +237,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Review<'a> { @@ -377,7 +377,7 @@ fn lexicon_doc_io_kich_recipe_review() -> ::jacquard_lexicon::lexicon::LexiconDo defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -389,9 +389,9 @@ fn lexicon_doc_io_kich_recipe_review() -> ::jacquard_lexicon::lexicon::LexiconDo description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("rating"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("rating"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -399,7 +399,9 @@ fn lexicon_doc_io_kich_recipe_review() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "comment", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -418,7 +420,7 @@ fn lexicon_doc_io_kich_recipe_review() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -441,7 +443,9 @@ fn lexicon_doc_io_kich_recipe_review() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rating"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "rating", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -452,7 +456,9 @@ fn lexicon_doc_io_kich_recipe_review() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -461,7 +467,7 @@ fn lexicon_doc_io_kich_recipe_review() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/io_livewire/p3k/podping00.rs b/crates/jacquard-api/src/io_livewire/p3k/podping00.rs index b889dc1c8..63505955b 100644 --- a/crates/jacquard-api/src/io_livewire/p3k/podping00.rs +++ b/crates/jacquard-api/src/io_livewire/p3k/podping00.rs @@ -153,7 +153,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Podping00<'a> { @@ -254,7 +254,7 @@ fn lexicon_doc_io_livewire_p3k_podping00() -> ::jacquard_lexicon::lexicon::Lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static("Podping v0.0."), @@ -264,8 +264,8 @@ fn lexicon_doc_io_livewire_p3k_podping00() -> ::jacquard_lexicon::lexicon::Lexic description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("url"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -273,7 +273,7 @@ fn lexicon_doc_io_livewire_p3k_podping00() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -296,7 +296,9 @@ fn lexicon_doc_io_livewire_p3k_podping00() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/io_sound/credit.rs b/crates/jacquard-api/src/io_sound/credit.rs index b37c92e64..d281f2926 100644 --- a/crates/jacquard-api/src/io_sound/credit.rs +++ b/crates/jacquard-api/src/io_sound/credit.rs @@ -159,7 +159,7 @@ fn lexicon_doc_io_sound_credit() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -168,8 +168,8 @@ fn lexicon_doc_io_sound_credit() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("role") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("role") ], ), nullable: None, @@ -177,7 +177,9 @@ fn lexicon_doc_io_sound_credit() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -196,7 +198,9 @@ fn lexicon_doc_io_sound_credit() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("role"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "role", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -215,7 +219,9 @@ fn lexicon_doc_io_sound_credit() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -273,7 +279,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Credit<'a> { { let value = &self.name; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -305,7 +311,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Credit<'a> { { let value = &self.role; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) diff --git a/crates/jacquard-api/src/io_sound/sequence.rs b/crates/jacquard-api/src/io_sound/sequence.rs index 7dee1fe89..2020c82e1 100644 --- a/crates/jacquard-api/src/io_sound/sequence.rs +++ b/crates/jacquard-api/src/io_sound/sequence.rs @@ -30,7 +30,7 @@ pub struct Sequence<'a> { pub credits: std::option::Option>>, /// Serialised and binary encoded array of events of the form `[beat, type, data...]`, where `data` parameters depend on `type` and the byte layout of the serialised data conforms to the Sequence spec at https://github.com/soundio/sequence. #[serde(with = "jacquard_common::serde_bytes_helper")] - pub events: bytes::Bytes, + pub events: jacquard_common::deps::bytes::Bytes, /// Identifies this sequence for playback by a "sequence" event. #[serde(skip_serializing_if = "std::option::Option::is_none")] pub id: std::option::Option, @@ -99,7 +99,7 @@ pub struct SequenceBuilder<'a, S: sequence_state::State> { __unsafe_private_named: ( ::core::option::Option>, ::core::option::Option>>, - ::core::option::Option, + ::core::option::Option, ::core::option::Option, ::core::option::Option>, ::core::option::Option, @@ -188,7 +188,7 @@ where /// Set the `events` field (required) pub fn events( mut self, - value: impl Into, + value: impl Into, ) -> SequenceBuilder<'a, sequence_state::SetEvents> { self.__unsafe_private_named.2 = ::core::option::Option::Some(value.into()); SequenceBuilder { @@ -362,7 +362,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Sequence<'a> { @@ -494,7 +494,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Sequence<'a> { } if let Some(ref value) = self.name { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -523,7 +523,7 @@ fn lexicon_doc_io_sound_sequence() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -535,7 +535,7 @@ fn lexicon_doc_io_sound_sequence() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("events") + ::jacquard_common::deps::smol_str::SmolStr::new_static("events") ], ), nullable: None, @@ -543,7 +543,7 @@ fn lexicon_doc_io_sound_sequence() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "bskyPostRef", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -554,7 +554,9 @@ fn lexicon_doc_io_sound_sequence() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("credits"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "credits", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -572,7 +574,9 @@ fn lexicon_doc_io_sound_sequence() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("events"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "events", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Bytes(::jacquard_lexicon::lexicon::LexBytes { description: None, max_length: Some(524288usize), @@ -580,7 +584,9 @@ fn lexicon_doc_io_sound_sequence() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "id", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -591,7 +597,9 @@ fn lexicon_doc_io_sound_sequence() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -610,7 +618,7 @@ fn lexicon_doc_io_sound_sequence() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publishedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -633,7 +641,7 @@ fn lexicon_doc_io_sound_sequence() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sequences", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -653,7 +661,9 @@ fn lexicon_doc_io_sound_sequence() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tags", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -677,7 +687,7 @@ fn lexicon_doc_io_sound_sequence() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -700,7 +710,9 @@ fn lexicon_doc_io_sound_sequence() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -721,7 +733,9 @@ fn lexicon_doc_io_sound_sequence() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("version"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "version", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, diff --git a/crates/jacquard-api/src/io_whiteley/ATlas/pin.rs b/crates/jacquard-api/src/io_whiteley/ATlas/pin.rs index 6011980fe..33372cda7 100644 --- a/crates/jacquard-api/src/io_whiteley/ATlas/pin.rs +++ b/crates/jacquard-api/src/io_whiteley/ATlas/pin.rs @@ -42,85 +42,85 @@ pub mod pin_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Description; + type PlacedAt; type Did; - type Longitude; type Latitude; - type PlacedAt; + type Longitude; + type Description; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Description = Unset; + type PlacedAt = Unset; type Did = Unset; - type Longitude = Unset; type Latitude = Unset; - type PlacedAt = Unset; + type Longitude = Unset; + type Description = Unset; } - ///State transition - sets the `description` field to Set - pub struct SetDescription(PhantomData S>); - impl sealed::Sealed for SetDescription {} - impl State for SetDescription { - type Description = Set; + ///State transition - sets the `placed_at` field to Set + pub struct SetPlacedAt(PhantomData S>); + impl sealed::Sealed for SetPlacedAt {} + impl State for SetPlacedAt { + type PlacedAt = Set; type Did = S::Did; - type Longitude = S::Longitude; type Latitude = S::Latitude; - type PlacedAt = S::PlacedAt; + type Longitude = S::Longitude; + type Description = S::Description; } ///State transition - sets the `did` field to Set pub struct SetDid(PhantomData S>); impl sealed::Sealed for SetDid {} impl State for SetDid { - type Description = S::Description; + type PlacedAt = S::PlacedAt; type Did = Set; - type Longitude = S::Longitude; type Latitude = S::Latitude; - type PlacedAt = S::PlacedAt; - } - ///State transition - sets the `longitude` field to Set - pub struct SetLongitude(PhantomData S>); - impl sealed::Sealed for SetLongitude {} - impl State for SetLongitude { + type Longitude = S::Longitude; type Description = S::Description; - type Did = S::Did; - type Longitude = Set; - type Latitude = S::Latitude; - type PlacedAt = S::PlacedAt; } ///State transition - sets the `latitude` field to Set pub struct SetLatitude(PhantomData S>); impl sealed::Sealed for SetLatitude {} impl State for SetLatitude { - type Description = S::Description; + type PlacedAt = S::PlacedAt; type Did = S::Did; - type Longitude = S::Longitude; type Latitude = Set; - type PlacedAt = S::PlacedAt; + type Longitude = S::Longitude; + type Description = S::Description; } - ///State transition - sets the `placed_at` field to Set - pub struct SetPlacedAt(PhantomData S>); - impl sealed::Sealed for SetPlacedAt {} - impl State for SetPlacedAt { + ///State transition - sets the `longitude` field to Set + pub struct SetLongitude(PhantomData S>); + impl sealed::Sealed for SetLongitude {} + impl State for SetLongitude { + type PlacedAt = S::PlacedAt; + type Did = S::Did; + type Latitude = S::Latitude; + type Longitude = Set; type Description = S::Description; + } + ///State transition - sets the `description` field to Set + pub struct SetDescription(PhantomData S>); + impl sealed::Sealed for SetDescription {} + impl State for SetDescription { + type PlacedAt = S::PlacedAt; type Did = S::Did; - type Longitude = S::Longitude; type Latitude = S::Latitude; - type PlacedAt = Set; + type Longitude = S::Longitude; + type Description = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `description` field - pub struct description(()); + ///Marker type for the `placed_at` field + pub struct placed_at(()); ///Marker type for the `did` field pub struct did(()); - ///Marker type for the `longitude` field - pub struct longitude(()); ///Marker type for the `latitude` field pub struct latitude(()); - ///Marker type for the `placed_at` field - pub struct placed_at(()); + ///Marker type for the `longitude` field + pub struct longitude(()); + ///Marker type for the `description` field + pub struct description(()); } } @@ -270,11 +270,11 @@ impl<'a, S: pin_state::State> PinBuilder<'a, S> { impl<'a, S> PinBuilder<'a, S> where S: pin_state::State, - S::Description: pin_state::IsSet, + S::PlacedAt: pin_state::IsSet, S::Did: pin_state::IsSet, - S::Longitude: pin_state::IsSet, S::Latitude: pin_state::IsSet, - S::PlacedAt: pin_state::IsSet, + S::Longitude: pin_state::IsSet, + S::Description: pin_state::IsSet, { /// Build the final struct pub fn build(self) -> Pin<'a> { @@ -292,7 +292,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Pin<'a> { @@ -448,7 +448,7 @@ fn lexicon_doc_io_whiteley_ATlas_pin() -> ::jacquard_lexicon::lexicon::LexiconDo defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -460,11 +460,11 @@ fn lexicon_doc_io_whiteley_ATlas_pin() -> ::jacquard_lexicon::lexicon::LexiconDo description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("did"), - ::jacquard_common::smol_str::SmolStr::new_static("longitude"), - ::jacquard_common::smol_str::SmolStr::new_static("latitude"), - ::jacquard_common::smol_str::SmolStr::new_static("description"), - ::jacquard_common::smol_str::SmolStr::new_static("placedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("longitude"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("latitude"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("description"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("placedAt") ], ), nullable: None, @@ -472,7 +472,7 @@ fn lexicon_doc_io_whiteley_ATlas_pin() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -489,7 +489,9 @@ fn lexicon_doc_io_whiteley_ATlas_pin() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -506,7 +508,7 @@ fn lexicon_doc_io_whiteley_ATlas_pin() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "latitude", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -523,7 +525,7 @@ fn lexicon_doc_io_whiteley_ATlas_pin() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "longitude", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -540,7 +542,7 @@ fn lexicon_doc_io_whiteley_ATlas_pin() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "placedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -559,7 +561,9 @@ fn lexicon_doc_io_whiteley_ATlas_pin() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("website"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "website", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, 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 1b0ea2bdf..4a6a5633a 100644 --- a/crates/jacquard-api/src/io_whiteley/luke/ATlas/pin.rs +++ b/crates/jacquard-api/src/io_whiteley/luke/ATlas/pin.rs @@ -42,85 +42,85 @@ pub mod pin_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Description; - type Latitude; - type Did; type PlacedAt; type Longitude; + type Did; + type Latitude; + type Description; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Description = Unset; - type Latitude = Unset; - type Did = Unset; type PlacedAt = Unset; type Longitude = Unset; + type Did = Unset; + type Latitude = Unset; + type Description = Unset; } - ///State transition - sets the `description` field to Set - pub struct SetDescription(PhantomData S>); - impl sealed::Sealed for SetDescription {} - impl State for SetDescription { - type Description = Set; + ///State transition - sets the `placed_at` field to Set + pub struct SetPlacedAt(PhantomData S>); + impl sealed::Sealed for SetPlacedAt {} + impl State for SetPlacedAt { + type PlacedAt = Set; + type Longitude = S::Longitude; + type Did = S::Did; type Latitude = S::Latitude; + type Description = S::Description; + } + ///State transition - sets the `longitude` field to Set + pub struct SetLongitude(PhantomData S>); + impl sealed::Sealed for SetLongitude {} + impl State for SetLongitude { + type PlacedAt = S::PlacedAt; + type Longitude = Set; type Did = S::Did; + type Latitude = S::Latitude; + type Description = S::Description; + } + ///State transition - sets the `did` field to Set + pub struct SetDid(PhantomData S>); + impl sealed::Sealed for SetDid {} + impl State for SetDid { type PlacedAt = S::PlacedAt; type Longitude = S::Longitude; + type Did = Set; + type Latitude = S::Latitude; + type Description = S::Description; } ///State transition - sets the `latitude` field to Set pub struct SetLatitude(PhantomData S>); impl sealed::Sealed for SetLatitude {} impl State for SetLatitude { - type Description = S::Description; - type Latitude = Set; - type Did = S::Did; type PlacedAt = S::PlacedAt; type Longitude = S::Longitude; - } - ///State transition - sets the `did` field to Set - pub struct SetDid(PhantomData S>); - impl sealed::Sealed for SetDid {} - impl State for SetDid { + type Did = S::Did; + type Latitude = Set; type Description = S::Description; - type Latitude = S::Latitude; - type Did = Set; + } + ///State transition - sets the `description` field to Set + pub struct SetDescription(PhantomData S>); + impl sealed::Sealed for SetDescription {} + impl State for SetDescription { type PlacedAt = S::PlacedAt; type Longitude = S::Longitude; - } - ///State transition - sets the `placed_at` field to Set - pub struct SetPlacedAt(PhantomData S>); - impl sealed::Sealed for SetPlacedAt {} - impl State for SetPlacedAt { - type Description = S::Description; - type Latitude = S::Latitude; type Did = S::Did; - type PlacedAt = Set; - type Longitude = S::Longitude; - } - ///State transition - sets the `longitude` field to Set - pub struct SetLongitude(PhantomData S>); - impl sealed::Sealed for SetLongitude {} - impl State for SetLongitude { - type Description = S::Description; type Latitude = S::Latitude; - type Did = S::Did; - type PlacedAt = S::PlacedAt; - type Longitude = Set; + type Description = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `description` field - pub struct description(()); - ///Marker type for the `latitude` field - pub struct latitude(()); - ///Marker type for the `did` field - pub struct did(()); ///Marker type for the `placed_at` field pub struct placed_at(()); ///Marker type for the `longitude` field pub struct longitude(()); + ///Marker type for the `did` field + pub struct did(()); + ///Marker type for the `latitude` field + pub struct latitude(()); + ///Marker type for the `description` field + pub struct description(()); } } @@ -270,11 +270,11 @@ impl<'a, S: pin_state::State> PinBuilder<'a, S> { impl<'a, S> PinBuilder<'a, S> where S: pin_state::State, - S::Description: pin_state::IsSet, - S::Latitude: pin_state::IsSet, - S::Did: pin_state::IsSet, S::PlacedAt: pin_state::IsSet, S::Longitude: pin_state::IsSet, + S::Did: pin_state::IsSet, + S::Latitude: pin_state::IsSet, + S::Description: pin_state::IsSet, { /// Build the final struct pub fn build(self) -> Pin<'a> { @@ -292,7 +292,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Pin<'a> { @@ -448,7 +448,7 @@ fn lexicon_doc_io_whiteley_luke_ATlas_pin() -> ::jacquard_lexicon::lexicon::Lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -460,11 +460,11 @@ fn lexicon_doc_io_whiteley_luke_ATlas_pin() -> ::jacquard_lexicon::lexicon::Lexi description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("did"), - ::jacquard_common::smol_str::SmolStr::new_static("longitude"), - ::jacquard_common::smol_str::SmolStr::new_static("latitude"), - ::jacquard_common::smol_str::SmolStr::new_static("description"), - ::jacquard_common::smol_str::SmolStr::new_static("placedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("longitude"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("latitude"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("description"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("placedAt") ], ), nullable: None, @@ -472,7 +472,7 @@ fn lexicon_doc_io_whiteley_luke_ATlas_pin() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -489,7 +489,9 @@ fn lexicon_doc_io_whiteley_luke_ATlas_pin() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -506,7 +508,7 @@ fn lexicon_doc_io_whiteley_luke_ATlas_pin() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "latitude", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -523,7 +525,7 @@ fn lexicon_doc_io_whiteley_luke_ATlas_pin() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "longitude", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -540,7 +542,7 @@ fn lexicon_doc_io_whiteley_luke_ATlas_pin() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "placedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -559,7 +561,9 @@ fn lexicon_doc_io_whiteley_luke_ATlas_pin() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("website"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "website", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, diff --git a/crates/jacquard-api/src/io_whiteside/linked_account.rs b/crates/jacquard-api/src/io_whiteside/linked_account.rs index 7a0da0186..5e068c791 100644 --- a/crates/jacquard-api/src/io_whiteside/linked_account.rs +++ b/crates/jacquard-api/src/io_whiteside/linked_account.rs @@ -42,51 +42,51 @@ pub mod linked_account_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Link; type Icon; type Name; - type Link; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Link = Unset; type Icon = Unset; type Name = Unset; - type Link = Unset; + } + ///State transition - sets the `link` field to Set + pub struct SetLink(PhantomData S>); + impl sealed::Sealed for SetLink {} + impl State for SetLink { + type Link = Set; + type Icon = S::Icon; + type Name = S::Name; } ///State transition - sets the `icon` field to Set pub struct SetIcon(PhantomData S>); impl sealed::Sealed for SetIcon {} impl State for SetIcon { + type Link = S::Link; type Icon = Set; type Name = S::Name; - type Link = S::Link; } ///State transition - sets the `name` field to Set pub struct SetName(PhantomData S>); impl sealed::Sealed for SetName {} impl State for SetName { - type Icon = S::Icon; - type Name = Set; type Link = S::Link; - } - ///State transition - sets the `link` field to Set - pub struct SetLink(PhantomData S>); - impl sealed::Sealed for SetLink {} - impl State for SetLink { type Icon = S::Icon; - type Name = S::Name; - type Link = Set; + type Name = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `link` field + pub struct link(()); ///Marker type for the `icon` field pub struct icon(()); ///Marker type for the `name` field pub struct name(()); - ///Marker type for the `link` field - pub struct link(()); } } @@ -193,9 +193,9 @@ impl<'a, S: linked_account_state::State> LinkedAccountBuilder<'a, S> { impl<'a, S> LinkedAccountBuilder<'a, S> where S: linked_account_state::State, + S::Link: linked_account_state::IsSet, S::Icon: linked_account_state::IsSet, S::Name: linked_account_state::IsSet, - S::Link: linked_account_state::IsSet, { /// Build the final struct pub fn build(self) -> LinkedAccount<'a> { @@ -211,7 +211,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> LinkedAccount<'a> { @@ -314,7 +314,7 @@ fn lexicon_doc_io_whiteside_linkedAccount() -> ::jacquard_lexicon::lexicon::Lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -326,9 +326,9 @@ fn lexicon_doc_io_whiteside_linkedAccount() -> ::jacquard_lexicon::lexicon::Lexi description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("icon"), - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("link") + ::jacquard_common::deps::smol_str::SmolStr::new_static("icon"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("link") ], ), nullable: None, @@ -336,7 +336,9 @@ fn lexicon_doc_io_whiteside_linkedAccount() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("icon"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "icon", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -355,7 +357,9 @@ fn lexicon_doc_io_whiteside_linkedAccount() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("link"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "link", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -376,7 +380,9 @@ fn lexicon_doc_io_whiteside_linkedAccount() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -395,7 +401,9 @@ fn lexicon_doc_io_whiteside_linkedAccount() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("order"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "order", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, diff --git a/crates/jacquard-api/src/io_whiteside/profile.rs b/crates/jacquard-api/src/io_whiteside/profile.rs index 41aa937a4..7a1d71476 100644 --- a/crates/jacquard-api/src/io_whiteside/profile.rs +++ b/crates/jacquard-api/src/io_whiteside/profile.rs @@ -38,51 +38,51 @@ pub mod profile_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Content; type UpdatedAt; type Heading; + type Content; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Content = Unset; type UpdatedAt = Unset; type Heading = Unset; - } - ///State transition - sets the `content` field to Set - pub struct SetContent(PhantomData S>); - impl sealed::Sealed for SetContent {} - impl State for SetContent { - type Content = Set; - type UpdatedAt = S::UpdatedAt; - type Heading = S::Heading; + type Content = Unset; } ///State transition - sets the `updated_at` field to Set pub struct SetUpdatedAt(PhantomData S>); impl sealed::Sealed for SetUpdatedAt {} impl State for SetUpdatedAt { - type Content = S::Content; type UpdatedAt = Set; type Heading = S::Heading; + type Content = S::Content; } ///State transition - sets the `heading` field to Set pub struct SetHeading(PhantomData S>); impl sealed::Sealed for SetHeading {} impl State for SetHeading { - type Content = S::Content; type UpdatedAt = S::UpdatedAt; type Heading = Set; + type Content = S::Content; + } + ///State transition - sets the `content` field to Set + pub struct SetContent(PhantomData S>); + impl sealed::Sealed for SetContent {} + impl State for SetContent { + type UpdatedAt = S::UpdatedAt; + type Heading = S::Heading; + type Content = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `content` field - pub struct content(()); ///Marker type for the `updated_at` field pub struct updated_at(()); ///Marker type for the `heading` field pub struct heading(()); + ///Marker type for the `content` field + pub struct content(()); } } @@ -175,9 +175,9 @@ where impl<'a, S> ProfileBuilder<'a, S> where S: profile_state::State, - S::Content: profile_state::IsSet, S::UpdatedAt: profile_state::IsSet, S::Heading: profile_state::IsSet, + S::Content: profile_state::IsSet, { /// Build the final struct pub fn build(self) -> Profile<'a> { @@ -192,7 +192,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Profile<'a> { @@ -320,7 +320,7 @@ fn lexicon_doc_io_whiteside_profile() -> ::jacquard_lexicon::lexicon::LexiconDoc defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -332,9 +332,9 @@ fn lexicon_doc_io_whiteside_profile() -> ::jacquard_lexicon::lexicon::LexiconDoc description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("heading"), - ::jacquard_common::smol_str::SmolStr::new_static("content"), - ::jacquard_common::smol_str::SmolStr::new_static("updatedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("heading"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("updatedAt") ], ), nullable: None, @@ -342,7 +342,9 @@ fn lexicon_doc_io_whiteside_profile() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "content", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -361,7 +363,9 @@ fn lexicon_doc_io_whiteside_profile() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("heading"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "heading", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -380,7 +384,7 @@ fn lexicon_doc_io_whiteside_profile() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/lib.rs b/crates/jacquard-api/src/lib.rs index d6ea027a7..9537deb30 100644 --- a/crates/jacquard-api/src/lib.rs +++ b/crates/jacquard-api/src/lib.rs @@ -22,6 +22,9 @@ pub mod app_bsky; #[cfg(feature = "app_certified")] pub mod app_certified; +#[cfg(feature = "app_chronosky")] +pub mod app_chronosky; + #[cfg(feature = "app_dropanchor")] pub mod app_dropanchor; @@ -504,4 +507,4 @@ pub mod za_co; pub mod zip_viruus; #[cfg(feature = "zone_stratos")] -pub mod zone_stratos; +pub mod zone_stratos; \ No newline at end of file diff --git a/crates/jacquard-api/src/link_bridgebeats/lookup.rs b/crates/jacquard-api/src/link_bridgebeats/lookup.rs index 922c9cc42..92630151a 100644 --- a/crates/jacquard-api/src/link_bridgebeats/lookup.rs +++ b/crates/jacquard-api/src/link_bridgebeats/lookup.rs @@ -35,37 +35,37 @@ pub mod lookup_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Results; type LookedUpAt; + type Results; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Results = Unset; type LookedUpAt = Unset; - } - ///State transition - sets the `results` field to Set - pub struct SetResults(PhantomData S>); - impl sealed::Sealed for SetResults {} - impl State for SetResults { - type Results = Set; - type LookedUpAt = S::LookedUpAt; + type Results = Unset; } ///State transition - sets the `looked_up_at` field to Set pub struct SetLookedUpAt(PhantomData S>); impl sealed::Sealed for SetLookedUpAt {} impl State for SetLookedUpAt { - type Results = S::Results; type LookedUpAt = Set; + type Results = S::Results; + } + ///State transition - sets the `results` field to Set + pub struct SetResults(PhantomData S>); + impl sealed::Sealed for SetResults {} + impl State for SetResults { + type LookedUpAt = S::LookedUpAt; + type Results = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `results` field - pub struct results(()); ///Marker type for the `looked_up_at` field pub struct looked_up_at(()); + ///Marker type for the `results` field + pub struct results(()); } } @@ -138,8 +138,8 @@ where impl<'a, S> LookupBuilder<'a, S> where S: lookup_state::State, - S::Results: lookup_state::IsSet, S::LookedUpAt: lookup_state::IsSet, + S::Results: lookup_state::IsSet, { /// Build the final struct pub fn build(self) -> Lookup<'a> { @@ -153,7 +153,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Lookup<'a> { @@ -280,7 +280,7 @@ fn lexicon_doc_link_bridgebeats_lookup() -> ::jacquard_lexicon::lexicon::Lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -292,8 +292,8 @@ fn lexicon_doc_link_bridgebeats_lookup() -> ::jacquard_lexicon::lexicon::Lexicon description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("results"), - ::jacquard_common::smol_str::SmolStr::new_static("lookedUpAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("results"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("lookedUpAt") ], ), nullable: None, @@ -301,7 +301,7 @@ fn lexicon_doc_link_bridgebeats_lookup() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "lookedUpAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -324,7 +324,9 @@ fn lexicon_doc_link_bridgebeats_lookup() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("results"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "results", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -347,7 +349,7 @@ fn lexicon_doc_link_bridgebeats_lookup() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("providerResult"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("providerResult"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -356,11 +358,11 @@ fn lexicon_doc_link_bridgebeats_lookup() -> ::jacquard_lexicon::lexicon::Lexicon ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("provider"), - ::jacquard_common::smol_str::SmolStr::new_static("artist"), - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("url"), - ::jacquard_common::smol_str::SmolStr::new_static("marketRegion") + ::jacquard_common::deps::smol_str::SmolStr::new_static("provider"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("artist"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("marketRegion") ], ), nullable: None, @@ -368,7 +370,9 @@ fn lexicon_doc_link_bridgebeats_lookup() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("artUrl"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "artUrl", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -389,7 +393,9 @@ fn lexicon_doc_link_bridgebeats_lookup() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("artist"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "artist", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -408,7 +414,7 @@ fn lexicon_doc_link_bridgebeats_lookup() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "externalId", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -429,7 +435,9 @@ fn lexicon_doc_link_bridgebeats_lookup() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("isAlbum"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "isAlbum", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -437,7 +445,7 @@ fn lexicon_doc_link_bridgebeats_lookup() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "marketRegion", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -458,7 +466,9 @@ fn lexicon_doc_link_bridgebeats_lookup() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("provider"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "provider", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -477,7 +487,9 @@ fn lexicon_doc_link_bridgebeats_lookup() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -496,7 +508,9 @@ fn lexicon_doc_link_bridgebeats_lookup() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -576,83 +590,83 @@ pub mod provider_result_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Url; type MarketRegion; - type Title; + type Url; type Artist; + type Title; type Provider; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Url = Unset; type MarketRegion = Unset; - type Title = Unset; + type Url = Unset; type Artist = Unset; + type Title = Unset; type Provider = Unset; } - ///State transition - sets the `url` field to Set - pub struct SetUrl(PhantomData S>); - impl sealed::Sealed for SetUrl {} - impl State for SetUrl { - type Url = Set; - type MarketRegion = S::MarketRegion; - type Title = S::Title; - type Artist = S::Artist; - type Provider = S::Provider; - } ///State transition - sets the `market_region` field to Set pub struct SetMarketRegion(PhantomData S>); impl sealed::Sealed for SetMarketRegion {} impl State for SetMarketRegion { - type Url = S::Url; type MarketRegion = Set; - type Title = S::Title; + type Url = S::Url; type Artist = S::Artist; + type Title = S::Title; type Provider = S::Provider; } - ///State transition - sets the `title` field to Set - pub struct SetTitle(PhantomData S>); - impl sealed::Sealed for SetTitle {} - impl State for SetTitle { - type Url = S::Url; + ///State transition - sets the `url` field to Set + pub struct SetUrl(PhantomData S>); + impl sealed::Sealed for SetUrl {} + impl State for SetUrl { type MarketRegion = S::MarketRegion; - type Title = Set; + type Url = Set; type Artist = S::Artist; + type Title = S::Title; type Provider = S::Provider; } ///State transition - sets the `artist` field to Set pub struct SetArtist(PhantomData S>); impl sealed::Sealed for SetArtist {} impl State for SetArtist { - type Url = S::Url; type MarketRegion = S::MarketRegion; - type Title = S::Title; + type Url = S::Url; type Artist = Set; + type Title = S::Title; + type Provider = S::Provider; + } + ///State transition - sets the `title` field to Set + pub struct SetTitle(PhantomData S>); + impl sealed::Sealed for SetTitle {} + impl State for SetTitle { + type MarketRegion = S::MarketRegion; + type Url = S::Url; + type Artist = S::Artist; + type Title = Set; type Provider = S::Provider; } ///State transition - sets the `provider` field to Set pub struct SetProvider(PhantomData S>); impl sealed::Sealed for SetProvider {} impl State for SetProvider { - type Url = S::Url; type MarketRegion = S::MarketRegion; - type Title = S::Title; + type Url = S::Url; type Artist = S::Artist; + type Title = S::Title; type Provider = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `url` field - pub struct url(()); ///Marker type for the `market_region` field pub struct market_region(()); - ///Marker type for the `title` field - pub struct title(()); + ///Marker type for the `url` field + pub struct url(()); ///Marker type for the `artist` field pub struct artist(()); + ///Marker type for the `title` field + pub struct title(()); ///Marker type for the `provider` field pub struct provider(()); } @@ -841,10 +855,10 @@ where impl<'a, S> ProviderResultBuilder<'a, S> where S: provider_result_state::State, - S::Url: provider_result_state::IsSet, S::MarketRegion: provider_result_state::IsSet, - S::Title: provider_result_state::IsSet, + S::Url: provider_result_state::IsSet, S::Artist: provider_result_state::IsSet, + S::Title: provider_result_state::IsSet, S::Provider: provider_result_state::IsSet, { /// Build the final struct @@ -865,7 +879,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ProviderResult<'a> { diff --git a/crates/jacquard-api/src/lol_gayfamicom/hi.rs b/crates/jacquard-api/src/lol_gayfamicom/hi.rs index 8704cc54c..b73fbe15d 100644 --- a/crates/jacquard-api/src/lol_gayfamicom/hi.rs +++ b/crates/jacquard-api/src/lol_gayfamicom/hi.rs @@ -126,7 +126,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Hi<'a> { @@ -225,7 +225,7 @@ fn lexicon_doc_lol_gayfamicom_hi() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some(::jacquard_common::CowStr::new_static("Hi")), key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -237,7 +237,7 @@ fn lexicon_doc_lol_gayfamicom_hi() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -256,7 +256,9 @@ fn lexicon_doc_lol_gayfamicom_hi() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hello"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "hello", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Hi"), diff --git a/crates/jacquard-api/src/lol_gayfamicom/hi/hello.rs b/crates/jacquard-api/src/lol_gayfamicom/hi/hello.rs index d28111665..ea397e1f4 100644 --- a/crates/jacquard-api/src/lol_gayfamicom/hi/hello.rs +++ b/crates/jacquard-api/src/lol_gayfamicom/hi/hello.rs @@ -124,7 +124,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Hello<'a> { @@ -225,7 +225,7 @@ fn lexicon_doc_lol_gayfamicom_hi_hello() -> ::jacquard_lexicon::lexicon::Lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some(::jacquard_common::CowStr::new_static("Hi")), key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -237,7 +237,7 @@ fn lexicon_doc_lol_gayfamicom_hi_hello() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -256,7 +256,9 @@ fn lexicon_doc_lol_gayfamicom_hi_hello() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hello"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "hello", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Hi"), diff --git a/crates/jacquard-api/src/lol_jbc/feed/bite.rs b/crates/jacquard-api/src/lol_jbc/feed/bite.rs index fd4c23568..fd5cf146b 100644 --- a/crates/jacquard-api/src/lol_jbc/feed/bite.rs +++ b/crates/jacquard-api/src/lol_jbc/feed/bite.rs @@ -123,7 +123,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Bite<'a> { @@ -222,7 +222,7 @@ fn lexicon_doc_lol_jbc_feed_bite() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -238,7 +238,7 @@ fn lexicon_doc_lol_jbc_feed_bite() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -257,7 +257,9 @@ fn lexicon_doc_lol_jbc_feed_bite() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, diff --git a/crates/jacquard-api/src/me_linkna/lastfm.rs b/crates/jacquard-api/src/me_linkna/lastfm.rs index 3db6617fc..3c3661447 100644 --- a/crates/jacquard-api/src/me_linkna/lastfm.rs +++ b/crates/jacquard-api/src/me_linkna/lastfm.rs @@ -53,51 +53,51 @@ pub mod lastfm_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type ArtistNames; type CreatedAt; type TrackName; + type ArtistNames; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type ArtistNames = Unset; type CreatedAt = Unset; type TrackName = Unset; - } - ///State transition - sets the `artist_names` field to Set - pub struct SetArtistNames(PhantomData S>); - impl sealed::Sealed for SetArtistNames {} - impl State for SetArtistNames { - type ArtistNames = Set; - type CreatedAt = S::CreatedAt; - type TrackName = S::TrackName; + type ArtistNames = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type ArtistNames = S::ArtistNames; type CreatedAt = Set; type TrackName = S::TrackName; + type ArtistNames = S::ArtistNames; } ///State transition - sets the `track_name` field to Set pub struct SetTrackName(PhantomData S>); impl sealed::Sealed for SetTrackName {} impl State for SetTrackName { - type ArtistNames = S::ArtistNames; type CreatedAt = S::CreatedAt; type TrackName = Set; + type ArtistNames = S::ArtistNames; + } + ///State transition - sets the `artist_names` field to Set + pub struct SetArtistNames(PhantomData S>); + impl sealed::Sealed for SetArtistNames {} + impl State for SetArtistNames { + type CreatedAt = S::CreatedAt; + type TrackName = S::TrackName; + type ArtistNames = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `artist_names` field - pub struct artist_names(()); ///Marker type for the `created_at` field pub struct created_at(()); ///Marker type for the `track_name` field pub struct track_name(()); + ///Marker type for the `artist_names` field + pub struct artist_names(()); } } @@ -270,9 +270,9 @@ where impl<'a, S> LastfmBuilder<'a, S> where S: lastfm_state::State, - S::ArtistNames: lastfm_state::IsSet, S::CreatedAt: lastfm_state::IsSet, S::TrackName: lastfm_state::IsSet, + S::ArtistNames: lastfm_state::IsSet, { /// Build the final struct pub fn build(self) -> Lastfm<'a> { @@ -291,7 +291,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Lastfm<'a> { @@ -395,7 +395,7 @@ fn lexicon_doc_me_linkna_lastfm() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -407,9 +407,9 @@ fn lexicon_doc_me_linkna_lastfm() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("trackName"), - ::jacquard_common::smol_str::SmolStr::new_static("artistNames"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("trackName"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("artistNames"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -417,7 +417,7 @@ fn lexicon_doc_me_linkna_lastfm() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "artistNames", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -441,7 +441,7 @@ fn lexicon_doc_me_linkna_lastfm() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "coverArtUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -462,7 +462,7 @@ fn lexicon_doc_me_linkna_lastfm() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -485,7 +485,7 @@ fn lexicon_doc_me_linkna_lastfm() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "originUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -508,7 +508,7 @@ fn lexicon_doc_me_linkna_lastfm() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "playedTime", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -531,7 +531,7 @@ fn lexicon_doc_me_linkna_lastfm() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "releaseName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -550,7 +550,7 @@ fn lexicon_doc_me_linkna_lastfm() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "trackName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/me_linkna/linkinbio.rs b/crates/jacquard-api/src/me_linkna/linkinbio.rs index 8a1877344..8bf0a4a39 100644 --- a/crates/jacquard-api/src/me_linkna/linkinbio.rs +++ b/crates/jacquard-api/src/me_linkna/linkinbio.rs @@ -40,7 +40,9 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("connectedServices"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "connectedServices", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -53,7 +55,7 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "githubUsername", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -72,7 +74,7 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "goodreadsUserId", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -97,7 +99,7 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "githubContributionDay", ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { @@ -108,9 +110,9 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("date"), - ::jacquard_common::smol_str::SmolStr::new_static("count"), - ::jacquard_common::smol_str::SmolStr::new_static("level") + ::jacquard_common::deps::smol_str::SmolStr::new_static("date"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("count"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("level") ], ), nullable: None, @@ -118,7 +120,9 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("count"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "count", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -129,7 +133,9 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("date"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "date", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -148,7 +154,9 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("level"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "level", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -163,7 +171,7 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("goodreadsBook"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("goodreadsBook"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -172,8 +180,8 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("author") + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("author") ], ), nullable: None, @@ -181,7 +189,9 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "author", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Book author."), @@ -198,7 +208,9 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("coverUrl"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "coverUrl", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -217,7 +229,9 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("link"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "link", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -236,7 +250,9 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rating"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "rating", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -247,7 +263,9 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Book title."), @@ -268,7 +286,7 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("linkCard"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("linkCard"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static("A standard link card."), @@ -279,7 +297,9 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("enabled"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "enabled", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -287,7 +307,7 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "highlighted", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -297,7 +317,7 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -316,7 +336,9 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -335,7 +357,9 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "type", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -354,7 +378,9 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -379,7 +405,7 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -391,7 +417,7 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("cards") + ::jacquard_common::deps::smol_str::SmolStr::new_static("cards") ], ), nullable: None, @@ -399,7 +425,9 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cards"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cards", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -421,7 +449,7 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "connectedServices", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -432,7 +460,7 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "socialIcons", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -450,7 +478,9 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("theme"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "theme", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -469,7 +499,7 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "themeConfig", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -483,7 +513,7 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("socialIcon"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("socialIcon"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -492,9 +522,9 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("id"), - ::jacquard_common::smol_str::SmolStr::new_static("platform"), - ::jacquard_common::smol_str::SmolStr::new_static("url") + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("platform"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("url") ], ), nullable: None, @@ -502,7 +532,7 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -521,7 +551,9 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("platform"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "platform", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -540,7 +572,9 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -565,7 +599,7 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tealfmPlay"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("tealfmPlay"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -574,8 +608,8 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("trackName"), - ::jacquard_common::smol_str::SmolStr::new_static("artistName") + ::jacquard_common::deps::smol_str::SmolStr::new_static("trackName"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("artistName") ], ), nullable: None, @@ -583,7 +617,7 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "artistName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -602,7 +636,9 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("coverUrl"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "coverUrl", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -621,7 +657,7 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "originUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -642,7 +678,7 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "playedTime", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -665,7 +701,7 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "releaseName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -684,7 +720,7 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "trackName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -707,7 +743,7 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("themeConfig"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("themeConfig"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -720,7 +756,7 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "backgroundColor", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -741,7 +777,7 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "backgroundGradient", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -762,7 +798,7 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "backgroundImage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { @@ -772,7 +808,7 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "backgroundImageCredit", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -795,7 +831,7 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "buttonAlignment", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -816,7 +852,7 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "buttonHoverGlow", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -826,7 +862,7 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "buttonHoverGlowColor", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -847,7 +883,7 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "cardBackgroundColor", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -868,7 +904,7 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "cardBorderColor", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -889,7 +925,7 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "cardBorderRadius", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -910,7 +946,7 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "cardHoverColor", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -931,7 +967,7 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "cardShadow", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -952,7 +988,7 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "cardTextColor", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -973,7 +1009,7 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentCardColor", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -994,7 +1030,7 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "cursorSparkles", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -1004,7 +1040,7 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "cursorStyle", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1025,7 +1061,7 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "fontFamily", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1046,7 +1082,9 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("fontSize"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "fontSize", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1065,7 +1103,7 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "particles", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1086,7 +1124,9 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("preset"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "preset", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Theme preset ID."), @@ -1103,7 +1143,7 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "profileAlignment", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1124,7 +1164,7 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "profilePictureShape", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1145,7 +1185,7 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "profilePictureSize", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1166,7 +1206,7 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "profileTextColor", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1187,7 +1227,7 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "showBranding", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -1197,7 +1237,7 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "socialIconsBorderColor", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1218,7 +1258,7 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "socialIconsColor", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1237,7 +1277,7 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "socialIconsShape", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1258,7 +1298,7 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "socialIconsShapeColor", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1283,7 +1323,7 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("widgetGithub"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("widgetGithub"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -1292,10 +1332,10 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("id"), - ::jacquard_common::smol_str::SmolStr::new_static("type"), - ::jacquard_common::smol_str::SmolStr::new_static("githubUsername"), - ::jacquard_common::smol_str::SmolStr::new_static("contributions") + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("githubUsername"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("contributions") ], ), nullable: None, @@ -1303,7 +1343,7 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contributions", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -1323,7 +1363,9 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("enabled"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "enabled", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -1331,7 +1373,7 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "githubUsername", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1350,7 +1392,7 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1369,7 +1411,7 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "lastSyncedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1392,7 +1434,9 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "size", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1411,7 +1455,7 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "totalContributions", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1424,7 +1468,9 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "type", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1447,7 +1493,9 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("widgetGoodreads"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "widgetGoodreads", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -1456,11 +1504,11 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("id"), - ::jacquard_common::smol_str::SmolStr::new_static("type"), - ::jacquard_common::smol_str::SmolStr::new_static("goodreadsUserId"), - ::jacquard_common::smol_str::SmolStr::new_static("shelf"), - ::jacquard_common::smol_str::SmolStr::new_static("books") + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("goodreadsUserId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("shelf"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("books") ], ), nullable: None, @@ -1468,7 +1516,9 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("books"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "books", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -1486,7 +1536,9 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("enabled"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "enabled", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -1494,7 +1546,7 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "goodreadsUserId", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1515,7 +1567,7 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1534,7 +1586,7 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "lastSyncedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1557,7 +1609,7 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "readBooks", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -1577,7 +1629,9 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("shelf"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "shelf", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1596,7 +1650,9 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "size", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1615,7 +1671,9 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "type", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1638,7 +1696,7 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("widgetTealfm"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("widgetTealfm"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -1647,9 +1705,9 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("id"), - ::jacquard_common::smol_str::SmolStr::new_static("type"), - ::jacquard_common::smol_str::SmolStr::new_static("plays") + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("plays") ], ), nullable: None, @@ -1657,7 +1715,7 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "coverArtNotice", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1678,7 +1736,9 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("enabled"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "enabled", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -1686,7 +1746,7 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1705,7 +1765,7 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "lastSyncedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1728,7 +1788,9 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("plays"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "plays", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -1744,7 +1806,9 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "size", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1763,7 +1827,9 @@ fn lexicon_doc_me_linkna_linkinbio() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "type", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1840,50 +1906,50 @@ pub mod github_contribution_day_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Date; - type Count; type Level; + type Count; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Date = Unset; - type Count = Unset; type Level = Unset; + type Count = Unset; } ///State transition - sets the `date` field to Set pub struct SetDate(PhantomData S>); impl sealed::Sealed for SetDate {} impl State for SetDate { type Date = Set; - type Count = S::Count; - type Level = S::Level; - } - ///State transition - sets the `count` field to Set - pub struct SetCount(PhantomData S>); - impl sealed::Sealed for SetCount {} - impl State for SetCount { - type Date = S::Date; - type Count = Set; type Level = S::Level; + type Count = S::Count; } ///State transition - sets the `level` field to Set pub struct SetLevel(PhantomData S>); impl sealed::Sealed for SetLevel {} impl State for SetLevel { type Date = S::Date; - type Count = S::Count; type Level = Set; + type Count = S::Count; + } + ///State transition - sets the `count` field to Set + pub struct SetCount(PhantomData S>); + impl sealed::Sealed for SetCount {} + impl State for SetCount { + type Date = S::Date; + type Level = S::Level; + type Count = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `date` field pub struct date(()); - ///Marker type for the `count` field - pub struct count(()); ///Marker type for the `level` field pub struct level(()); + ///Marker type for the `count` field + pub struct count(()); } } @@ -1980,8 +2046,8 @@ impl<'a, S> GithubContributionDayBuilder<'a, S> where S: github_contribution_day_state::State, S::Date: github_contribution_day_state::IsSet, - S::Count: github_contribution_day_state::IsSet, S::Level: github_contribution_day_state::IsSet, + S::Count: github_contribution_day_state::IsSet, { /// Build the final struct pub fn build(self) -> GithubContributionDay<'a> { @@ -1996,7 +2062,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> GithubContributionDay<'a> { @@ -2400,7 +2466,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Linkinbio<'a> { @@ -2550,51 +2616,51 @@ pub mod social_icon_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Id; - type Platform; type Url; + type Platform; + type Id; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Id = Unset; - type Platform = Unset; type Url = Unset; + type Platform = Unset; + type Id = Unset; } - ///State transition - sets the `id` field to Set - pub struct SetId(PhantomData S>); - impl sealed::Sealed for SetId {} - impl State for SetId { - type Id = Set; + ///State transition - sets the `url` field to Set + pub struct SetUrl(PhantomData S>); + impl sealed::Sealed for SetUrl {} + impl State for SetUrl { + type Url = Set; type Platform = S::Platform; - type Url = S::Url; + type Id = S::Id; } ///State transition - sets the `platform` field to Set pub struct SetPlatform(PhantomData S>); impl sealed::Sealed for SetPlatform {} impl State for SetPlatform { - type Id = S::Id; - type Platform = Set; type Url = S::Url; - } - ///State transition - sets the `url` field to Set - pub struct SetUrl(PhantomData S>); - impl sealed::Sealed for SetUrl {} - impl State for SetUrl { + type Platform = Set; type Id = S::Id; + } + ///State transition - sets the `id` field to Set + pub struct SetId(PhantomData S>); + impl sealed::Sealed for SetId {} + impl State for SetId { + type Url = S::Url; type Platform = S::Platform; - type Url = Set; + type Id = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `id` field - pub struct id(()); - ///Marker type for the `platform` field - pub struct platform(()); ///Marker type for the `url` field pub struct url(()); + ///Marker type for the `platform` field + pub struct platform(()); + ///Marker type for the `id` field + pub struct id(()); } } @@ -2687,9 +2753,9 @@ where impl<'a, S> SocialIconBuilder<'a, S> where S: social_icon_state::State, - S::Id: social_icon_state::IsSet, - S::Platform: social_icon_state::IsSet, S::Url: social_icon_state::IsSet, + S::Platform: social_icon_state::IsSet, + S::Id: social_icon_state::IsSet, { /// Build the final struct pub fn build(self) -> SocialIcon<'a> { @@ -2704,7 +2770,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> SocialIcon<'a> { @@ -3960,67 +4026,67 @@ pub mod widget_github_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Type; + type GithubUsername; type Contributions; type Id; - type GithubUsername; - type Type; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Type = Unset; + type GithubUsername = Unset; type Contributions = Unset; type Id = Unset; - type GithubUsername = Unset; - type Type = Unset; + } + ///State transition - sets the `type` field to Set + pub struct SetType(PhantomData S>); + impl sealed::Sealed for SetType {} + impl State for SetType { + type Type = Set; + type GithubUsername = S::GithubUsername; + type Contributions = S::Contributions; + type Id = S::Id; + } + ///State transition - sets the `github_username` field to Set + pub struct SetGithubUsername(PhantomData S>); + impl sealed::Sealed for SetGithubUsername {} + impl State for SetGithubUsername { + type Type = S::Type; + type GithubUsername = Set; + type Contributions = S::Contributions; + type Id = S::Id; } ///State transition - sets the `contributions` field to Set pub struct SetContributions(PhantomData S>); impl sealed::Sealed for SetContributions {} impl State for SetContributions { + type Type = S::Type; + type GithubUsername = S::GithubUsername; type Contributions = Set; type Id = S::Id; - type GithubUsername = S::GithubUsername; - type Type = S::Type; } ///State transition - sets the `id` field to Set pub struct SetId(PhantomData S>); impl sealed::Sealed for SetId {} impl State for SetId { - type Contributions = S::Contributions; - type Id = Set; - type GithubUsername = S::GithubUsername; type Type = S::Type; - } - ///State transition - sets the `github_username` field to Set - pub struct SetGithubUsername(PhantomData S>); - impl sealed::Sealed for SetGithubUsername {} - impl State for SetGithubUsername { - type Contributions = S::Contributions; - type Id = S::Id; - type GithubUsername = Set; - type Type = S::Type; - } - ///State transition - sets the `type` field to Set - pub struct SetType(PhantomData S>); - impl sealed::Sealed for SetType {} - impl State for SetType { - type Contributions = S::Contributions; - type Id = S::Id; type GithubUsername = S::GithubUsername; - type Type = Set; + type Contributions = S::Contributions; + type Id = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `type` field + pub struct r#type(()); + ///Marker type for the `github_username` field + pub struct github_username(()); ///Marker type for the `contributions` field pub struct contributions(()); ///Marker type for the `id` field pub struct id(()); - ///Marker type for the `github_username` field - pub struct github_username(()); - ///Marker type for the `type` field - pub struct r#type(()); } } @@ -4197,10 +4263,10 @@ where impl<'a, S> WidgetGithubBuilder<'a, S> where S: widget_github_state::State, + S::Type: widget_github_state::IsSet, + S::GithubUsername: widget_github_state::IsSet, S::Contributions: widget_github_state::IsSet, S::Id: widget_github_state::IsSet, - S::GithubUsername: widget_github_state::IsSet, - S::Type: widget_github_state::IsSet, { /// Build the final struct pub fn build(self) -> WidgetGithub<'a> { @@ -4220,7 +4286,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> WidgetGithub<'a> { @@ -4405,85 +4471,85 @@ pub mod widget_goodreads_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type GoodreadsUserId; - type Shelf; - type Type; type Books; type Id; + type Type; + type GoodreadsUserId; + type Shelf; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type GoodreadsUserId = Unset; - type Shelf = Unset; - type Type = Unset; type Books = Unset; type Id = Unset; - } - ///State transition - sets the `goodreads_user_id` field to Set - pub struct SetGoodreadsUserId(PhantomData S>); - impl sealed::Sealed for SetGoodreadsUserId {} - impl State for SetGoodreadsUserId { - type GoodreadsUserId = Set; - type Shelf = S::Shelf; - type Type = S::Type; - type Books = S::Books; - type Id = S::Id; - } - ///State transition - sets the `shelf` field to Set - pub struct SetShelf(PhantomData S>); - impl sealed::Sealed for SetShelf {} - impl State for SetShelf { - type GoodreadsUserId = S::GoodreadsUserId; - type Shelf = Set; - type Type = S::Type; - type Books = S::Books; - type Id = S::Id; - } - ///State transition - sets the `type` field to Set - pub struct SetType(PhantomData S>); - impl sealed::Sealed for SetType {} - impl State for SetType { - type GoodreadsUserId = S::GoodreadsUserId; - type Shelf = S::Shelf; - type Type = Set; - type Books = S::Books; - type Id = S::Id; + type Type = Unset; + type GoodreadsUserId = Unset; + type Shelf = Unset; } ///State transition - sets the `books` field to Set pub struct SetBooks(PhantomData S>); impl sealed::Sealed for SetBooks {} impl State for SetBooks { - type GoodreadsUserId = S::GoodreadsUserId; - type Shelf = S::Shelf; - type Type = S::Type; type Books = Set; type Id = S::Id; + type Type = S::Type; + type GoodreadsUserId = S::GoodreadsUserId; + type Shelf = S::Shelf; } ///State transition - sets the `id` field to Set pub struct SetId(PhantomData S>); impl sealed::Sealed for SetId {} impl State for SetId { + type Books = S::Books; + type Id = Set; + type Type = S::Type; type GoodreadsUserId = S::GoodreadsUserId; type Shelf = S::Shelf; + } + ///State transition - sets the `type` field to Set + pub struct SetType(PhantomData S>); + impl sealed::Sealed for SetType {} + impl State for SetType { + type Books = S::Books; + type Id = S::Id; + type Type = Set; + type GoodreadsUserId = S::GoodreadsUserId; + type Shelf = S::Shelf; + } + ///State transition - sets the `goodreads_user_id` field to Set + pub struct SetGoodreadsUserId(PhantomData S>); + impl sealed::Sealed for SetGoodreadsUserId {} + impl State for SetGoodreadsUserId { + type Books = S::Books; + type Id = S::Id; type Type = S::Type; + type GoodreadsUserId = Set; + type Shelf = S::Shelf; + } + ///State transition - sets the `shelf` field to Set + pub struct SetShelf(PhantomData S>); + impl sealed::Sealed for SetShelf {} + impl State for SetShelf { type Books = S::Books; - type Id = Set; + type Id = S::Id; + type Type = S::Type; + type GoodreadsUserId = S::GoodreadsUserId; + type Shelf = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `goodreads_user_id` field - pub struct goodreads_user_id(()); - ///Marker type for the `shelf` field - pub struct shelf(()); - ///Marker type for the `type` field - pub struct r#type(()); ///Marker type for the `books` field pub struct books(()); ///Marker type for the `id` field pub struct id(()); + ///Marker type for the `type` field + pub struct r#type(()); + ///Marker type for the `goodreads_user_id` field + pub struct goodreads_user_id(()); + ///Marker type for the `shelf` field + pub struct shelf(()); } } @@ -4694,11 +4760,11 @@ where impl<'a, S> WidgetGoodreadsBuilder<'a, S> where S: widget_goodreads_state::State, - S::GoodreadsUserId: widget_goodreads_state::IsSet, - S::Shelf: widget_goodreads_state::IsSet, - S::Type: widget_goodreads_state::IsSet, S::Books: widget_goodreads_state::IsSet, S::Id: widget_goodreads_state::IsSet, + S::Type: widget_goodreads_state::IsSet, + S::GoodreadsUserId: widget_goodreads_state::IsSet, + S::Shelf: widget_goodreads_state::IsSet, { /// Build the final struct pub fn build(self) -> WidgetGoodreads<'a> { @@ -4719,7 +4785,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> WidgetGoodreads<'a> { @@ -4897,51 +4963,51 @@ pub mod widget_tealfm_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Id; type Type; type Plays; + type Id; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Id = Unset; type Type = Unset; type Plays = Unset; - } - ///State transition - sets the `id` field to Set - pub struct SetId(PhantomData S>); - impl sealed::Sealed for SetId {} - impl State for SetId { - type Id = Set; - type Type = S::Type; - type Plays = S::Plays; + type Id = Unset; } ///State transition - sets the `type` field to Set pub struct SetType(PhantomData S>); impl sealed::Sealed for SetType {} impl State for SetType { - type Id = S::Id; type Type = Set; type Plays = S::Plays; + type Id = S::Id; } ///State transition - sets the `plays` field to Set pub struct SetPlays(PhantomData S>); impl sealed::Sealed for SetPlays {} impl State for SetPlays { - type Id = S::Id; type Type = S::Type; type Plays = Set; + type Id = S::Id; + } + ///State transition - sets the `id` field to Set + pub struct SetId(PhantomData S>); + impl sealed::Sealed for SetId {} + impl State for SetId { + type Type = S::Type; + type Plays = S::Plays; + type Id = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `id` field - pub struct id(()); ///Marker type for the `type` field pub struct r#type(()); ///Marker type for the `plays` field pub struct plays(()); + ///Marker type for the `id` field + pub struct id(()); } } @@ -5102,9 +5168,9 @@ where impl<'a, S> WidgetTealfmBuilder<'a, S> where S: widget_tealfm_state::State, - S::Id: widget_tealfm_state::IsSet, S::Type: widget_tealfm_state::IsSet, S::Plays: widget_tealfm_state::IsSet, + S::Id: widget_tealfm_state::IsSet, { /// Build the final struct pub fn build(self) -> WidgetTealfm<'a> { @@ -5123,7 +5189,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> WidgetTealfm<'a> { diff --git a/crates/jacquard-api/src/me_linkna/profile.rs b/crates/jacquard-api/src/me_linkna/profile.rs index b0e738d78..6b8110485 100644 --- a/crates/jacquard-api/src/me_linkna/profile.rs +++ b/crates/jacquard-api/src/me_linkna/profile.rs @@ -152,7 +152,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Profile<'a> { @@ -264,7 +264,7 @@ fn lexicon_doc_me_linkna_profile() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -280,7 +280,9 @@ fn lexicon_doc_me_linkna_profile() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("avatar"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "avatar", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -288,7 +290,7 @@ fn lexicon_doc_me_linkna_profile() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -307,7 +309,7 @@ fn lexicon_doc_me_linkna_profile() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/media_ionosphere.rs b/crates/jacquard-api/src/media_ionosphere.rs index 9701466d3..9500b53bb 100644 --- a/crates/jacquard-api/src/media_ionosphere.rs +++ b/crates/jacquard-api/src/media_ionosphere.rs @@ -207,7 +207,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Broadcast<'a> { @@ -233,7 +233,7 @@ fn lexicon_doc_media_ionosphere_defs() -> ::jacquard_lexicon::lexicon::LexiconDo defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("bearer"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("bearer"), ::jacquard_lexicon::lexicon::LexUserType::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -252,7 +252,7 @@ fn lexicon_doc_media_ionosphere_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("broadcast"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("broadcast"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -260,14 +260,18 @@ fn lexicon_doc_media_ionosphere_defs() -> ::jacquard_lexicon::lexicon::LexiconDo ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("bearer")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("bearer") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("bearer"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "bearer", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -276,7 +280,9 @@ fn lexicon_doc_media_ionosphere_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cost"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cost", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -287,7 +293,9 @@ fn lexicon_doc_media_ionosphere_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("from"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "from", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -308,7 +316,9 @@ fn lexicon_doc_media_ionosphere_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("offset"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "offset", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -319,7 +329,9 @@ fn lexicon_doc_media_ionosphere_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("until"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "until", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -344,13 +356,13 @@ fn lexicon_doc_media_ionosphere_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("credit"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("credit"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("entity"), - ::jacquard_common::smol_str::SmolStr::new_static("role") + ::jacquard_common::deps::smol_str::SmolStr::new_static("entity"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("role") ], ), nullable: None, @@ -358,7 +370,9 @@ fn lexicon_doc_media_ionosphere_defs() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("entity"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "entity", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -367,7 +381,9 @@ fn lexicon_doc_media_ionosphere_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("role"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "role", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -390,13 +406,13 @@ fn lexicon_doc_media_ionosphere_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("entity"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("entity"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("type"), - ::jacquard_common::smol_str::SmolStr::new_static("name") + ::jacquard_common::deps::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("name") ], ), nullable: None, @@ -404,7 +420,9 @@ fn lexicon_doc_media_ionosphere_defs() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -419,7 +437,9 @@ fn lexicon_doc_media_ionosphere_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "type", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -438,7 +458,7 @@ fn lexicon_doc_media_ionosphere_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("genre"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("genre"), ::jacquard_lexicon::lexicon::LexUserType::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -457,13 +477,13 @@ fn lexicon_doc_media_ionosphere_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("geocoordinates"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("geocoordinates"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("latitude"), - ::jacquard_common::smol_str::SmolStr::new_static("longitude") + ::jacquard_common::deps::smol_str::SmolStr::new_static("latitude"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("longitude") ], ), nullable: None, @@ -471,7 +491,9 @@ fn lexicon_doc_media_ionosphere_defs() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("latitude"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "latitude", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -486,7 +508,7 @@ fn lexicon_doc_media_ionosphere_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "longitude", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -507,7 +529,7 @@ fn lexicon_doc_media_ionosphere_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("membership"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("membership"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -515,14 +537,18 @@ fn lexicon_doc_media_ionosphere_defs() -> ::jacquard_lexicon::lexicon::LexiconDo ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("group")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("group") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("group"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "group", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -539,7 +565,9 @@ fn lexicon_doc_media_ionosphere_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("index"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "index", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -554,7 +582,7 @@ fn lexicon_doc_media_ionosphere_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("recording"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("recording"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -562,14 +590,18 @@ fn lexicon_doc_media_ionosphere_defs() -> ::jacquard_lexicon::lexicon::LexiconDo ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("bearer")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("bearer") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("bearer"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "bearer", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -578,7 +610,9 @@ fn lexicon_doc_media_ionosphere_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cost"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cost", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -589,7 +623,9 @@ fn lexicon_doc_media_ionosphere_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("from"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "from", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -610,7 +646,9 @@ fn lexicon_doc_media_ionosphere_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("until"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "until", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -635,13 +673,13 @@ fn lexicon_doc_media_ionosphere_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("track"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("track"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("artists") + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("artists") ], ), nullable: None, @@ -649,7 +687,9 @@ fn lexicon_doc_media_ionosphere_defs() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("album"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "album", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -664,7 +704,9 @@ fn lexicon_doc_media_ionosphere_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("artists"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "artists", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -688,7 +730,9 @@ fn lexicon_doc_media_ionosphere_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -757,37 +801,37 @@ pub mod credit_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Entity; type Role; + type Entity; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Entity = Unset; type Role = Unset; - } - ///State transition - sets the `entity` field to Set - pub struct SetEntity(PhantomData S>); - impl sealed::Sealed for SetEntity {} - impl State for SetEntity { - type Entity = Set; - type Role = S::Role; + type Entity = Unset; } ///State transition - sets the `role` field to Set pub struct SetRole(PhantomData S>); impl sealed::Sealed for SetRole {} impl State for SetRole { - type Entity = S::Entity; type Role = Set; + type Entity = S::Entity; + } + ///State transition - sets the `entity` field to Set + pub struct SetEntity(PhantomData S>); + impl sealed::Sealed for SetEntity {} + impl State for SetEntity { + type Role = S::Role; + type Entity = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `entity` field - pub struct entity(()); ///Marker type for the `role` field pub struct role(()); + ///Marker type for the `entity` field + pub struct entity(()); } } @@ -860,8 +904,8 @@ where impl<'a, S> CreditBuilder<'a, S> where S: credit_state::State, - S::Entity: credit_state::IsSet, S::Role: credit_state::IsSet, + S::Entity: credit_state::IsSet, { /// Build the final struct pub fn build(self) -> Credit<'a> { @@ -875,7 +919,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Credit<'a> { @@ -1046,7 +1090,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Entity<'a> { { let value = &self.name; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -1271,7 +1315,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Membership<'a> { @@ -1477,7 +1521,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Recording<'a> { @@ -1676,7 +1720,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Track<'a> { diff --git a/crates/jacquard-api/src/media_ionosphere/group.rs b/crates/jacquard-api/src/media_ionosphere/group.rs index dbf0b5fd8..0e52c7a25 100644 --- a/crates/jacquard-api/src/media_ionosphere/group.rs +++ b/crates/jacquard-api/src/media_ionosphere/group.rs @@ -341,7 +341,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Group<'a> { @@ -588,7 +588,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Group<'a> { { let value = &self.name; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -619,7 +619,7 @@ fn lexicon_doc_media_ionosphere_group() -> ::jacquard_lexicon::lexicon::LexiconD defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -631,9 +631,9 @@ fn lexicon_doc_media_ionosphere_group() -> ::jacquard_lexicon::lexicon::LexiconD description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("ionosphere"), - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("language") + ::jacquard_common::deps::smol_str::SmolStr::new_static("ionosphere"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("language") ], ), nullable: None, @@ -641,7 +641,7 @@ fn lexicon_doc_media_ionosphere_group() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -658,7 +658,9 @@ fn lexicon_doc_media_ionosphere_group() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("genres"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "genres", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -672,7 +674,9 @@ fn lexicon_doc_media_ionosphere_group() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("icon"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "icon", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -680,7 +684,7 @@ fn lexicon_doc_media_ionosphere_group() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "ionosphere", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -699,7 +703,7 @@ fn lexicon_doc_media_ionosphere_group() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "keywords", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -721,7 +725,9 @@ fn lexicon_doc_media_ionosphere_group() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("kind"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "kind", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -740,7 +746,7 @@ fn lexicon_doc_media_ionosphere_group() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "language", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -763,7 +769,7 @@ fn lexicon_doc_media_ionosphere_group() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "memberOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -783,7 +789,9 @@ fn lexicon_doc_media_ionosphere_group() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, diff --git a/crates/jacquard-api/src/media_ionosphere/log.rs b/crates/jacquard-api/src/media_ionosphere/log.rs index 9257e386c..1e26914f3 100644 --- a/crates/jacquard-api/src/media_ionosphere/log.rs +++ b/crates/jacquard-api/src/media_ionosphere/log.rs @@ -40,51 +40,51 @@ pub mod log_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Ionosphere; type CreatedAt; type Item; + type Ionosphere; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Ionosphere = Unset; type CreatedAt = Unset; type Item = Unset; - } - ///State transition - sets the `ionosphere` field to Set - pub struct SetIonosphere(PhantomData S>); - impl sealed::Sealed for SetIonosphere {} - impl State for SetIonosphere { - type Ionosphere = Set; - type CreatedAt = S::CreatedAt; - type Item = S::Item; + type Ionosphere = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Ionosphere = S::Ionosphere; type CreatedAt = Set; type Item = S::Item; + type Ionosphere = S::Ionosphere; } ///State transition - sets the `item` field to Set pub struct SetItem(PhantomData S>); impl sealed::Sealed for SetItem {} impl State for SetItem { - type Ionosphere = S::Ionosphere; type CreatedAt = S::CreatedAt; type Item = Set; + type Ionosphere = S::Ionosphere; + } + ///State transition - sets the `ionosphere` field to Set + pub struct SetIonosphere(PhantomData S>); + impl sealed::Sealed for SetIonosphere {} + impl State for SetIonosphere { + type CreatedAt = S::CreatedAt; + type Item = S::Item; + type Ionosphere = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `ionosphere` field - pub struct ionosphere(()); ///Marker type for the `created_at` field pub struct created_at(()); ///Marker type for the `item` field pub struct item(()); + ///Marker type for the `ionosphere` field + pub struct ionosphere(()); } } @@ -197,9 +197,9 @@ impl<'a, S: log_state::State> LogBuilder<'a, S> { impl<'a, S> LogBuilder<'a, S> where S: log_state::State, - S::Ionosphere: log_state::IsSet, S::CreatedAt: log_state::IsSet, S::Item: log_state::IsSet, + S::Ionosphere: log_state::IsSet, { /// Build the final struct pub fn build(self) -> Log<'a> { @@ -215,7 +215,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Log<'a> { @@ -331,7 +331,7 @@ fn lexicon_doc_media_ionosphere_log() -> ::jacquard_lexicon::lexicon::LexiconDoc defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -343,9 +343,9 @@ fn lexicon_doc_media_ionosphere_log() -> ::jacquard_lexicon::lexicon::LexiconDoc description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("ionosphere"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt"), - ::jacquard_common::smol_str::SmolStr::new_static("item") + ::jacquard_common::deps::smol_str::SmolStr::new_static("ionosphere"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("item") ], ), nullable: None, @@ -353,7 +353,7 @@ fn lexicon_doc_media_ionosphere_log() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -372,7 +372,7 @@ fn lexicon_doc_media_ionosphere_log() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "ionosphere", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -391,7 +391,9 @@ fn lexicon_doc_media_ionosphere_log() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("item"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "item", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -401,7 +403,7 @@ fn lexicon_doc_media_ionosphere_log() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "programme", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/media_ionosphere/programme.rs b/crates/jacquard-api/src/media_ionosphere/programme.rs index fba00d1b2..3ef309bc1 100644 --- a/crates/jacquard-api/src/media_ionosphere/programme.rs +++ b/crates/jacquard-api/src/media_ionosphere/programme.rs @@ -63,51 +63,51 @@ pub mod programme_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Language; type Ionosphere; type Name; + type Language; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Language = Unset; type Ionosphere = Unset; type Name = Unset; - } - ///State transition - sets the `language` field to Set - pub struct SetLanguage(PhantomData S>); - impl sealed::Sealed for SetLanguage {} - impl State for SetLanguage { - type Language = Set; - type Ionosphere = S::Ionosphere; - type Name = S::Name; + type Language = Unset; } ///State transition - sets the `ionosphere` field to Set pub struct SetIonosphere(PhantomData S>); impl sealed::Sealed for SetIonosphere {} impl State for SetIonosphere { - type Language = S::Language; type Ionosphere = Set; type Name = S::Name; + type Language = S::Language; } ///State transition - sets the `name` field to Set pub struct SetName(PhantomData S>); impl sealed::Sealed for SetName {} impl State for SetName { - type Language = S::Language; type Ionosphere = S::Ionosphere; type Name = Set; + type Language = S::Language; + } + ///State transition - sets the `language` field to Set + pub struct SetLanguage(PhantomData S>); + impl sealed::Sealed for SetLanguage {} + impl State for SetLanguage { + type Ionosphere = S::Ionosphere; + type Name = S::Name; + type Language = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `language` field - pub struct language(()); ///Marker type for the `ionosphere` field pub struct ionosphere(()); ///Marker type for the `name` field pub struct name(()); + ///Marker type for the `language` field + pub struct language(()); } } @@ -372,9 +372,9 @@ impl<'a, S: programme_state::State> ProgrammeBuilder<'a, S> { impl<'a, S> ProgrammeBuilder<'a, S> where S: programme_state::State, - S::Language: programme_state::IsSet, S::Ionosphere: programme_state::IsSet, S::Name: programme_state::IsSet, + S::Language: programme_state::IsSet, { /// Build the final struct pub fn build(self) -> Programme<'a> { @@ -397,7 +397,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Programme<'a> { @@ -538,7 +538,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Programme<'a> { { let value = &self.name; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -569,7 +569,7 @@ fn lexicon_doc_media_ionosphere_programme() -> ::jacquard_lexicon::lexicon::Lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -581,9 +581,9 @@ fn lexicon_doc_media_ionosphere_programme() -> ::jacquard_lexicon::lexicon::Lexi description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("ionosphere"), - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("language") + ::jacquard_common::deps::smol_str::SmolStr::new_static("ionosphere"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("language") ], ), nullable: None, @@ -591,7 +591,9 @@ fn lexicon_doc_media_ionosphere_programme() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("credits"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "credits", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -605,7 +607,7 @@ fn lexicon_doc_media_ionosphere_programme() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "delivery", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -623,7 +625,7 @@ fn lexicon_doc_media_ionosphere_programme() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -640,7 +642,9 @@ fn lexicon_doc_media_ionosphere_programme() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("genres"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "genres", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -654,7 +658,9 @@ fn lexicon_doc_media_ionosphere_programme() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("icon"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "icon", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -662,7 +668,7 @@ fn lexicon_doc_media_ionosphere_programme() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "ionosphere", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -681,7 +687,7 @@ fn lexicon_doc_media_ionosphere_programme() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "keywords", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -703,7 +709,7 @@ fn lexicon_doc_media_ionosphere_programme() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "language", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -726,7 +732,7 @@ fn lexicon_doc_media_ionosphere_programme() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "memberOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -746,7 +752,9 @@ fn lexicon_doc_media_ionosphere_programme() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -761,7 +769,7 @@ fn lexicon_doc_media_ionosphere_programme() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "presentationLanguage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/media_ionosphere/service.rs b/crates/jacquard-api/src/media_ionosphere/service.rs index 25576a2aa..ecf8e8a99 100644 --- a/crates/jacquard-api/src/media_ionosphere/service.rs +++ b/crates/jacquard-api/src/media_ionosphere/service.rs @@ -60,49 +60,49 @@ pub mod service_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Name; type Language; + type Name; type Ionosphere; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Name = Unset; type Language = Unset; + type Name = Unset; type Ionosphere = Unset; } - ///State transition - sets the `name` field to Set - pub struct SetName(PhantomData S>); - impl sealed::Sealed for SetName {} - impl State for SetName { - type Name = Set; - type Language = S::Language; - type Ionosphere = S::Ionosphere; - } ///State transition - sets the `language` field to Set pub struct SetLanguage(PhantomData S>); impl sealed::Sealed for SetLanguage {} impl State for SetLanguage { - type Name = S::Name; type Language = Set; + type Name = S::Name; + type Ionosphere = S::Ionosphere; + } + ///State transition - sets the `name` field to Set + pub struct SetName(PhantomData S>); + impl sealed::Sealed for SetName {} + impl State for SetName { + type Language = S::Language; + type Name = Set; type Ionosphere = S::Ionosphere; } ///State transition - sets the `ionosphere` field to Set pub struct SetIonosphere(PhantomData S>); impl sealed::Sealed for SetIonosphere {} impl State for SetIonosphere { - type Name = S::Name; type Language = S::Language; + type Name = S::Name; type Ionosphere = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `name` field - pub struct name(()); ///Marker type for the `language` field pub struct language(()); + ///Marker type for the `name` field + pub struct name(()); ///Marker type for the `ionosphere` field pub struct ionosphere(()); } @@ -348,8 +348,8 @@ impl<'a, S: service_state::State> ServiceBuilder<'a, S> { impl<'a, S> ServiceBuilder<'a, S> where S: service_state::State, - S::Name: service_state::IsSet, S::Language: service_state::IsSet, + S::Name: service_state::IsSet, S::Ionosphere: service_state::IsSet, { /// Build the final struct @@ -372,7 +372,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Service<'a> { @@ -494,7 +494,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Service<'a> { { let value = &self.name; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -525,7 +525,7 @@ fn lexicon_doc_media_ionosphere_service() -> ::jacquard_lexicon::lexicon::Lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -537,9 +537,9 @@ fn lexicon_doc_media_ionosphere_service() -> ::jacquard_lexicon::lexicon::Lexico description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("ionosphere"), - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("language") + ::jacquard_common::deps::smol_str::SmolStr::new_static("ionosphere"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("language") ], ), nullable: None, @@ -547,7 +547,7 @@ fn lexicon_doc_media_ionosphere_service() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "broadcast", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -563,7 +563,7 @@ fn lexicon_doc_media_ionosphere_service() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -580,7 +580,9 @@ fn lexicon_doc_media_ionosphere_service() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("genres"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "genres", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -594,7 +596,7 @@ fn lexicon_doc_media_ionosphere_service() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "geolocation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -606,7 +608,9 @@ fn lexicon_doc_media_ionosphere_service() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("icon"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "icon", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -614,7 +618,7 @@ fn lexicon_doc_media_ionosphere_service() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "ionosphere", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -633,7 +637,7 @@ fn lexicon_doc_media_ionosphere_service() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "keywords", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -655,7 +659,7 @@ fn lexicon_doc_media_ionosphere_service() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "language", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -678,7 +682,9 @@ fn lexicon_doc_media_ionosphere_service() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -693,7 +699,7 @@ fn lexicon_doc_media_ionosphere_service() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "presentationLanguage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/moe_karashiiro/kpaste/paste.rs b/crates/jacquard-api/src/moe_karashiiro/kpaste/paste.rs index 8ba5e629c..5ea73d795 100644 --- a/crates/jacquard-api/src/moe_karashiiro/kpaste/paste.rs +++ b/crates/jacquard-api/src/moe_karashiiro/kpaste/paste.rs @@ -220,7 +220,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Paste<'a> { @@ -348,7 +348,7 @@ fn lexicon_doc_moe_karashiiro_kpaste_paste() -> ::jacquard_lexicon::lexicon::Lex defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -358,8 +358,8 @@ fn lexicon_doc_moe_karashiiro_kpaste_paste() -> ::jacquard_lexicon::lexicon::Lex ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("content"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -367,7 +367,9 @@ fn lexicon_doc_moe_karashiiro_kpaste_paste() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "content", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -375,7 +377,7 @@ fn lexicon_doc_moe_karashiiro_kpaste_paste() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -398,7 +400,7 @@ fn lexicon_doc_moe_karashiiro_kpaste_paste() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "language", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -419,7 +421,9 @@ fn lexicon_doc_moe_karashiiro_kpaste_paste() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -438,7 +442,7 @@ fn lexicon_doc_moe_karashiiro_kpaste_paste() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/mov_danabra/avi_handle.rs b/crates/jacquard-api/src/mov_danabra/avi_handle.rs index 18e04196a..65d1def7f 100644 --- a/crates/jacquard-api/src/mov_danabra/avi_handle.rs +++ b/crates/jacquard-api/src/mov_danabra/avi_handle.rs @@ -115,7 +115,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> AviHandle<'a> { diff --git a/crates/jacquard-api/src/mov_danabra/post.rs b/crates/jacquard-api/src/mov_danabra/post.rs index 3bddefe75..cbf80f179 100644 --- a/crates/jacquard-api/src/mov_danabra/post.rs +++ b/crates/jacquard-api/src/mov_danabra/post.rs @@ -133,7 +133,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Post<'a> { diff --git a/crates/jacquard-api/src/mov_danabra/post_embed.rs b/crates/jacquard-api/src/mov_danabra/post_embed.rs index da8ce14b4..cdc3b0f8b 100644 --- a/crates/jacquard-api/src/mov_danabra/post_embed.rs +++ b/crates/jacquard-api/src/mov_danabra/post_embed.rs @@ -133,7 +133,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> PostEmbed<'a> { diff --git a/crates/jacquard-api/src/mov_danabra/profile_header.rs b/crates/jacquard-api/src/mov_danabra/profile_header.rs index 2ed82d533..f41834e2a 100644 --- a/crates/jacquard-api/src/mov_danabra/profile_header.rs +++ b/crates/jacquard-api/src/mov_danabra/profile_header.rs @@ -115,7 +115,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ProfileHeader<'a> { diff --git a/crates/jacquard-api/src/mov_danabra/profile_tab.rs b/crates/jacquard-api/src/mov_danabra/profile_tab.rs index c607439ae..55baf7556 100644 --- a/crates/jacquard-api/src/mov_danabra/profile_tab.rs +++ b/crates/jacquard-api/src/mov_danabra/profile_tab.rs @@ -150,7 +150,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ProfileTab<'a> { diff --git a/crates/jacquard-api/src/my_skylights.rs b/crates/jacquard-api/src/my_skylights.rs index bf8d85fdd..9db3e4e66 100644 --- a/crates/jacquard-api/src/my_skylights.rs +++ b/crates/jacquard-api/src/my_skylights.rs @@ -130,13 +130,13 @@ fn lexicon_doc_my_skylights_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("item"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("item"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("ref"), - ::jacquard_common::smol_str::SmolStr::new_static("value") + ::jacquard_common::deps::smol_str::SmolStr::new_static("ref"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("value") ], ), nullable: None, @@ -144,7 +144,9 @@ fn lexicon_doc_my_skylights_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("ref"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "ref", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -159,7 +161,9 @@ fn lexicon_doc_my_skylights_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("value"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "value", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, diff --git a/crates/jacquard-api/src/my_skylights/list.rs b/crates/jacquard-api/src/my_skylights/list.rs index e96c57399..c9621e8ca 100644 --- a/crates/jacquard-api/src/my_skylights/list.rs +++ b/crates/jacquard-api/src/my_skylights/list.rs @@ -127,18 +127,20 @@ fn lexicon_doc_my_skylights_list() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("title")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("title") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -157,7 +159,7 @@ fn lexicon_doc_my_skylights_list() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -174,7 +176,9 @@ fn lexicon_doc_my_skylights_list() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sortBy"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sortBy", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -189,7 +193,9 @@ fn lexicon_doc_my_skylights_list() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, diff --git a/crates/jacquard-api/src/my_skylights/list_item.rs b/crates/jacquard-api/src/my_skylights/list_item.rs index 5c24662f3..fba6b125e 100644 --- a/crates/jacquard-api/src/my_skylights/list_item.rs +++ b/crates/jacquard-api/src/my_skylights/list_item.rs @@ -77,13 +77,13 @@ fn lexicon_doc_my_skylights_listItem() -> ::jacquard_lexicon::lexicon::LexiconDo defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("abandoned"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("abandoned"), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("builtin"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("builtin"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -92,7 +92,9 @@ fn lexicon_doc_my_skylights_listItem() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "type", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -110,20 +112,20 @@ fn lexicon_doc_my_skylights_listItem() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("inProgress"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("inProgress"), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("list"), - ::jacquard_common::smol_str::SmolStr::new_static("addedAt"), - ::jacquard_common::smol_str::SmolStr::new_static("position") + ::jacquard_common::deps::smol_str::SmolStr::new_static("list"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("addedAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("position") ], ), nullable: None, @@ -131,7 +133,9 @@ fn lexicon_doc_my_skylights_listItem() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("addedAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "addedAt", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -148,7 +152,9 @@ fn lexicon_doc_my_skylights_listItem() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("item"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "item", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -157,7 +163,9 @@ fn lexicon_doc_my_skylights_listItem() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("list"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "list", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -168,7 +176,9 @@ fn lexicon_doc_my_skylights_listItem() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("note"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "note", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -183,7 +193,9 @@ fn lexicon_doc_my_skylights_listItem() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("position"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "position", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -202,19 +214,19 @@ fn lexicon_doc_my_skylights_listItem() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("owned"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("owned"), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("queue"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("queue"), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("wishlist"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("wishlist"), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), @@ -294,51 +306,51 @@ pub mod list_item_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type List; type AddedAt; type Position; + type List; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type List = Unset; type AddedAt = Unset; type Position = Unset; - } - ///State transition - sets the `list` field to Set - pub struct SetList(PhantomData S>); - impl sealed::Sealed for SetList {} - impl State for SetList { - type List = Set; - type AddedAt = S::AddedAt; - type Position = S::Position; + type List = Unset; } ///State transition - sets the `added_at` field to Set pub struct SetAddedAt(PhantomData S>); impl sealed::Sealed for SetAddedAt {} impl State for SetAddedAt { - type List = S::List; type AddedAt = Set; type Position = S::Position; + type List = S::List; } ///State transition - sets the `position` field to Set pub struct SetPosition(PhantomData S>); impl sealed::Sealed for SetPosition {} impl State for SetPosition { - type List = S::List; type AddedAt = S::AddedAt; type Position = Set; + type List = S::List; + } + ///State transition - sets the `list` field to Set + pub struct SetList(PhantomData S>); + impl sealed::Sealed for SetList {} + impl State for SetList { + type AddedAt = S::AddedAt; + type Position = S::Position; + type List = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `list` field - pub struct list(()); ///Marker type for the `added_at` field pub struct added_at(()); ///Marker type for the `position` field pub struct position(()); + ///Marker type for the `list` field + pub struct list(()); } } @@ -465,9 +477,9 @@ where impl<'a, S> ListItemBuilder<'a, S> where S: list_item_state::State, - S::List: list_item_state::IsSet, S::AddedAt: list_item_state::IsSet, S::Position: list_item_state::IsSet, + S::List: list_item_state::IsSet, { /// Build the final struct pub fn build(self) -> ListItem<'a> { @@ -484,7 +496,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ListItem<'a> { diff --git a/crates/jacquard-api/src/my_skylights/rel.rs b/crates/jacquard-api/src/my_skylights/rel.rs index 2d09ff3f8..8fc05be0a 100644 --- a/crates/jacquard-api/src/my_skylights/rel.rs +++ b/crates/jacquard-api/src/my_skylights/rel.rs @@ -186,7 +186,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Rel<'a> { @@ -287,7 +287,7 @@ fn lexicon_doc_my_skylights_rel() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -295,7 +295,7 @@ fn lexicon_doc_my_skylights_rel() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("item") + ::jacquard_common::deps::smol_str::SmolStr::new_static("item") ], ), nullable: None, @@ -303,7 +303,7 @@ fn lexicon_doc_my_skylights_rel() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "finishedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -327,7 +327,9 @@ fn lexicon_doc_my_skylights_rel() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("item"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "item", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -336,14 +338,18 @@ fn lexicon_doc_my_skylights_rel() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("note"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "note", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#note"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rating"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "rating", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#rating"), @@ -355,14 +361,14 @@ fn lexicon_doc_my_skylights_rel() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("note"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("note"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("value"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt"), - ::jacquard_common::smol_str::SmolStr::new_static("updatedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("value"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("updatedAt") ], ), nullable: None, @@ -370,7 +376,7 @@ fn lexicon_doc_my_skylights_rel() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -389,7 +395,7 @@ fn lexicon_doc_my_skylights_rel() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -408,7 +414,9 @@ fn lexicon_doc_my_skylights_rel() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("value"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "value", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -427,13 +435,13 @@ fn lexicon_doc_my_skylights_rel() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rating"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("rating"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("value"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("value"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -441,7 +449,7 @@ fn lexicon_doc_my_skylights_rel() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -460,7 +468,9 @@ fn lexicon_doc_my_skylights_rel() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("value"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "value", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -508,50 +518,50 @@ pub mod note_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type CreatedAt; - type Value; type UpdatedAt; + type Value; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type CreatedAt = Unset; - type Value = Unset; type UpdatedAt = Unset; + type Value = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { type CreatedAt = Set; - type Value = S::Value; - type UpdatedAt = S::UpdatedAt; - } - ///State transition - sets the `value` field to Set - pub struct SetValue(PhantomData S>); - impl sealed::Sealed for SetValue {} - impl State for SetValue { - type CreatedAt = S::CreatedAt; - type Value = Set; type UpdatedAt = S::UpdatedAt; + type Value = S::Value; } ///State transition - sets the `updated_at` field to Set pub struct SetUpdatedAt(PhantomData S>); impl sealed::Sealed for SetUpdatedAt {} impl State for SetUpdatedAt { type CreatedAt = S::CreatedAt; - type Value = S::Value; type UpdatedAt = Set; + type Value = S::Value; + } + ///State transition - sets the `value` field to Set + pub struct SetValue(PhantomData S>); + impl sealed::Sealed for SetValue {} + impl State for SetValue { + type CreatedAt = S::CreatedAt; + type UpdatedAt = S::UpdatedAt; + type Value = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `created_at` field pub struct created_at(()); - ///Marker type for the `value` field - pub struct value(()); ///Marker type for the `updated_at` field pub struct updated_at(()); + ///Marker type for the `value` field + pub struct value(()); } } @@ -645,8 +655,8 @@ impl<'a, S> NoteBuilder<'a, S> where S: note_state::State, S::CreatedAt: note_state::IsSet, - S::Value: note_state::IsSet, S::UpdatedAt: note_state::IsSet, + S::Value: note_state::IsSet, { /// Build the final struct pub fn build(self) -> Note<'a> { @@ -661,7 +671,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Note<'a> { @@ -717,37 +727,37 @@ pub mod rating_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type Value; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type Value = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Value = S::Value; + type CreatedAt = Unset; } ///State transition - sets the `value` field to Set pub struct SetValue(PhantomData S>); impl sealed::Sealed for SetValue {} impl State for SetValue { - type CreatedAt = S::CreatedAt; type Value = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Value = S::Value; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `value` field pub struct value(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -820,8 +830,8 @@ where impl<'a, S> RatingBuilder<'a, S> where S: rating_state::State, - S::CreatedAt: rating_state::IsSet, S::Value: rating_state::IsSet, + S::CreatedAt: rating_state::IsSet, { /// Build the final struct pub fn build(self) -> Rating<'a> { @@ -835,7 +845,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Rating<'a> { diff --git a/crates/jacquard-api/src/net_aftertheinter/coolthingtwo.rs b/crates/jacquard-api/src/net_aftertheinter/coolthingtwo.rs index 19c34ea45..d390359aa 100644 --- a/crates/jacquard-api/src/net_aftertheinter/coolthingtwo.rs +++ b/crates/jacquard-api/src/net_aftertheinter/coolthingtwo.rs @@ -150,7 +150,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Coolthingtwo<'a> { @@ -265,7 +265,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Coolthingtwo<'a> { { let value = &self.status; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -296,7 +296,7 @@ fn lexicon_doc_net_aftertheinter_coolthingtwo() -> ::jacquard_lexicon::lexicon:: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -304,8 +304,8 @@ fn lexicon_doc_net_aftertheinter_coolthingtwo() -> ::jacquard_lexicon::lexicon:: description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("status"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("status"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -313,7 +313,7 @@ fn lexicon_doc_net_aftertheinter_coolthingtwo() -> ::jacquard_lexicon::lexicon:: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -332,7 +332,9 @@ fn lexicon_doc_net_aftertheinter_coolthingtwo() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("status"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "status", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, diff --git a/crates/jacquard-api/src/net_altq/aqfile.rs b/crates/jacquard-api/src/net_altq/aqfile.rs index 1021044c8..d1807f647 100644 --- a/crates/jacquard-api/src/net_altq/aqfile.rs +++ b/crates/jacquard-api/src/net_altq/aqfile.rs @@ -130,7 +130,7 @@ fn lexicon_doc_net_altq_aqfile() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("checksum"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("checksum"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -139,8 +139,8 @@ fn lexicon_doc_net_altq_aqfile() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("algo"), - ::jacquard_common::smol_str::SmolStr::new_static("hash") + ::jacquard_common::deps::smol_str::SmolStr::new_static("algo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("hash") ], ), nullable: None, @@ -148,7 +148,9 @@ fn lexicon_doc_net_altq_aqfile() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("algo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "algo", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -167,7 +169,9 @@ fn lexicon_doc_net_altq_aqfile() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hash"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "hash", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -190,7 +194,7 @@ fn lexicon_doc_net_altq_aqfile() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("file"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("file"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -199,8 +203,8 @@ fn lexicon_doc_net_altq_aqfile() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("size") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("size") ], ), nullable: None, @@ -208,7 +212,9 @@ fn lexicon_doc_net_altq_aqfile() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("mimeType"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "mimeType", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -227,7 +233,7 @@ fn lexicon_doc_net_altq_aqfile() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "modifiedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -250,7 +256,9 @@ fn lexicon_doc_net_altq_aqfile() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -269,7 +277,9 @@ fn lexicon_doc_net_altq_aqfile() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "size", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -284,7 +294,7 @@ fn lexicon_doc_net_altq_aqfile() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -296,9 +306,9 @@ fn lexicon_doc_net_altq_aqfile() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("blob"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt"), - ::jacquard_common::smol_str::SmolStr::new_static("file") + ::jacquard_common::deps::smol_str::SmolStr::new_static("blob"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("file") ], ), nullable: None, @@ -306,7 +316,7 @@ fn lexicon_doc_net_altq_aqfile() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "attribution", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -329,7 +339,9 @@ fn lexicon_doc_net_altq_aqfile() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("blob"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "blob", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -337,7 +349,7 @@ fn lexicon_doc_net_altq_aqfile() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "checksum", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -346,7 +358,7 @@ fn lexicon_doc_net_altq_aqfile() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -369,7 +381,9 @@ fn lexicon_doc_net_altq_aqfile() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("file"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "file", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#file"), @@ -465,37 +479,37 @@ pub mod file_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Name; type Size; + type Name; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Name = Unset; type Size = Unset; - } - ///State transition - sets the `name` field to Set - pub struct SetName(PhantomData S>); - impl sealed::Sealed for SetName {} - impl State for SetName { - type Name = Set; - type Size = S::Size; + type Name = Unset; } ///State transition - sets the `size` field to Set pub struct SetSize(PhantomData S>); impl sealed::Sealed for SetSize {} impl State for SetSize { - type Name = S::Name; type Size = Set; + type Name = S::Name; + } + ///State transition - sets the `name` field to Set + pub struct SetName(PhantomData S>); + impl sealed::Sealed for SetName {} + impl State for SetName { + type Size = S::Size; + type Name = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `name` field - pub struct name(()); ///Marker type for the `size` field pub struct size(()); + ///Marker type for the `name` field + pub struct name(()); } } @@ -608,8 +622,8 @@ where impl<'a, S> FileBuilder<'a, S> where S: file_state::State, - S::Name: file_state::IsSet, S::Size: file_state::IsSet, + S::Name: file_state::IsSet, { /// Build the final struct pub fn build(self) -> File<'a> { @@ -625,7 +639,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> File<'a> { @@ -944,7 +958,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Aqfile<'a> { 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 1676d9557..b2c1f0b95 100644 --- a/crates/jacquard-api/src/net_anisota/beta/game/collection.rs +++ b/crates/jacquard-api/src/net_anisota/beta/game/collection.rs @@ -93,8 +93,8 @@ pub mod collection_state { pub trait State: sealed::Sealed { type CreatedAt; type SpecimenId; - type Quantity; type AcquiredAt; + type Quantity; } /// Empty state - all required fields are unset pub struct Empty(()); @@ -102,8 +102,8 @@ pub mod collection_state { impl State for Empty { type CreatedAt = Unset; type SpecimenId = Unset; - type Quantity = Unset; type AcquiredAt = Unset; + type Quantity = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); @@ -111,8 +111,8 @@ pub mod collection_state { impl State for SetCreatedAt { type CreatedAt = Set; type SpecimenId = S::SpecimenId; - type Quantity = S::Quantity; type AcquiredAt = S::AcquiredAt; + type Quantity = S::Quantity; } ///State transition - sets the `specimen_id` field to Set pub struct SetSpecimenId(PhantomData S>); @@ -120,17 +120,8 @@ pub mod collection_state { impl State for SetSpecimenId { type CreatedAt = S::CreatedAt; type SpecimenId = Set; - type Quantity = S::Quantity; - type AcquiredAt = S::AcquiredAt; - } - ///State transition - sets the `quantity` field to Set - pub struct SetQuantity(PhantomData S>); - impl sealed::Sealed for SetQuantity {} - impl State for SetQuantity { - type CreatedAt = S::CreatedAt; - type SpecimenId = S::SpecimenId; - type Quantity = Set; type AcquiredAt = S::AcquiredAt; + type Quantity = S::Quantity; } ///State transition - sets the `acquired_at` field to Set pub struct SetAcquiredAt(PhantomData S>); @@ -138,8 +129,17 @@ pub mod collection_state { impl State for SetAcquiredAt { type CreatedAt = S::CreatedAt; type SpecimenId = S::SpecimenId; - type Quantity = S::Quantity; type AcquiredAt = Set; + type Quantity = S::Quantity; + } + ///State transition - sets the `quantity` field to Set + pub struct SetQuantity(PhantomData S>); + impl sealed::Sealed for SetQuantity {} + impl State for SetQuantity { + type CreatedAt = S::CreatedAt; + type SpecimenId = S::SpecimenId; + type AcquiredAt = S::AcquiredAt; + type Quantity = Set; } /// Marker types for field names #[allow(non_camel_case_types)] @@ -148,10 +148,10 @@ pub mod collection_state { pub struct created_at(()); ///Marker type for the `specimen_id` field pub struct specimen_id(()); - ///Marker type for the `quantity` field - pub struct quantity(()); ///Marker type for the `acquired_at` field pub struct acquired_at(()); + ///Marker type for the `quantity` field + pub struct quantity(()); } } @@ -534,8 +534,8 @@ where S: collection_state::State, S::CreatedAt: collection_state::IsSet, S::SpecimenId: collection_state::IsSet, - S::Quantity: collection_state::IsSet, S::AcquiredAt: collection_state::IsSet, + S::Quantity: collection_state::IsSet, { /// Build the final struct pub fn build(self) -> Collection<'a> { @@ -564,7 +564,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Collection<'a> { @@ -765,7 +765,7 @@ fn lexicon_doc_net_anisota_beta_game_collection() -> ::jacquard_lexicon::lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -777,10 +777,10 @@ fn lexicon_doc_net_anisota_beta_game_collection() -> ::jacquard_lexicon::lexicon description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("specimenId"), - ::jacquard_common::smol_str::SmolStr::new_static("quantity"), - ::jacquard_common::smol_str::SmolStr::new_static("acquiredAt"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("specimenId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("quantity"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("acquiredAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -788,7 +788,7 @@ fn lexicon_doc_net_anisota_beta_game_collection() -> ::jacquard_lexicon::lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "acquiredAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -811,7 +811,7 @@ fn lexicon_doc_net_anisota_beta_game_collection() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "commonName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -832,7 +832,7 @@ fn lexicon_doc_net_anisota_beta_game_collection() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -855,7 +855,9 @@ fn lexicon_doc_net_anisota_beta_game_collection() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("family"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "family", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Taxonomic family"), @@ -872,7 +874,9 @@ fn lexicon_doc_net_anisota_beta_game_collection() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("genus"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "genus", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Taxonomic genus"), @@ -889,7 +893,7 @@ fn lexicon_doc_net_anisota_beta_game_collection() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "lastModified", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -912,7 +916,7 @@ fn lexicon_doc_net_anisota_beta_game_collection() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "lastSeen", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -935,7 +939,7 @@ fn lexicon_doc_net_anisota_beta_game_collection() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "logRecordUri", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -956,7 +960,7 @@ fn lexicon_doc_net_anisota_beta_game_collection() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "quantity", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -969,7 +973,9 @@ fn lexicon_doc_net_anisota_beta_game_collection() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rarity"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "rarity", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -988,7 +994,7 @@ fn lexicon_doc_net_anisota_beta_game_collection() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "scientificName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1009,7 +1015,9 @@ fn lexicon_doc_net_anisota_beta_game_collection() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("source"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "source", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1028,7 +1036,7 @@ fn lexicon_doc_net_anisota_beta_game_collection() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sourceDetails", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -1039,7 +1047,9 @@ fn lexicon_doc_net_anisota_beta_game_collection() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("species"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "species", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Taxonomic species"), @@ -1056,7 +1066,7 @@ fn lexicon_doc_net_anisota_beta_game_collection() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "specimenData", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -1067,7 +1077,7 @@ fn lexicon_doc_net_anisota_beta_game_collection() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "specimenId", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1088,7 +1098,9 @@ fn lexicon_doc_net_anisota_beta_game_collection() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("status"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "status", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1112,7 +1124,7 @@ fn lexicon_doc_net_anisota_beta_game_collection() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sourceDetails"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("sourceDetails"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -1125,7 +1137,9 @@ fn lexicon_doc_net_anisota_beta_game_collection() -> ::jacquard_lexicon::lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("attempts"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "attempts", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -1136,7 +1150,7 @@ fn lexicon_doc_net_anisota_beta_game_collection() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "catchProbability", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1157,7 +1171,7 @@ fn lexicon_doc_net_anisota_beta_game_collection() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "gameCardUri", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1178,7 +1192,9 @@ fn lexicon_doc_net_anisota_beta_game_collection() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("location"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "location", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1201,7 +1217,7 @@ fn lexicon_doc_net_anisota_beta_game_collection() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("specimenData"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("specimenData"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -1214,7 +1230,7 @@ fn lexicon_doc_net_anisota_beta_game_collection() -> ::jacquard_lexicon::lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "authorship", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1235,7 +1251,7 @@ fn lexicon_doc_net_anisota_beta_game_collection() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { 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 d819bb681..65178d648 100644 --- a/crates/jacquard-api/src/net_anisota/beta/game/inventory.rs +++ b/crates/jacquard-api/src/net_anisota/beta/game/inventory.rs @@ -80,65 +80,65 @@ pub mod inventory_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Quantity; type ItemId; type AcquiredAt; + type Quantity; type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Quantity = Unset; type ItemId = Unset; type AcquiredAt = Unset; + type Quantity = Unset; type CreatedAt = Unset; } - ///State transition - sets the `quantity` field to Set - pub struct SetQuantity(PhantomData S>); - impl sealed::Sealed for SetQuantity {} - impl State for SetQuantity { - type Quantity = Set; - type ItemId = S::ItemId; - type AcquiredAt = S::AcquiredAt; - type CreatedAt = S::CreatedAt; - } ///State transition - sets the `item_id` field to Set pub struct SetItemId(PhantomData S>); impl sealed::Sealed for SetItemId {} impl State for SetItemId { - type Quantity = S::Quantity; type ItemId = Set; type AcquiredAt = S::AcquiredAt; + type Quantity = S::Quantity; type CreatedAt = S::CreatedAt; } ///State transition - sets the `acquired_at` field to Set pub struct SetAcquiredAt(PhantomData S>); impl sealed::Sealed for SetAcquiredAt {} impl State for SetAcquiredAt { - type Quantity = S::Quantity; type ItemId = S::ItemId; type AcquiredAt = Set; + type Quantity = S::Quantity; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `quantity` field to Set + pub struct SetQuantity(PhantomData S>); + impl sealed::Sealed for SetQuantity {} + impl State for SetQuantity { + type ItemId = S::ItemId; + type AcquiredAt = S::AcquiredAt; + type Quantity = Set; type CreatedAt = S::CreatedAt; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Quantity = S::Quantity; type ItemId = S::ItemId; type AcquiredAt = S::AcquiredAt; + type Quantity = S::Quantity; type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `quantity` field - pub struct quantity(()); ///Marker type for the `item_id` field pub struct item_id(()); ///Marker type for the `acquired_at` field pub struct acquired_at(()); + ///Marker type for the `quantity` field + pub struct quantity(()); ///Marker type for the `created_at` field pub struct created_at(()); } @@ -469,9 +469,9 @@ impl<'a, S: inventory_state::State> InventoryBuilder<'a, S> { impl<'a, S> InventoryBuilder<'a, S> where S: inventory_state::State, - S::Quantity: inventory_state::IsSet, S::ItemId: inventory_state::IsSet, S::AcquiredAt: inventory_state::IsSet, + S::Quantity: inventory_state::IsSet, S::CreatedAt: inventory_state::IsSet, { /// Build the final struct @@ -499,7 +499,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Inventory<'a> { @@ -684,7 +684,7 @@ fn lexicon_doc_net_anisota_beta_game_inventory() -> ::jacquard_lexicon::lexicon: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -696,10 +696,10 @@ fn lexicon_doc_net_anisota_beta_game_inventory() -> ::jacquard_lexicon::lexicon: description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("itemId"), - ::jacquard_common::smol_str::SmolStr::new_static("quantity"), - ::jacquard_common::smol_str::SmolStr::new_static("acquiredAt"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("itemId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("quantity"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("acquiredAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -707,7 +707,7 @@ fn lexicon_doc_net_anisota_beta_game_inventory() -> ::jacquard_lexicon::lexicon: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "acquiredAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -730,7 +730,7 @@ fn lexicon_doc_net_anisota_beta_game_inventory() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -753,7 +753,9 @@ fn lexicon_doc_net_anisota_beta_game_inventory() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("itemId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "itemId", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -772,7 +774,7 @@ fn lexicon_doc_net_anisota_beta_game_inventory() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "itemName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -793,7 +795,7 @@ fn lexicon_doc_net_anisota_beta_game_inventory() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "itemType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -814,7 +816,7 @@ fn lexicon_doc_net_anisota_beta_game_inventory() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "itemValue", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -827,7 +829,7 @@ fn lexicon_doc_net_anisota_beta_game_inventory() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "lastModified", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -850,7 +852,7 @@ fn lexicon_doc_net_anisota_beta_game_inventory() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "logRecordUri", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -871,7 +873,7 @@ fn lexicon_doc_net_anisota_beta_game_inventory() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "maxStack", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -884,7 +886,7 @@ fn lexicon_doc_net_anisota_beta_game_inventory() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "metadata", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { @@ -892,7 +894,7 @@ fn lexicon_doc_net_anisota_beta_game_inventory() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "quantity", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -905,7 +907,9 @@ fn lexicon_doc_net_anisota_beta_game_inventory() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rarity"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "rarity", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -924,7 +928,9 @@ fn lexicon_doc_net_anisota_beta_game_inventory() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("source"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "source", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -943,7 +949,7 @@ fn lexicon_doc_net_anisota_beta_game_inventory() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sourceDetails", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -954,7 +960,7 @@ fn lexicon_doc_net_anisota_beta_game_inventory() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "stackable", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -969,7 +975,7 @@ fn lexicon_doc_net_anisota_beta_game_inventory() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sourceDetails"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("sourceDetails"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -982,7 +988,7 @@ fn lexicon_doc_net_anisota_beta_game_inventory() -> ::jacquard_lexicon::lexicon: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "gameCardUri", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1003,7 +1009,9 @@ fn lexicon_doc_net_anisota_beta_game_inventory() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("questId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "questId", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1022,7 +1030,7 @@ fn lexicon_doc_net_anisota_beta_game_inventory() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "rewardStreak", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { 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 c3b174bad..2536aa4f3 100644 --- a/crates/jacquard-api/src/net_anisota/beta/game/log.rs +++ b/crates/jacquard-api/src/net_anisota/beta/game/log.rs @@ -57,7 +57,7 @@ fn lexicon_doc_net_anisota_beta_game_log() -> ::jacquard_lexicon::lexicon::Lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("collectionData"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("collectionData"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -70,7 +70,7 @@ fn lexicon_doc_net_anisota_beta_game_log() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "catchProbability", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -91,7 +91,7 @@ fn lexicon_doc_net_anisota_beta_game_log() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "inventoryRecordUri", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -112,7 +112,9 @@ fn lexicon_doc_net_anisota_beta_game_log() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("method"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "method", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -131,7 +133,7 @@ fn lexicon_doc_net_anisota_beta_game_log() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "specimenRecordUri", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -152,7 +154,9 @@ fn lexicon_doc_net_anisota_beta_game_log() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("success"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "success", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -160,7 +164,7 @@ fn lexicon_doc_net_anisota_beta_game_log() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "timeSinceGeneration", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -173,7 +177,7 @@ fn lexicon_doc_net_anisota_beta_game_log() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "timeSinceViewed", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -190,7 +194,9 @@ fn lexicon_doc_net_anisota_beta_game_log() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("dailyRewardsData"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "dailyRewardsData", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -203,7 +209,7 @@ fn lexicon_doc_net_anisota_beta_game_log() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "rewardItems", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -217,7 +223,7 @@ fn lexicon_doc_net_anisota_beta_game_log() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "rewardsCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -230,7 +236,9 @@ fn lexicon_doc_net_anisota_beta_game_log() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("streak"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "streak", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -241,7 +249,7 @@ fn lexicon_doc_net_anisota_beta_game_log() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "timeSinceLastClaim", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -258,7 +266,7 @@ fn lexicon_doc_net_anisota_beta_game_log() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("feedContext"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("feedContext"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -271,7 +279,9 @@ fn lexicon_doc_net_anisota_beta_game_log() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("feedUri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "feedUri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -290,7 +300,7 @@ fn lexicon_doc_net_anisota_beta_game_log() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "gameCardCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -303,7 +313,7 @@ fn lexicon_doc_net_anisota_beta_game_log() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "postCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -316,7 +326,7 @@ fn lexicon_doc_net_anisota_beta_game_log() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "scrollPosition", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -333,7 +343,7 @@ fn lexicon_doc_net_anisota_beta_game_log() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("gameCardData"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("gameCardData"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -346,7 +356,9 @@ fn lexicon_doc_net_anisota_beta_game_log() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cardType"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cardType", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Type of game card"), @@ -363,7 +375,9 @@ fn lexicon_doc_net_anisota_beta_game_log() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cardUri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cardUri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -382,7 +396,7 @@ fn lexicon_doc_net_anisota_beta_game_log() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "generationSeed", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -403,7 +417,7 @@ fn lexicon_doc_net_anisota_beta_game_log() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "injectionPosition", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -416,7 +430,9 @@ fn lexicon_doc_net_anisota_beta_game_log() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("itemId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "itemId", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -435,7 +451,9 @@ fn lexicon_doc_net_anisota_beta_game_log() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("quantity"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "quantity", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -446,7 +464,9 @@ fn lexicon_doc_net_anisota_beta_game_log() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rarity"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "rarity", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -469,7 +489,7 @@ fn lexicon_doc_net_anisota_beta_game_log() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("itemUsageData"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("itemUsageData"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static("Details about item usage"), @@ -480,7 +500,7 @@ fn lexicon_doc_net_anisota_beta_game_log() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "effectApplied", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -501,7 +521,7 @@ fn lexicon_doc_net_anisota_beta_game_log() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "inventoryRecordUri", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -522,7 +542,9 @@ fn lexicon_doc_net_anisota_beta_game_log() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("itemId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "itemId", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("ID of the item used"), @@ -539,7 +561,7 @@ fn lexicon_doc_net_anisota_beta_game_log() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "quantityUsed", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -552,7 +574,7 @@ fn lexicon_doc_net_anisota_beta_game_log() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "remainingQuantity", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -569,7 +591,7 @@ fn lexicon_doc_net_anisota_beta_game_log() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -581,9 +603,9 @@ fn lexicon_doc_net_anisota_beta_game_log() -> ::jacquard_lexicon::lexicon::Lexic description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("eventType"), - ::jacquard_common::smol_str::SmolStr::new_static("timestamp"), - ::jacquard_common::smol_str::SmolStr::new_static("sessionId") + ::jacquard_common::deps::smol_str::SmolStr::new_static("eventType"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("timestamp"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("sessionId") ], ), nullable: None, @@ -591,7 +613,7 @@ fn lexicon_doc_net_anisota_beta_game_log() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "collectionData", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -602,7 +624,7 @@ fn lexicon_doc_net_anisota_beta_game_log() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -625,7 +647,7 @@ fn lexicon_doc_net_anisota_beta_game_log() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dailyRewardsData", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -636,7 +658,7 @@ fn lexicon_doc_net_anisota_beta_game_log() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "eventType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -657,7 +679,7 @@ fn lexicon_doc_net_anisota_beta_game_log() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "feedContext", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -666,7 +688,7 @@ fn lexicon_doc_net_anisota_beta_game_log() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "gameCardData", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -677,7 +699,7 @@ fn lexicon_doc_net_anisota_beta_game_log() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "gameCardId", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -698,7 +720,7 @@ fn lexicon_doc_net_anisota_beta_game_log() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "itemUsageData", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -709,7 +731,7 @@ fn lexicon_doc_net_anisota_beta_game_log() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "metadata", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -718,7 +740,7 @@ fn lexicon_doc_net_anisota_beta_game_log() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "parentLogUri", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -739,7 +761,7 @@ fn lexicon_doc_net_anisota_beta_game_log() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "rootLogUri", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -760,7 +782,7 @@ fn lexicon_doc_net_anisota_beta_game_log() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sessionId", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -781,7 +803,7 @@ fn lexicon_doc_net_anisota_beta_game_log() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sessionUri", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -802,7 +824,7 @@ fn lexicon_doc_net_anisota_beta_game_log() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "timestamp", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -830,7 +852,7 @@ fn lexicon_doc_net_anisota_beta_game_log() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("metadata"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("metadata"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -843,7 +865,7 @@ fn lexicon_doc_net_anisota_beta_game_log() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "clientVersion", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -864,7 +886,7 @@ fn lexicon_doc_net_anisota_beta_game_log() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "networkLatency", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -877,7 +899,7 @@ fn lexicon_doc_net_anisota_beta_game_log() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "performanceTimings", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { @@ -885,7 +907,9 @@ fn lexicon_doc_net_anisota_beta_game_log() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("platform"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "platform", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -908,7 +932,7 @@ fn lexicon_doc_net_anisota_beta_game_log() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rewardItem"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("rewardItem"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -921,7 +945,9 @@ fn lexicon_doc_net_anisota_beta_game_log() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("itemId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "itemId", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -936,7 +962,9 @@ fn lexicon_doc_net_anisota_beta_game_log() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("quantity"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "quantity", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -947,7 +975,9 @@ fn lexicon_doc_net_anisota_beta_game_log() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rarity"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "rarity", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -1402,51 +1432,51 @@ pub mod log_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Timestamp; type SessionId; type EventType; + type Timestamp; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Timestamp = Unset; type SessionId = Unset; type EventType = Unset; - } - ///State transition - sets the `timestamp` field to Set - pub struct SetTimestamp(PhantomData S>); - impl sealed::Sealed for SetTimestamp {} - impl State for SetTimestamp { - type Timestamp = Set; - type SessionId = S::SessionId; - type EventType = S::EventType; + type Timestamp = Unset; } ///State transition - sets the `session_id` field to Set pub struct SetSessionId(PhantomData S>); impl sealed::Sealed for SetSessionId {} impl State for SetSessionId { - type Timestamp = S::Timestamp; type SessionId = Set; type EventType = S::EventType; + type Timestamp = S::Timestamp; } ///State transition - sets the `event_type` field to Set pub struct SetEventType(PhantomData S>); impl sealed::Sealed for SetEventType {} impl State for SetEventType { - type Timestamp = S::Timestamp; type SessionId = S::SessionId; type EventType = Set; + type Timestamp = S::Timestamp; + } + ///State transition - sets the `timestamp` field to Set + pub struct SetTimestamp(PhantomData S>); + impl sealed::Sealed for SetTimestamp {} + impl State for SetTimestamp { + type SessionId = S::SessionId; + type EventType = S::EventType; + type Timestamp = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `timestamp` field - pub struct timestamp(()); ///Marker type for the `session_id` field pub struct session_id(()); ///Marker type for the `event_type` field pub struct event_type(()); + ///Marker type for the `timestamp` field + pub struct timestamp(()); } } @@ -1778,9 +1808,9 @@ where impl<'a, S> LogBuilder<'a, S> where S: log_state::State, - S::Timestamp: log_state::IsSet, S::SessionId: log_state::IsSet, S::EventType: log_state::IsSet, + S::Timestamp: log_state::IsSet, { /// Build the final struct pub fn build(self) -> Log<'a> { @@ -1806,7 +1836,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Log<'a> { 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 b3b3cc84e..3d226800f 100644 --- a/crates/jacquard-api/src/net_anisota/beta/game/pack.rs +++ b/crates/jacquard-api/src/net_anisota/beta/game/pack.rs @@ -51,8 +51,8 @@ pub mod pack_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type TotalOpens; - type LastOpenTime; type CreatedAt; + type LastOpenTime; type Streak; } /// Empty state - all required fields are unset @@ -60,8 +60,8 @@ pub mod pack_state { impl sealed::Sealed for Empty {} impl State for Empty { type TotalOpens = Unset; - type LastOpenTime = Unset; type CreatedAt = Unset; + type LastOpenTime = Unset; type Streak = Unset; } ///State transition - sets the `total_opens` field to Set @@ -69,17 +69,8 @@ pub mod pack_state { impl sealed::Sealed for SetTotalOpens {} impl State for SetTotalOpens { type TotalOpens = Set; - type LastOpenTime = S::LastOpenTime; - type CreatedAt = S::CreatedAt; - type Streak = S::Streak; - } - ///State transition - sets the `last_open_time` field to Set - pub struct SetLastOpenTime(PhantomData S>); - impl sealed::Sealed for SetLastOpenTime {} - impl State for SetLastOpenTime { - type TotalOpens = S::TotalOpens; - type LastOpenTime = Set; type CreatedAt = S::CreatedAt; + type LastOpenTime = S::LastOpenTime; type Streak = S::Streak; } ///State transition - sets the `created_at` field to Set @@ -87,8 +78,17 @@ pub mod pack_state { impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { type TotalOpens = S::TotalOpens; - type LastOpenTime = S::LastOpenTime; type CreatedAt = Set; + type LastOpenTime = S::LastOpenTime; + type Streak = S::Streak; + } + ///State transition - sets the `last_open_time` field to Set + pub struct SetLastOpenTime(PhantomData S>); + impl sealed::Sealed for SetLastOpenTime {} + impl State for SetLastOpenTime { + type TotalOpens = S::TotalOpens; + type CreatedAt = S::CreatedAt; + type LastOpenTime = Set; type Streak = S::Streak; } ///State transition - sets the `streak` field to Set @@ -96,8 +96,8 @@ pub mod pack_state { impl sealed::Sealed for SetStreak {} impl State for SetStreak { type TotalOpens = S::TotalOpens; - type LastOpenTime = S::LastOpenTime; type CreatedAt = S::CreatedAt; + type LastOpenTime = S::LastOpenTime; type Streak = Set; } /// Marker types for field names @@ -105,10 +105,10 @@ pub mod pack_state { pub mod members { ///Marker type for the `total_opens` field pub struct total_opens(()); - ///Marker type for the `last_open_time` field - pub struct last_open_time(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `last_open_time` field + pub struct last_open_time(()); ///Marker type for the `streak` field pub struct streak(()); } @@ -282,8 +282,8 @@ impl<'a, S> PackBuilder<'a, S> where S: pack_state::State, S::TotalOpens: pack_state::IsSet, - S::LastOpenTime: pack_state::IsSet, S::CreatedAt: pack_state::IsSet, + S::LastOpenTime: pack_state::IsSet, S::Streak: pack_state::IsSet, { /// Build the final struct @@ -303,7 +303,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Pack<'a> { @@ -456,7 +456,7 @@ fn lexicon_doc_net_anisota_beta_game_pack() -> ::jacquard_lexicon::lexicon::Lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -468,10 +468,10 @@ fn lexicon_doc_net_anisota_beta_game_pack() -> ::jacquard_lexicon::lexicon::Lexi description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("lastOpenTime"), - ::jacquard_common::smol_str::SmolStr::new_static("totalOpens"), - ::jacquard_common::smol_str::SmolStr::new_static("streak"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("lastOpenTime"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("totalOpens"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("streak"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -479,7 +479,7 @@ fn lexicon_doc_net_anisota_beta_game_pack() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -502,7 +502,7 @@ fn lexicon_doc_net_anisota_beta_game_pack() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "lastModified", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -525,7 +525,7 @@ fn lexicon_doc_net_anisota_beta_game_pack() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "lastOpenTime", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -548,7 +548,7 @@ fn lexicon_doc_net_anisota_beta_game_pack() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "longestStreak", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -561,7 +561,7 @@ fn lexicon_doc_net_anisota_beta_game_pack() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "packHistory", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -581,7 +581,9 @@ fn lexicon_doc_net_anisota_beta_game_pack() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("streak"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "streak", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -592,7 +594,7 @@ fn lexicon_doc_net_anisota_beta_game_pack() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "totalOpens", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -610,7 +612,9 @@ fn lexicon_doc_net_anisota_beta_game_pack() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("packHistoryEntry"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "packHistoryEntry", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -623,7 +627,7 @@ fn lexicon_doc_net_anisota_beta_game_pack() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "itemsReceived", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -643,7 +647,9 @@ fn lexicon_doc_net_anisota_beta_game_pack() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("openTime"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "openTime", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -664,7 +670,7 @@ fn lexicon_doc_net_anisota_beta_game_pack() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "streakCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -681,7 +687,7 @@ fn lexicon_doc_net_anisota_beta_game_pack() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("receivedItem"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("receivedItem"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -694,7 +700,9 @@ fn lexicon_doc_net_anisota_beta_game_pack() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("itemId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "itemId", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -713,7 +721,9 @@ fn lexicon_doc_net_anisota_beta_game_pack() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("quantity"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "quantity", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -724,7 +734,9 @@ fn lexicon_doc_net_anisota_beta_game_pack() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rarity"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "rarity", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Rarity of the item"), 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 5d212a927..d24327180 100644 --- a/crates/jacquard-api/src/net_anisota/beta/game/progress.rs +++ b/crates/jacquard-api/src/net_anisota/beta/game/progress.rs @@ -79,85 +79,85 @@ pub mod progress_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type TotalXp; type XpToNextLevel; - type CreatedAt; type ProgressPercentage; type Level; + type CreatedAt; + type TotalXp; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type TotalXp = Unset; type XpToNextLevel = Unset; - type CreatedAt = Unset; type ProgressPercentage = Unset; type Level = Unset; - } - ///State transition - sets the `total_xp` field to Set - pub struct SetTotalXp(PhantomData S>); - impl sealed::Sealed for SetTotalXp {} - impl State for SetTotalXp { - type TotalXp = Set; - type XpToNextLevel = S::XpToNextLevel; - type CreatedAt = S::CreatedAt; - type ProgressPercentage = S::ProgressPercentage; - type Level = S::Level; + type CreatedAt = Unset; + type TotalXp = Unset; } ///State transition - sets the `xp_to_next_level` field to Set pub struct SetXpToNextLevel(PhantomData S>); impl sealed::Sealed for SetXpToNextLevel {} impl State for SetXpToNextLevel { - type TotalXp = S::TotalXp; type XpToNextLevel = Set; - type CreatedAt = S::CreatedAt; type ProgressPercentage = S::ProgressPercentage; type Level = S::Level; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { + type CreatedAt = S::CreatedAt; type TotalXp = S::TotalXp; - type XpToNextLevel = S::XpToNextLevel; - type CreatedAt = Set; - type ProgressPercentage = S::ProgressPercentage; - type Level = S::Level; } ///State transition - sets the `progress_percentage` field to Set pub struct SetProgressPercentage(PhantomData S>); impl sealed::Sealed for SetProgressPercentage {} impl State for SetProgressPercentage { - type TotalXp = S::TotalXp; type XpToNextLevel = S::XpToNextLevel; - type CreatedAt = S::CreatedAt; type ProgressPercentage = Set; type Level = S::Level; + type CreatedAt = S::CreatedAt; + type TotalXp = S::TotalXp; } ///State transition - sets the `level` field to Set pub struct SetLevel(PhantomData S>); impl sealed::Sealed for SetLevel {} impl State for SetLevel { - type TotalXp = S::TotalXp; type XpToNextLevel = S::XpToNextLevel; - type CreatedAt = S::CreatedAt; type ProgressPercentage = S::ProgressPercentage; type Level = Set; + type CreatedAt = S::CreatedAt; + type TotalXp = S::TotalXp; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type XpToNextLevel = S::XpToNextLevel; + type ProgressPercentage = S::ProgressPercentage; + type Level = S::Level; + type CreatedAt = Set; + type TotalXp = S::TotalXp; + } + ///State transition - sets the `total_xp` field to Set + pub struct SetTotalXp(PhantomData S>); + impl sealed::Sealed for SetTotalXp {} + impl State for SetTotalXp { + type XpToNextLevel = S::XpToNextLevel; + type ProgressPercentage = S::ProgressPercentage; + type Level = S::Level; + type CreatedAt = S::CreatedAt; + type TotalXp = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `total_xp` field - pub struct total_xp(()); ///Marker type for the `xp_to_next_level` field pub struct xp_to_next_level(()); - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `progress_percentage` field pub struct progress_percentage(()); ///Marker type for the `level` field pub struct level(()); + ///Marker type for the `created_at` field + pub struct created_at(()); + ///Marker type for the `total_xp` field + pub struct total_xp(()); } } @@ -491,11 +491,11 @@ where impl<'a, S> ProgressBuilder<'a, S> where S: progress_state::State, - S::TotalXp: progress_state::IsSet, S::XpToNextLevel: progress_state::IsSet, - S::CreatedAt: progress_state::IsSet, S::ProgressPercentage: progress_state::IsSet, S::Level: progress_state::IsSet, + S::CreatedAt: progress_state::IsSet, + S::TotalXp: progress_state::IsSet, { /// Build the final struct pub fn build(self) -> Progress<'a> { @@ -522,7 +522,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Progress<'a> { @@ -694,7 +694,7 @@ fn lexicon_doc_net_anisota_beta_game_progress() -> ::jacquard_lexicon::lexicon:: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -706,11 +706,11 @@ fn lexicon_doc_net_anisota_beta_game_progress() -> ::jacquard_lexicon::lexicon:: description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("level"), - ::jacquard_common::smol_str::SmolStr::new_static("totalXP"), - ::jacquard_common::smol_str::SmolStr::new_static("progressPercentage"), - ::jacquard_common::smol_str::SmolStr::new_static("xpToNextLevel"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("level"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("totalXP"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("progressPercentage"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("xpToNextLevel"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -718,7 +718,9 @@ fn lexicon_doc_net_anisota_beta_game_progress() -> ::jacquard_lexicon::lexicon:: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cardUri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cardUri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -737,7 +739,7 @@ fn lexicon_doc_net_anisota_beta_game_progress() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -760,7 +762,7 @@ fn lexicon_doc_net_anisota_beta_game_progress() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "currentStamina", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -781,7 +783,9 @@ fn lexicon_doc_net_anisota_beta_game_progress() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("level"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "level", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -792,7 +796,7 @@ fn lexicon_doc_net_anisota_beta_game_progress() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "metadata", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -801,7 +805,7 @@ fn lexicon_doc_net_anisota_beta_game_progress() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "previousLevel", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -814,7 +818,7 @@ fn lexicon_doc_net_anisota_beta_game_progress() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "progressPercentage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -835,7 +839,7 @@ fn lexicon_doc_net_anisota_beta_game_progress() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "relatedLogUris", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -861,7 +865,7 @@ fn lexicon_doc_net_anisota_beta_game_progress() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sessionId", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -882,7 +886,7 @@ fn lexicon_doc_net_anisota_beta_game_progress() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sessionUri", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -903,14 +907,18 @@ fn lexicon_doc_net_anisota_beta_game_progress() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("stats"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "stats", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#stats"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("totalXP"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "totalXP", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -921,7 +929,7 @@ fn lexicon_doc_net_anisota_beta_game_progress() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "triggerSource", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -942,7 +950,7 @@ fn lexicon_doc_net_anisota_beta_game_progress() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "xpGainedSinceLastSave", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -955,7 +963,7 @@ fn lexicon_doc_net_anisota_beta_game_progress() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "xpToNextLevel", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -973,7 +981,7 @@ fn lexicon_doc_net_anisota_beta_game_progress() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("metadata"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("metadata"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -986,7 +994,7 @@ fn lexicon_doc_net_anisota_beta_game_progress() -> ::jacquard_lexicon::lexicon:: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "clientVersion", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1007,7 +1015,9 @@ fn lexicon_doc_net_anisota_beta_game_progress() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("platform"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "platform", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1030,7 +1040,7 @@ fn lexicon_doc_net_anisota_beta_game_progress() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("stats"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("stats"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -1043,7 +1053,7 @@ fn lexicon_doc_net_anisota_beta_game_progress() -> ::jacquard_lexicon::lexicon:: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dailyRewardsClaimed", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1056,7 +1066,7 @@ fn lexicon_doc_net_anisota_beta_game_progress() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "itemsCollected", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1069,7 +1079,7 @@ fn lexicon_doc_net_anisota_beta_game_progress() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "lastPostReadDate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1092,7 +1102,7 @@ fn lexicon_doc_net_anisota_beta_game_progress() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "postsReadToday", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1105,7 +1115,7 @@ fn lexicon_doc_net_anisota_beta_game_progress() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "postsReadTotal", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1118,7 +1128,7 @@ fn lexicon_doc_net_anisota_beta_game_progress() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "postsViewed", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1131,7 +1141,7 @@ fn lexicon_doc_net_anisota_beta_game_progress() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "shufflesPerformed", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1144,7 +1154,7 @@ fn lexicon_doc_net_anisota_beta_game_progress() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "specimensCollected", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { 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 2dcc4cd0c..719140237 100644 --- a/crates/jacquard-api/src/net_anisota/beta/game/session.rs +++ b/crates/jacquard-api/src/net_anisota/beta/game/session.rs @@ -53,7 +53,9 @@ fn lexicon_doc_net_anisota_beta_game_session() -> ::jacquard_lexicon::lexicon::L defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("activitySummary"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "activitySummary", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -66,7 +68,7 @@ fn lexicon_doc_net_anisota_beta_game_session() -> ::jacquard_lexicon::lexicon::L #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "currentLevel", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -79,7 +81,7 @@ fn lexicon_doc_net_anisota_beta_game_session() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "currentXP", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -92,7 +94,7 @@ fn lexicon_doc_net_anisota_beta_game_session() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "gameActions", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -101,7 +103,7 @@ fn lexicon_doc_net_anisota_beta_game_session() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "pagesVisited", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -127,7 +129,7 @@ fn lexicon_doc_net_anisota_beta_game_session() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "totalEvents", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -140,7 +142,7 @@ fn lexicon_doc_net_anisota_beta_game_session() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "xpGainedThisSession", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -157,7 +159,7 @@ fn lexicon_doc_net_anisota_beta_game_session() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("gameActions"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("gameActions"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -170,7 +172,7 @@ fn lexicon_doc_net_anisota_beta_game_session() -> ::jacquard_lexicon::lexicon::L #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dailyRewardsClaimed", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -183,7 +185,7 @@ fn lexicon_doc_net_anisota_beta_game_session() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "feedsLoaded", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -196,7 +198,7 @@ fn lexicon_doc_net_anisota_beta_game_session() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "itemsCollected", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -209,7 +211,9 @@ fn lexicon_doc_net_anisota_beta_game_session() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("levelUps"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "levelUps", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -220,7 +224,7 @@ fn lexicon_doc_net_anisota_beta_game_session() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "postsViewed", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -233,7 +237,7 @@ fn lexicon_doc_net_anisota_beta_game_session() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "specimensCollected", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -250,7 +254,7 @@ fn lexicon_doc_net_anisota_beta_game_session() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -262,10 +266,10 @@ fn lexicon_doc_net_anisota_beta_game_session() -> ::jacquard_lexicon::lexicon::L description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("startedAt"), - ::jacquard_common::smol_str::SmolStr::new_static("status"), - ::jacquard_common::smol_str::SmolStr::new_static("platform"), - ::jacquard_common::smol_str::SmolStr::new_static("clientVersion") + ::jacquard_common::deps::smol_str::SmolStr::new_static("startedAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("status"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("platform"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("clientVersion") ], ), nullable: None, @@ -273,7 +277,7 @@ fn lexicon_doc_net_anisota_beta_game_session() -> ::jacquard_lexicon::lexicon::L #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "activitySummary", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -284,7 +288,7 @@ fn lexicon_doc_net_anisota_beta_game_session() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "clientVersion", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -305,7 +309,7 @@ fn lexicon_doc_net_anisota_beta_game_session() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -328,7 +332,7 @@ fn lexicon_doc_net_anisota_beta_game_session() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "duration", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -341,7 +345,7 @@ fn lexicon_doc_net_anisota_beta_game_session() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "endReason", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -362,7 +366,9 @@ fn lexicon_doc_net_anisota_beta_game_session() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("endedAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "endedAt", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -383,7 +389,7 @@ fn lexicon_doc_net_anisota_beta_game_session() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "lastActivityAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -406,7 +412,7 @@ fn lexicon_doc_net_anisota_beta_game_session() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "metadata", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -415,7 +421,7 @@ fn lexicon_doc_net_anisota_beta_game_session() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "parentSessionUri", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -436,7 +442,7 @@ fn lexicon_doc_net_anisota_beta_game_session() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "platform", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -457,7 +463,7 @@ fn lexicon_doc_net_anisota_beta_game_session() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "relatedLogUris", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -483,7 +489,7 @@ fn lexicon_doc_net_anisota_beta_game_session() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "relatedProgressUris", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -509,7 +515,7 @@ fn lexicon_doc_net_anisota_beta_game_session() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "relatedSessionUris", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -535,7 +541,7 @@ fn lexicon_doc_net_anisota_beta_game_session() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sessionContext", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -546,7 +552,7 @@ fn lexicon_doc_net_anisota_beta_game_session() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "startedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -569,7 +575,9 @@ fn lexicon_doc_net_anisota_beta_game_session() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("status"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "status", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -588,7 +596,7 @@ fn lexicon_doc_net_anisota_beta_game_session() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -616,7 +624,7 @@ fn lexicon_doc_net_anisota_beta_game_session() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("metadata"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("metadata"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -629,7 +637,9 @@ fn lexicon_doc_net_anisota_beta_game_session() -> ::jacquard_lexicon::lexicon::L #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("features"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "features", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -653,7 +663,7 @@ fn lexicon_doc_net_anisota_beta_game_session() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "networkCondition", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -674,7 +684,7 @@ fn lexicon_doc_net_anisota_beta_game_session() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "performanceMetrics", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -689,7 +699,9 @@ fn lexicon_doc_net_anisota_beta_game_session() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("performanceMetrics"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "performanceMetrics", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static("Performance-related data"), @@ -700,7 +712,7 @@ fn lexicon_doc_net_anisota_beta_game_session() -> ::jacquard_lexicon::lexicon::L #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "averageResponseTime", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -713,7 +725,7 @@ fn lexicon_doc_net_anisota_beta_game_session() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "errorCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -730,7 +742,7 @@ fn lexicon_doc_net_anisota_beta_game_session() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sessionContext"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("sessionContext"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -743,7 +755,7 @@ fn lexicon_doc_net_anisota_beta_game_session() -> ::jacquard_lexicon::lexicon::L #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "authenticationMethod", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -764,7 +776,7 @@ fn lexicon_doc_net_anisota_beta_game_session() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "entryPoint", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -785,7 +797,7 @@ fn lexicon_doc_net_anisota_beta_game_session() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isNewUser", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -795,7 +807,9 @@ fn lexicon_doc_net_anisota_beta_game_session() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("referrer"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "referrer", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1080,67 +1094,67 @@ pub mod session_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type StartedAt; - type Platform; type ClientVersion; type Status; + type Platform; + type StartedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type StartedAt = Unset; - type Platform = Unset; type ClientVersion = Unset; type Status = Unset; - } - ///State transition - sets the `started_at` field to Set - pub struct SetStartedAt(PhantomData S>); - impl sealed::Sealed for SetStartedAt {} - impl State for SetStartedAt { - type StartedAt = Set; - type Platform = S::Platform; - type ClientVersion = S::ClientVersion; - type Status = S::Status; - } - ///State transition - sets the `platform` field to Set - pub struct SetPlatform(PhantomData S>); - impl sealed::Sealed for SetPlatform {} - impl State for SetPlatform { - type StartedAt = S::StartedAt; - type Platform = Set; - type ClientVersion = S::ClientVersion; - type Status = S::Status; + type Platform = Unset; + type StartedAt = Unset; } ///State transition - sets the `client_version` field to Set pub struct SetClientVersion(PhantomData S>); impl sealed::Sealed for SetClientVersion {} impl State for SetClientVersion { - type StartedAt = S::StartedAt; - type Platform = S::Platform; type ClientVersion = Set; type Status = S::Status; + type Platform = S::Platform; + type StartedAt = S::StartedAt; } ///State transition - sets the `status` field to Set pub struct SetStatus(PhantomData S>); impl sealed::Sealed for SetStatus {} impl State for SetStatus { - type StartedAt = S::StartedAt; - type Platform = S::Platform; type ClientVersion = S::ClientVersion; type Status = Set; + type Platform = S::Platform; + type StartedAt = S::StartedAt; + } + ///State transition - sets the `platform` field to Set + pub struct SetPlatform(PhantomData S>); + impl sealed::Sealed for SetPlatform {} + impl State for SetPlatform { + type ClientVersion = S::ClientVersion; + type Status = S::Status; + type Platform = Set; + type StartedAt = S::StartedAt; + } + ///State transition - sets the `started_at` field to Set + pub struct SetStartedAt(PhantomData S>); + impl sealed::Sealed for SetStartedAt {} + impl State for SetStartedAt { + type ClientVersion = S::ClientVersion; + type Status = S::Status; + type Platform = S::Platform; + type StartedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `started_at` field - pub struct started_at(()); - ///Marker type for the `platform` field - pub struct platform(()); ///Marker type for the `client_version` field pub struct client_version(()); ///Marker type for the `status` field pub struct status(()); + ///Marker type for the `platform` field + pub struct platform(()); + ///Marker type for the `started_at` field + pub struct started_at(()); } } @@ -1533,10 +1547,10 @@ impl<'a, S: session_state::State> SessionBuilder<'a, S> { impl<'a, S> SessionBuilder<'a, S> where S: session_state::State, - S::StartedAt: session_state::IsSet, - S::Platform: session_state::IsSet, S::ClientVersion: session_state::IsSet, S::Status: session_state::IsSet, + S::Platform: session_state::IsSet, + S::StartedAt: session_state::IsSet, { /// Build the final struct pub fn build(self) -> Session<'a> { @@ -1565,7 +1579,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Session<'a> { diff --git a/crates/jacquard-api/src/net_anisota/feed/draft.rs b/crates/jacquard-api/src/net_anisota/feed/draft.rs index 64c8af1ad..b42faf9d6 100644 --- a/crates/jacquard-api/src/net_anisota/feed/draft.rs +++ b/crates/jacquard-api/src/net_anisota/feed/draft.rs @@ -59,37 +59,37 @@ pub mod draft_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Text; type CreatedAt; + type Text; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Text = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `text` field to Set - pub struct SetText(PhantomData S>); - impl sealed::Sealed for SetText {} - impl State for SetText { - type Text = Set; - type CreatedAt = S::CreatedAt; + type Text = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Text = S::Text; type CreatedAt = Set; + type Text = S::Text; + } + ///State transition - sets the `text` field to Set + pub struct SetText(PhantomData S>); + impl sealed::Sealed for SetText {} + impl State for SetText { + type CreatedAt = S::CreatedAt; + type Text = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `text` field - pub struct text(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `text` field + pub struct text(()); } } @@ -306,8 +306,8 @@ impl<'a, S: draft_state::State> DraftBuilder<'a, S> { impl<'a, S> DraftBuilder<'a, S> where S: draft_state::State, - S::Text: draft_state::IsSet, S::CreatedAt: draft_state::IsSet, + S::Text: draft_state::IsSet, { /// Build the final struct pub fn build(self) -> Draft<'a> { @@ -328,7 +328,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Draft<'a> { @@ -486,7 +486,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Draft<'a> { { let value = &self.text; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -517,7 +517,7 @@ fn lexicon_doc_net_anisota_feed_draft() -> ::jacquard_lexicon::lexicon::LexiconD defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -529,8 +529,8 @@ fn lexicon_doc_net_anisota_feed_draft() -> ::jacquard_lexicon::lexicon::LexiconD description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("text"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -538,7 +538,7 @@ fn lexicon_doc_net_anisota_feed_draft() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -561,7 +561,9 @@ fn lexicon_doc_net_anisota_feed_draft() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("embed"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "embed", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -575,7 +577,9 @@ fn lexicon_doc_net_anisota_feed_draft() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("facets"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "facets", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -593,7 +597,9 @@ fn lexicon_doc_net_anisota_feed_draft() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("labels"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "labels", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: Some( ::jacquard_common::CowStr::new_static( @@ -607,7 +613,9 @@ fn lexicon_doc_net_anisota_feed_draft() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("langs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "langs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -633,14 +641,18 @@ fn lexicon_doc_net_anisota_feed_draft() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reply"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reply", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#replyRef"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tags", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -664,7 +676,9 @@ fn lexicon_doc_net_anisota_feed_draft() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -683,7 +697,7 @@ fn lexicon_doc_net_anisota_feed_draft() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -711,13 +725,13 @@ fn lexicon_doc_net_anisota_feed_draft() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("replyRef"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("replyRef"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("root"), - ::jacquard_common::smol_str::SmolStr::new_static("parent") + ::jacquard_common::deps::smol_str::SmolStr::new_static("root"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("parent") ], ), nullable: None, @@ -725,7 +739,9 @@ fn lexicon_doc_net_anisota_feed_draft() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("parent"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "parent", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -734,7 +750,9 @@ fn lexicon_doc_net_anisota_feed_draft() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("root"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "root", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -779,37 +797,37 @@ pub mod reply_ref_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Root; type Parent; + type Root; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Root = Unset; type Parent = Unset; - } - ///State transition - sets the `root` field to Set - pub struct SetRoot(PhantomData S>); - impl sealed::Sealed for SetRoot {} - impl State for SetRoot { - type Root = Set; - type Parent = S::Parent; + type Root = Unset; } ///State transition - sets the `parent` field to Set pub struct SetParent(PhantomData S>); impl sealed::Sealed for SetParent {} impl State for SetParent { - type Root = S::Root; type Parent = Set; + type Root = S::Root; + } + ///State transition - sets the `root` field to Set + pub struct SetRoot(PhantomData S>); + impl sealed::Sealed for SetRoot {} + impl State for SetRoot { + type Parent = S::Parent; + type Root = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `root` field - pub struct root(()); ///Marker type for the `parent` field pub struct parent(()); + ///Marker type for the `root` field + pub struct root(()); } } @@ -882,8 +900,8 @@ where impl<'a, S> ReplyRefBuilder<'a, S> where S: reply_ref_state::State, - S::Root: reply_ref_state::IsSet, S::Parent: reply_ref_state::IsSet, + S::Root: reply_ref_state::IsSet, { /// Build the final struct pub fn build(self) -> ReplyRef<'a> { @@ -897,7 +915,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ReplyRef<'a> { diff --git a/crates/jacquard-api/src/net_anisota/feed/like.rs b/crates/jacquard-api/src/net_anisota/feed/like.rs index ab6d3676e..9585a8ae4 100644 --- a/crates/jacquard-api/src/net_anisota/feed/like.rs +++ b/crates/jacquard-api/src/net_anisota/feed/like.rs @@ -153,7 +153,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Like<'a> { @@ -254,7 +254,7 @@ fn lexicon_doc_net_anisota_feed_like() -> ::jacquard_lexicon::lexicon::LexiconDo defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -266,8 +266,8 @@ fn lexicon_doc_net_anisota_feed_like() -> ::jacquard_lexicon::lexicon::LexiconDo description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -275,7 +275,7 @@ fn lexicon_doc_net_anisota_feed_like() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -298,7 +298,9 @@ fn lexicon_doc_net_anisota_feed_like() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/net_anisota/feed/list.rs b/crates/jacquard-api/src/net_anisota/feed/list.rs index 1872b6e66..b589a5dd6 100644 --- a/crates/jacquard-api/src/net_anisota/feed/list.rs +++ b/crates/jacquard-api/src/net_anisota/feed/list.rs @@ -47,37 +47,37 @@ pub mod list_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type Name; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type Name = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Name = S::Name; + type CreatedAt = Unset; } ///State transition - sets the `name` field to Set pub struct SetName(PhantomData S>); impl sealed::Sealed for SetName {} impl State for SetName { - type CreatedAt = S::CreatedAt; type Name = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Name = S::Name; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `name` field pub struct name(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -210,8 +210,8 @@ impl<'a, S: list_state::State> ListBuilder<'a, S> { impl<'a, S> ListBuilder<'a, S> where S: list_state::State, - S::CreatedAt: list_state::IsSet, S::Name: list_state::IsSet, + S::CreatedAt: list_state::IsSet, { /// Build the final struct pub fn build(self) -> List<'a> { @@ -228,7 +228,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> List<'a> { @@ -369,7 +369,7 @@ fn lexicon_doc_net_anisota_feed_list() -> ::jacquard_lexicon::lexicon::LexiconDo defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -381,8 +381,8 @@ fn lexicon_doc_net_anisota_feed_list() -> ::jacquard_lexicon::lexicon::LexiconDo description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -390,7 +390,9 @@ fn lexicon_doc_net_anisota_feed_list() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("avatar"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "avatar", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -398,7 +400,7 @@ fn lexicon_doc_net_anisota_feed_list() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -421,7 +423,7 @@ fn lexicon_doc_net_anisota_feed_list() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -442,7 +444,9 @@ fn lexicon_doc_net_anisota_feed_list() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -461,7 +465,9 @@ fn lexicon_doc_net_anisota_feed_list() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tags", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( 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 d17787da2..e3f4e67b8 100644 --- a/crates/jacquard-api/src/net_anisota/feed/list_item.rs +++ b/crates/jacquard-api/src/net_anisota/feed/list_item.rs @@ -38,49 +38,49 @@ pub mod list_item_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Subject; type List; + type Subject; type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Subject = Unset; type List = Unset; + type Subject = Unset; type CreatedAt = Unset; } - ///State transition - sets the `subject` field to Set - pub struct SetSubject(PhantomData S>); - impl sealed::Sealed for SetSubject {} - impl State for SetSubject { - type Subject = Set; - type List = S::List; - type CreatedAt = S::CreatedAt; - } ///State transition - sets the `list` field to Set pub struct SetList(PhantomData S>); impl sealed::Sealed for SetList {} impl State for SetList { - type Subject = S::Subject; type List = Set; + type Subject = S::Subject; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `subject` field to Set + pub struct SetSubject(PhantomData S>); + impl sealed::Sealed for SetSubject {} + impl State for SetSubject { + type List = S::List; + type Subject = Set; type CreatedAt = S::CreatedAt; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Subject = S::Subject; type List = S::List; + type Subject = S::Subject; type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `subject` field - pub struct subject(()); ///Marker type for the `list` field pub struct list(()); + ///Marker type for the `subject` field + pub struct subject(()); ///Marker type for the `created_at` field pub struct created_at(()); } @@ -175,8 +175,8 @@ where impl<'a, S> ListItemBuilder<'a, S> where S: list_item_state::State, - S::Subject: list_item_state::IsSet, S::List: list_item_state::IsSet, + S::Subject: list_item_state::IsSet, S::CreatedAt: list_item_state::IsSet, { /// Build the final struct @@ -192,7 +192,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ListItem<'a> { @@ -294,7 +294,7 @@ fn lexicon_doc_net_anisota_feed_listItem() -> ::jacquard_lexicon::lexicon::Lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -306,9 +306,9 @@ fn lexicon_doc_net_anisota_feed_listItem() -> ::jacquard_lexicon::lexicon::Lexic description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("list"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("list"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -316,7 +316,7 @@ fn lexicon_doc_net_anisota_feed_listItem() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -339,7 +339,9 @@ fn lexicon_doc_net_anisota_feed_listItem() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("list"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "list", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -360,7 +362,9 @@ fn lexicon_doc_net_anisota_feed_listItem() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/net_anisota/feed/post.rs b/crates/jacquard-api/src/net_anisota/feed/post.rs index 0bacb5f3e..c04b5732a 100644 --- a/crates/jacquard-api/src/net_anisota/feed/post.rs +++ b/crates/jacquard-api/src/net_anisota/feed/post.rs @@ -56,37 +56,37 @@ pub mod post_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type Text; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type Text = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Text = S::Text; + type CreatedAt = Unset; } ///State transition - sets the `text` field to Set pub struct SetText(PhantomData S>); impl sealed::Sealed for SetText {} impl State for SetText { - type CreatedAt = S::CreatedAt; type Text = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Text = S::Text; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `text` field pub struct text(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -273,8 +273,8 @@ where impl<'a, S> PostBuilder<'a, S> where S: post_state::State, - S::CreatedAt: post_state::IsSet, S::Text: post_state::IsSet, + S::CreatedAt: post_state::IsSet, { /// Build the final struct pub fn build(self) -> Post<'a> { @@ -294,7 +294,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Post<'a> { @@ -451,7 +451,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Post<'a> { { let value = &self.text; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -482,7 +482,7 @@ fn lexicon_doc_net_anisota_feed_post() -> ::jacquard_lexicon::lexicon::LexiconDo defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -494,8 +494,8 @@ fn lexicon_doc_net_anisota_feed_post() -> ::jacquard_lexicon::lexicon::LexiconDo description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("text"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -503,7 +503,7 @@ fn lexicon_doc_net_anisota_feed_post() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -526,7 +526,9 @@ fn lexicon_doc_net_anisota_feed_post() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("embed"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "embed", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -540,7 +542,9 @@ fn lexicon_doc_net_anisota_feed_post() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("facets"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "facets", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -558,7 +562,9 @@ fn lexicon_doc_net_anisota_feed_post() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("labels"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "labels", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: Some( ::jacquard_common::CowStr::new_static( @@ -572,7 +578,9 @@ fn lexicon_doc_net_anisota_feed_post() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("langs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "langs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -598,14 +606,18 @@ fn lexicon_doc_net_anisota_feed_post() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reply"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reply", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#replyRef"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tags", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -629,7 +641,9 @@ fn lexicon_doc_net_anisota_feed_post() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -653,13 +667,13 @@ fn lexicon_doc_net_anisota_feed_post() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("replyRef"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("replyRef"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("root"), - ::jacquard_common::smol_str::SmolStr::new_static("parent") + ::jacquard_common::deps::smol_str::SmolStr::new_static("root"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("parent") ], ), nullable: None, @@ -667,7 +681,9 @@ fn lexicon_doc_net_anisota_feed_post() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("parent"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "parent", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -676,7 +692,9 @@ fn lexicon_doc_net_anisota_feed_post() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("root"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "root", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -721,37 +739,37 @@ pub mod reply_ref_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Parent; type Root; + type Parent; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Parent = Unset; type Root = Unset; - } - ///State transition - sets the `parent` field to Set - pub struct SetParent(PhantomData S>); - impl sealed::Sealed for SetParent {} - impl State for SetParent { - type Parent = Set; - type Root = S::Root; + type Parent = Unset; } ///State transition - sets the `root` field to Set pub struct SetRoot(PhantomData S>); impl sealed::Sealed for SetRoot {} impl State for SetRoot { - type Parent = S::Parent; type Root = Set; + type Parent = S::Parent; + } + ///State transition - sets the `parent` field to Set + pub struct SetParent(PhantomData S>); + impl sealed::Sealed for SetParent {} + impl State for SetParent { + type Root = S::Root; + type Parent = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `parent` field - pub struct parent(()); ///Marker type for the `root` field pub struct root(()); + ///Marker type for the `parent` field + pub struct parent(()); } } @@ -824,8 +842,8 @@ where impl<'a, S> ReplyRefBuilder<'a, S> where S: reply_ref_state::State, - S::Parent: reply_ref_state::IsSet, S::Root: reply_ref_state::IsSet, + S::Parent: reply_ref_state::IsSet, { /// Build the final struct pub fn build(self) -> ReplyRef<'a> { @@ -839,7 +857,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ReplyRef<'a> { diff --git a/crates/jacquard-api/src/net_anisota/feed/repost.rs b/crates/jacquard-api/src/net_anisota/feed/repost.rs index 982001409..7153cab9d 100644 --- a/crates/jacquard-api/src/net_anisota/feed/repost.rs +++ b/crates/jacquard-api/src/net_anisota/feed/repost.rs @@ -35,37 +35,37 @@ pub mod repost_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type Subject; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type Subject = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Subject = S::Subject; + type CreatedAt = Unset; } ///State transition - sets the `subject` field to Set pub struct SetSubject(PhantomData S>); impl sealed::Sealed for SetSubject {} impl State for SetSubject { - type CreatedAt = S::CreatedAt; type Subject = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Subject = S::Subject; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `subject` field pub struct subject(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -138,8 +138,8 @@ where impl<'a, S> RepostBuilder<'a, S> where S: repost_state::State, - S::CreatedAt: repost_state::IsSet, S::Subject: repost_state::IsSet, + S::CreatedAt: repost_state::IsSet, { /// Build the final struct pub fn build(self) -> Repost<'a> { @@ -153,7 +153,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Repost<'a> { @@ -254,7 +254,7 @@ fn lexicon_doc_net_anisota_feed_repost() -> ::jacquard_lexicon::lexicon::Lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -266,8 +266,8 @@ fn lexicon_doc_net_anisota_feed_repost() -> ::jacquard_lexicon::lexicon::Lexicon description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -275,7 +275,7 @@ fn lexicon_doc_net_anisota_feed_repost() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -298,7 +298,9 @@ fn lexicon_doc_net_anisota_feed_repost() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( 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 bca101635..768c719cd 100644 --- a/crates/jacquard-api/src/net_anisota/graph/list_mute.rs +++ b/crates/jacquard-api/src/net_anisota/graph/list_mute.rs @@ -44,7 +44,7 @@ fn lexicon_doc_net_anisota_graph_listMute() -> ::jacquard_lexicon::lexicon::Lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("contentTypes"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("contentTypes"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -57,7 +57,9 @@ fn lexicon_doc_net_anisota_graph_listMute() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("posts"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "posts", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -65,7 +67,9 @@ fn lexicon_doc_net_anisota_graph_listMute() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("quotes"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "quotes", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -73,7 +77,9 @@ fn lexicon_doc_net_anisota_graph_listMute() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("replies"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "replies", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -81,7 +87,9 @@ fn lexicon_doc_net_anisota_graph_listMute() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reposts"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reposts", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -93,7 +101,7 @@ fn lexicon_doc_net_anisota_graph_listMute() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -105,8 +113,8 @@ fn lexicon_doc_net_anisota_graph_listMute() -> ::jacquard_lexicon::lexicon::Lexi description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -114,7 +122,7 @@ fn lexicon_doc_net_anisota_graph_listMute() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentTypes", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -125,7 +133,7 @@ fn lexicon_doc_net_anisota_graph_listMute() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -148,7 +156,7 @@ fn lexicon_doc_net_anisota_graph_listMute() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "expiresAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -171,7 +179,9 @@ fn lexicon_doc_net_anisota_graph_listMute() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reason"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reason", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -190,7 +200,9 @@ fn lexicon_doc_net_anisota_graph_listMute() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -211,7 +223,7 @@ fn lexicon_doc_net_anisota_graph_listMute() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "targetFeeds", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -314,37 +326,37 @@ pub mod list_mute_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Subject; type CreatedAt; + type Subject; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Subject = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `subject` field to Set - pub struct SetSubject(PhantomData S>); - impl sealed::Sealed for SetSubject {} - impl State for SetSubject { - type Subject = Set; - type CreatedAt = S::CreatedAt; + type Subject = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Subject = S::Subject; type CreatedAt = Set; + type Subject = S::Subject; + } + ///State transition - sets the `subject` field to Set + pub struct SetSubject(PhantomData S>); + impl sealed::Sealed for SetSubject {} + impl State for SetSubject { + type CreatedAt = S::CreatedAt; + type Subject = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `subject` field - pub struct subject(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `subject` field + pub struct subject(()); } } @@ -494,8 +506,8 @@ impl<'a, S: list_mute_state::State> ListMuteBuilder<'a, S> { impl<'a, S> ListMuteBuilder<'a, S> where S: list_mute_state::State, - S::Subject: list_mute_state::IsSet, S::CreatedAt: list_mute_state::IsSet, + S::Subject: list_mute_state::IsSet, { /// Build the final struct pub fn build(self) -> ListMute<'a> { @@ -513,7 +525,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ListMute<'a> { diff --git a/crates/jacquard-api/src/net_anisota/graph/mute.rs b/crates/jacquard-api/src/net_anisota/graph/mute.rs index 35ac00ad0..d97ea1674 100644 --- a/crates/jacquard-api/src/net_anisota/graph/mute.rs +++ b/crates/jacquard-api/src/net_anisota/graph/mute.rs @@ -44,7 +44,7 @@ fn lexicon_doc_net_anisota_graph_mute() -> ::jacquard_lexicon::lexicon::LexiconD defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("contentTypes"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("contentTypes"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -57,7 +57,9 @@ fn lexicon_doc_net_anisota_graph_mute() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("posts"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "posts", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -65,7 +67,9 @@ fn lexicon_doc_net_anisota_graph_mute() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("quotes"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "quotes", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -73,7 +77,9 @@ fn lexicon_doc_net_anisota_graph_mute() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("replies"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "replies", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -81,7 +87,9 @@ fn lexicon_doc_net_anisota_graph_mute() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reposts"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reposts", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -93,7 +101,7 @@ fn lexicon_doc_net_anisota_graph_mute() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -105,8 +113,8 @@ fn lexicon_doc_net_anisota_graph_mute() -> ::jacquard_lexicon::lexicon::LexiconD description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -114,7 +122,7 @@ fn lexicon_doc_net_anisota_graph_mute() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentTypes", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -125,7 +133,7 @@ fn lexicon_doc_net_anisota_graph_mute() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -148,7 +156,7 @@ fn lexicon_doc_net_anisota_graph_mute() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "expiresAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -171,7 +179,9 @@ fn lexicon_doc_net_anisota_graph_mute() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reason"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reason", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -190,7 +200,9 @@ fn lexicon_doc_net_anisota_graph_mute() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -211,7 +223,7 @@ fn lexicon_doc_net_anisota_graph_mute() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "targetFeeds", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -314,37 +326,37 @@ pub mod mute_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type Subject; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type Subject = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Subject = S::Subject; + type CreatedAt = Unset; } ///State transition - sets the `subject` field to Set pub struct SetSubject(PhantomData S>); impl sealed::Sealed for SetSubject {} impl State for SetSubject { - type CreatedAt = S::CreatedAt; type Subject = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Subject = S::Subject; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `subject` field pub struct subject(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -494,8 +506,8 @@ impl<'a, S: mute_state::State> MuteBuilder<'a, S> { impl<'a, S> MuteBuilder<'a, S> where S: mute_state::State, - S::CreatedAt: mute_state::IsSet, S::Subject: mute_state::IsSet, + S::CreatedAt: mute_state::IsSet, { /// Build the final struct pub fn build(self) -> Mute<'a> { @@ -513,7 +525,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Mute<'a> { diff --git a/crates/jacquard-api/src/net_anisota/harvest/minigame.rs b/crates/jacquard-api/src/net_anisota/harvest/minigame.rs index 0e653d206..3c8cf809d 100644 --- a/crates/jacquard-api/src/net_anisota/harvest/minigame.rs +++ b/crates/jacquard-api/src/net_anisota/harvest/minigame.rs @@ -80,85 +80,85 @@ pub mod minigame_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type GameContext; + type RoundDuration; type PlayedAt; - type FinalScore; type ShapesCollected; - type RoundDuration; + type GameContext; + type FinalScore; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type GameContext = Unset; + type RoundDuration = Unset; type PlayedAt = Unset; - type FinalScore = Unset; type ShapesCollected = Unset; - type RoundDuration = Unset; + type GameContext = Unset; + type FinalScore = Unset; } - ///State transition - sets the `game_context` field to Set - pub struct SetGameContext(PhantomData S>); - impl sealed::Sealed for SetGameContext {} - impl State for SetGameContext { - type GameContext = Set; + ///State transition - sets the `round_duration` field to Set + pub struct SetRoundDuration(PhantomData S>); + impl sealed::Sealed for SetRoundDuration {} + impl State for SetRoundDuration { + type RoundDuration = Set; type PlayedAt = S::PlayedAt; - type FinalScore = S::FinalScore; type ShapesCollected = S::ShapesCollected; - type RoundDuration = S::RoundDuration; + type GameContext = S::GameContext; + type FinalScore = S::FinalScore; } ///State transition - sets the `played_at` field to Set pub struct SetPlayedAt(PhantomData S>); impl sealed::Sealed for SetPlayedAt {} impl State for SetPlayedAt { - type GameContext = S::GameContext; + type RoundDuration = S::RoundDuration; type PlayedAt = Set; - type FinalScore = S::FinalScore; type ShapesCollected = S::ShapesCollected; - type RoundDuration = S::RoundDuration; - } - ///State transition - sets the `final_score` field to Set - pub struct SetFinalScore(PhantomData S>); - impl sealed::Sealed for SetFinalScore {} - impl State for SetFinalScore { type GameContext = S::GameContext; - type PlayedAt = S::PlayedAt; - type FinalScore = Set; - type ShapesCollected = S::ShapesCollected; - type RoundDuration = S::RoundDuration; + type FinalScore = S::FinalScore; } ///State transition - sets the `shapes_collected` field to Set pub struct SetShapesCollected(PhantomData S>); impl sealed::Sealed for SetShapesCollected {} impl State for SetShapesCollected { - type GameContext = S::GameContext; + type RoundDuration = S::RoundDuration; type PlayedAt = S::PlayedAt; - type FinalScore = S::FinalScore; type ShapesCollected = Set; - type RoundDuration = S::RoundDuration; - } - ///State transition - sets the `round_duration` field to Set - pub struct SetRoundDuration(PhantomData S>); - impl sealed::Sealed for SetRoundDuration {} - impl State for SetRoundDuration { type GameContext = S::GameContext; + type FinalScore = S::FinalScore; + } + ///State transition - sets the `game_context` field to Set + pub struct SetGameContext(PhantomData S>); + impl sealed::Sealed for SetGameContext {} + impl State for SetGameContext { + type RoundDuration = S::RoundDuration; type PlayedAt = S::PlayedAt; + type ShapesCollected = S::ShapesCollected; + type GameContext = Set; type FinalScore = S::FinalScore; + } + ///State transition - sets the `final_score` field to Set + pub struct SetFinalScore(PhantomData S>); + impl sealed::Sealed for SetFinalScore {} + impl State for SetFinalScore { + type RoundDuration = S::RoundDuration; + type PlayedAt = S::PlayedAt; type ShapesCollected = S::ShapesCollected; - type RoundDuration = Set; + type GameContext = S::GameContext; + type FinalScore = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `game_context` field - pub struct game_context(()); + ///Marker type for the `round_duration` field + pub struct round_duration(()); ///Marker type for the `played_at` field pub struct played_at(()); - ///Marker type for the `final_score` field - pub struct final_score(()); ///Marker type for the `shapes_collected` field pub struct shapes_collected(()); - ///Marker type for the `round_duration` field - pub struct round_duration(()); + ///Marker type for the `game_context` field + pub struct game_context(()); + ///Marker type for the `final_score` field + pub struct final_score(()); } } @@ -499,11 +499,11 @@ impl<'a, S: minigame_state::State> MinigameBuilder<'a, S> { impl<'a, S> MinigameBuilder<'a, S> where S: minigame_state::State, - S::GameContext: minigame_state::IsSet, + S::RoundDuration: minigame_state::IsSet, S::PlayedAt: minigame_state::IsSet, - S::FinalScore: minigame_state::IsSet, S::ShapesCollected: minigame_state::IsSet, - S::RoundDuration: minigame_state::IsSet, + S::GameContext: minigame_state::IsSet, + S::FinalScore: minigame_state::IsSet, { /// Build the final struct pub fn build(self) -> Minigame<'a> { @@ -532,7 +532,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Minigame<'a> { @@ -794,7 +794,7 @@ fn lexicon_doc_net_anisota_harvest_minigame() -> ::jacquard_lexicon::lexicon::Le defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -806,11 +806,11 @@ fn lexicon_doc_net_anisota_harvest_minigame() -> ::jacquard_lexicon::lexicon::Le description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("playedAt"), - ::jacquard_common::smol_str::SmolStr::new_static("roundDuration"), - ::jacquard_common::smol_str::SmolStr::new_static("gameContext"), - ::jacquard_common::smol_str::SmolStr::new_static("finalScore"), - ::jacquard_common::smol_str::SmolStr::new_static("shapesCollected") + ::jacquard_common::deps::smol_str::SmolStr::new_static("playedAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("roundDuration"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("gameContext"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("finalScore"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("shapesCollected") ], ), nullable: None, @@ -818,7 +818,7 @@ fn lexicon_doc_net_anisota_harvest_minigame() -> ::jacquard_lexicon::lexicon::Le #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "clientVersion", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -839,7 +839,7 @@ fn lexicon_doc_net_anisota_harvest_minigame() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -862,7 +862,7 @@ fn lexicon_doc_net_anisota_harvest_minigame() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "earlyHarvests", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -875,7 +875,7 @@ fn lexicon_doc_net_anisota_harvest_minigame() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "efficiencyBonus", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -888,7 +888,7 @@ fn lexicon_doc_net_anisota_harvest_minigame() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "finalScore", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -901,7 +901,7 @@ fn lexicon_doc_net_anisota_harvest_minigame() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "gameContext", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -922,7 +922,7 @@ fn lexicon_doc_net_anisota_harvest_minigame() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "lateHarvests", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -935,7 +935,7 @@ fn lexicon_doc_net_anisota_harvest_minigame() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "peakHarvestRate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -948,7 +948,7 @@ fn lexicon_doc_net_anisota_harvest_minigame() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "peakRateBonus", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -961,7 +961,7 @@ fn lexicon_doc_net_anisota_harvest_minigame() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "perfectHarvests", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -974,7 +974,7 @@ fn lexicon_doc_net_anisota_harvest_minigame() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "playedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -997,7 +997,7 @@ fn lexicon_doc_net_anisota_harvest_minigame() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "pointsPerSecond", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1010,7 +1010,7 @@ fn lexicon_doc_net_anisota_harvest_minigame() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "rarityBreakdown", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -1021,7 +1021,7 @@ fn lexicon_doc_net_anisota_harvest_minigame() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "roundDuration", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1034,7 +1034,7 @@ fn lexicon_doc_net_anisota_harvest_minigame() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "shapesCollected", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1047,7 +1047,7 @@ fn lexicon_doc_net_anisota_harvest_minigame() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "shapesMissed", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1060,7 +1060,7 @@ fn lexicon_doc_net_anisota_harvest_minigame() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "totalShapesSpawned", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1078,7 +1078,9 @@ fn lexicon_doc_net_anisota_harvest_minigame() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rarityBreakdown"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "rarityBreakdown", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -1091,7 +1093,9 @@ fn lexicon_doc_net_anisota_harvest_minigame() -> ::jacquard_lexicon::lexicon::Le #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("common"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "common", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -1102,7 +1106,9 @@ fn lexicon_doc_net_anisota_harvest_minigame() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rare"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "rare", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -1113,7 +1119,9 @@ fn lexicon_doc_net_anisota_harvest_minigame() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uncommon"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uncommon", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -1124,7 +1132,7 @@ fn lexicon_doc_net_anisota_harvest_minigame() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "veryCommon", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1137,7 +1145,9 @@ fn lexicon_doc_net_anisota_harvest_minigame() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("veryRare"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "veryRare", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, diff --git a/crates/jacquard-api/src/net_anisota/settings.rs b/crates/jacquard-api/src/net_anisota/settings.rs index 75b033e65..d4df6bb96 100644 --- a/crates/jacquard-api/src/net_anisota/settings.rs +++ b/crates/jacquard-api/src/net_anisota/settings.rs @@ -72,7 +72,9 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("animationTiming"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "animationTiming", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -85,7 +87,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "cardAdvance", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -106,7 +108,9 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cardFlip"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cardFlip", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -125,7 +129,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "cardStackEntrance", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -146,7 +150,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "cornerElements", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -167,7 +171,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "fullscreenTransitions", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -188,7 +192,9 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("modals"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "modals", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -207,7 +213,9 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("overall"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "overall", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -226,7 +234,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "pageTransitions", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -247,7 +255,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "threadTransitions", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -268,7 +276,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "uiTransitions", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -293,7 +301,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "batchNotificationTypes", ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { @@ -304,7 +312,9 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("follows"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "follows", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -312,7 +322,9 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("likes"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "likes", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -320,7 +332,9 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("mentions"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "mentions", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -328,7 +342,9 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("quotes"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "quotes", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -336,7 +352,9 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("replies"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "replies", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -344,7 +362,9 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reposts"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reposts", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -356,7 +376,9 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("behaviorSettings"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "behaviorSettings", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -369,7 +391,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "animationTiming", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -380,7 +402,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "anisotaOnlyMode", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -390,7 +412,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "audioEnabled", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -400,7 +422,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "batchNotificationTypes", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -411,7 +433,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "batchNotifications", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -421,7 +443,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "bypassDetachedQuotes", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -431,7 +453,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "combineRelationshipAndFollowerFilters", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -441,7 +463,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "confirmDeletes", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -451,7 +473,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "confirmDraftSaves", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -461,7 +483,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "defaultHomePage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -482,7 +504,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "defaultPostTarget", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -503,7 +525,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "feedCacheLength", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -516,7 +538,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "filterByFollowerRatio", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -526,7 +548,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "filterNotificationTypes", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -537,7 +559,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "filterNotificationsByFollowers", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -547,7 +569,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "filterNotificationsByRelationship", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -557,7 +579,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "filterRelationshipTypes", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -568,7 +590,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "forceChronologicalSort", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -578,7 +600,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "fullscreenBehavior", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -599,7 +621,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hideInteractedPosts", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -609,7 +631,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hideNotificationCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -619,7 +641,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hideReadPosts", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -629,7 +651,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hideReposts", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -638,7 +660,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "highlightByFollowerRatio", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -648,7 +670,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "highlightMaxFollowerCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -661,7 +683,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "highlightMinFollowerCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -682,7 +704,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "highlightMinFollowerRatio", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -703,7 +725,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "highlightNotificationTypes", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -714,7 +736,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "highlightNotifications", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -724,7 +746,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "includeReplyEngagement", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -734,7 +756,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "keyboardShortcuts", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -745,7 +767,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "maxFollowerCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -758,7 +780,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "minFollowerCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -779,7 +801,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "minFollowerRatio", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -800,7 +822,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "moderationSettings", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -811,7 +833,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "postDrafts", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -821,7 +843,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "reverseFeedOrder", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -831,7 +853,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "showBlockedPosts", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -841,7 +863,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "showNewHighlightsSection", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -851,7 +873,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "showNotificationSections", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -861,7 +883,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "showOlderSection", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -871,7 +893,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "showRarityInHeader", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -881,7 +903,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "showRecentlyReadSection", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -891,7 +913,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "showThreadSuggestion", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -901,7 +923,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "showUnreadSection", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -911,7 +933,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "soundscape", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -932,7 +954,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "statsVisibleSections", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -943,7 +965,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "textOnlyMode", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -953,7 +975,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "trackReadPosts", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -967,7 +989,9 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("controlSettings"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "controlSettings", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -980,7 +1004,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accountList", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -990,7 +1014,9 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("back"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "back", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -998,7 +1024,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "commentButton", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -1008,7 +1034,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyAuthorDID", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -1018,7 +1044,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyButton", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -1028,7 +1054,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyPostLink", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -1038,7 +1064,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyPostText", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -1048,7 +1074,9 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("delete"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "delete", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -1056,7 +1084,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "engageButton", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -1066,7 +1094,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "feedSwitcher", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -1076,7 +1104,9 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("fetch"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "fetch", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -1084,7 +1114,9 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("flip"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "flip", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -1092,7 +1124,9 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("forward"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "forward", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -1100,7 +1134,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "fullscreen", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -1110,7 +1144,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "leafletPublications", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -1120,7 +1154,9 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("like"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "like", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -1128,7 +1164,9 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("list"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "list", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -1136,7 +1174,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "multiEngageButton", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -1146,7 +1184,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "multiRepostButton", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -1156,7 +1194,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "positionButton", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -1166,7 +1204,9 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("postList"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "postList", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -1174,7 +1214,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "quickAccess", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -1184,7 +1224,9 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("quote"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "quote", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -1192,7 +1234,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "relationshipButton", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -1202,7 +1244,9 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reply"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reply", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -1210,7 +1254,9 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("repost"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "repost", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -1218,7 +1264,9 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("shuffle"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "shuffle", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -1226,7 +1274,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "textOnlyMode", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -1240,7 +1288,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cornerElements"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cornerElements"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -1253,7 +1301,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "bottomLeft", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1274,7 +1322,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "bottomRight", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1295,7 +1343,9 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("topLeft"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "topLeft", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1314,7 +1364,9 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("topRight"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "topRight", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1337,7 +1389,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "filterNotificationTypes", ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { @@ -1348,7 +1400,9 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("follows"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "follows", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -1356,7 +1410,9 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("likes"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "likes", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -1364,7 +1420,9 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("mentions"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "mentions", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -1372,7 +1430,9 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("quotes"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "quotes", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -1380,7 +1440,9 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("replies"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "replies", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -1388,7 +1450,9 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reposts"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reposts", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -1400,7 +1464,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "filterRelationshipTypes", ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { @@ -1411,7 +1475,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "followers", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -1421,7 +1485,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "following", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -1431,7 +1495,9 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("mutuals"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "mutuals", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -1439,7 +1505,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "nonMutuals", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -1453,7 +1519,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hideReposts"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("hideReposts"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -1462,7 +1528,9 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("feed"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "feed", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -1470,7 +1538,9 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("profile"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "profile", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -1482,7 +1552,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "highlightNotificationTypes", ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { @@ -1493,7 +1563,9 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("follows"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "follows", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -1501,7 +1573,9 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("likes"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "likes", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -1509,7 +1583,9 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("mentions"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "mentions", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -1517,7 +1593,9 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("quotes"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "quotes", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -1525,7 +1603,9 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("replies"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "replies", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -1533,7 +1613,9 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reposts"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reposts", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -1545,7 +1627,9 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("keyboardShortcuts"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "keyboardShortcuts", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -1558,7 +1642,9 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("composer"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "composer", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -1567,7 +1653,9 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("global"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "global", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -1576,7 +1664,9 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("modals"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "modals", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -1585,7 +1675,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "navigation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -1596,7 +1686,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "postInteractions", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -1611,7 +1701,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "keyboardShortcutsComposer", ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { @@ -1626,7 +1716,9 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("publish"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "publish", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1649,7 +1741,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "keyboardShortcutsGlobal", ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { @@ -1664,7 +1756,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "collection", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1685,7 +1777,9 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("feed"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "feed", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Navigate to feed"), @@ -1702,7 +1796,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "inventory", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1723,7 +1817,9 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("profile"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "profile", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Navigate to profile"), @@ -1744,7 +1840,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "keyboardShortcutsModals", ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { @@ -1757,7 +1853,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "keyboardHelp", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1778,7 +1874,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "notifications", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1797,7 +1893,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "postComposer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1816,7 +1912,9 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("stats"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "stats", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Open stats modal"), @@ -1833,7 +1931,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "touchMenu", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1856,7 +1954,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "keyboardShortcutsNavigation", ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { @@ -1871,7 +1969,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "arrowDown", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1892,7 +1990,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "arrowLeft", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1913,7 +2011,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "arrowRight", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1934,7 +2032,9 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("arrowUp"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "arrowUp", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1953,7 +2053,9 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("escape"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "escape", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1976,7 +2078,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "keyboardShortcutsPostInteractions", ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { @@ -1991,7 +2093,9 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("like"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "like", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Like current post"), @@ -2008,7 +2112,9 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("quote"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "quote", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Quote current post"), @@ -2025,7 +2131,9 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reply"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reply", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -2044,7 +2152,9 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("repost"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "repost", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Repost current post"), @@ -2065,7 +2175,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -2077,9 +2187,9 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("version"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt"), - ::jacquard_common::smol_str::SmolStr::new_static("updatedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("version"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("updatedAt") ], ), nullable: None, @@ -2087,7 +2197,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "behaviorSettings", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -2098,7 +2208,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "controlOrder", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -2124,7 +2234,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "controlSettings", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -2135,7 +2245,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -2158,7 +2268,9 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("theme"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "theme", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -2177,7 +2289,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "uiSettings", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -2186,7 +2298,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -2209,7 +2321,9 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("version"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "version", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -2225,7 +2339,9 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("moderationSettings"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "moderationSettings", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -2238,7 +2354,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mutedAccountsHandling", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -2259,7 +2375,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mutedContentHandling", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -2284,7 +2400,9 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("statsVisibleSections"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "statsVisibleSections", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -2293,7 +2411,9 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("activity"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "activity", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -2301,7 +2421,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "engagement", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -2311,7 +2431,9 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("progress"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "progress", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -2323,7 +2445,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uiSettings"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("uiSettings"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -2336,7 +2458,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "cornerElements", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -2347,7 +2469,9 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("fontSize"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "fontSize", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -2366,7 +2490,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "postCardPrimarySlot", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -2387,7 +2511,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "postCardSecondarySlot", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -2408,7 +2532,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "profileCardPrimarySlot", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -2429,7 +2553,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "profileCardSecondarySlot", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -2450,7 +2574,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "showPostCardAtSymbol", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -2460,7 +2584,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "showPostCardAvatar", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -2470,7 +2594,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "showPostCardDisplayName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -2480,7 +2604,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "showPostCardFooter", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -2490,7 +2614,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "showPostCardHandle", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -2500,7 +2624,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "showPostCardHeader", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -2510,7 +2634,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "showPostCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -2520,7 +2644,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "showPostReadIndicator", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -2530,7 +2654,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "showProfileAtSymbol", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -2540,7 +2664,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "showProfileBlocked", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -2550,7 +2674,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "showProfileBlocking", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -2560,7 +2684,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "showProfileCancelled", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -2570,7 +2694,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "showProfileCancelling", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -2580,7 +2704,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "showProfileCardAvatar", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -2590,7 +2714,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "showProfileCardFooter", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -2600,7 +2724,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "showProfileCardHeader", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -2610,7 +2734,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "showProfileCollections", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -2620,7 +2744,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "showProfileDisplayName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -2630,7 +2754,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "showProfileFollowers", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -2640,7 +2764,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "showProfileFollowing", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -2650,7 +2774,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "showProfileHandle", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -2660,7 +2784,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "showProfileLexicons", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -2670,7 +2794,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "showProfileListed", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -2680,7 +2804,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "showProfileListing", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -2690,7 +2814,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "showProfileLists", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -2700,7 +2824,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "showProfilePosts", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -2710,7 +2834,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "showProfilePronouns", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -2720,7 +2844,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "showProfileVerified", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -2730,7 +2854,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "showProfileVerifying", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -2740,7 +2864,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "showProfileWebsite", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -2750,7 +2874,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "showRarityIndicator", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -2760,7 +2884,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "showTimestamp", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -2770,7 +2894,7 @@ fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "showUsername", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -4167,50 +4291,50 @@ pub mod settings_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Version; - type CreatedAt; type UpdatedAt; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Version = Unset; - type CreatedAt = Unset; type UpdatedAt = Unset; + type CreatedAt = Unset; } ///State transition - sets the `version` field to Set pub struct SetVersion(PhantomData S>); impl sealed::Sealed for SetVersion {} impl State for SetVersion { type Version = Set; - type CreatedAt = S::CreatedAt; - type UpdatedAt = S::UpdatedAt; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type Version = S::Version; - type CreatedAt = Set; type UpdatedAt = S::UpdatedAt; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `updated_at` field to Set pub struct SetUpdatedAt(PhantomData S>); impl sealed::Sealed for SetUpdatedAt {} impl State for SetUpdatedAt { type Version = S::Version; - type CreatedAt = S::CreatedAt; type UpdatedAt = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Version = S::Version; + type UpdatedAt = S::UpdatedAt; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `version` field pub struct version(()); - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `updated_at` field pub struct updated_at(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -4401,8 +4525,8 @@ impl<'a, S> SettingsBuilder<'a, S> where S: settings_state::State, S::Version: settings_state::IsSet, - S::CreatedAt: settings_state::IsSet, S::UpdatedAt: settings_state::IsSet, + S::CreatedAt: settings_state::IsSet, { /// Build the final struct pub fn build(self) -> Settings<'a> { @@ -4422,7 +4546,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Settings<'a> { diff --git a/crates/jacquard-api/src/net_asadaame5121/at_circle.rs b/crates/jacquard-api/src/net_asadaame5121/at_circle.rs index 7069670fb..c69197a2a 100644 --- a/crates/jacquard-api/src/net_asadaame5121/at_circle.rs +++ b/crates/jacquard-api/src/net_asadaame5121/at_circle.rs @@ -147,7 +147,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> RingRef<'a> { @@ -170,18 +170,22 @@ fn lexicon_doc_net_asadaame5121_at_circle_defs() -> ::jacquard_lexicon::lexicon: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("ringRef"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("ringRef"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("uri")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -202,7 +206,9 @@ fn lexicon_doc_net_asadaame5121_at_circle_defs() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("AT-URI of the Ring"), 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 b37ff4319..69966a1f7 100644 --- a/crates/jacquard-api/src/net_asadaame5121/at_circle/banner.rs +++ b/crates/jacquard-api/src/net_asadaame5121/at_circle/banner.rs @@ -35,51 +35,51 @@ pub mod banner_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; - type Banner; type Ring; + type Banner; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; - type Banner = Unset; type Ring = Unset; + type Banner = Unset; + type CreatedAt = Unset; } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; + ///State transition - sets the `ring` field to Set + pub struct SetRing(PhantomData S>); + impl sealed::Sealed for SetRing {} + impl State for SetRing { + type Ring = Set; type Banner = S::Banner; - type Ring = S::Ring; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `banner` field to Set pub struct SetBanner(PhantomData S>); impl sealed::Sealed for SetBanner {} impl State for SetBanner { - type CreatedAt = S::CreatedAt; - type Banner = Set; type Ring = S::Ring; - } - ///State transition - sets the `ring` field to Set - pub struct SetRing(PhantomData S>); - impl sealed::Sealed for SetRing {} - impl State for SetRing { + type Banner = Set; type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Ring = S::Ring; type Banner = S::Banner; - type Ring = Set; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); - ///Marker type for the `banner` field - pub struct banner(()); ///Marker type for the `ring` field pub struct ring(()); + ///Marker type for the `banner` field + pub struct banner(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -172,9 +172,9 @@ where impl<'a, S> BannerBuilder<'a, S> where S: banner_state::State, - S::CreatedAt: banner_state::IsSet, - S::Banner: banner_state::IsSet, S::Ring: banner_state::IsSet, + S::Banner: banner_state::IsSet, + S::CreatedAt: banner_state::IsSet, { /// Build the final struct pub fn build(self) -> Banner<'a> { @@ -189,7 +189,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Banner<'a> { @@ -291,7 +291,7 @@ fn lexicon_doc_net_asadaame5121_at_circle_banner() -> ::jacquard_lexicon::lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -303,9 +303,9 @@ fn lexicon_doc_net_asadaame5121_at_circle_banner() -> ::jacquard_lexicon::lexico description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("ring"), - ::jacquard_common::smol_str::SmolStr::new_static("banner"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("ring"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("banner"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -313,7 +313,9 @@ fn lexicon_doc_net_asadaame5121_at_circle_banner() -> ::jacquard_lexicon::lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("banner"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "banner", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -321,7 +323,7 @@ fn lexicon_doc_net_asadaame5121_at_circle_banner() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -340,7 +342,9 @@ fn lexicon_doc_net_asadaame5121_at_circle_banner() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("ring"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "ring", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( 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 6e5e6a27f..7ffdf514c 100644 --- a/crates/jacquard-api/src/net_asadaame5121/at_circle/block.rs +++ b/crates/jacquard-api/src/net_asadaame5121/at_circle/block.rs @@ -40,51 +40,51 @@ pub mod block_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Ring; type Subject; type CreatedAt; - type Ring; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Ring = Unset; type Subject = Unset; type CreatedAt = Unset; - type Ring = Unset; + } + ///State transition - sets the `ring` field to Set + pub struct SetRing(PhantomData S>); + impl sealed::Sealed for SetRing {} + impl State for SetRing { + type Ring = Set; + type Subject = S::Subject; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `subject` field to Set pub struct SetSubject(PhantomData S>); impl sealed::Sealed for SetSubject {} impl State for SetSubject { + type Ring = S::Ring; type Subject = Set; type CreatedAt = S::CreatedAt; - type Ring = S::Ring; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Subject = S::Subject; - type CreatedAt = Set; type Ring = S::Ring; - } - ///State transition - sets the `ring` field to Set - pub struct SetRing(PhantomData S>); - impl sealed::Sealed for SetRing {} - impl State for SetRing { type Subject = S::Subject; - type CreatedAt = S::CreatedAt; - type Ring = Set; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `ring` field + pub struct ring(()); ///Marker type for the `subject` field pub struct subject(()); ///Marker type for the `created_at` field pub struct created_at(()); - ///Marker type for the `ring` field - pub struct ring(()); } } @@ -194,9 +194,9 @@ where impl<'a, S> BlockBuilder<'a, S> where S: block_state::State, + S::Ring: block_state::IsSet, S::Subject: block_state::IsSet, S::CreatedAt: block_state::IsSet, - S::Ring: block_state::IsSet, { /// Build the final struct pub fn build(self) -> Block<'a> { @@ -212,7 +212,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Block<'a> { @@ -314,7 +314,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Block<'a> { } if let Some(ref value) = self.reason { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -358,7 +358,7 @@ fn lexicon_doc_net_asadaame5121_at_circle_block() -> ::jacquard_lexicon::lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -370,9 +370,9 @@ fn lexicon_doc_net_asadaame5121_at_circle_block() -> ::jacquard_lexicon::lexicon description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("ring"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("ring"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -380,7 +380,7 @@ fn lexicon_doc_net_asadaame5121_at_circle_block() -> ::jacquard_lexicon::lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -399,7 +399,9 @@ fn lexicon_doc_net_asadaame5121_at_circle_block() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reason"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reason", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Reason for blocking"), @@ -416,7 +418,9 @@ fn lexicon_doc_net_asadaame5121_at_circle_block() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("ring"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "ring", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -425,7 +429,9 @@ fn lexicon_doc_net_asadaame5121_at_circle_block() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( 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 a73b23b45..fbb9e1748 100644 --- a/crates/jacquard-api/src/net_asadaame5121/at_circle/member.rs +++ b/crates/jacquard-api/src/net_asadaame5121/at_circle/member.rs @@ -47,67 +47,67 @@ pub mod member_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; - type Ring; type Url; type Title; + type Ring; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; - type Ring = Unset; type Url = Unset; type Title = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Ring = S::Ring; - type Url = S::Url; - type Title = S::Title; - } - ///State transition - sets the `ring` field to Set - pub struct SetRing(PhantomData S>); - impl sealed::Sealed for SetRing {} - impl State for SetRing { - type CreatedAt = S::CreatedAt; - type Ring = Set; - type Url = S::Url; - type Title = S::Title; + type Ring = Unset; + type CreatedAt = Unset; } ///State transition - sets the `url` field to Set pub struct SetUrl(PhantomData S>); impl sealed::Sealed for SetUrl {} impl State for SetUrl { - type CreatedAt = S::CreatedAt; - type Ring = S::Ring; type Url = Set; type Title = S::Title; + type Ring = S::Ring; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `title` field to Set pub struct SetTitle(PhantomData S>); impl sealed::Sealed for SetTitle {} impl State for SetTitle { - type CreatedAt = S::CreatedAt; - type Ring = S::Ring; type Url = S::Url; type Title = Set; + type Ring = S::Ring; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `ring` field to Set + pub struct SetRing(PhantomData S>); + impl sealed::Sealed for SetRing {} + impl State for SetRing { + type Url = S::Url; + type Title = S::Title; + type Ring = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Url = S::Url; + type Title = S::Title; + type Ring = S::Ring; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); - ///Marker type for the `ring` field - pub struct ring(()); ///Marker type for the `url` field pub struct url(()); ///Marker type for the `title` field pub struct title(()); + ///Marker type for the `ring` field + pub struct ring(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -257,10 +257,10 @@ where impl<'a, S> MemberBuilder<'a, S> where S: member_state::State, - S::CreatedAt: member_state::IsSet, - S::Ring: member_state::IsSet, S::Url: member_state::IsSet, S::Title: member_state::IsSet, + S::Ring: member_state::IsSet, + S::CreatedAt: member_state::IsSet, { /// Build the final struct pub fn build(self) -> Member<'a> { @@ -278,7 +278,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Member<'a> { @@ -382,7 +382,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Member<'a> { } if let Some(ref value) = self.note { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -426,7 +426,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Member<'a> { { let value = &self.title; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -470,7 +470,7 @@ fn lexicon_doc_net_asadaame5121_at_circle_member() -> ::jacquard_lexicon::lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -482,10 +482,10 @@ fn lexicon_doc_net_asadaame5121_at_circle_member() -> ::jacquard_lexicon::lexico description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("ring"), - ::jacquard_common::smol_str::SmolStr::new_static("url"), - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("ring"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -493,7 +493,7 @@ fn lexicon_doc_net_asadaame5121_at_circle_member() -> ::jacquard_lexicon::lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -512,7 +512,9 @@ fn lexicon_doc_net_asadaame5121_at_circle_member() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("note"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "note", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Optional note"), @@ -529,7 +531,9 @@ fn lexicon_doc_net_asadaame5121_at_circle_member() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("ring"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "ring", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -538,7 +542,9 @@ fn lexicon_doc_net_asadaame5121_at_circle_member() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rss"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "rss", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("RSS feed URL"), @@ -557,7 +563,9 @@ fn lexicon_doc_net_asadaame5121_at_circle_member() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -576,7 +584,9 @@ fn lexicon_doc_net_asadaame5121_at_circle_member() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( 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 be76c6a69..fda10a20c 100644 --- a/crates/jacquard-api/src/net_asadaame5121/at_circle/request.rs +++ b/crates/jacquard-api/src/net_asadaame5121/at_circle/request.rs @@ -47,65 +47,65 @@ pub mod request_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Ring; type CreatedAt; type SiteTitle; - type Ring; type SiteUrl; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Ring = Unset; type CreatedAt = Unset; type SiteTitle = Unset; - type Ring = Unset; type SiteUrl = Unset; } + ///State transition - sets the `ring` field to Set + pub struct SetRing(PhantomData S>); + impl sealed::Sealed for SetRing {} + impl State for SetRing { + type Ring = Set; + type CreatedAt = S::CreatedAt; + type SiteTitle = S::SiteTitle; + type SiteUrl = S::SiteUrl; + } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { + type Ring = S::Ring; type CreatedAt = Set; type SiteTitle = S::SiteTitle; - type Ring = S::Ring; type SiteUrl = S::SiteUrl; } ///State transition - sets the `site_title` field to Set pub struct SetSiteTitle(PhantomData S>); impl sealed::Sealed for SetSiteTitle {} impl State for SetSiteTitle { - type CreatedAt = S::CreatedAt; - type SiteTitle = Set; type Ring = S::Ring; - type SiteUrl = S::SiteUrl; - } - ///State transition - sets the `ring` field to Set - pub struct SetRing(PhantomData S>); - impl sealed::Sealed for SetRing {} - impl State for SetRing { type CreatedAt = S::CreatedAt; - type SiteTitle = S::SiteTitle; - type Ring = Set; + type SiteTitle = Set; type SiteUrl = S::SiteUrl; } ///State transition - sets the `site_url` field to Set pub struct SetSiteUrl(PhantomData S>); impl sealed::Sealed for SetSiteUrl {} impl State for SetSiteUrl { + type Ring = S::Ring; type CreatedAt = S::CreatedAt; type SiteTitle = S::SiteTitle; - type Ring = S::Ring; type SiteUrl = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `ring` field + pub struct ring(()); ///Marker type for the `created_at` field pub struct created_at(()); ///Marker type for the `site_title` field pub struct site_title(()); - ///Marker type for the `ring` field - pub struct ring(()); ///Marker type for the `site_url` field pub struct site_url(()); } @@ -257,9 +257,9 @@ where impl<'a, S> RequestBuilder<'a, S> where S: request_state::State, + S::Ring: request_state::IsSet, S::CreatedAt: request_state::IsSet, S::SiteTitle: request_state::IsSet, - S::Ring: request_state::IsSet, S::SiteUrl: request_state::IsSet, { /// Build the final struct @@ -278,7 +278,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Request<'a> { @@ -382,7 +382,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Request<'a> { } if let Some(ref value) = self.message { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -414,7 +414,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Request<'a> { { let value = &self.site_title; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -445,7 +445,7 @@ fn lexicon_doc_net_asadaame5121_at_circle_request() -> ::jacquard_lexicon::lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -457,10 +457,10 @@ fn lexicon_doc_net_asadaame5121_at_circle_request() -> ::jacquard_lexicon::lexic description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("ring"), - ::jacquard_common::smol_str::SmolStr::new_static("siteUrl"), - ::jacquard_common::smol_str::SmolStr::new_static("siteTitle"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("ring"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("siteUrl"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("siteTitle"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -468,7 +468,7 @@ fn lexicon_doc_net_asadaame5121_at_circle_request() -> ::jacquard_lexicon::lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -487,7 +487,9 @@ fn lexicon_doc_net_asadaame5121_at_circle_request() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("message"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "message", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -506,7 +508,9 @@ fn lexicon_doc_net_asadaame5121_at_circle_request() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("ring"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "ring", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -515,7 +519,9 @@ fn lexicon_doc_net_asadaame5121_at_circle_request() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rssUrl"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "rssUrl", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -536,7 +542,7 @@ fn lexicon_doc_net_asadaame5121_at_circle_request() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "siteTitle", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -555,7 +561,9 @@ fn lexicon_doc_net_asadaame5121_at_circle_request() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("siteUrl"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "siteUrl", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( 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 ca3cec010..57cd48718 100644 --- a/crates/jacquard-api/src/net_asadaame5121/at_circle/ring.rs +++ b/crates/jacquard-api/src/net_asadaame5121/at_circle/ring.rs @@ -45,51 +45,51 @@ pub mod ring_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type CreatedAt; type Status; type Title; - type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type CreatedAt = Unset; type Status = Unset; type Title = Unset; - type CreatedAt = Unset; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type CreatedAt = Set; + type Status = S::Status; + type Title = S::Title; } ///State transition - sets the `status` field to Set pub struct SetStatus(PhantomData S>); impl sealed::Sealed for SetStatus {} impl State for SetStatus { + type CreatedAt = S::CreatedAt; type Status = Set; type Title = S::Title; - type CreatedAt = S::CreatedAt; } ///State transition - sets the `title` field to Set pub struct SetTitle(PhantomData S>); impl sealed::Sealed for SetTitle {} impl State for SetTitle { - type Status = S::Status; - type Title = Set; type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { type Status = S::Status; - type Title = S::Title; - type CreatedAt = Set; + type Title = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `created_at` field + pub struct created_at(()); ///Marker type for the `status` field pub struct status(()); ///Marker type for the `title` field pub struct title(()); - ///Marker type for the `created_at` field - pub struct created_at(()); } } @@ -222,9 +222,9 @@ where impl<'a, S> RingBuilder<'a, S> where S: ring_state::State, + S::CreatedAt: ring_state::IsSet, S::Status: ring_state::IsSet, S::Title: ring_state::IsSet, - S::CreatedAt: ring_state::IsSet, { /// Build the final struct pub fn build(self) -> Ring<'a> { @@ -241,7 +241,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Ring<'a> { @@ -536,7 +536,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Ring<'a> { } if let Some(ref value) = self.description { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -581,7 +581,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Ring<'a> { { let value = &self.title; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -612,7 +612,7 @@ fn lexicon_doc_net_asadaame5121_at_circle_ring() -> ::jacquard_lexicon::lexicon: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -624,9 +624,9 @@ fn lexicon_doc_net_asadaame5121_at_circle_ring() -> ::jacquard_lexicon::lexicon: description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt"), - ::jacquard_common::smol_str::SmolStr::new_static("status") + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("status") ], ), nullable: None, @@ -634,7 +634,7 @@ fn lexicon_doc_net_asadaame5121_at_circle_ring() -> ::jacquard_lexicon::lexicon: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "acceptancePolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -655,7 +655,7 @@ fn lexicon_doc_net_asadaame5121_at_circle_ring() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -674,7 +674,7 @@ fn lexicon_doc_net_asadaame5121_at_circle_ring() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -695,7 +695,9 @@ fn lexicon_doc_net_asadaame5121_at_circle_ring() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("status"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "status", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Recruitment status"), @@ -712,7 +714,9 @@ fn lexicon_doc_net_asadaame5121_at_circle_ring() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Name of the circle"), diff --git a/crates/jacquard-api/src/net_bnewbold/demo/mushies.rs b/crates/jacquard-api/src/net_bnewbold/demo/mushies.rs index 2c3af5ee5..dd673c8c1 100644 --- a/crates/jacquard-api/src/net_bnewbold/demo/mushies.rs +++ b/crates/jacquard-api/src/net_bnewbold/demo/mushies.rs @@ -154,7 +154,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Mushies<'a> { @@ -257,7 +257,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Mushies<'a> { { let value = &self.common_name; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -287,7 +287,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Mushies<'a> { } if let Some(ref value) = self.species { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -318,7 +318,7 @@ fn lexicon_doc_net_bnewbold_demo_mushies() -> ::jacquard_lexicon::lexicon::Lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static("it's a kind of fungus"), @@ -328,7 +328,7 @@ fn lexicon_doc_net_bnewbold_demo_mushies() -> ::jacquard_lexicon::lexicon::Lexic description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("commonName") + ::jacquard_common::deps::smol_str::SmolStr::new_static("commonName") ], ), nullable: None, @@ -336,7 +336,7 @@ fn lexicon_doc_net_bnewbold_demo_mushies() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "commonName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -353,7 +353,9 @@ fn lexicon_doc_net_bnewbold_demo_mushies() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("edible"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "edible", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -361,7 +363,9 @@ fn lexicon_doc_net_bnewbold_demo_mushies() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("species"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "species", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, diff --git a/crates/jacquard-api/src/net_bnewbold/demo/mushroom.rs b/crates/jacquard-api/src/net_bnewbold/demo/mushroom.rs index c1a11184b..f2927db54 100644 --- a/crates/jacquard-api/src/net_bnewbold/demo/mushroom.rs +++ b/crates/jacquard-api/src/net_bnewbold/demo/mushroom.rs @@ -154,7 +154,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Mushroom<'a> { @@ -257,7 +257,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Mushroom<'a> { { let value = &self.common_name; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -287,7 +287,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Mushroom<'a> { } if let Some(ref value) = self.species { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -318,7 +318,7 @@ fn lexicon_doc_net_bnewbold_demo_mushroom() -> ::jacquard_lexicon::lexicon::Lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static("it's a kind of fungus"), @@ -328,7 +328,7 @@ fn lexicon_doc_net_bnewbold_demo_mushroom() -> ::jacquard_lexicon::lexicon::Lexi description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("commonName") + ::jacquard_common::deps::smol_str::SmolStr::new_static("commonName") ], ), nullable: None, @@ -336,7 +336,7 @@ fn lexicon_doc_net_bnewbold_demo_mushroom() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "commonName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -353,7 +353,9 @@ fn lexicon_doc_net_bnewbold_demo_mushroom() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("edible"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "edible", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -361,7 +363,9 @@ fn lexicon_doc_net_bnewbold_demo_mushroom() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("species"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "species", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, diff --git a/crates/jacquard-api/src/net_bnewbold/m.rs b/crates/jacquard-api/src/net_bnewbold/m.rs index 97c7122cf..4532e6ce9 100644 --- a/crates/jacquard-api/src/net_bnewbold/m.rs +++ b/crates/jacquard-api/src/net_bnewbold/m.rs @@ -154,7 +154,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> M<'a> { @@ -257,7 +257,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for M<'a> { { let value = &self.common_name; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -287,7 +287,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for M<'a> { } if let Some(ref value) = self.species { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -316,7 +316,7 @@ fn lexicon_doc_net_bnewbold_m() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static("it's a kind of fungus"), @@ -326,7 +326,7 @@ fn lexicon_doc_net_bnewbold_m() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("commonName") + ::jacquard_common::deps::smol_str::SmolStr::new_static("commonName") ], ), nullable: None, @@ -334,7 +334,7 @@ fn lexicon_doc_net_bnewbold_m() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "commonName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -351,7 +351,9 @@ fn lexicon_doc_net_bnewbold_m() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("edible"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "edible", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -359,7 +361,9 @@ fn lexicon_doc_net_bnewbold_m() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("species"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "species", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, diff --git a/crates/jacquard-api/src/net_jbsm/jb/reminder.rs b/crates/jacquard-api/src/net_jbsm/jb/reminder.rs index e65257a31..09b925074 100644 --- a/crates/jacquard-api/src/net_jbsm/jb/reminder.rs +++ b/crates/jacquard-api/src/net_jbsm/jb/reminder.rs @@ -47,67 +47,67 @@ pub mod reminder_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type TriggerAt; type Subject; - type Requester; type CreatedAt; + type TriggerAt; + type Requester; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type TriggerAt = Unset; type Subject = Unset; - type Requester = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `trigger_at` field to Set - pub struct SetTriggerAt(PhantomData S>); - impl sealed::Sealed for SetTriggerAt {} - impl State for SetTriggerAt { - type TriggerAt = Set; - type Subject = S::Subject; - type Requester = S::Requester; - type CreatedAt = S::CreatedAt; + type TriggerAt = Unset; + type Requester = Unset; } ///State transition - sets the `subject` field to Set pub struct SetSubject(PhantomData S>); impl sealed::Sealed for SetSubject {} impl State for SetSubject { - type TriggerAt = S::TriggerAt; type Subject = Set; - type Requester = S::Requester; type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `requester` field to Set - pub struct SetRequester(PhantomData S>); - impl sealed::Sealed for SetRequester {} - impl State for SetRequester { type TriggerAt = S::TriggerAt; - type Subject = S::Subject; - type Requester = Set; - type CreatedAt = S::CreatedAt; + type Requester = S::Requester; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { + type Subject = S::Subject; + type CreatedAt = Set; type TriggerAt = S::TriggerAt; + type Requester = S::Requester; + } + ///State transition - sets the `trigger_at` field to Set + pub struct SetTriggerAt(PhantomData S>); + impl sealed::Sealed for SetTriggerAt {} + impl State for SetTriggerAt { type Subject = S::Subject; + type CreatedAt = S::CreatedAt; + type TriggerAt = Set; type Requester = S::Requester; - type CreatedAt = Set; + } + ///State transition - sets the `requester` field to Set + pub struct SetRequester(PhantomData S>); + impl sealed::Sealed for SetRequester {} + impl State for SetRequester { + type Subject = S::Subject; + type CreatedAt = S::CreatedAt; + type TriggerAt = S::TriggerAt; + type Requester = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `trigger_at` field - pub struct trigger_at(()); ///Marker type for the `subject` field pub struct subject(()); - ///Marker type for the `requester` field - pub struct requester(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `trigger_at` field + pub struct trigger_at(()); + ///Marker type for the `requester` field + pub struct requester(()); } } @@ -254,10 +254,10 @@ where impl<'a, S> ReminderBuilder<'a, S> where S: reminder_state::State, - S::TriggerAt: reminder_state::IsSet, S::Subject: reminder_state::IsSet, - S::Requester: reminder_state::IsSet, S::CreatedAt: reminder_state::IsSet, + S::TriggerAt: reminder_state::IsSet, + S::Requester: reminder_state::IsSet, { /// Build the final struct pub fn build(self) -> Reminder<'a> { @@ -275,7 +275,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Reminder<'a> { @@ -393,7 +393,7 @@ fn lexicon_doc_net_jbsm_jb_reminder() -> ::jacquard_lexicon::lexicon::LexiconDoc defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -405,10 +405,10 @@ fn lexicon_doc_net_jbsm_jb_reminder() -> ::jacquard_lexicon::lexicon::LexiconDoc description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("createdAt"), - ::jacquard_common::smol_str::SmolStr::new_static("triggerAt"), - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("requester") + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("triggerAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("requester") ], ), nullable: None, @@ -416,7 +416,7 @@ fn lexicon_doc_net_jbsm_jb_reminder() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -439,7 +439,7 @@ fn lexicon_doc_net_jbsm_jb_reminder() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "occurred", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -449,7 +449,7 @@ fn lexicon_doc_net_jbsm_jb_reminder() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "originUri", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -472,7 +472,7 @@ fn lexicon_doc_net_jbsm_jb_reminder() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "requester", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -495,7 +495,9 @@ fn lexicon_doc_net_jbsm_jb_reminder() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -514,7 +516,7 @@ fn lexicon_doc_net_jbsm_jb_reminder() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "triggerAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { 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 b8de34faa..6b6b1b475 100644 --- a/crates/jacquard-api/src/net_mimonelu/klearsky/repost_mutes.rs +++ b/crates/jacquard-api/src/net_mimonelu/klearsky/repost_mutes.rs @@ -35,37 +35,37 @@ pub mod repost_mutes_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type Subjects; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type Subjects = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Subjects = S::Subjects; + type CreatedAt = Unset; } ///State transition - sets the `subjects` field to Set pub struct SetSubjects(PhantomData S>); impl sealed::Sealed for SetSubjects {} impl State for SetSubjects { - type CreatedAt = S::CreatedAt; type Subjects = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Subjects = S::Subjects; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `subjects` field pub struct subjects(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -140,8 +140,8 @@ where impl<'a, S> RepostMutesBuilder<'a, S> where S: repost_mutes_state::State, - S::CreatedAt: repost_mutes_state::IsSet, S::Subjects: repost_mutes_state::IsSet, + S::CreatedAt: repost_mutes_state::IsSet, { /// Build the final struct pub fn build(self) -> RepostMutes<'a> { @@ -155,7 +155,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> RepostMutes<'a> { @@ -256,7 +256,7 @@ fn lexicon_doc_net_mimonelu_klearsky_repostMutes() -> ::jacquard_lexicon::lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -268,8 +268,8 @@ fn lexicon_doc_net_mimonelu_klearsky_repostMutes() -> ::jacquard_lexicon::lexico description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subjects"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subjects"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -277,7 +277,7 @@ fn lexicon_doc_net_mimonelu_klearsky_repostMutes() -> ::jacquard_lexicon::lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -300,7 +300,7 @@ fn lexicon_doc_net_mimonelu_klearsky_repostMutes() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjects", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -323,7 +323,7 @@ fn lexicon_doc_net_mimonelu_klearsky_repostMutes() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -332,8 +332,8 @@ fn lexicon_doc_net_mimonelu_klearsky_repostMutes() -> ::jacquard_lexicon::lexico ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("did"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -341,7 +341,7 @@ fn lexicon_doc_net_mimonelu_klearsky_repostMutes() -> ::jacquard_lexicon::lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -364,7 +364,9 @@ fn lexicon_doc_net_mimonelu_klearsky_repostMutes() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -423,37 +425,37 @@ pub mod subject_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type Did; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type Did = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Did = S::Did; + type CreatedAt = Unset; } ///State transition - sets the `did` field to Set pub struct SetDid(PhantomData S>); impl sealed::Sealed for SetDid {} impl State for SetDid { - type CreatedAt = S::CreatedAt; type Did = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Did = S::Did; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `did` field pub struct did(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -526,8 +528,8 @@ where impl<'a, S> SubjectBuilder<'a, S> where S: subject_state::State, - S::CreatedAt: subject_state::IsSet, S::Did: subject_state::IsSet, + S::CreatedAt: subject_state::IsSet, { /// Build the final struct pub fn build(self) -> Subject<'a> { @@ -541,7 +543,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Subject<'a> { diff --git a/crates/jacquard-api/src/net_mmatt/my/accounts.rs b/crates/jacquard-api/src/net_mmatt/my/accounts.rs index ed991141c..a6ba7c750 100644 --- a/crates/jacquard-api/src/net_mmatt/my/accounts.rs +++ b/crates/jacquard-api/src/net_mmatt/my/accounts.rs @@ -116,7 +116,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Accounts<'a> { @@ -216,7 +216,7 @@ fn lexicon_doc_net_mmatt_my_accounts() -> ::jacquard_lexicon::lexicon::LexiconDo defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -228,7 +228,7 @@ fn lexicon_doc_net_mmatt_my_accounts() -> ::jacquard_lexicon::lexicon::LexiconDo description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("accounts") + ::jacquard_common::deps::smol_str::SmolStr::new_static("accounts") ], ), nullable: None, @@ -236,7 +236,7 @@ fn lexicon_doc_net_mmatt_my_accounts() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accounts", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { diff --git a/crates/jacquard-api/src/net_mmatt/right/now.rs b/crates/jacquard-api/src/net_mmatt/right/now.rs index 438af4723..db5110d30 100644 --- a/crates/jacquard-api/src/net_mmatt/right/now.rs +++ b/crates/jacquard-api/src/net_mmatt/right/now.rs @@ -39,37 +39,37 @@ pub mod now_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type Text; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type Text = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Text = S::Text; + type CreatedAt = Unset; } ///State transition - sets the `text` field to Set pub struct SetText(PhantomData S>); impl sealed::Sealed for SetText {} impl State for SetText { - type CreatedAt = S::CreatedAt; type Text = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Text = S::Text; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `text` field pub struct text(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -159,8 +159,8 @@ where impl<'a, S> NowBuilder<'a, S> where S: now_state::State, - S::CreatedAt: now_state::IsSet, S::Text: now_state::IsSet, + S::CreatedAt: now_state::IsSet, { /// Build the final struct pub fn build(self) -> Now<'a> { @@ -175,7 +175,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Now<'a> { @@ -277,7 +277,7 @@ fn lexicon_doc_net_mmatt_right_now() -> ::jacquard_lexicon::lexicon::LexiconDoc< defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -289,8 +289,8 @@ fn lexicon_doc_net_mmatt_right_now() -> ::jacquard_lexicon::lexicon::LexiconDoc< description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("createdAt"), - ::jacquard_common::smol_str::SmolStr::new_static("text") + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("text") ], ), nullable: None, @@ -298,7 +298,7 @@ fn lexicon_doc_net_mmatt_right_now() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -321,7 +321,9 @@ fn lexicon_doc_net_mmatt_right_now() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("emoji"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "emoji", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -340,7 +342,9 @@ fn lexicon_doc_net_mmatt_right_now() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/net_mmatt/vitals/car.rs b/crates/jacquard-api/src/net_mmatt/vitals/car.rs index 9367beeb3..035da6001 100644 --- a/crates/jacquard-api/src/net_mmatt/vitals/car.rs +++ b/crates/jacquard-api/src/net_mmatt/vitals/car.rs @@ -52,85 +52,85 @@ pub mod car_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type AmountRemaining; + type CreatedAt; type CarPercentFuelRemaining; - type CarTraveledDistance; type CarFuelRange; - type CreatedAt; - type AmountRemaining; + type CarTraveledDistance; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type AmountRemaining = Unset; + type CreatedAt = Unset; type CarPercentFuelRemaining = Unset; - type CarTraveledDistance = Unset; type CarFuelRange = Unset; - type CreatedAt = Unset; - type AmountRemaining = Unset; + type CarTraveledDistance = Unset; + } + ///State transition - sets the `amount_remaining` field to Set + pub struct SetAmountRemaining(PhantomData S>); + impl sealed::Sealed for SetAmountRemaining {} + impl State for SetAmountRemaining { + type AmountRemaining = Set; + type CreatedAt = S::CreatedAt; + type CarPercentFuelRemaining = S::CarPercentFuelRemaining; + type CarFuelRange = S::CarFuelRange; + type CarTraveledDistance = S::CarTraveledDistance; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type AmountRemaining = S::AmountRemaining; + type CreatedAt = Set; + type CarPercentFuelRemaining = S::CarPercentFuelRemaining; + type CarFuelRange = S::CarFuelRange; + type CarTraveledDistance = S::CarTraveledDistance; } ///State transition - sets the `car_percent_fuel_remaining` field to Set pub struct SetCarPercentFuelRemaining(PhantomData S>); impl sealed::Sealed for SetCarPercentFuelRemaining {} impl State for SetCarPercentFuelRemaining { - type CarPercentFuelRemaining = Set; - type CarTraveledDistance = S::CarTraveledDistance; - type CarFuelRange = S::CarFuelRange; - type CreatedAt = S::CreatedAt; type AmountRemaining = S::AmountRemaining; - } - ///State transition - sets the `car_traveled_distance` field to Set - pub struct SetCarTraveledDistance(PhantomData S>); - impl sealed::Sealed for SetCarTraveledDistance {} - impl State for SetCarTraveledDistance { - type CarPercentFuelRemaining = S::CarPercentFuelRemaining; - type CarTraveledDistance = Set; - type CarFuelRange = S::CarFuelRange; type CreatedAt = S::CreatedAt; - type AmountRemaining = S::AmountRemaining; + type CarPercentFuelRemaining = Set; + type CarFuelRange = S::CarFuelRange; + type CarTraveledDistance = S::CarTraveledDistance; } ///State transition - sets the `car_fuel_range` field to Set pub struct SetCarFuelRange(PhantomData S>); impl sealed::Sealed for SetCarFuelRange {} impl State for SetCarFuelRange { - type CarPercentFuelRemaining = S::CarPercentFuelRemaining; - type CarTraveledDistance = S::CarTraveledDistance; - type CarFuelRange = Set; - type CreatedAt = S::CreatedAt; type AmountRemaining = S::AmountRemaining; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { + type CreatedAt = S::CreatedAt; type CarPercentFuelRemaining = S::CarPercentFuelRemaining; + type CarFuelRange = Set; type CarTraveledDistance = S::CarTraveledDistance; - type CarFuelRange = S::CarFuelRange; - type CreatedAt = Set; - type AmountRemaining = S::AmountRemaining; } - ///State transition - sets the `amount_remaining` field to Set - pub struct SetAmountRemaining(PhantomData S>); - impl sealed::Sealed for SetAmountRemaining {} - impl State for SetAmountRemaining { + ///State transition - sets the `car_traveled_distance` field to Set + pub struct SetCarTraveledDistance(PhantomData S>); + impl sealed::Sealed for SetCarTraveledDistance {} + impl State for SetCarTraveledDistance { + type AmountRemaining = S::AmountRemaining; + type CreatedAt = S::CreatedAt; type CarPercentFuelRemaining = S::CarPercentFuelRemaining; - type CarTraveledDistance = S::CarTraveledDistance; type CarFuelRange = S::CarFuelRange; - type CreatedAt = S::CreatedAt; - type AmountRemaining = Set; + type CarTraveledDistance = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `amount_remaining` field + pub struct amount_remaining(()); + ///Marker type for the `created_at` field + pub struct created_at(()); ///Marker type for the `car_percent_fuel_remaining` field pub struct car_percent_fuel_remaining(()); - ///Marker type for the `car_traveled_distance` field - pub struct car_traveled_distance(()); ///Marker type for the `car_fuel_range` field pub struct car_fuel_range(()); - ///Marker type for the `created_at` field - pub struct created_at(()); - ///Marker type for the `amount_remaining` field - pub struct amount_remaining(()); + ///Marker type for the `car_traveled_distance` field + pub struct car_traveled_distance(()); } } @@ -314,11 +314,11 @@ where impl<'a, S> CarBuilder<'a, S> where S: car_state::State, + S::AmountRemaining: car_state::IsSet, + S::CreatedAt: car_state::IsSet, S::CarPercentFuelRemaining: car_state::IsSet, - S::CarTraveledDistance: car_state::IsSet, S::CarFuelRange: car_state::IsSet, - S::CreatedAt: car_state::IsSet, - S::AmountRemaining: car_state::IsSet, + S::CarTraveledDistance: car_state::IsSet, { /// Build the final struct pub fn build(self) -> Car<'a> { @@ -338,7 +338,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Car<'a> { @@ -445,7 +445,7 @@ fn lexicon_doc_net_mmatt_vitals_car() -> ::jacquard_lexicon::lexicon::LexiconDoc defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -453,11 +453,11 @@ fn lexicon_doc_net_mmatt_vitals_car() -> ::jacquard_lexicon::lexicon::LexiconDoc description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("createdAt"), - ::jacquard_common::smol_str::SmolStr::new_static("carFuelRange"), - ::jacquard_common::smol_str::SmolStr::new_static("carPercentFuelRemaining"), - ::jacquard_common::smol_str::SmolStr::new_static("amountRemaining"), - ::jacquard_common::smol_str::SmolStr::new_static("carTraveledDistance") + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("carFuelRange"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("carPercentFuelRemaining"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("amountRemaining"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("carTraveledDistance") ], ), nullable: None, @@ -465,7 +465,7 @@ fn lexicon_doc_net_mmatt_vitals_car() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "amountRemaining", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -486,7 +486,7 @@ fn lexicon_doc_net_mmatt_vitals_car() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "carFuelRange", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -499,7 +499,9 @@ fn lexicon_doc_net_mmatt_vitals_car() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("carMake"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "carMake", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("The car make value"), @@ -516,7 +518,7 @@ fn lexicon_doc_net_mmatt_vitals_car() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "carModel", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -535,7 +537,7 @@ fn lexicon_doc_net_mmatt_vitals_car() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "carPercentFuelRemaining", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -556,7 +558,7 @@ fn lexicon_doc_net_mmatt_vitals_car() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "carTraveledDistance", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -569,7 +571,9 @@ fn lexicon_doc_net_mmatt_vitals_car() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("carYear"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "carYear", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -580,7 +584,7 @@ fn lexicon_doc_net_mmatt_vitals_car() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/net_shwilliam/hyphae/note.rs b/crates/jacquard-api/src/net_shwilliam/hyphae/note.rs index 8e245e09e..c3e22b67b 100644 --- a/crates/jacquard-api/src/net_shwilliam/hyphae/note.rs +++ b/crates/jacquard-api/src/net_shwilliam/hyphae/note.rs @@ -206,7 +206,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Note<'a> { @@ -334,7 +334,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Note<'a> { { let value = &self.text; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -365,7 +365,7 @@ fn lexicon_doc_net_shwilliam_hyphae_note() -> ::jacquard_lexicon::lexicon::Lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -373,8 +373,8 @@ fn lexicon_doc_net_shwilliam_hyphae_note() -> ::jacquard_lexicon::lexicon::Lexic description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("createdAt"), - ::jacquard_common::smol_str::SmolStr::new_static("text") + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("text") ], ), nullable: None, @@ -382,7 +382,7 @@ fn lexicon_doc_net_shwilliam_hyphae_note() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -403,7 +403,9 @@ fn lexicon_doc_net_shwilliam_hyphae_note() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("refs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "refs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static("related notes"), @@ -419,7 +421,9 @@ fn lexicon_doc_net_shwilliam_hyphae_note() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tags", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static("note tags"), @@ -441,7 +445,9 @@ fn lexicon_doc_net_shwilliam_hyphae_note() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/net_wafrn/feed/bite.rs b/crates/jacquard-api/src/net_wafrn/feed/bite.rs index 0b610c36d..87604c8c5 100644 --- a/crates/jacquard-api/src/net_wafrn/feed/bite.rs +++ b/crates/jacquard-api/src/net_wafrn/feed/bite.rs @@ -123,7 +123,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Bite<'a> { @@ -224,7 +224,7 @@ fn lexicon_doc_net_wafrn_feed_bite() -> ::jacquard_lexicon::lexicon::LexiconDoc< defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -240,7 +240,7 @@ fn lexicon_doc_net_wafrn_feed_bite() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -259,7 +259,9 @@ fn lexicon_doc_net_wafrn_feed_bite() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, diff --git a/crates/jacquard-api/src/net_wafrn/feed/explode.rs b/crates/jacquard-api/src/net_wafrn/feed/explode.rs index 3baae5c0b..af83909cd 100644 --- a/crates/jacquard-api/src/net_wafrn/feed/explode.rs +++ b/crates/jacquard-api/src/net_wafrn/feed/explode.rs @@ -128,7 +128,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Explode<'a> { @@ -229,7 +229,7 @@ fn lexicon_doc_net_wafrn_feed_explode() -> ::jacquard_lexicon::lexicon::LexiconD defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -245,7 +245,7 @@ fn lexicon_doc_net_wafrn_feed_explode() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -264,7 +264,9 @@ fn lexicon_doc_net_wafrn_feed_explode() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/network_cosmik.rs b/crates/jacquard-api/src/network_cosmik.rs index bb0554c12..125093679 100644 --- a/crates/jacquard-api/src/network_cosmik.rs +++ b/crates/jacquard-api/src/network_cosmik.rs @@ -43,7 +43,7 @@ fn lexicon_doc_network_cosmik_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("provenance"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("provenance"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -56,7 +56,9 @@ fn lexicon_doc_network_cosmik_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("via"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "via", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/network_cosmik/card.rs b/crates/jacquard-api/src/network_cosmik/card.rs index 6ac3d6464..c38bd52e6 100644 --- a/crates/jacquard-api/src/network_cosmik/card.rs +++ b/crates/jacquard-api/src/network_cosmik/card.rs @@ -282,7 +282,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Card<'a> { @@ -496,7 +496,7 @@ fn lexicon_doc_network_cosmik_card() -> ::jacquard_lexicon::lexicon::LexiconDoc< defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -508,8 +508,8 @@ fn lexicon_doc_network_cosmik_card() -> ::jacquard_lexicon::lexicon::LexiconDoc< description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("type"), - ::jacquard_common::smol_str::SmolStr::new_static("content") + ::jacquard_common::deps::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("content") ], ), nullable: None, @@ -517,7 +517,9 @@ fn lexicon_doc_network_cosmik_card() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "content", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: Some( ::jacquard_common::CowStr::new_static( @@ -532,7 +534,7 @@ fn lexicon_doc_network_cosmik_card() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -555,7 +557,7 @@ fn lexicon_doc_network_cosmik_card() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "originalCard", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -566,7 +568,7 @@ fn lexicon_doc_network_cosmik_card() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "parentCard", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -577,7 +579,7 @@ fn lexicon_doc_network_cosmik_card() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "provenance", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -588,7 +590,9 @@ fn lexicon_doc_network_cosmik_card() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "type", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("The type of card"), @@ -605,7 +609,9 @@ fn lexicon_doc_network_cosmik_card() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -631,7 +637,7 @@ fn lexicon_doc_network_cosmik_card() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("noteContent"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("noteContent"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -639,14 +645,18 @@ fn lexicon_doc_network_cosmik_card() -> ::jacquard_lexicon::lexicon::LexiconDoc< ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("text")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("text") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -669,7 +679,7 @@ fn lexicon_doc_network_cosmik_card() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("urlContent"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("urlContent"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -677,21 +687,27 @@ fn lexicon_doc_network_cosmik_card() -> ::jacquard_lexicon::lexicon::LexiconDoc< ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("url")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("url") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("metadata"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "metadata", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#urlMetadata"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("The URL being saved"), @@ -714,7 +730,7 @@ fn lexicon_doc_network_cosmik_card() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("urlMetadata"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("urlMetadata"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static("Metadata about a URL."), @@ -725,7 +741,9 @@ fn lexicon_doc_network_cosmik_card() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "author", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -744,7 +762,7 @@ fn lexicon_doc_network_cosmik_card() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -765,7 +783,9 @@ fn lexicon_doc_network_cosmik_card() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("doi"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "doi", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -784,7 +804,9 @@ fn lexicon_doc_network_cosmik_card() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("imageUrl"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "imageUrl", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -805,7 +827,9 @@ fn lexicon_doc_network_cosmik_card() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("isbn"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "isbn", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -824,7 +848,7 @@ fn lexicon_doc_network_cosmik_card() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publishedDate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -847,7 +871,7 @@ fn lexicon_doc_network_cosmik_card() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "retrievedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -870,7 +894,9 @@ fn lexicon_doc_network_cosmik_card() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("siteName"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "siteName", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Name of the site"), @@ -887,7 +913,9 @@ fn lexicon_doc_network_cosmik_card() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Title of the page"), @@ -904,7 +932,9 @@ fn lexicon_doc_network_cosmik_card() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "type", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1117,7 +1147,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> UrlContent<'a> { diff --git a/crates/jacquard-api/src/network_cosmik/collection.rs b/crates/jacquard-api/src/network_cosmik/collection.rs index abc11a074..7168dc8bd 100644 --- a/crates/jacquard-api/src/network_cosmik/collection.rs +++ b/crates/jacquard-api/src/network_cosmik/collection.rs @@ -50,37 +50,37 @@ pub mod collection_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type AccessType; type Name; + type AccessType; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type AccessType = Unset; type Name = Unset; - } - ///State transition - sets the `access_type` field to Set - pub struct SetAccessType(PhantomData S>); - impl sealed::Sealed for SetAccessType {} - impl State for SetAccessType { - type AccessType = Set; - type Name = S::Name; + type AccessType = Unset; } ///State transition - sets the `name` field to Set pub struct SetName(PhantomData S>); impl sealed::Sealed for SetName {} impl State for SetName { - type AccessType = S::AccessType; type Name = Set; + type AccessType = S::AccessType; + } + ///State transition - sets the `access_type` field to Set + pub struct SetAccessType(PhantomData S>); + impl sealed::Sealed for SetAccessType {} + impl State for SetAccessType { + type Name = S::Name; + type AccessType = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `access_type` field - pub struct access_type(()); ///Marker type for the `name` field pub struct name(()); + ///Marker type for the `access_type` field + pub struct access_type(()); } } @@ -233,8 +233,8 @@ impl<'a, S: collection_state::State> CollectionBuilder<'a, S> { impl<'a, S> CollectionBuilder<'a, S> where S: collection_state::State, - S::AccessType: collection_state::IsSet, S::Name: collection_state::IsSet, + S::AccessType: collection_state::IsSet, { /// Build the final struct pub fn build(self) -> Collection<'a> { @@ -252,7 +252,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Collection<'a> { @@ -473,7 +473,7 @@ fn lexicon_doc_network_cosmik_collection() -> ::jacquard_lexicon::lexicon::Lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -485,8 +485,8 @@ fn lexicon_doc_network_cosmik_collection() -> ::jacquard_lexicon::lexicon::Lexic description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("accessType") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("accessType") ], ), nullable: None, @@ -494,7 +494,7 @@ fn lexicon_doc_network_cosmik_collection() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -515,7 +515,7 @@ fn lexicon_doc_network_cosmik_collection() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "collaborators", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -545,7 +545,7 @@ fn lexicon_doc_network_cosmik_collection() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -568,7 +568,7 @@ fn lexicon_doc_network_cosmik_collection() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -589,7 +589,9 @@ fn lexicon_doc_network_cosmik_collection() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -608,7 +610,7 @@ fn lexicon_doc_network_cosmik_collection() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/network_cosmik/collection_link.rs b/crates/jacquard-api/src/network_cosmik/collection_link.rs index 032ee315c..deaaa8cbd 100644 --- a/crates/jacquard-api/src/network_cosmik/collection_link.rs +++ b/crates/jacquard-api/src/network_cosmik/collection_link.rs @@ -55,66 +55,66 @@ pub mod collection_link_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type AddedAt; - type AddedBy; type Collection; type Card; + type AddedBy; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type AddedAt = Unset; - type AddedBy = Unset; type Collection = Unset; type Card = Unset; + type AddedBy = Unset; } ///State transition - sets the `added_at` field to Set pub struct SetAddedAt(PhantomData S>); impl sealed::Sealed for SetAddedAt {} impl State for SetAddedAt { type AddedAt = Set; - type AddedBy = S::AddedBy; - type Collection = S::Collection; - type Card = S::Card; - } - ///State transition - sets the `added_by` field to Set - pub struct SetAddedBy(PhantomData S>); - impl sealed::Sealed for SetAddedBy {} - impl State for SetAddedBy { - type AddedAt = S::AddedAt; - type AddedBy = Set; type Collection = S::Collection; type Card = S::Card; + type AddedBy = S::AddedBy; } ///State transition - sets the `collection` field to Set pub struct SetCollection(PhantomData S>); impl sealed::Sealed for SetCollection {} impl State for SetCollection { type AddedAt = S::AddedAt; - type AddedBy = S::AddedBy; type Collection = Set; type Card = S::Card; + type AddedBy = S::AddedBy; } ///State transition - sets the `card` field to Set pub struct SetCard(PhantomData S>); impl sealed::Sealed for SetCard {} impl State for SetCard { type AddedAt = S::AddedAt; - type AddedBy = S::AddedBy; type Collection = S::Collection; type Card = Set; + type AddedBy = S::AddedBy; + } + ///State transition - sets the `added_by` field to Set + pub struct SetAddedBy(PhantomData S>); + impl sealed::Sealed for SetAddedBy {} + impl State for SetAddedBy { + type AddedAt = S::AddedAt; + type Collection = S::Collection; + type Card = S::Card; + type AddedBy = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `added_at` field pub struct added_at(()); - ///Marker type for the `added_by` field - pub struct added_by(()); ///Marker type for the `collection` field pub struct collection(()); ///Marker type for the `card` field pub struct card(()); + ///Marker type for the `added_by` field + pub struct added_by(()); } } @@ -288,9 +288,9 @@ impl<'a, S> CollectionLinkBuilder<'a, S> where S: collection_link_state::State, S::AddedAt: collection_link_state::IsSet, - S::AddedBy: collection_link_state::IsSet, S::Collection: collection_link_state::IsSet, S::Card: collection_link_state::IsSet, + S::AddedBy: collection_link_state::IsSet, { /// Build the final struct pub fn build(self) -> CollectionLink<'a> { @@ -309,7 +309,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> CollectionLink<'a> { @@ -415,7 +415,7 @@ fn lexicon_doc_network_cosmik_collectionLink() -> ::jacquard_lexicon::lexicon::L defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -427,10 +427,10 @@ fn lexicon_doc_network_cosmik_collectionLink() -> ::jacquard_lexicon::lexicon::L description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("collection"), - ::jacquard_common::smol_str::SmolStr::new_static("card"), - ::jacquard_common::smol_str::SmolStr::new_static("addedBy"), - ::jacquard_common::smol_str::SmolStr::new_static("addedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("collection"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("card"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("addedBy"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("addedAt") ], ), nullable: None, @@ -438,7 +438,9 @@ fn lexicon_doc_network_cosmik_collectionLink() -> ::jacquard_lexicon::lexicon::L #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("addedAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "addedAt", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -459,7 +461,9 @@ fn lexicon_doc_network_cosmik_collectionLink() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("addedBy"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "addedBy", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -478,7 +482,9 @@ fn lexicon_doc_network_cosmik_collectionLink() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("card"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "card", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -487,7 +493,7 @@ fn lexicon_doc_network_cosmik_collectionLink() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "collection", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -498,7 +504,7 @@ fn lexicon_doc_network_cosmik_collectionLink() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -521,7 +527,7 @@ fn lexicon_doc_network_cosmik_collectionLink() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "originalCard", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -532,7 +538,7 @@ fn lexicon_doc_network_cosmik_collectionLink() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "provenance", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { 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 d79c4dae6..ed7a29219 100644 --- a/crates/jacquard-api/src/network_cosmik/collection_link_removal.rs +++ b/crates/jacquard-api/src/network_cosmik/collection_link_removal.rs @@ -38,51 +38,51 @@ pub mod collection_link_removal_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Collection; - type RemovedAt; type RemovedLink; + type RemovedAt; + type Collection; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Collection = Unset; - type RemovedAt = Unset; type RemovedLink = Unset; + type RemovedAt = Unset; + type Collection = Unset; } - ///State transition - sets the `collection` field to Set - pub struct SetCollection(PhantomData S>); - impl sealed::Sealed for SetCollection {} - impl State for SetCollection { - type Collection = Set; + ///State transition - sets the `removed_link` field to Set + pub struct SetRemovedLink(PhantomData S>); + impl sealed::Sealed for SetRemovedLink {} + impl State for SetRemovedLink { + type RemovedLink = Set; type RemovedAt = S::RemovedAt; - type RemovedLink = S::RemovedLink; + type Collection = S::Collection; } ///State transition - sets the `removed_at` field to Set pub struct SetRemovedAt(PhantomData S>); impl sealed::Sealed for SetRemovedAt {} impl State for SetRemovedAt { - type Collection = S::Collection; - type RemovedAt = Set; type RemovedLink = S::RemovedLink; - } - ///State transition - sets the `removed_link` field to Set - pub struct SetRemovedLink(PhantomData S>); - impl sealed::Sealed for SetRemovedLink {} - impl State for SetRemovedLink { + type RemovedAt = Set; type Collection = S::Collection; + } + ///State transition - sets the `collection` field to Set + pub struct SetCollection(PhantomData S>); + impl sealed::Sealed for SetCollection {} + impl State for SetCollection { + type RemovedLink = S::RemovedLink; type RemovedAt = S::RemovedAt; - type RemovedLink = Set; + type Collection = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `collection` field - pub struct collection(()); - ///Marker type for the `removed_at` field - pub struct removed_at(()); ///Marker type for the `removed_link` field pub struct removed_link(()); + ///Marker type for the `removed_at` field + pub struct removed_at(()); + ///Marker type for the `collection` field + pub struct collection(()); } } @@ -187,9 +187,9 @@ where impl<'a, S> CollectionLinkRemovalBuilder<'a, S> where S: collection_link_removal_state::State, - S::Collection: collection_link_removal_state::IsSet, - S::RemovedAt: collection_link_removal_state::IsSet, S::RemovedLink: collection_link_removal_state::IsSet, + S::RemovedAt: collection_link_removal_state::IsSet, + S::Collection: collection_link_removal_state::IsSet, { /// Build the final struct pub fn build(self) -> CollectionLinkRemoval<'a> { @@ -204,7 +204,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> CollectionLinkRemoval<'a> { @@ -308,7 +308,7 @@ fn lexicon_doc_network_cosmik_collectionLinkRemoval() -> ::jacquard_lexicon::lex defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -320,9 +320,9 @@ fn lexicon_doc_network_cosmik_collectionLinkRemoval() -> ::jacquard_lexicon::lex description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("collection"), - ::jacquard_common::smol_str::SmolStr::new_static("removedLink"), - ::jacquard_common::smol_str::SmolStr::new_static("removedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("collection"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("removedLink"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("removedAt") ], ), nullable: None, @@ -330,7 +330,7 @@ fn lexicon_doc_network_cosmik_collectionLinkRemoval() -> ::jacquard_lexicon::lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "collection", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -341,7 +341,7 @@ fn lexicon_doc_network_cosmik_collectionLinkRemoval() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "removedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -364,7 +364,7 @@ fn lexicon_doc_network_cosmik_collectionLinkRemoval() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "removedLink", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { diff --git a/crates/jacquard-api/src/network_cosmik/connection.rs b/crates/jacquard-api/src/network_cosmik/connection.rs index 10bf366d2..e121dd078 100644 --- a/crates/jacquard-api/src/network_cosmik/connection.rs +++ b/crates/jacquard-api/src/network_cosmik/connection.rs @@ -249,7 +249,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Connection<'a> { @@ -366,7 +366,7 @@ fn lexicon_doc_network_cosmik_connection() -> ::jacquard_lexicon::lexicon::Lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -378,8 +378,8 @@ fn lexicon_doc_network_cosmik_connection() -> ::jacquard_lexicon::lexicon::Lexic description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("source"), - ::jacquard_common::smol_str::SmolStr::new_static("target") + ::jacquard_common::deps::smol_str::SmolStr::new_static("source"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("target") ], ), nullable: None, @@ -387,7 +387,7 @@ fn lexicon_doc_network_cosmik_connection() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "connectionType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -408,7 +408,7 @@ fn lexicon_doc_network_cosmik_connection() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -431,7 +431,9 @@ fn lexicon_doc_network_cosmik_connection() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("note"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "note", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -450,7 +452,9 @@ fn lexicon_doc_network_cosmik_connection() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("source"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "source", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -469,7 +473,9 @@ fn lexicon_doc_network_cosmik_connection() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("target"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "target", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -488,7 +494,7 @@ fn lexicon_doc_network_cosmik_connection() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/network_cosmik/follow.rs b/crates/jacquard-api/src/network_cosmik/follow.rs index 20d378c4d..9f1f09d3c 100644 --- a/crates/jacquard-api/src/network_cosmik/follow.rs +++ b/crates/jacquard-api/src/network_cosmik/follow.rs @@ -35,37 +35,37 @@ pub mod follow_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Subject; type CreatedAt; + type Subject; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Subject = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `subject` field to Set - pub struct SetSubject(PhantomData S>); - impl sealed::Sealed for SetSubject {} - impl State for SetSubject { - type Subject = Set; - type CreatedAt = S::CreatedAt; + type Subject = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Subject = S::Subject; type CreatedAt = Set; + type Subject = S::Subject; + } + ///State transition - sets the `subject` field to Set + pub struct SetSubject(PhantomData S>); + impl sealed::Sealed for SetSubject {} + impl State for SetSubject { + type CreatedAt = S::CreatedAt; + type Subject = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `subject` field - pub struct subject(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `subject` field + pub struct subject(()); } } @@ -138,8 +138,8 @@ where impl<'a, S> FollowBuilder<'a, S> where S: follow_state::State, - S::Subject: follow_state::IsSet, S::CreatedAt: follow_state::IsSet, + S::Subject: follow_state::IsSet, { /// Build the final struct pub fn build(self) -> Follow<'a> { @@ -153,7 +153,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Follow<'a> { @@ -254,7 +254,7 @@ fn lexicon_doc_network_cosmik_follow() -> ::jacquard_lexicon::lexicon::LexiconDo defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -266,8 +266,8 @@ fn lexicon_doc_network_cosmik_follow() -> ::jacquard_lexicon::lexicon::LexiconDo description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -275,7 +275,7 @@ fn lexicon_doc_network_cosmik_follow() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -298,7 +298,9 @@ fn lexicon_doc_network_cosmik_follow() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/network_slices/actor.rs b/crates/jacquard-api/src/network_slices/actor.rs index a25ea7e8f..9db0ef704 100644 --- a/crates/jacquard-api/src/network_slices/actor.rs +++ b/crates/jacquard-api/src/network_slices/actor.rs @@ -223,7 +223,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ProfileViewBasic<'a> { @@ -249,13 +249,15 @@ fn lexicon_doc_network_slices_actor_defs() -> ::jacquard_lexicon::lexicon::Lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("profileViewBasic"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "profileViewBasic", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("did"), - ::jacquard_common::smol_str::SmolStr::new_static("handle") + ::jacquard_common::deps::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("handle") ], ), nullable: None, @@ -263,7 +265,9 @@ fn lexicon_doc_network_slices_actor_defs() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("avatar"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "avatar", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -278,7 +282,7 @@ fn lexicon_doc_network_slices_actor_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -299,7 +303,9 @@ fn lexicon_doc_network_slices_actor_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -316,7 +322,7 @@ fn lexicon_doc_network_slices_actor_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "displayName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -333,7 +339,9 @@ fn lexicon_doc_network_slices_actor_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("handle"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "handle", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -385,7 +393,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ProfileViewBasic<'a> { } if let Some(ref value) = self.description { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -415,7 +423,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ProfileViewBasic<'a> { } if let Some(ref value) = self.display_name { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) diff --git a/crates/jacquard-api/src/network_slices/actor/profile.rs b/crates/jacquard-api/src/network_slices/actor/profile.rs index 8a99809f0..b6463c020 100644 --- a/crates/jacquard-api/src/network_slices/actor/profile.rs +++ b/crates/jacquard-api/src/network_slices/actor/profile.rs @@ -176,7 +176,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Profile<'a> { @@ -278,7 +278,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Profile<'a> { } if let Some(ref value) = self.description { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -308,7 +308,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Profile<'a> { } if let Some(ref value) = self.display_name { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -339,7 +339,7 @@ fn lexicon_doc_network_slices_actor_profile() -> ::jacquard_lexicon::lexicon::Le defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -355,7 +355,9 @@ fn lexicon_doc_network_slices_actor_profile() -> ::jacquard_lexicon::lexicon::Le #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("avatar"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "avatar", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -363,7 +365,7 @@ fn lexicon_doc_network_slices_actor_profile() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -382,7 +384,7 @@ fn lexicon_doc_network_slices_actor_profile() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -403,7 +405,7 @@ fn lexicon_doc_network_slices_actor_profile() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "displayName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/network_slices/lexicon.rs b/crates/jacquard-api/src/network_slices/lexicon.rs index ec1e332cb..2f2974725 100644 --- a/crates/jacquard-api/src/network_slices/lexicon.rs +++ b/crates/jacquard-api/src/network_slices/lexicon.rs @@ -51,66 +51,66 @@ pub mod lexicon_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type CreatedAt; + type Nsid; type Slice; type Definitions; - type Nsid; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type CreatedAt = Unset; + type Nsid = Unset; type Slice = Unset; type Definitions = Unset; - type Nsid = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { type CreatedAt = Set; + type Nsid = S::Nsid; + type Slice = S::Slice; + type Definitions = S::Definitions; + } + ///State transition - sets the `nsid` field to Set + pub struct SetNsid(PhantomData S>); + impl sealed::Sealed for SetNsid {} + impl State for SetNsid { + type CreatedAt = S::CreatedAt; + type Nsid = Set; type Slice = S::Slice; type Definitions = S::Definitions; - type Nsid = S::Nsid; } ///State transition - sets the `slice` field to Set pub struct SetSlice(PhantomData S>); impl sealed::Sealed for SetSlice {} impl State for SetSlice { type CreatedAt = S::CreatedAt; + type Nsid = S::Nsid; type Slice = Set; type Definitions = S::Definitions; - type Nsid = S::Nsid; } ///State transition - sets the `definitions` field to Set pub struct SetDefinitions(PhantomData S>); impl sealed::Sealed for SetDefinitions {} impl State for SetDefinitions { type CreatedAt = S::CreatedAt; - type Slice = S::Slice; - type Definitions = Set; type Nsid = S::Nsid; - } - ///State transition - sets the `nsid` field to Set - pub struct SetNsid(PhantomData S>); - impl sealed::Sealed for SetNsid {} - impl State for SetNsid { - type CreatedAt = S::CreatedAt; type Slice = S::Slice; - type Definitions = S::Definitions; - type Nsid = Set; + type Definitions = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `nsid` field + pub struct nsid(()); ///Marker type for the `slice` field pub struct slice(()); ///Marker type for the `definitions` field pub struct definitions(()); - ///Marker type for the `nsid` field - pub struct nsid(()); } } @@ -278,9 +278,9 @@ impl<'a, S> LexiconBuilder<'a, S> where S: lexicon_state::State, S::CreatedAt: lexicon_state::IsSet, + S::Nsid: lexicon_state::IsSet, S::Slice: lexicon_state::IsSet, S::Definitions: lexicon_state::IsSet, - S::Nsid: lexicon_state::IsSet, { /// Build the final struct pub fn build(self) -> Lexicon<'a> { @@ -299,7 +299,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Lexicon<'a> { @@ -430,7 +430,7 @@ fn lexicon_doc_network_slices_lexicon() -> ::jacquard_lexicon::lexicon::LexiconD defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -438,10 +438,10 @@ fn lexicon_doc_network_slices_lexicon() -> ::jacquard_lexicon::lexicon::LexiconD description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("nsid"), - ::jacquard_common::smol_str::SmolStr::new_static("definitions"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt"), - ::jacquard_common::smol_str::SmolStr::new_static("slice") + ::jacquard_common::deps::smol_str::SmolStr::new_static("nsid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("definitions"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("slice") ], ), nullable: None, @@ -449,7 +449,7 @@ fn lexicon_doc_network_slices_lexicon() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -472,7 +472,7 @@ fn lexicon_doc_network_slices_lexicon() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "definitions", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -493,7 +493,7 @@ fn lexicon_doc_network_slices_lexicon() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -514,7 +514,7 @@ fn lexicon_doc_network_slices_lexicon() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "excludedFromSync", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -524,7 +524,9 @@ fn lexicon_doc_network_slices_lexicon() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("nsid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "nsid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -543,7 +545,9 @@ fn lexicon_doc_network_slices_lexicon() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("slice"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "slice", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -564,7 +568,7 @@ fn lexicon_doc_network_slices_lexicon() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/network_slices/slice.rs b/crates/jacquard-api/src/network_slices/slice.rs index 13f93f4a0..2f956500a 100644 --- a/crates/jacquard-api/src/network_slices/slice.rs +++ b/crates/jacquard-api/src/network_slices/slice.rs @@ -208,7 +208,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Slice<'a> { @@ -336,7 +336,7 @@ fn lexicon_doc_network_slices_slice() -> ::jacquard_lexicon::lexicon::LexiconDoc defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -344,9 +344,9 @@ fn lexicon_doc_network_slices_slice() -> ::jacquard_lexicon::lexicon::LexiconDoc description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("domain"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("domain"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -354,7 +354,7 @@ fn lexicon_doc_network_slices_slice() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -377,7 +377,9 @@ fn lexicon_doc_network_slices_slice() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("domain"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "domain", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -396,7 +398,9 @@ fn lexicon_doc_network_slices_slice() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Name of the slice"), @@ -481,105 +485,105 @@ pub mod slice_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Domain; + type CreatedAt; type Uri; - type Name; - type Cid; type Creator; - type CreatedAt; + type Domain; + type Cid; + type Name; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Domain = Unset; + type CreatedAt = Unset; type Uri = Unset; - type Name = Unset; - type Cid = Unset; type Creator = Unset; - type CreatedAt = Unset; + type Domain = Unset; + type Cid = Unset; + type Name = Unset; } - ///State transition - sets the `domain` field to Set - pub struct SetDomain(PhantomData S>); - impl sealed::Sealed for SetDomain {} - impl State for SetDomain { - type Domain = Set; + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type CreatedAt = Set; type Uri = S::Uri; - type Name = S::Name; - type Cid = S::Cid; type Creator = S::Creator; - type CreatedAt = S::CreatedAt; + type Domain = S::Domain; + type Cid = S::Cid; + type Name = S::Name; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { - type Domain = S::Domain; + type CreatedAt = S::CreatedAt; type Uri = Set; - type Name = S::Name; - type Cid = S::Cid; type Creator = S::Creator; - type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `name` field to Set - pub struct SetName(PhantomData S>); - impl sealed::Sealed for SetName {} - impl State for SetName { type Domain = S::Domain; + type Cid = S::Cid; + type Name = S::Name; + } + ///State transition - sets the `creator` field to Set + pub struct SetCreator(PhantomData S>); + impl sealed::Sealed for SetCreator {} + impl State for SetCreator { + type CreatedAt = S::CreatedAt; type Uri = S::Uri; - type Name = Set; + type Creator = Set; + type Domain = S::Domain; type Cid = S::Cid; - type Creator = S::Creator; + type Name = S::Name; + } + ///State transition - sets the `domain` field to Set + pub struct SetDomain(PhantomData S>); + impl sealed::Sealed for SetDomain {} + impl State for SetDomain { type CreatedAt = S::CreatedAt; + type Uri = S::Uri; + type Creator = S::Creator; + type Domain = Set; + type Cid = S::Cid; + type Name = S::Name; } ///State transition - sets the `cid` field to Set pub struct SetCid(PhantomData S>); impl sealed::Sealed for SetCid {} impl State for SetCid { - type Domain = S::Domain; + type CreatedAt = S::CreatedAt; type Uri = S::Uri; - type Name = S::Name; - type Cid = Set; type Creator = S::Creator; - type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `creator` field to Set - pub struct SetCreator(PhantomData S>); - impl sealed::Sealed for SetCreator {} - impl State for SetCreator { type Domain = S::Domain; - type Uri = S::Uri; + type Cid = Set; type Name = S::Name; - type Cid = S::Cid; - type Creator = Set; - type CreatedAt = S::CreatedAt; } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type Domain = S::Domain; + ///State transition - sets the `name` field to Set + pub struct SetName(PhantomData S>); + impl sealed::Sealed for SetName {} + impl State for SetName { + type CreatedAt = S::CreatedAt; type Uri = S::Uri; - type Name = S::Name; - type Cid = S::Cid; type Creator = S::Creator; - type CreatedAt = Set; + type Domain = S::Domain; + type Cid = S::Cid; + type Name = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `domain` field - pub struct domain(()); + ///Marker type for the `created_at` field + pub struct created_at(()); ///Marker type for the `uri` field pub struct uri(()); - ///Marker type for the `name` field - pub struct name(()); - ///Marker type for the `cid` field - pub struct cid(()); ///Marker type for the `creator` field pub struct creator(()); - ///Marker type for the `created_at` field - pub struct created_at(()); + ///Marker type for the `domain` field + pub struct domain(()); + ///Marker type for the `cid` field + pub struct cid(()); + ///Marker type for the `name` field + pub struct name(()); } } @@ -835,12 +839,12 @@ impl<'a, S: slice_view_state::State> SliceViewBuilder<'a, S> { impl<'a, S> SliceViewBuilder<'a, S> where S: slice_view_state::State, - S::Domain: slice_view_state::IsSet, + S::CreatedAt: slice_view_state::IsSet, S::Uri: slice_view_state::IsSet, - S::Name: slice_view_state::IsSet, - S::Cid: slice_view_state::IsSet, S::Creator: slice_view_state::IsSet, - S::CreatedAt: slice_view_state::IsSet, + S::Domain: slice_view_state::IsSet, + S::Cid: slice_view_state::IsSet, + S::Name: slice_view_state::IsSet, { /// Build the final struct pub fn build(self) -> SliceView<'a> { @@ -864,7 +868,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> SliceView<'a> { @@ -897,17 +901,17 @@ fn lexicon_doc_network_slices_slice_defs() -> ::jacquard_lexicon::lexicon::Lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sliceView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("sliceView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("cid"), - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("domain"), - ::jacquard_common::smol_str::SmolStr::new_static("creator"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("domain"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("creator"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -915,7 +919,9 @@ fn lexicon_doc_network_slices_slice_defs() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -932,7 +938,7 @@ fn lexicon_doc_network_slices_slice_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -951,7 +957,9 @@ fn lexicon_doc_network_slices_slice_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("creator"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "creator", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -960,7 +968,9 @@ fn lexicon_doc_network_slices_slice_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("domain"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "domain", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -979,7 +989,7 @@ fn lexicon_doc_network_slices_slice_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "indexedActorCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -992,7 +1002,7 @@ fn lexicon_doc_network_slices_slice_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "indexedCollectionCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1005,7 +1015,7 @@ fn lexicon_doc_network_slices_slice_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "indexedRecordCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1018,7 +1028,9 @@ fn lexicon_doc_network_slices_slice_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1037,7 +1049,7 @@ fn lexicon_doc_network_slices_slice_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sparkline", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -1057,7 +1069,9 @@ fn lexicon_doc_network_slices_slice_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -1074,7 +1088,7 @@ fn lexicon_doc_network_slices_slice_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "waitlistInviteCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1087,7 +1101,7 @@ fn lexicon_doc_network_slices_slice_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "waitlistRequestCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1104,13 +1118,13 @@ fn lexicon_doc_network_slices_slice_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sparklinePoint"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("sparklinePoint"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("timestamp"), - ::jacquard_common::smol_str::SmolStr::new_static("count") + ::jacquard_common::deps::smol_str::SmolStr::new_static("timestamp"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("count") ], ), nullable: None, @@ -1118,7 +1132,9 @@ fn lexicon_doc_network_slices_slice_defs() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("count"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "count", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -1129,7 +1145,7 @@ fn lexicon_doc_network_slices_slice_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "timestamp", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1317,7 +1333,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> SparklinePoint<'a> { 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 d3e2867a1..50975399e 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 @@ -375,7 +375,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> CreateOAuthClient<'a> { 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 e7fd0f77d..6e470fb10 100644 --- a/crates/jacquard-api/src/network_slices/slice/get_actors.rs +++ b/crates/jacquard-api/src/network_slices/slice/get_actors.rs @@ -41,51 +41,51 @@ pub mod actor_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type IndexedAt; type Did; type SliceUri; + type IndexedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type IndexedAt = Unset; type Did = Unset; type SliceUri = Unset; - } - ///State transition - sets the `indexed_at` field to Set - pub struct SetIndexedAt(PhantomData S>); - impl sealed::Sealed for SetIndexedAt {} - impl State for SetIndexedAt { - type IndexedAt = Set; - type Did = S::Did; - type SliceUri = S::SliceUri; + type IndexedAt = Unset; } ///State transition - sets the `did` field to Set pub struct SetDid(PhantomData S>); impl sealed::Sealed for SetDid {} impl State for SetDid { - type IndexedAt = S::IndexedAt; type Did = Set; type SliceUri = S::SliceUri; + type IndexedAt = S::IndexedAt; } ///State transition - sets the `slice_uri` field to Set pub struct SetSliceUri(PhantomData S>); impl sealed::Sealed for SetSliceUri {} impl State for SetSliceUri { - type IndexedAt = S::IndexedAt; type Did = S::Did; type SliceUri = Set; + type IndexedAt = S::IndexedAt; + } + ///State transition - sets the `indexed_at` field to Set + pub struct SetIndexedAt(PhantomData S>); + impl sealed::Sealed for SetIndexedAt {} + impl State for SetIndexedAt { + type Did = S::Did; + type SliceUri = S::SliceUri; + type IndexedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `indexed_at` field - pub struct indexed_at(()); ///Marker type for the `did` field pub struct did(()); ///Marker type for the `slice_uri` field pub struct slice_uri(()); + ///Marker type for the `indexed_at` field + pub struct indexed_at(()); } } @@ -198,9 +198,9 @@ where impl<'a, S> ActorBuilder<'a, S> where S: actor_state::State, - S::IndexedAt: actor_state::IsSet, S::Did: actor_state::IsSet, S::SliceUri: actor_state::IsSet, + S::IndexedAt: actor_state::IsSet, { /// Build the final struct pub fn build(self) -> Actor<'a> { @@ -216,7 +216,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Actor<'a> { @@ -241,14 +241,14 @@ fn lexicon_doc_network_slices_slice_getActors() -> ::jacquard_lexicon::lexicon:: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("actor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("actor"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("did"), - ::jacquard_common::smol_str::SmolStr::new_static("sliceUri"), - ::jacquard_common::smol_str::SmolStr::new_static("indexedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("sliceUri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("indexedAt") ], ), nullable: None, @@ -256,7 +256,9 @@ fn lexicon_doc_network_slices_slice_getActors() -> ::jacquard_lexicon::lexicon:: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -277,7 +279,9 @@ fn lexicon_doc_network_slices_slice_getActors() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("handle"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "handle", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -298,7 +302,7 @@ fn lexicon_doc_network_slices_slice_getActors() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "indexedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -321,7 +325,9 @@ fn lexicon_doc_network_slices_slice_getActors() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sliceUri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sliceUri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -344,7 +350,7 @@ fn lexicon_doc_network_slices_slice_getActors() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcProcedure(::jacquard_lexicon::lexicon::LexXrpcProcedure { description: None, parameters: None, @@ -358,7 +364,7 @@ fn lexicon_doc_network_slices_slice_getActors() -> ::jacquard_lexicon::lexicon:: description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("slice") + ::jacquard_common::deps::smol_str::SmolStr::new_static("slice") ], ), nullable: None, @@ -366,7 +372,9 @@ fn lexicon_doc_network_slices_slice_getActors() -> ::jacquard_lexicon::lexicon:: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cursor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cursor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -385,7 +393,9 @@ fn lexicon_doc_network_slices_slice_getActors() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("limit"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "limit", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -396,7 +406,9 @@ fn lexicon_doc_network_slices_slice_getActors() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("slice"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "slice", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -415,7 +427,9 @@ fn lexicon_doc_network_slices_slice_getActors() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("where"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "where", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { description: None, }), 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 aad95ecfb..6aa3ceada 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 @@ -58,85 +58,85 @@ pub mod log_entry_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type LogType; - type CreatedAt; - type Level; type Message; + type Level; + type LogType; type Id; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type LogType = Unset; - type CreatedAt = Unset; - type Level = Unset; type Message = Unset; + type Level = Unset; + type LogType = Unset; type Id = Unset; + type CreatedAt = Unset; } - ///State transition - sets the `log_type` field to Set - pub struct SetLogType(PhantomData S>); - impl sealed::Sealed for SetLogType {} - impl State for SetLogType { - type LogType = Set; - type CreatedAt = S::CreatedAt; + ///State transition - sets the `message` field to Set + pub struct SetMessage(PhantomData S>); + impl sealed::Sealed for SetMessage {} + impl State for SetMessage { + type Message = Set; type Level = S::Level; - type Message = S::Message; - type Id = S::Id; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { type LogType = S::LogType; - type CreatedAt = Set; - type Level = S::Level; - type Message = S::Message; type Id = S::Id; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `level` field to Set pub struct SetLevel(PhantomData S>); impl sealed::Sealed for SetLevel {} impl State for SetLevel { - type LogType = S::LogType; - type CreatedAt = S::CreatedAt; - type Level = Set; type Message = S::Message; - type Id = S::Id; - } - ///State transition - sets the `message` field to Set - pub struct SetMessage(PhantomData S>); - impl sealed::Sealed for SetMessage {} - impl State for SetMessage { + type Level = Set; type LogType = S::LogType; + type Id = S::Id; type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `log_type` field to Set + pub struct SetLogType(PhantomData S>); + impl sealed::Sealed for SetLogType {} + impl State for SetLogType { + type Message = S::Message; type Level = S::Level; - type Message = Set; + type LogType = Set; type Id = S::Id; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `id` field to Set pub struct SetId(PhantomData S>); impl sealed::Sealed for SetId {} impl State for SetId { + type Message = S::Message; + type Level = S::Level; type LogType = S::LogType; + type Id = Set; type CreatedAt = S::CreatedAt; - type Level = S::Level; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { type Message = S::Message; - type Id = Set; + type Level = S::Level; + type LogType = S::LogType; + type Id = S::Id; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `log_type` field - pub struct log_type(()); - ///Marker type for the `created_at` field - pub struct created_at(()); - ///Marker type for the `level` field - pub struct level(()); ///Marker type for the `message` field pub struct message(()); + ///Marker type for the `level` field + pub struct level(()); + ///Marker type for the `log_type` field + pub struct log_type(()); ///Marker type for the `id` field pub struct id(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -356,11 +356,11 @@ impl<'a, S: log_entry_state::State> LogEntryBuilder<'a, S> { impl<'a, S> LogEntryBuilder<'a, S> where S: log_entry_state::State, - S::LogType: log_entry_state::IsSet, - S::CreatedAt: log_entry_state::IsSet, - S::Level: log_entry_state::IsSet, S::Message: log_entry_state::IsSet, + S::Level: log_entry_state::IsSet, + S::LogType: log_entry_state::IsSet, S::Id: log_entry_state::IsSet, + S::CreatedAt: log_entry_state::IsSet, { /// Build the final struct pub fn build(self) -> LogEntry<'a> { @@ -381,7 +381,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> LogEntry<'a> { @@ -411,16 +411,16 @@ fn lexicon_doc_network_slices_slice_getJobLogs() -> ::jacquard_lexicon::lexicon: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("logEntry"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("logEntry"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("id"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt"), - ::jacquard_common::smol_str::SmolStr::new_static("logType"), - ::jacquard_common::smol_str::SmolStr::new_static("level"), - ::jacquard_common::smol_str::SmolStr::new_static("message") + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("logType"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("level"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("message") ], ), nullable: None, @@ -428,7 +428,7 @@ fn lexicon_doc_network_slices_slice_getJobLogs() -> ::jacquard_lexicon::lexicon: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -451,7 +451,7 @@ fn lexicon_doc_network_slices_slice_getJobLogs() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -462,7 +462,9 @@ fn lexicon_doc_network_slices_slice_getJobLogs() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("jobId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "jobId", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -481,7 +483,9 @@ fn lexicon_doc_network_slices_slice_getJobLogs() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("level"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "level", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Log level"), @@ -498,7 +502,9 @@ fn lexicon_doc_network_slices_slice_getJobLogs() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("logType"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "logType", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Type of log entry"), @@ -515,7 +521,9 @@ fn lexicon_doc_network_slices_slice_getJobLogs() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("message"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "message", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Log message"), @@ -532,13 +540,17 @@ fn lexicon_doc_network_slices_slice_getJobLogs() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("metadata"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "metadata", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sliceUri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sliceUri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -557,7 +569,9 @@ fn lexicon_doc_network_slices_slice_getJobLogs() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("userDid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "userDid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -582,7 +596,7 @@ fn lexicon_doc_network_slices_slice_getJobLogs() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcQuery(::jacquard_lexicon::lexicon::LexXrpcQuery { description: None, parameters: Some( @@ -590,14 +604,16 @@ fn lexicon_doc_network_slices_slice_getJobLogs() -> ::jacquard_lexicon::lexicon: description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("jobId") + ::jacquard_common::deps::smol_str::SmolStr::new_static("jobId") ], ), properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("jobId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "jobId", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -616,7 +632,9 @@ fn lexicon_doc_network_slices_slice_getJobLogs() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("limit"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "limit", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, 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 fcc622824..c94c3317e 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 @@ -55,67 +55,67 @@ pub mod job_status_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Status; - type JobId; type CreatedAt; + type JobId; type RetryCount; + type Status; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Status = Unset; - type JobId = Unset; type CreatedAt = Unset; + type JobId = Unset; type RetryCount = Unset; + type Status = Unset; } - ///State transition - sets the `status` field to Set - pub struct SetStatus(PhantomData S>); - impl sealed::Sealed for SetStatus {} - impl State for SetStatus { - type Status = Set; + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type CreatedAt = Set; type JobId = S::JobId; - type CreatedAt = S::CreatedAt; type RetryCount = S::RetryCount; + type Status = S::Status; } ///State transition - sets the `job_id` field to Set pub struct SetJobId(PhantomData S>); impl sealed::Sealed for SetJobId {} impl State for SetJobId { - type Status = S::Status; - type JobId = Set; type CreatedAt = S::CreatedAt; + type JobId = Set; type RetryCount = S::RetryCount; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { type Status = S::Status; - type JobId = S::JobId; - type CreatedAt = Set; - type RetryCount = S::RetryCount; } ///State transition - sets the `retry_count` field to Set pub struct SetRetryCount(PhantomData S>); impl sealed::Sealed for SetRetryCount {} impl State for SetRetryCount { - type Status = S::Status; - type JobId = S::JobId; type CreatedAt = S::CreatedAt; + type JobId = S::JobId; type RetryCount = Set; + type Status = S::Status; + } + ///State transition - sets the `status` field to Set + pub struct SetStatus(PhantomData S>); + impl sealed::Sealed for SetStatus {} + impl State for SetStatus { + type CreatedAt = S::CreatedAt; + type JobId = S::JobId; + type RetryCount = S::RetryCount; + type Status = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `status` field - pub struct status(()); - ///Marker type for the `job_id` field - pub struct job_id(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `job_id` field + pub struct job_id(()); ///Marker type for the `retry_count` field pub struct retry_count(()); + ///Marker type for the `status` field + pub struct status(()); } } @@ -309,10 +309,10 @@ where impl<'a, S> JobStatusBuilder<'a, S> where S: job_status_state::State, - S::Status: job_status_state::IsSet, - S::JobId: job_status_state::IsSet, S::CreatedAt: job_status_state::IsSet, + S::JobId: job_status_state::IsSet, S::RetryCount: job_status_state::IsSet, + S::Status: job_status_state::IsSet, { /// Build the final struct pub fn build(self) -> JobStatus<'a> { @@ -332,7 +332,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> JobStatus<'a> { @@ -361,15 +361,15 @@ fn lexicon_doc_network_slices_slice_getJobStatus() -> ::jacquard_lexicon::lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("jobStatus"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("jobStatus"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("jobId"), - ::jacquard_common::smol_str::SmolStr::new_static("status"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt"), - ::jacquard_common::smol_str::SmolStr::new_static("retryCount") + ::jacquard_common::deps::smol_str::SmolStr::new_static("jobId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("status"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("retryCount") ], ), nullable: None, @@ -377,7 +377,7 @@ fn lexicon_doc_network_slices_slice_getJobStatus() -> ::jacquard_lexicon::lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "completedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -400,7 +400,7 @@ fn lexicon_doc_network_slices_slice_getJobStatus() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -423,7 +423,9 @@ fn lexicon_doc_network_slices_slice_getJobStatus() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("error"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "error", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -442,7 +444,9 @@ fn lexicon_doc_network_slices_slice_getJobStatus() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("jobId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "jobId", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("UUID of the job"), @@ -459,7 +463,9 @@ fn lexicon_doc_network_slices_slice_getJobStatus() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("result"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "result", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -468,7 +474,7 @@ fn lexicon_doc_network_slices_slice_getJobStatus() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "retryCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -481,7 +487,7 @@ fn lexicon_doc_network_slices_slice_getJobStatus() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "startedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -504,7 +510,9 @@ fn lexicon_doc_network_slices_slice_getJobStatus() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("status"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "status", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -527,7 +535,7 @@ fn lexicon_doc_network_slices_slice_getJobStatus() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcQuery(::jacquard_lexicon::lexicon::LexXrpcQuery { description: None, parameters: Some( @@ -535,14 +543,16 @@ fn lexicon_doc_network_slices_slice_getJobStatus() -> ::jacquard_lexicon::lexico description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("jobId") + ::jacquard_common::deps::smol_str::SmolStr::new_static("jobId") ], ), properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("jobId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "jobId", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -569,16 +579,16 @@ fn lexicon_doc_network_slices_slice_getJobStatus() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("syncJobResult"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("syncJobResult"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("success"), - ::jacquard_common::smol_str::SmolStr::new_static("totalRecords"), - ::jacquard_common::smol_str::SmolStr::new_static("collectionsSynced"), - ::jacquard_common::smol_str::SmolStr::new_static("reposProcessed"), - ::jacquard_common::smol_str::SmolStr::new_static("message") + ::jacquard_common::deps::smol_str::SmolStr::new_static("success"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("totalRecords"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("collectionsSynced"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("reposProcessed"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("message") ], ), nullable: None, @@ -586,7 +596,7 @@ fn lexicon_doc_network_slices_slice_getJobStatus() -> ::jacquard_lexicon::lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "collectionsSynced", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -614,7 +624,9 @@ fn lexicon_doc_network_slices_slice_getJobStatus() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("message"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "message", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -633,7 +645,7 @@ fn lexicon_doc_network_slices_slice_getJobStatus() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "reposProcessed", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -646,7 +658,9 @@ fn lexicon_doc_network_slices_slice_getJobStatus() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("success"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "success", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -654,7 +668,7 @@ fn lexicon_doc_network_slices_slice_getJobStatus() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "totalRecords", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -875,9 +889,9 @@ pub mod sync_job_result_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type TotalRecords; type Success; type CollectionsSynced; - type TotalRecords; type ReposProcessed; type Message; } @@ -885,19 +899,29 @@ pub mod sync_job_result_state { pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type TotalRecords = Unset; type Success = Unset; type CollectionsSynced = Unset; - type TotalRecords = Unset; type ReposProcessed = Unset; type Message = Unset; } + ///State transition - sets the `total_records` field to Set + pub struct SetTotalRecords(PhantomData S>); + impl sealed::Sealed for SetTotalRecords {} + impl State for SetTotalRecords { + type TotalRecords = Set; + type Success = S::Success; + type CollectionsSynced = S::CollectionsSynced; + type ReposProcessed = S::ReposProcessed; + type Message = S::Message; + } ///State transition - sets the `success` field to Set pub struct SetSuccess(PhantomData S>); impl sealed::Sealed for SetSuccess {} impl State for SetSuccess { + type TotalRecords = S::TotalRecords; type Success = Set; type CollectionsSynced = S::CollectionsSynced; - type TotalRecords = S::TotalRecords; type ReposProcessed = S::ReposProcessed; type Message = S::Message; } @@ -905,19 +929,9 @@ pub mod sync_job_result_state { pub struct SetCollectionsSynced(PhantomData S>); impl sealed::Sealed for SetCollectionsSynced {} impl State for SetCollectionsSynced { - type Success = S::Success; - type CollectionsSynced = Set; type TotalRecords = S::TotalRecords; - type ReposProcessed = S::ReposProcessed; - type Message = S::Message; - } - ///State transition - sets the `total_records` field to Set - pub struct SetTotalRecords(PhantomData S>); - impl sealed::Sealed for SetTotalRecords {} - impl State for SetTotalRecords { type Success = S::Success; - type CollectionsSynced = S::CollectionsSynced; - type TotalRecords = Set; + type CollectionsSynced = Set; type ReposProcessed = S::ReposProcessed; type Message = S::Message; } @@ -925,9 +939,9 @@ pub mod sync_job_result_state { pub struct SetReposProcessed(PhantomData S>); impl sealed::Sealed for SetReposProcessed {} impl State for SetReposProcessed { + type TotalRecords = S::TotalRecords; type Success = S::Success; type CollectionsSynced = S::CollectionsSynced; - type TotalRecords = S::TotalRecords; type ReposProcessed = Set; type Message = S::Message; } @@ -935,21 +949,21 @@ pub mod sync_job_result_state { pub struct SetMessage(PhantomData S>); impl sealed::Sealed for SetMessage {} impl State for SetMessage { + type TotalRecords = S::TotalRecords; type Success = S::Success; type CollectionsSynced = S::CollectionsSynced; - type TotalRecords = S::TotalRecords; type ReposProcessed = S::ReposProcessed; type Message = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `total_records` field + pub struct total_records(()); ///Marker type for the `success` field pub struct success(()); ///Marker type for the `collections_synced` field pub struct collections_synced(()); - ///Marker type for the `total_records` field - pub struct total_records(()); ///Marker type for the `repos_processed` field pub struct repos_processed(()); ///Marker type for the `message` field @@ -1086,9 +1100,9 @@ where impl<'a, S> SyncJobResultBuilder<'a, S> where S: sync_job_result_state::State, + S::TotalRecords: sync_job_result_state::IsSet, S::Success: sync_job_result_state::IsSet, S::CollectionsSynced: sync_job_result_state::IsSet, - S::TotalRecords: sync_job_result_state::IsSet, S::ReposProcessed: sync_job_result_state::IsSet, S::Message: sync_job_result_state::IsSet, { @@ -1107,7 +1121,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> SyncJobResult<'a> { 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 a5fa4ecd7..1e4d60ded 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 @@ -221,127 +221,127 @@ pub mod oauth_client_details_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type CreatedAt; type CreatedByDid; type GrantTypes; - type RedirectUris; type ClientId; + type RedirectUris; type ClientName; type ResponseTypes; - type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type CreatedAt = Unset; type CreatedByDid = Unset; type GrantTypes = Unset; - type RedirectUris = Unset; type ClientId = Unset; + type RedirectUris = Unset; type ClientName = Unset; type ResponseTypes = Unset; - type CreatedAt = Unset; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type CreatedAt = Set; + type CreatedByDid = S::CreatedByDid; + type GrantTypes = S::GrantTypes; + type ClientId = S::ClientId; + type RedirectUris = S::RedirectUris; + type ClientName = S::ClientName; + type ResponseTypes = S::ResponseTypes; } ///State transition - sets the `created_by_did` field to Set pub struct SetCreatedByDid(PhantomData S>); impl sealed::Sealed for SetCreatedByDid {} impl State for SetCreatedByDid { + type CreatedAt = S::CreatedAt; type CreatedByDid = Set; type GrantTypes = S::GrantTypes; - type RedirectUris = S::RedirectUris; type ClientId = S::ClientId; + type RedirectUris = S::RedirectUris; type ClientName = S::ClientName; type ResponseTypes = S::ResponseTypes; - type CreatedAt = S::CreatedAt; } ///State transition - sets the `grant_types` field to Set pub struct SetGrantTypes(PhantomData S>); impl sealed::Sealed for SetGrantTypes {} impl State for SetGrantTypes { - type CreatedByDid = S::CreatedByDid; - type GrantTypes = Set; - type RedirectUris = S::RedirectUris; - type ClientId = S::ClientId; - type ClientName = S::ClientName; - type ResponseTypes = S::ResponseTypes; type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `redirect_uris` field to Set - pub struct SetRedirectUris(PhantomData S>); - impl sealed::Sealed for SetRedirectUris {} - impl State for SetRedirectUris { type CreatedByDid = S::CreatedByDid; - type GrantTypes = S::GrantTypes; - type RedirectUris = Set; + type GrantTypes = Set; type ClientId = S::ClientId; + type RedirectUris = S::RedirectUris; type ClientName = S::ClientName; type ResponseTypes = S::ResponseTypes; - type CreatedAt = S::CreatedAt; } ///State transition - sets the `client_id` field to Set pub struct SetClientId(PhantomData S>); impl sealed::Sealed for SetClientId {} impl State for SetClientId { + type CreatedAt = S::CreatedAt; type CreatedByDid = S::CreatedByDid; type GrantTypes = S::GrantTypes; - type RedirectUris = S::RedirectUris; type ClientId = Set; + type RedirectUris = S::RedirectUris; type ClientName = S::ClientName; type ResponseTypes = S::ResponseTypes; + } + ///State transition - sets the `redirect_uris` field to Set + pub struct SetRedirectUris(PhantomData S>); + impl sealed::Sealed for SetRedirectUris {} + impl State for SetRedirectUris { type CreatedAt = S::CreatedAt; + type CreatedByDid = S::CreatedByDid; + type GrantTypes = S::GrantTypes; + type ClientId = S::ClientId; + type RedirectUris = Set; + type ClientName = S::ClientName; + type ResponseTypes = S::ResponseTypes; } ///State transition - sets the `client_name` field to Set pub struct SetClientName(PhantomData S>); impl sealed::Sealed for SetClientName {} impl State for SetClientName { + type CreatedAt = S::CreatedAt; type CreatedByDid = S::CreatedByDid; type GrantTypes = S::GrantTypes; - type RedirectUris = S::RedirectUris; type ClientId = S::ClientId; + type RedirectUris = S::RedirectUris; type ClientName = Set; type ResponseTypes = S::ResponseTypes; - type CreatedAt = S::CreatedAt; } ///State transition - sets the `response_types` field to Set pub struct SetResponseTypes(PhantomData S>); impl sealed::Sealed for SetResponseTypes {} impl State for SetResponseTypes { - type CreatedByDid = S::CreatedByDid; - type GrantTypes = S::GrantTypes; - type RedirectUris = S::RedirectUris; - type ClientId = S::ClientId; - type ClientName = S::ClientName; - type ResponseTypes = Set; type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { type CreatedByDid = S::CreatedByDid; type GrantTypes = S::GrantTypes; - type RedirectUris = S::RedirectUris; type ClientId = S::ClientId; + type RedirectUris = S::RedirectUris; type ClientName = S::ClientName; - type ResponseTypes = S::ResponseTypes; - type CreatedAt = Set; + type ResponseTypes = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `created_at` field + pub struct created_at(()); ///Marker type for the `created_by_did` field pub struct created_by_did(()); ///Marker type for the `grant_types` field pub struct grant_types(()); - ///Marker type for the `redirect_uris` field - pub struct redirect_uris(()); ///Marker type for the `client_id` field pub struct client_id(()); + ///Marker type for the `redirect_uris` field + pub struct redirect_uris(()); ///Marker type for the `client_name` field pub struct client_name(()); ///Marker type for the `response_types` field pub struct response_types(()); - ///Marker type for the `created_at` field - pub struct created_at(()); } } @@ -645,13 +645,13 @@ impl<'a, S: oauth_client_details_state::State> OauthClientDetailsBuilder<'a, S> impl<'a, S> OauthClientDetailsBuilder<'a, S> where S: oauth_client_details_state::State, + S::CreatedAt: oauth_client_details_state::IsSet, S::CreatedByDid: oauth_client_details_state::IsSet, S::GrantTypes: oauth_client_details_state::IsSet, - S::RedirectUris: oauth_client_details_state::IsSet, S::ClientId: oauth_client_details_state::IsSet, + S::RedirectUris: oauth_client_details_state::IsSet, S::ClientName: oauth_client_details_state::IsSet, S::ResponseTypes: oauth_client_details_state::IsSet, - S::CreatedAt: oauth_client_details_state::IsSet, { /// Build the final struct pub fn build(self) -> OauthClientDetails<'a> { @@ -676,7 +676,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> OauthClientDetails<'a> { @@ -712,7 +712,7 @@ fn lexicon_doc_network_slices_slice_getOAuthClients() -> ::jacquard_lexicon::lex defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcQuery(::jacquard_lexicon::lexicon::LexXrpcQuery { description: None, parameters: Some( @@ -720,14 +720,16 @@ fn lexicon_doc_network_slices_slice_getOAuthClients() -> ::jacquard_lexicon::lex description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("slice") + ::jacquard_common::deps::smol_str::SmolStr::new_static("slice") ], ), properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("slice"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "slice", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -754,18 +756,20 @@ fn lexicon_doc_network_slices_slice_getOAuthClients() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("oauthClientDetails"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "oauthClientDetails", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("clientId"), - ::jacquard_common::smol_str::SmolStr::new_static("clientName"), - ::jacquard_common::smol_str::SmolStr::new_static("redirectUris"), - ::jacquard_common::smol_str::SmolStr::new_static("grantTypes"), - ::jacquard_common::smol_str::SmolStr::new_static("responseTypes"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt"), - ::jacquard_common::smol_str::SmolStr::new_static("createdByDid") + ::jacquard_common::deps::smol_str::SmolStr::new_static("clientId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("clientName"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("redirectUris"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("grantTypes"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("responseTypes"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdByDid") ], ), nullable: None, @@ -773,7 +777,9 @@ fn lexicon_doc_network_slices_slice_getOAuthClients() -> ::jacquard_lexicon::lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("clientId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "clientId", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("OAuth client ID"), @@ -790,7 +796,7 @@ fn lexicon_doc_network_slices_slice_getOAuthClients() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "clientName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -811,7 +817,7 @@ fn lexicon_doc_network_slices_slice_getOAuthClients() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "clientSecret", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -832,7 +838,7 @@ fn lexicon_doc_network_slices_slice_getOAuthClients() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "clientUri", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -855,7 +861,7 @@ fn lexicon_doc_network_slices_slice_getOAuthClients() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -878,7 +884,7 @@ fn lexicon_doc_network_slices_slice_getOAuthClients() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdByDid", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -901,7 +907,7 @@ fn lexicon_doc_network_slices_slice_getOAuthClients() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "grantTypes", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -927,7 +933,9 @@ fn lexicon_doc_network_slices_slice_getOAuthClients() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("logoUri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "logoUri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -948,7 +956,7 @@ fn lexicon_doc_network_slices_slice_getOAuthClients() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "policyUri", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -971,7 +979,7 @@ fn lexicon_doc_network_slices_slice_getOAuthClients() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "redirectUris", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -999,7 +1007,7 @@ fn lexicon_doc_network_slices_slice_getOAuthClients() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "responseTypes", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -1025,7 +1033,9 @@ fn lexicon_doc_network_slices_slice_getOAuthClients() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("scope"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "scope", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("OAuth scope"), @@ -1042,7 +1052,9 @@ fn lexicon_doc_network_slices_slice_getOAuthClients() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tosUri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tosUri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( 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 a102b88e0..35660c2ac 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 @@ -46,105 +46,105 @@ pub mod indexed_record_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Collection; - type Did; + type Cid; type Uri; - type IndexedAt; type Value; - type Cid; + type IndexedAt; + type Collection; + type Did; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Collection = Unset; - type Did = Unset; + type Cid = Unset; type Uri = Unset; - type IndexedAt = Unset; type Value = Unset; - type Cid = Unset; + type IndexedAt = Unset; + type Collection = Unset; + type Did = Unset; } - ///State transition - sets the `collection` field to Set - pub struct SetCollection(PhantomData S>); - impl sealed::Sealed for SetCollection {} - impl State for SetCollection { - type Collection = Set; - type Did = S::Did; + ///State transition - sets the `cid` field to Set + pub struct SetCid(PhantomData S>); + impl sealed::Sealed for SetCid {} + impl State for SetCid { + type Cid = Set; type Uri = S::Uri; - type IndexedAt = S::IndexedAt; type Value = S::Value; - type Cid = S::Cid; - } - ///State transition - sets the `did` field to Set - pub struct SetDid(PhantomData S>); - impl sealed::Sealed for SetDid {} - impl State for SetDid { - type Collection = S::Collection; - type Did = Set; - type Uri = S::Uri; type IndexedAt = S::IndexedAt; - type Value = S::Value; - type Cid = S::Cid; + type Collection = S::Collection; + type Did = S::Did; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { - type Collection = S::Collection; - type Did = S::Did; + type Cid = S::Cid; type Uri = Set; - type IndexedAt = S::IndexedAt; type Value = S::Value; - type Cid = S::Cid; - } - ///State transition - sets the `indexed_at` field to Set - pub struct SetIndexedAt(PhantomData S>); - impl sealed::Sealed for SetIndexedAt {} - impl State for SetIndexedAt { + type IndexedAt = S::IndexedAt; type Collection = S::Collection; type Did = S::Did; - type Uri = S::Uri; - type IndexedAt = Set; - type Value = S::Value; - type Cid = S::Cid; } ///State transition - sets the `value` field to Set pub struct SetValue(PhantomData S>); impl sealed::Sealed for SetValue {} impl State for SetValue { - type Collection = S::Collection; - type Did = S::Did; + type Cid = S::Cid; type Uri = S::Uri; - type IndexedAt = S::IndexedAt; type Value = Set; - type Cid = S::Cid; + type IndexedAt = S::IndexedAt; + type Collection = S::Collection; + type Did = S::Did; } - ///State transition - sets the `cid` field to Set - pub struct SetCid(PhantomData S>); - impl sealed::Sealed for SetCid {} - impl State for SetCid { + ///State transition - sets the `indexed_at` field to Set + pub struct SetIndexedAt(PhantomData S>); + impl sealed::Sealed for SetIndexedAt {} + impl State for SetIndexedAt { + type Cid = S::Cid; + type Uri = S::Uri; + type Value = S::Value; + type IndexedAt = Set; type Collection = S::Collection; type Did = S::Did; + } + ///State transition - sets the `collection` field to Set + pub struct SetCollection(PhantomData S>); + impl sealed::Sealed for SetCollection {} + impl State for SetCollection { + type Cid = S::Cid; type Uri = S::Uri; + type Value = S::Value; type IndexedAt = S::IndexedAt; + type Collection = Set; + type Did = S::Did; + } + ///State transition - sets the `did` field to Set + pub struct SetDid(PhantomData S>); + impl sealed::Sealed for SetDid {} + impl State for SetDid { + type Cid = S::Cid; + type Uri = S::Uri; type Value = S::Value; - type Cid = Set; + type IndexedAt = S::IndexedAt; + type Collection = S::Collection; + type Did = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `collection` field - pub struct collection(()); - ///Marker type for the `did` field - pub struct did(()); + ///Marker type for the `cid` field + pub struct cid(()); ///Marker type for the `uri` field pub struct uri(()); - ///Marker type for the `indexed_at` field - pub struct indexed_at(()); ///Marker type for the `value` field pub struct value(()); - ///Marker type for the `cid` field - pub struct cid(()); + ///Marker type for the `indexed_at` field + pub struct indexed_at(()); + ///Marker type for the `collection` field + pub struct collection(()); + ///Marker type for the `did` field + pub struct did(()); } } @@ -297,12 +297,12 @@ where impl<'a, S> IndexedRecordBuilder<'a, S> where S: indexed_record_state::State, - S::Collection: indexed_record_state::IsSet, - S::Did: indexed_record_state::IsSet, + S::Cid: indexed_record_state::IsSet, S::Uri: indexed_record_state::IsSet, - S::IndexedAt: indexed_record_state::IsSet, S::Value: indexed_record_state::IsSet, - S::Cid: indexed_record_state::IsSet, + S::IndexedAt: indexed_record_state::IsSet, + S::Collection: indexed_record_state::IsSet, + S::Did: indexed_record_state::IsSet, { /// Build the final struct pub fn build(self) -> IndexedRecord<'a> { @@ -320,7 +320,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> IndexedRecord<'a> { @@ -349,17 +349,17 @@ fn lexicon_doc_network_slices_slice_getSliceRecords() -> ::jacquard_lexicon::lex defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("indexedRecord"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("indexedRecord"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("cid"), - ::jacquard_common::smol_str::SmolStr::new_static("did"), - ::jacquard_common::smol_str::SmolStr::new_static("collection"), - ::jacquard_common::smol_str::SmolStr::new_static("value"), - ::jacquard_common::smol_str::SmolStr::new_static("indexedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("collection"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("value"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("indexedAt") ], ), nullable: None, @@ -367,7 +367,9 @@ fn lexicon_doc_network_slices_slice_getSliceRecords() -> ::jacquard_lexicon::lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -388,7 +390,7 @@ fn lexicon_doc_network_slices_slice_getSliceRecords() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "collection", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -411,7 +413,9 @@ fn lexicon_doc_network_slices_slice_getSliceRecords() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -432,7 +436,7 @@ fn lexicon_doc_network_slices_slice_getSliceRecords() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "indexedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -455,7 +459,9 @@ fn lexicon_doc_network_slices_slice_getSliceRecords() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -476,7 +482,9 @@ fn lexicon_doc_network_slices_slice_getSliceRecords() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("value"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "value", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { description: None, }), @@ -486,7 +494,7 @@ fn lexicon_doc_network_slices_slice_getSliceRecords() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcProcedure(::jacquard_lexicon::lexicon::LexXrpcProcedure { description: None, parameters: None, @@ -500,7 +508,7 @@ fn lexicon_doc_network_slices_slice_getSliceRecords() -> ::jacquard_lexicon::lex description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("slice") + ::jacquard_common::deps::smol_str::SmolStr::new_static("slice") ], ), nullable: None, @@ -508,7 +516,9 @@ fn lexicon_doc_network_slices_slice_getSliceRecords() -> ::jacquard_lexicon::lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cursor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cursor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -527,7 +537,9 @@ fn lexicon_doc_network_slices_slice_getSliceRecords() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("limit"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "limit", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -538,7 +550,9 @@ fn lexicon_doc_network_slices_slice_getSliceRecords() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("slice"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "slice", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -557,13 +571,17 @@ fn lexicon_doc_network_slices_slice_getSliceRecords() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sortBy"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sortBy", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("where"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "where", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { description: None, }), 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 7a6d0ddc5..41b28bbea 100644 --- a/crates/jacquard-api/src/network_slices/slice/get_sparklines.rs +++ b/crates/jacquard-api/src/network_slices/slice/get_sparklines.rs @@ -160,7 +160,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> GetSparklines<'a> { @@ -252,37 +252,37 @@ pub mod sparkline_entry_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Points; type SliceUri; + type Points; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Points = Unset; type SliceUri = Unset; - } - ///State transition - sets the `points` field to Set - pub struct SetPoints(PhantomData S>); - impl sealed::Sealed for SetPoints {} - impl State for SetPoints { - type Points = Set; - type SliceUri = S::SliceUri; + type Points = Unset; } ///State transition - sets the `slice_uri` field to Set pub struct SetSliceUri(PhantomData S>); impl sealed::Sealed for SetSliceUri {} impl State for SetSliceUri { - type Points = S::Points; type SliceUri = Set; + type Points = S::Points; + } + ///State transition - sets the `points` field to Set + pub struct SetPoints(PhantomData S>); + impl sealed::Sealed for SetPoints {} + impl State for SetPoints { + type SliceUri = S::SliceUri; + type Points = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `points` field - pub struct points(()); ///Marker type for the `slice_uri` field pub struct slice_uri(()); + ///Marker type for the `points` field + pub struct points(()); } } @@ -355,8 +355,8 @@ where impl<'a, S> SparklineEntryBuilder<'a, S> where S: sparkline_entry_state::State, - S::Points: sparkline_entry_state::IsSet, S::SliceUri: sparkline_entry_state::IsSet, + S::Points: sparkline_entry_state::IsSet, { /// Build the final struct pub fn build(self) -> SparklineEntry<'a> { @@ -370,7 +370,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> SparklineEntry<'a> { @@ -393,7 +393,7 @@ fn lexicon_doc_network_slices_slice_getSparklines() -> ::jacquard_lexicon::lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcProcedure(::jacquard_lexicon::lexicon::LexXrpcProcedure { description: None, parameters: None, @@ -407,7 +407,7 @@ fn lexicon_doc_network_slices_slice_getSparklines() -> ::jacquard_lexicon::lexic description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("slices") + ::jacquard_common::deps::smol_str::SmolStr::new_static("slices") ], ), nullable: None, @@ -415,7 +415,7 @@ fn lexicon_doc_network_slices_slice_getSparklines() -> ::jacquard_lexicon::lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "duration", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -436,7 +436,7 @@ fn lexicon_doc_network_slices_slice_getSparklines() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interval", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -457,7 +457,9 @@ fn lexicon_doc_network_slices_slice_getSparklines() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("slices"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "slices", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -490,13 +492,13 @@ fn lexicon_doc_network_slices_slice_getSparklines() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sparklineEntry"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("sparklineEntry"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("sliceUri"), - ::jacquard_common::smol_str::SmolStr::new_static("points") + ::jacquard_common::deps::smol_str::SmolStr::new_static("sliceUri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("points") ], ), nullable: None, @@ -504,7 +506,9 @@ fn lexicon_doc_network_slices_slice_getSparklines() -> ::jacquard_lexicon::lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("points"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "points", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -522,7 +526,9 @@ fn lexicon_doc_network_slices_slice_getSparklines() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sliceUri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sliceUri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("AT-URI of the slice"), 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 56437ac84..05b9d2390 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 @@ -34,50 +34,50 @@ pub mod collection_summary_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type IsExternal; - type EstimatedRepos; type Collection; + type EstimatedRepos; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type IsExternal = Unset; - type EstimatedRepos = Unset; type Collection = Unset; + type EstimatedRepos = Unset; } ///State transition - sets the `is_external` field to Set pub struct SetIsExternal(PhantomData S>); impl sealed::Sealed for SetIsExternal {} impl State for SetIsExternal { type IsExternal = Set; - type EstimatedRepos = S::EstimatedRepos; - type Collection = S::Collection; - } - ///State transition - sets the `estimated_repos` field to Set - pub struct SetEstimatedRepos(PhantomData S>); - impl sealed::Sealed for SetEstimatedRepos {} - impl State for SetEstimatedRepos { - type IsExternal = S::IsExternal; - type EstimatedRepos = Set; type Collection = S::Collection; + type EstimatedRepos = S::EstimatedRepos; } ///State transition - sets the `collection` field to Set pub struct SetCollection(PhantomData S>); impl sealed::Sealed for SetCollection {} impl State for SetCollection { type IsExternal = S::IsExternal; - type EstimatedRepos = S::EstimatedRepos; type Collection = Set; + type EstimatedRepos = S::EstimatedRepos; + } + ///State transition - sets the `estimated_repos` field to Set + pub struct SetEstimatedRepos(PhantomData S>); + impl sealed::Sealed for SetEstimatedRepos {} + impl State for SetEstimatedRepos { + type IsExternal = S::IsExternal; + type Collection = S::Collection; + type EstimatedRepos = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `is_external` field pub struct is_external(()); - ///Marker type for the `estimated_repos` field - pub struct estimated_repos(()); ///Marker type for the `collection` field pub struct collection(()); + ///Marker type for the `estimated_repos` field + pub struct estimated_repos(()); } } @@ -171,8 +171,8 @@ impl<'a, S> CollectionSummaryBuilder<'a, S> where S: collection_summary_state::State, S::IsExternal: collection_summary_state::IsSet, - S::EstimatedRepos: collection_summary_state::IsSet, S::Collection: collection_summary_state::IsSet, + S::EstimatedRepos: collection_summary_state::IsSet, { /// Build the final struct pub fn build(self) -> CollectionSummary<'a> { @@ -187,7 +187,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> CollectionSummary<'a> { @@ -211,14 +211,16 @@ fn lexicon_doc_network_slices_slice_getSyncSummary() -> ::jacquard_lexicon::lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("collectionSummary"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "collectionSummary", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("collection"), - ::jacquard_common::smol_str::SmolStr::new_static("estimatedRepos"), - ::jacquard_common::smol_str::SmolStr::new_static("isExternal") + ::jacquard_common::deps::smol_str::SmolStr::new_static("collection"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("estimatedRepos"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("isExternal") ], ), nullable: None, @@ -226,7 +228,7 @@ fn lexicon_doc_network_slices_slice_getSyncSummary() -> ::jacquard_lexicon::lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "collection", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -243,7 +245,7 @@ fn lexicon_doc_network_slices_slice_getSyncSummary() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "estimatedRepos", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -256,7 +258,7 @@ fn lexicon_doc_network_slices_slice_getSyncSummary() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isExternal", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -270,7 +272,7 @@ fn lexicon_doc_network_slices_slice_getSyncSummary() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcQuery(::jacquard_lexicon::lexicon::LexXrpcQuery { description: None, parameters: Some( @@ -278,14 +280,14 @@ fn lexicon_doc_network_slices_slice_getSyncSummary() -> ::jacquard_lexicon::lexi description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("slice") + ::jacquard_common::deps::smol_str::SmolStr::new_static("slice") ], ), properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "collections", ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::Array(::jacquard_lexicon::lexicon::LexPrimitiveArray { @@ -307,7 +309,7 @@ fn lexicon_doc_network_slices_slice_getSyncSummary() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "externalCollections", ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::Array(::jacquard_lexicon::lexicon::LexPrimitiveArray { @@ -329,7 +331,9 @@ fn lexicon_doc_network_slices_slice_getSyncSummary() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("repos"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "repos", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::Array(::jacquard_lexicon::lexicon::LexPrimitiveArray { description: None, items: ::jacquard_lexicon::lexicon::LexPrimitiveArrayItem::String(::jacquard_lexicon::lexicon::LexString { @@ -349,7 +353,9 @@ fn lexicon_doc_network_slices_slice_getSyncSummary() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("slice"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "slice", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/network_slices/slice/stats.rs b/crates/jacquard-api/src/network_slices/slice/stats.rs index 87cedae74..6f9c2667d 100644 --- a/crates/jacquard-api/src/network_slices/slice/stats.rs +++ b/crates/jacquard-api/src/network_slices/slice/stats.rs @@ -36,51 +36,51 @@ pub mod collection_stats_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Collection; - type RecordCount; type UniqueActors; + type RecordCount; + type Collection; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Collection = Unset; - type RecordCount = Unset; type UniqueActors = Unset; + type RecordCount = Unset; + type Collection = Unset; } - ///State transition - sets the `collection` field to Set - pub struct SetCollection(PhantomData S>); - impl sealed::Sealed for SetCollection {} - impl State for SetCollection { - type Collection = Set; + ///State transition - sets the `unique_actors` field to Set + pub struct SetUniqueActors(PhantomData S>); + impl sealed::Sealed for SetUniqueActors {} + impl State for SetUniqueActors { + type UniqueActors = Set; type RecordCount = S::RecordCount; - type UniqueActors = S::UniqueActors; + type Collection = S::Collection; } ///State transition - sets the `record_count` field to Set pub struct SetRecordCount(PhantomData S>); impl sealed::Sealed for SetRecordCount {} impl State for SetRecordCount { - type Collection = S::Collection; - type RecordCount = Set; type UniqueActors = S::UniqueActors; - } - ///State transition - sets the `unique_actors` field to Set - pub struct SetUniqueActors(PhantomData S>); - impl sealed::Sealed for SetUniqueActors {} - impl State for SetUniqueActors { + type RecordCount = Set; type Collection = S::Collection; + } + ///State transition - sets the `collection` field to Set + pub struct SetCollection(PhantomData S>); + impl sealed::Sealed for SetCollection {} + impl State for SetCollection { + type UniqueActors = S::UniqueActors; type RecordCount = S::RecordCount; - type UniqueActors = Set; + type Collection = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `collection` field - pub struct collection(()); - ///Marker type for the `record_count` field - pub struct record_count(()); ///Marker type for the `unique_actors` field pub struct unique_actors(()); + ///Marker type for the `record_count` field + pub struct record_count(()); + ///Marker type for the `collection` field + pub struct collection(()); } } @@ -173,9 +173,9 @@ where impl<'a, S> CollectionStatsBuilder<'a, S> where S: collection_stats_state::State, - S::Collection: collection_stats_state::IsSet, - S::RecordCount: collection_stats_state::IsSet, S::UniqueActors: collection_stats_state::IsSet, + S::RecordCount: collection_stats_state::IsSet, + S::Collection: collection_stats_state::IsSet, { /// Build the final struct pub fn build(self) -> CollectionStats<'a> { @@ -190,7 +190,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> CollectionStats<'a> { @@ -214,14 +214,16 @@ fn lexicon_doc_network_slices_slice_stats() -> ::jacquard_lexicon::lexicon::Lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("collectionStats"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "collectionStats", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("collection"), - ::jacquard_common::smol_str::SmolStr::new_static("recordCount"), - ::jacquard_common::smol_str::SmolStr::new_static("uniqueActors") + ::jacquard_common::deps::smol_str::SmolStr::new_static("collection"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("recordCount"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("uniqueActors") ], ), nullable: None, @@ -229,7 +231,7 @@ fn lexicon_doc_network_slices_slice_stats() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "collection", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -250,7 +252,7 @@ fn lexicon_doc_network_slices_slice_stats() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "recordCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -263,7 +265,7 @@ fn lexicon_doc_network_slices_slice_stats() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "uniqueActors", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -280,7 +282,7 @@ fn lexicon_doc_network_slices_slice_stats() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcQuery(::jacquard_lexicon::lexicon::LexXrpcQuery { description: None, parameters: Some( @@ -288,14 +290,16 @@ fn lexicon_doc_network_slices_slice_stats() -> ::jacquard_lexicon::lexicon::Lexi description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("slice") + ::jacquard_common::deps::smol_str::SmolStr::new_static("slice") ], ), properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("slice"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "slice", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/network_slices/tools.rs b/crates/jacquard-api/src/network_slices/tools.rs index 6ad6ffdc3..abfd1db29 100644 --- a/crates/jacquard-api/src/network_slices/tools.rs +++ b/crates/jacquard-api/src/network_slices/tools.rs @@ -38,37 +38,37 @@ pub mod image_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Image; type Alt; + type Image; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Image = Unset; type Alt = Unset; - } - ///State transition - sets the `image` field to Set - pub struct SetImage(PhantomData S>); - impl sealed::Sealed for SetImage {} - impl State for SetImage { - type Image = Set; - type Alt = S::Alt; + type Image = Unset; } ///State transition - sets the `alt` field to Set pub struct SetAlt(PhantomData S>); impl sealed::Sealed for SetAlt {} impl State for SetAlt { - type Image = S::Image; type Alt = Set; + type Image = S::Image; + } + ///State transition - sets the `image` field to Set + pub struct SetImage(PhantomData S>); + impl sealed::Sealed for SetImage {} + impl State for SetImage { + type Alt = S::Alt; + type Image = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `image` field - pub struct image(()); ///Marker type for the `alt` field pub struct alt(()); + ///Marker type for the `image` field + pub struct image(()); } } @@ -141,8 +141,8 @@ where impl<'a, S> ImageBuilder<'a, S> where S: image_state::State, - S::Image: image_state::IsSet, S::Alt: image_state::IsSet, + S::Image: image_state::IsSet, { /// Build the final struct pub fn build(self) -> Image<'a> { @@ -156,7 +156,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Image<'a> { @@ -179,13 +179,13 @@ fn lexicon_doc_network_slices_tools_defs() -> ::jacquard_lexicon::lexicon::Lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("image"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("image"), - ::jacquard_common::smol_str::SmolStr::new_static("alt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("alt") ], ), nullable: None, @@ -193,7 +193,9 @@ fn lexicon_doc_network_slices_tools_defs() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("alt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "alt", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -212,7 +214,9 @@ fn lexicon_doc_network_slices_tools_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -224,18 +228,22 @@ fn lexicon_doc_network_slices_tools_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("images"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("images"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("images")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("images") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("images"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "images", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -382,7 +390,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Images<'a> { diff --git a/crates/jacquard-api/src/network_slices/tools/bug.rs b/crates/jacquard-api/src/network_slices/tools/bug.rs index 9bcf80af9..1f7bbcd0c 100644 --- a/crates/jacquard-api/src/network_slices/tools/bug.rs +++ b/crates/jacquard-api/src/network_slices/tools/bug.rs @@ -63,105 +63,105 @@ pub mod bug_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Description; - type Namespace; type StepsToReproduce; type Severity; type CreatedAt; + type Namespace; type Title; + type Description; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Description = Unset; - type Namespace = Unset; type StepsToReproduce = Unset; type Severity = Unset; type CreatedAt = Unset; + type Namespace = Unset; type Title = Unset; - } - ///State transition - sets the `description` field to Set - pub struct SetDescription(PhantomData S>); - impl sealed::Sealed for SetDescription {} - impl State for SetDescription { - type Description = Set; - type Namespace = S::Namespace; - type StepsToReproduce = S::StepsToReproduce; - type Severity = S::Severity; - type CreatedAt = S::CreatedAt; - type Title = S::Title; - } - ///State transition - sets the `namespace` field to Set - pub struct SetNamespace(PhantomData S>); - impl sealed::Sealed for SetNamespace {} - impl State for SetNamespace { - type Description = S::Description; - type Namespace = Set; - type StepsToReproduce = S::StepsToReproduce; - type Severity = S::Severity; - type CreatedAt = S::CreatedAt; - type Title = S::Title; + type Description = Unset; } ///State transition - sets the `steps_to_reproduce` field to Set pub struct SetStepsToReproduce(PhantomData S>); impl sealed::Sealed for SetStepsToReproduce {} impl State for SetStepsToReproduce { - type Description = S::Description; - type Namespace = S::Namespace; type StepsToReproduce = Set; type Severity = S::Severity; type CreatedAt = S::CreatedAt; + type Namespace = S::Namespace; type Title = S::Title; + type Description = S::Description; } ///State transition - sets the `severity` field to Set pub struct SetSeverity(PhantomData S>); impl sealed::Sealed for SetSeverity {} impl State for SetSeverity { - type Description = S::Description; - type Namespace = S::Namespace; type StepsToReproduce = S::StepsToReproduce; type Severity = Set; type CreatedAt = S::CreatedAt; + type Namespace = S::Namespace; type Title = S::Title; + type Description = S::Description; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Description = S::Description; - type Namespace = S::Namespace; type StepsToReproduce = S::StepsToReproduce; type Severity = S::Severity; type CreatedAt = Set; + type Namespace = S::Namespace; type Title = S::Title; + type Description = S::Description; + } + ///State transition - sets the `namespace` field to Set + pub struct SetNamespace(PhantomData S>); + impl sealed::Sealed for SetNamespace {} + impl State for SetNamespace { + type StepsToReproduce = S::StepsToReproduce; + type Severity = S::Severity; + type CreatedAt = S::CreatedAt; + type Namespace = Set; + type Title = S::Title; + type Description = S::Description; } ///State transition - sets the `title` field to Set pub struct SetTitle(PhantomData S>); impl sealed::Sealed for SetTitle {} impl State for SetTitle { - type Description = S::Description; - type Namespace = S::Namespace; type StepsToReproduce = S::StepsToReproduce; type Severity = S::Severity; type CreatedAt = S::CreatedAt; + type Namespace = S::Namespace; type Title = Set; + type Description = S::Description; + } + ///State transition - sets the `description` field to Set + pub struct SetDescription(PhantomData S>); + impl sealed::Sealed for SetDescription {} + impl State for SetDescription { + type StepsToReproduce = S::StepsToReproduce; + type Severity = S::Severity; + type CreatedAt = S::CreatedAt; + type Namespace = S::Namespace; + type Title = S::Title; + type Description = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `description` field - pub struct description(()); - ///Marker type for the `namespace` field - pub struct namespace(()); ///Marker type for the `steps_to_reproduce` field pub struct steps_to_reproduce(()); ///Marker type for the `severity` field pub struct severity(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `namespace` field + pub struct namespace(()); ///Marker type for the `title` field pub struct title(()); + ///Marker type for the `description` field + pub struct description(()); } } @@ -410,12 +410,12 @@ where impl<'a, S> BugBuilder<'a, S> where S: bug_state::State, - S::Description: bug_state::IsSet, - S::Namespace: bug_state::IsSet, S::StepsToReproduce: bug_state::IsSet, S::Severity: bug_state::IsSet, S::CreatedAt: bug_state::IsSet, + S::Namespace: bug_state::IsSet, S::Title: bug_state::IsSet, + S::Description: bug_state::IsSet, { /// Build the final struct pub fn build(self) -> Bug<'a> { @@ -437,7 +437,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Bug<'a> { @@ -657,7 +657,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Bug<'a> { { let value = &self.description; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -689,7 +689,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Bug<'a> { { let value = &self.steps_to_reproduce; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -721,7 +721,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Bug<'a> { { let value = &self.title; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -752,7 +752,7 @@ fn lexicon_doc_network_slices_tools_bug() -> ::jacquard_lexicon::lexicon::Lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -760,12 +760,12 @@ fn lexicon_doc_network_slices_tools_bug() -> ::jacquard_lexicon::lexicon::Lexico description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("namespace"), - ::jacquard_common::smol_str::SmolStr::new_static("description"), - ::jacquard_common::smol_str::SmolStr::new_static("stepsToReproduce"), - ::jacquard_common::smol_str::SmolStr::new_static("severity"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("namespace"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("description"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("stepsToReproduce"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("severity"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -773,7 +773,9 @@ fn lexicon_doc_network_slices_tools_bug() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("appUsed"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "appUsed", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -788,7 +790,7 @@ fn lexicon_doc_network_slices_tools_bug() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "attachments", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -800,7 +802,7 @@ fn lexicon_doc_network_slices_tools_bug() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -819,7 +821,7 @@ fn lexicon_doc_network_slices_tools_bug() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -836,7 +838,7 @@ fn lexicon_doc_network_slices_tools_bug() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "descriptionFacets", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -856,7 +858,7 @@ fn lexicon_doc_network_slices_tools_bug() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "namespace", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -877,7 +879,7 @@ fn lexicon_doc_network_slices_tools_bug() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "severity", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -894,7 +896,7 @@ fn lexicon_doc_network_slices_tools_bug() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "stepsToReproduce", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -911,7 +913,7 @@ fn lexicon_doc_network_slices_tools_bug() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "stepsToReproduceFacets", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -931,7 +933,9 @@ fn lexicon_doc_network_slices_tools_bug() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, 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 9a087ff7f..69f88842e 100644 --- a/crates/jacquard-api/src/network_slices/tools/bug/comment.rs +++ b/crates/jacquard-api/src/network_slices/tools/bug/comment.rs @@ -48,51 +48,51 @@ pub mod comment_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; - type Body; type Bug; + type Body; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; - type Body = Unset; type Bug = Unset; + type Body = Unset; + type CreatedAt = Unset; } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; + ///State transition - sets the `bug` field to Set + pub struct SetBug(PhantomData S>); + impl sealed::Sealed for SetBug {} + impl State for SetBug { + type Bug = Set; type Body = S::Body; - type Bug = S::Bug; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `body` field to Set pub struct SetBody(PhantomData S>); impl sealed::Sealed for SetBody {} impl State for SetBody { - type CreatedAt = S::CreatedAt; - type Body = Set; type Bug = S::Bug; - } - ///State transition - sets the `bug` field to Set - pub struct SetBug(PhantomData S>); - impl sealed::Sealed for SetBug {} - impl State for SetBug { + type Body = Set; type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Bug = S::Bug; type Body = S::Body; - type Bug = Set; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); - ///Marker type for the `body` field - pub struct body(()); ///Marker type for the `bug` field pub struct bug(()); + ///Marker type for the `body` field + pub struct body(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -245,9 +245,9 @@ impl<'a, S: comment_state::State> CommentBuilder<'a, S> { impl<'a, S> CommentBuilder<'a, S> where S: comment_state::State, - S::CreatedAt: comment_state::IsSet, - S::Body: comment_state::IsSet, S::Bug: comment_state::IsSet, + S::Body: comment_state::IsSet, + S::CreatedAt: comment_state::IsSet, { /// Build the final struct pub fn build(self) -> Comment<'a> { @@ -265,7 +265,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Comment<'a> { @@ -371,7 +371,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Comment<'a> { { let value = &self.body; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -402,7 +402,7 @@ fn lexicon_doc_network_slices_tools_bug_comment() -> ::jacquard_lexicon::lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -410,9 +410,9 @@ fn lexicon_doc_network_slices_tools_bug_comment() -> ::jacquard_lexicon::lexicon description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("bug"), - ::jacquard_common::smol_str::SmolStr::new_static("body"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("bug"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("body"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -420,7 +420,7 @@ fn lexicon_doc_network_slices_tools_bug_comment() -> ::jacquard_lexicon::lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "attachments", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -432,7 +432,9 @@ fn lexicon_doc_network_slices_tools_bug_comment() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("body"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "body", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -447,7 +449,7 @@ fn lexicon_doc_network_slices_tools_bug_comment() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "bodyFacets", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -467,7 +469,9 @@ fn lexicon_doc_network_slices_tools_bug_comment() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("bug"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "bug", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -488,7 +492,7 @@ fn lexicon_doc_network_slices_tools_bug_comment() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -507,7 +511,9 @@ fn lexicon_doc_network_slices_tools_bug_comment() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("parent"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "parent", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( 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 dde76103d..f8fa790ea 100644 --- a/crates/jacquard-api/src/network_slices/tools/bug/issue.rs +++ b/crates/jacquard-api/src/network_slices/tools/bug/issue.rs @@ -37,50 +37,50 @@ pub mod issue_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type CreatedAt; - type Bug; type Issue; + type Bug; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type CreatedAt = Unset; - type Bug = Unset; type Issue = Unset; + type Bug = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { type CreatedAt = Set; - type Bug = S::Bug; - type Issue = S::Issue; - } - ///State transition - sets the `bug` field to Set - pub struct SetBug(PhantomData S>); - impl sealed::Sealed for SetBug {} - impl State for SetBug { - type CreatedAt = S::CreatedAt; - type Bug = Set; type Issue = S::Issue; + type Bug = S::Bug; } ///State transition - sets the `issue` field to Set pub struct SetIssue(PhantomData S>); impl sealed::Sealed for SetIssue {} impl State for SetIssue { type CreatedAt = S::CreatedAt; - type Bug = S::Bug; type Issue = Set; + type Bug = S::Bug; + } + ///State transition - sets the `bug` field to Set + pub struct SetBug(PhantomData S>); + impl sealed::Sealed for SetBug {} + impl State for SetBug { + type CreatedAt = S::CreatedAt; + type Issue = S::Issue; + type Bug = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `created_at` field pub struct created_at(()); - ///Marker type for the `bug` field - pub struct bug(()); ///Marker type for the `issue` field pub struct issue(()); + ///Marker type for the `bug` field + pub struct bug(()); } } @@ -174,8 +174,8 @@ impl<'a, S> IssueBuilder<'a, S> where S: issue_state::State, S::CreatedAt: issue_state::IsSet, - S::Bug: issue_state::IsSet, S::Issue: issue_state::IsSet, + S::Bug: issue_state::IsSet, { /// Build the final struct pub fn build(self) -> Issue<'a> { @@ -190,7 +190,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Issue<'a> { @@ -292,7 +292,7 @@ fn lexicon_doc_network_slices_tools_bug_issue() -> ::jacquard_lexicon::lexicon:: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -300,9 +300,9 @@ fn lexicon_doc_network_slices_tools_bug_issue() -> ::jacquard_lexicon::lexicon:: description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("bug"), - ::jacquard_common::smol_str::SmolStr::new_static("issue"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("bug"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("issue"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -310,7 +310,9 @@ fn lexicon_doc_network_slices_tools_bug_issue() -> ::jacquard_lexicon::lexicon:: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("bug"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "bug", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -331,7 +333,7 @@ fn lexicon_doc_network_slices_tools_bug_issue() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -350,7 +352,9 @@ fn lexicon_doc_network_slices_tools_bug_issue() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("issue"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "issue", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( 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 bfe248979..c639f4f02 100644 --- a/crates/jacquard-api/src/network_slices/tools/bug/response.rs +++ b/crates/jacquard-api/src/network_slices/tools/bug/response.rs @@ -45,51 +45,51 @@ pub mod response_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type CreatedAt; type Bug; type Status; - type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type CreatedAt = Unset; type Bug = Unset; type Status = Unset; - type CreatedAt = Unset; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type CreatedAt = Set; + type Bug = S::Bug; + type Status = S::Status; } ///State transition - sets the `bug` field to Set pub struct SetBug(PhantomData S>); impl sealed::Sealed for SetBug {} impl State for SetBug { + type CreatedAt = S::CreatedAt; type Bug = Set; type Status = S::Status; - type CreatedAt = S::CreatedAt; } ///State transition - sets the `status` field to Set pub struct SetStatus(PhantomData S>); impl sealed::Sealed for SetStatus {} impl State for SetStatus { - type Bug = S::Bug; - type Status = Set; type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { type Bug = S::Bug; - type Status = S::Status; - type CreatedAt = Set; + type Status = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `created_at` field + pub struct created_at(()); ///Marker type for the `bug` field pub struct bug(()); ///Marker type for the `status` field pub struct status(()); - ///Marker type for the `created_at` field - pub struct created_at(()); } } @@ -219,9 +219,9 @@ where impl<'a, S> ResponseBuilder<'a, S> where S: response_state::State, + S::CreatedAt: response_state::IsSet, S::Bug: response_state::IsSet, S::Status: response_state::IsSet, - S::CreatedAt: response_state::IsSet, { /// Build the final struct pub fn build(self) -> Response<'a> { @@ -238,7 +238,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Response<'a> { @@ -444,7 +444,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Response<'a> { } if let Some(ref value) = self.message { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -475,7 +475,7 @@ fn lexicon_doc_network_slices_tools_bug_response() -> ::jacquard_lexicon::lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -483,9 +483,9 @@ fn lexicon_doc_network_slices_tools_bug_response() -> ::jacquard_lexicon::lexico description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("bug"), - ::jacquard_common::smol_str::SmolStr::new_static("status"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("bug"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("status"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -493,7 +493,9 @@ fn lexicon_doc_network_slices_tools_bug_response() -> ::jacquard_lexicon::lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("bug"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "bug", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -514,7 +516,7 @@ fn lexicon_doc_network_slices_tools_bug_response() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -533,7 +535,9 @@ fn lexicon_doc_network_slices_tools_bug_response() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("message"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "message", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -552,7 +556,7 @@ fn lexicon_doc_network_slices_tools_bug_response() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "messageFacets", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -572,7 +576,9 @@ fn lexicon_doc_network_slices_tools_bug_response() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("status"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "status", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, diff --git a/crates/jacquard-api/src/network_slices/tools/document.rs b/crates/jacquard-api/src/network_slices/tools/document.rs index 078f34747..e5da2cfe4 100644 --- a/crates/jacquard-api/src/network_slices/tools/document.rs +++ b/crates/jacquard-api/src/network_slices/tools/document.rs @@ -37,20 +37,24 @@ fn lexicon_doc_network_slices_tools_document() -> ::jacquard_lexicon::lexicon::L defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("codeBlock"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("codeBlock"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static("A fenced code block"), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("code")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("code") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("code"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "code", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -65,7 +69,9 @@ fn lexicon_doc_network_slices_tools_document() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("lang"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "lang", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -84,7 +90,7 @@ fn lexicon_doc_network_slices_tools_document() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("heading"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("heading"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -93,8 +99,8 @@ fn lexicon_doc_network_slices_tools_document() -> ::jacquard_lexicon::lexicon::L ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("level"), - ::jacquard_common::smol_str::SmolStr::new_static("text") + ::jacquard_common::deps::smol_str::SmolStr::new_static("level"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("text") ], ), nullable: None, @@ -102,7 +108,9 @@ fn lexicon_doc_network_slices_tools_document() -> ::jacquard_lexicon::lexicon::L #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("facets"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "facets", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -116,7 +124,9 @@ fn lexicon_doc_network_slices_tools_document() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("level"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "level", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -127,7 +137,9 @@ fn lexicon_doc_network_slices_tools_document() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -146,7 +158,7 @@ fn lexicon_doc_network_slices_tools_document() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("imageEmbed"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("imageEmbed"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -154,14 +166,18 @@ fn lexicon_doc_network_slices_tools_document() -> ::jacquard_lexicon::lexicon::L ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("image")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("image") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("alt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "alt", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -180,7 +196,9 @@ fn lexicon_doc_network_slices_tools_document() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -192,7 +210,7 @@ fn lexicon_doc_network_slices_tools_document() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -200,10 +218,10 @@ fn lexicon_doc_network_slices_tools_document() -> ::jacquard_lexicon::lexicon::L description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("slug"), - ::jacquard_common::smol_str::SmolStr::new_static("blocks"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("slug"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("blocks"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -211,7 +229,9 @@ fn lexicon_doc_network_slices_tools_document() -> ::jacquard_lexicon::lexicon::L #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("blocks"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "blocks", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -235,7 +255,7 @@ fn lexicon_doc_network_slices_tools_document() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -254,7 +274,9 @@ fn lexicon_doc_network_slices_tools_document() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("slug"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "slug", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -273,7 +295,9 @@ fn lexicon_doc_network_slices_tools_document() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Document title"), @@ -290,7 +314,7 @@ fn lexicon_doc_network_slices_tools_document() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -314,7 +338,7 @@ fn lexicon_doc_network_slices_tools_document() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("paragraph"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("paragraph"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -322,14 +346,18 @@ fn lexicon_doc_network_slices_tools_document() -> ::jacquard_lexicon::lexicon::L ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("text")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("text") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("facets"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "facets", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -343,7 +371,9 @@ fn lexicon_doc_network_slices_tools_document() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -362,7 +392,7 @@ fn lexicon_doc_network_slices_tools_document() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("quote"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("quote"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -370,14 +400,18 @@ fn lexicon_doc_network_slices_tools_document() -> ::jacquard_lexicon::lexicon::L ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("text")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("text") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("facets"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "facets", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -391,7 +425,9 @@ fn lexicon_doc_network_slices_tools_document() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -410,7 +446,7 @@ fn lexicon_doc_network_slices_tools_document() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tangledEmbed"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("tangledEmbed"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -419,8 +455,8 @@ fn lexicon_doc_network_slices_tools_document() -> ::jacquard_lexicon::lexicon::L ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("handle"), - ::jacquard_common::smol_str::SmolStr::new_static("repo") + ::jacquard_common::deps::smol_str::SmolStr::new_static("handle"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("repo") ], ), nullable: None, @@ -428,7 +464,9 @@ fn lexicon_doc_network_slices_tools_document() -> ::jacquard_lexicon::lexicon::L #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("handle"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "handle", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -447,7 +485,9 @@ fn lexicon_doc_network_slices_tools_document() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("repo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "repo", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("The repository name"), @@ -547,37 +587,37 @@ pub mod heading_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Level; type Text; + type Level; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Level = Unset; type Text = Unset; - } - ///State transition - sets the `level` field to Set - pub struct SetLevel(PhantomData S>); - impl sealed::Sealed for SetLevel {} - impl State for SetLevel { - type Level = Set; - type Text = S::Text; + type Level = Unset; } ///State transition - sets the `text` field to Set pub struct SetText(PhantomData S>); impl sealed::Sealed for SetText {} impl State for SetText { - type Level = S::Level; type Text = Set; + type Level = S::Level; + } + ///State transition - sets the `level` field to Set + pub struct SetLevel(PhantomData S>); + impl sealed::Sealed for SetLevel {} + impl State for SetLevel { + type Text = S::Text; + type Level = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `level` field - pub struct level(()); ///Marker type for the `text` field pub struct text(()); + ///Marker type for the `level` field + pub struct level(()); } } @@ -674,8 +714,8 @@ where impl<'a, S> HeadingBuilder<'a, S> where S: heading_state::State, - S::Level: heading_state::IsSet, S::Text: heading_state::IsSet, + S::Level: heading_state::IsSet, { /// Build the final struct pub fn build(self) -> Heading<'a> { @@ -690,7 +730,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Heading<'a> { @@ -887,7 +927,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ImageEmbed<'a> { @@ -964,67 +1004,67 @@ pub mod document_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Title; type CreatedAt; type Blocks; type Slug; + type Title; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Title = Unset; type CreatedAt = Unset; type Blocks = Unset; type Slug = Unset; - } - ///State transition - sets the `title` field to Set - pub struct SetTitle(PhantomData S>); - impl sealed::Sealed for SetTitle {} - impl State for SetTitle { - type Title = Set; - type CreatedAt = S::CreatedAt; - type Blocks = S::Blocks; - type Slug = S::Slug; + type Title = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Title = S::Title; type CreatedAt = Set; type Blocks = S::Blocks; type Slug = S::Slug; + type Title = S::Title; } ///State transition - sets the `blocks` field to Set pub struct SetBlocks(PhantomData S>); impl sealed::Sealed for SetBlocks {} impl State for SetBlocks { - type Title = S::Title; type CreatedAt = S::CreatedAt; type Blocks = Set; type Slug = S::Slug; + type Title = S::Title; } ///State transition - sets the `slug` field to Set pub struct SetSlug(PhantomData S>); impl sealed::Sealed for SetSlug {} impl State for SetSlug { - type Title = S::Title; type CreatedAt = S::CreatedAt; type Blocks = S::Blocks; type Slug = Set; + type Title = S::Title; + } + ///State transition - sets the `title` field to Set + pub struct SetTitle(PhantomData S>); + impl sealed::Sealed for SetTitle {} + impl State for SetTitle { + type CreatedAt = S::CreatedAt; + type Blocks = S::Blocks; + type Slug = S::Slug; + type Title = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `title` field - pub struct title(()); ///Marker type for the `created_at` field pub struct created_at(()); ///Marker type for the `blocks` field pub struct blocks(()); ///Marker type for the `slug` field pub struct slug(()); + ///Marker type for the `title` field + pub struct title(()); } } @@ -1157,10 +1197,10 @@ impl<'a, S: document_state::State> DocumentBuilder<'a, S> { impl<'a, S> DocumentBuilder<'a, S> where S: document_state::State, - S::Title: document_state::IsSet, S::CreatedAt: document_state::IsSet, S::Blocks: document_state::IsSet, S::Slug: document_state::IsSet, + S::Title: document_state::IsSet, { /// Build the final struct pub fn build(self) -> Document<'a> { @@ -1177,7 +1217,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Document<'a> { 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 a750dc552..c6c4ea55d 100644 --- a/crates/jacquard-api/src/network_slices/tools/richtext/facet.rs +++ b/crates/jacquard-api/src/network_slices/tools/richtext/facet.rs @@ -30,7 +30,7 @@ fn lexicon_doc_network_slices_tools_richtext_facet() -> ::jacquard_lexicon::lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("bold"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("bold"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -47,7 +47,7 @@ fn lexicon_doc_network_slices_tools_richtext_facet() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("byteSlice"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("byteSlice"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -56,8 +56,8 @@ fn lexicon_doc_network_slices_tools_richtext_facet() -> ::jacquard_lexicon::lexi ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("byteStart"), - ::jacquard_common::smol_str::SmolStr::new_static("byteEnd") + ::jacquard_common::deps::smol_str::SmolStr::new_static("byteStart"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("byteEnd") ], ), nullable: None, @@ -65,7 +65,9 @@ fn lexicon_doc_network_slices_tools_richtext_facet() -> ::jacquard_lexicon::lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("byteEnd"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "byteEnd", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -76,7 +78,7 @@ fn lexicon_doc_network_slices_tools_richtext_facet() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "byteStart", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -93,7 +95,7 @@ fn lexicon_doc_network_slices_tools_richtext_facet() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("code"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("code"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -110,7 +112,7 @@ fn lexicon_doc_network_slices_tools_richtext_facet() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("codeBlock"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("codeBlock"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -123,7 +125,9 @@ fn lexicon_doc_network_slices_tools_richtext_facet() -> ::jacquard_lexicon::lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("lang"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "lang", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -146,7 +150,7 @@ fn lexicon_doc_network_slices_tools_richtext_facet() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("italic"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("italic"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -163,20 +167,24 @@ fn lexicon_doc_network_slices_tools_richtext_facet() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("link"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("link"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static("Facet feature for a URL."), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("uri")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -197,7 +205,7 @@ fn lexicon_doc_network_slices_tools_richtext_facet() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -206,8 +214,8 @@ fn lexicon_doc_network_slices_tools_richtext_facet() -> ::jacquard_lexicon::lexi ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("index"), - ::jacquard_common::smol_str::SmolStr::new_static("features") + ::jacquard_common::deps::smol_str::SmolStr::new_static("index"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("features") ], ), nullable: None, @@ -215,7 +223,9 @@ fn lexicon_doc_network_slices_tools_richtext_facet() -> ::jacquard_lexicon::lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("features"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "features", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -234,7 +244,9 @@ fn lexicon_doc_network_slices_tools_richtext_facet() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("index"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "index", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#byteSlice"), @@ -408,7 +420,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ByteSlice<'a> { @@ -671,7 +683,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Link<'a> { @@ -848,7 +860,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Facet<'a> { diff --git a/crates/jacquard-api/src/network_slices/waitlist.rs b/crates/jacquard-api/src/network_slices/waitlist.rs index 2b74d6c36..0afe47ca7 100644 --- a/crates/jacquard-api/src/network_slices/waitlist.rs +++ b/crates/jacquard-api/src/network_slices/waitlist.rs @@ -52,51 +52,51 @@ pub mod invite_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type CreatedAt; type Did; type Slice; - type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type CreatedAt = Unset; type Did = Unset; type Slice = Unset; - type CreatedAt = Unset; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type CreatedAt = Set; + type Did = S::Did; + type Slice = S::Slice; } ///State transition - sets the `did` field to Set pub struct SetDid(PhantomData S>); impl sealed::Sealed for SetDid {} impl State for SetDid { + type CreatedAt = S::CreatedAt; type Did = Set; type Slice = S::Slice; - type CreatedAt = S::CreatedAt; } ///State transition - sets the `slice` field to Set pub struct SetSlice(PhantomData S>); impl sealed::Sealed for SetSlice {} impl State for SetSlice { - type Did = S::Did; - type Slice = Set; type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { type Did = S::Did; - type Slice = S::Slice; - type CreatedAt = Set; + type Slice = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `created_at` field + pub struct created_at(()); ///Marker type for the `did` field pub struct did(()); ///Marker type for the `slice` field pub struct slice(()); - ///Marker type for the `created_at` field - pub struct created_at(()); } } @@ -249,9 +249,9 @@ impl<'a, S: invite_view_state::State> InviteViewBuilder<'a, S> { impl<'a, S> InviteViewBuilder<'a, S> where S: invite_view_state::State, + S::CreatedAt: invite_view_state::IsSet, S::Did: invite_view_state::IsSet, S::Slice: invite_view_state::IsSet, - S::CreatedAt: invite_view_state::IsSet, { /// Build the final struct pub fn build(self) -> InviteView<'a> { @@ -269,7 +269,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> InviteView<'a> { @@ -296,7 +296,7 @@ fn lexicon_doc_network_slices_waitlist_defs() -> ::jacquard_lexicon::lexicon::Le defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("inviteView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("inviteView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -305,9 +305,9 @@ fn lexicon_doc_network_slices_waitlist_defs() -> ::jacquard_lexicon::lexicon::Le ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("did"), - ::jacquard_common::smol_str::SmolStr::new_static("slice"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("slice"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -315,7 +315,7 @@ fn lexicon_doc_network_slices_waitlist_defs() -> ::jacquard_lexicon::lexicon::Le #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -338,7 +338,9 @@ fn lexicon_doc_network_slices_waitlist_defs() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -359,7 +361,7 @@ fn lexicon_doc_network_slices_waitlist_defs() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "expiresAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -382,7 +384,9 @@ fn lexicon_doc_network_slices_waitlist_defs() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("profile"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "profile", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -391,7 +395,9 @@ fn lexicon_doc_network_slices_waitlist_defs() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("slice"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "slice", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -412,7 +418,9 @@ fn lexicon_doc_network_slices_waitlist_defs() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -437,7 +445,7 @@ fn lexicon_doc_network_slices_waitlist_defs() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("requestView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("requestView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -446,8 +454,8 @@ fn lexicon_doc_network_slices_waitlist_defs() -> ::jacquard_lexicon::lexicon::Le ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("slice"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("slice"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -455,7 +463,7 @@ fn lexicon_doc_network_slices_waitlist_defs() -> ::jacquard_lexicon::lexicon::Le #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -478,7 +486,9 @@ fn lexicon_doc_network_slices_waitlist_defs() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("profile"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "profile", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -487,7 +497,9 @@ fn lexicon_doc_network_slices_waitlist_defs() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("slice"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "slice", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -706,7 +718,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> RequestView<'a> { diff --git a/crates/jacquard-api/src/network_slices/waitlist/invite.rs b/crates/jacquard-api/src/network_slices/waitlist/invite.rs index 2529a3933..c45957736 100644 --- a/crates/jacquard-api/src/network_slices/waitlist/invite.rs +++ b/crates/jacquard-api/src/network_slices/waitlist/invite.rs @@ -41,51 +41,51 @@ pub mod invite_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Did; type Slice; type CreatedAt; + type Did; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Did = Unset; type Slice = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `did` field to Set - pub struct SetDid(PhantomData S>); - impl sealed::Sealed for SetDid {} - impl State for SetDid { - type Did = Set; - type Slice = S::Slice; - type CreatedAt = S::CreatedAt; + type Did = Unset; } ///State transition - sets the `slice` field to Set pub struct SetSlice(PhantomData S>); impl sealed::Sealed for SetSlice {} impl State for SetSlice { - type Did = S::Did; type Slice = Set; type CreatedAt = S::CreatedAt; + type Did = S::Did; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Did = S::Did; type Slice = S::Slice; type CreatedAt = Set; + type Did = S::Did; + } + ///State transition - sets the `did` field to Set + pub struct SetDid(PhantomData S>); + impl sealed::Sealed for SetDid {} + impl State for SetDid { + type Slice = S::Slice; + type CreatedAt = S::CreatedAt; + type Did = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `did` field - pub struct did(()); ///Marker type for the `slice` field pub struct slice(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `did` field + pub struct did(()); } } @@ -198,9 +198,9 @@ where impl<'a, S> InviteBuilder<'a, S> where S: invite_state::State, - S::Did: invite_state::IsSet, S::Slice: invite_state::IsSet, S::CreatedAt: invite_state::IsSet, + S::Did: invite_state::IsSet, { /// Build the final struct pub fn build(self) -> Invite<'a> { @@ -216,7 +216,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Invite<'a> { @@ -319,7 +319,7 @@ fn lexicon_doc_network_slices_waitlist_invite() -> ::jacquard_lexicon::lexicon:: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -331,9 +331,9 @@ fn lexicon_doc_network_slices_waitlist_invite() -> ::jacquard_lexicon::lexicon:: description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("did"), - ::jacquard_common::smol_str::SmolStr::new_static("slice"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("slice"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -341,7 +341,7 @@ fn lexicon_doc_network_slices_waitlist_invite() -> ::jacquard_lexicon::lexicon:: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -364,7 +364,9 @@ fn lexicon_doc_network_slices_waitlist_invite() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -385,7 +387,7 @@ fn lexicon_doc_network_slices_waitlist_invite() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "expiresAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -408,7 +410,9 @@ fn lexicon_doc_network_slices_waitlist_invite() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("slice"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "slice", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/network_slices/waitlist/request.rs b/crates/jacquard-api/src/network_slices/waitlist/request.rs index ea36d4739..988c8455b 100644 --- a/crates/jacquard-api/src/network_slices/waitlist/request.rs +++ b/crates/jacquard-api/src/network_slices/waitlist/request.rs @@ -153,7 +153,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Request<'a> { @@ -254,7 +254,7 @@ fn lexicon_doc_network_slices_waitlist_request() -> ::jacquard_lexicon::lexicon: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -266,8 +266,8 @@ fn lexicon_doc_network_slices_waitlist_request() -> ::jacquard_lexicon::lexicon: description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("slice"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("slice"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -275,7 +275,7 @@ fn lexicon_doc_network_slices_waitlist_request() -> ::jacquard_lexicon::lexicon: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -298,7 +298,9 @@ fn lexicon_doc_network_slices_waitlist_request() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("slice"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "slice", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( 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 cefb98586..b122e442d 100644 --- a/crates/jacquard-api/src/ooo_bsky/authfetch/delete_records.rs +++ b/crates/jacquard-api/src/ooo_bsky/authfetch/delete_records.rs @@ -116,7 +116,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> DeleteRecords<'a> { 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 a2a5c3766..b31f19e61 100644 --- a/crates/jacquard-api/src/ooo_bsky/authfetch/export_repo.rs +++ b/crates/jacquard-api/src/ooo_bsky/authfetch/export_repo.rs @@ -16,7 +16,7 @@ )] #[serde(rename_all = "camelCase")] pub struct ExportRepoOutput { - pub body: bytes::Bytes, + pub body: jacquard_common::deps::bytes::Bytes, } /// XRPC request marker type @@ -51,7 +51,7 @@ impl jacquard_common::xrpc::XrpcResp for ExportRepoResponse { Self::Output<'de>: serde::Deserialize<'de>, { Ok(ExportRepoOutput { - body: bytes::Bytes::copy_from_slice(body), + body: jacquard_common::deps::bytes::Bytes::copy_from_slice(body), }) } } 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 efe44159a..3832ec515 100644 --- a/crates/jacquard-api/src/ooo_bsky/authfetch/fetch_records.rs +++ b/crates/jacquard-api/src/ooo_bsky/authfetch/fetch_records.rs @@ -188,49 +188,49 @@ pub mod fetch_records_result_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Strategy; type Uri; + type Strategy; type Record; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Strategy = Unset; type Uri = Unset; + type Strategy = Unset; type Record = Unset; } - ///State transition - sets the `strategy` field to Set - pub struct SetStrategy(PhantomData S>); - impl sealed::Sealed for SetStrategy {} - impl State for SetStrategy { - type Strategy = Set; - type Uri = S::Uri; - type Record = S::Record; - } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { - type Strategy = S::Strategy; type Uri = Set; + type Strategy = S::Strategy; + type Record = S::Record; + } + ///State transition - sets the `strategy` field to Set + pub struct SetStrategy(PhantomData S>); + impl sealed::Sealed for SetStrategy {} + impl State for SetStrategy { + type Uri = S::Uri; + type Strategy = Set; type Record = S::Record; } ///State transition - sets the `record` field to Set pub struct SetRecord(PhantomData S>); impl sealed::Sealed for SetRecord {} impl State for SetRecord { - type Strategy = S::Strategy; type Uri = S::Uri; + type Strategy = S::Strategy; type Record = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `strategy` field - pub struct strategy(()); ///Marker type for the `uri` field pub struct uri(()); + ///Marker type for the `strategy` field + pub struct strategy(()); ///Marker type for the `record` field pub struct record(()); } @@ -325,8 +325,8 @@ where impl<'a, S> FetchRecordsResultBuilder<'a, S> where S: fetch_records_result_state::State, - S::Strategy: fetch_records_result_state::IsSet, S::Uri: fetch_records_result_state::IsSet, + S::Strategy: fetch_records_result_state::IsSet, S::Record: fetch_records_result_state::IsSet, { /// Build the final struct @@ -342,7 +342,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> FetchRecordsResult<'a> { @@ -366,7 +366,7 @@ fn lexicon_doc_ooo_bsky_authfetch_fetchRecords() -> ::jacquard_lexicon::lexicon: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcQuery(::jacquard_lexicon::lexicon::LexXrpcQuery { description: None, parameters: Some( @@ -374,14 +374,16 @@ fn lexicon_doc_ooo_bsky_authfetch_fetchRecords() -> ::jacquard_lexicon::lexicon: description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uris") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uris") ], ), properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uris"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uris", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::Array(::jacquard_lexicon::lexicon::LexPrimitiveArray { description: None, items: ::jacquard_lexicon::lexicon::LexPrimitiveArrayItem::String(::jacquard_lexicon::lexicon::LexString { @@ -411,7 +413,7 @@ fn lexicon_doc_ooo_bsky_authfetch_fetchRecords() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("result"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("result"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -420,9 +422,9 @@ fn lexicon_doc_ooo_bsky_authfetch_fetchRecords() -> ::jacquard_lexicon::lexicon: ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("strategy"), - ::jacquard_common::smol_str::SmolStr::new_static("record") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("strategy"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("record") ], ), nullable: None, @@ -430,13 +432,17 @@ fn lexicon_doc_ooo_bsky_authfetch_fetchRecords() -> ::jacquard_lexicon::lexicon: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("record"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "record", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("strategy"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "strategy", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -445,7 +451,9 @@ fn lexicon_doc_ooo_bsky_authfetch_fetchRecords() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( 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 dbae0d0e4..95f4b92a0 100644 --- a/crates/jacquard-api/src/ooo_bsky/authfetch/import_repo.rs +++ b/crates/jacquard-api/src/ooo_bsky/authfetch/import_repo.rs @@ -16,7 +16,7 @@ )] #[serde(rename_all = "camelCase")] pub struct ImportRepo { - pub body: bytes::Bytes, + pub body: jacquard_common::deps::bytes::Bytes, } /// Response type for @@ -46,7 +46,7 @@ impl jacquard_common::xrpc::XrpcRequest for ImportRepo { { Ok( Box::new(Self { - body: bytes::Bytes::copy_from_slice(body), + body: jacquard_common::deps::bytes::Bytes::copy_from_slice(body), }), ) } 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 13f85cd27..50ed1bdeb 100644 --- a/crates/jacquard-api/src/ooo_bsky/authfetch/list_records.rs +++ b/crates/jacquard-api/src/ooo_bsky/authfetch/list_records.rs @@ -246,49 +246,49 @@ pub mod record_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Uri; type Strategy; + type Uri; type Value; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Uri = Unset; type Strategy = Unset; + type Uri = Unset; type Value = Unset; } - ///State transition - sets the `uri` field to Set - pub struct SetUri(PhantomData S>); - impl sealed::Sealed for SetUri {} - impl State for SetUri { - type Uri = Set; - type Strategy = S::Strategy; - type Value = S::Value; - } ///State transition - sets the `strategy` field to Set pub struct SetStrategy(PhantomData S>); impl sealed::Sealed for SetStrategy {} impl State for SetStrategy { - type Uri = S::Uri; type Strategy = Set; + type Uri = S::Uri; + type Value = S::Value; + } + ///State transition - sets the `uri` field to Set + pub struct SetUri(PhantomData S>); + impl sealed::Sealed for SetUri {} + impl State for SetUri { + type Strategy = S::Strategy; + type Uri = Set; type Value = S::Value; } ///State transition - sets the `value` field to Set pub struct SetValue(PhantomData S>); impl sealed::Sealed for SetValue {} impl State for SetValue { - type Uri = S::Uri; type Strategy = S::Strategy; + type Uri = S::Uri; type Value = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `uri` field - pub struct uri(()); ///Marker type for the `strategy` field pub struct strategy(()); + ///Marker type for the `uri` field + pub struct uri(()); ///Marker type for the `value` field pub struct value(()); } @@ -383,8 +383,8 @@ where impl<'a, S> RecordBuilder<'a, S> where S: record_state::State, - S::Uri: record_state::IsSet, S::Strategy: record_state::IsSet, + S::Uri: record_state::IsSet, S::Value: record_state::IsSet, { /// Build the final struct @@ -400,7 +400,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Record<'a> { @@ -424,7 +424,7 @@ fn lexicon_doc_ooo_bsky_authfetch_listRecords() -> ::jacquard_lexicon::lexicon:: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcQuery(::jacquard_lexicon::lexicon::LexXrpcQuery { description: None, parameters: Some( @@ -432,14 +432,14 @@ fn lexicon_doc_ooo_bsky_authfetch_listRecords() -> ::jacquard_lexicon::lexicon:: description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("collection") + ::jacquard_common::deps::smol_str::SmolStr::new_static("collection") ], ), properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "collection", ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -462,7 +462,9 @@ fn lexicon_doc_ooo_bsky_authfetch_listRecords() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cursor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cursor", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -477,7 +479,9 @@ fn lexicon_doc_ooo_bsky_authfetch_listRecords() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("limit"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "limit", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -488,7 +492,9 @@ fn lexicon_doc_ooo_bsky_authfetch_listRecords() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reverse"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reverse", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -504,7 +510,7 @@ fn lexicon_doc_ooo_bsky_authfetch_listRecords() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("record"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("record"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -513,9 +519,9 @@ fn lexicon_doc_ooo_bsky_authfetch_listRecords() -> ::jacquard_lexicon::lexicon:: ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("strategy"), - ::jacquard_common::smol_str::SmolStr::new_static("value") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("strategy"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("value") ], ), nullable: None, @@ -523,7 +529,9 @@ fn lexicon_doc_ooo_bsky_authfetch_listRecords() -> ::jacquard_lexicon::lexicon:: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("strategy"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "strategy", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -532,7 +540,9 @@ fn lexicon_doc_ooo_bsky_authfetch_listRecords() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -553,7 +563,9 @@ fn lexicon_doc_ooo_bsky_authfetch_listRecords() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("value"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "value", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { description: None, }), 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 dd0827f7b..a84336d40 100644 --- a/crates/jacquard-api/src/ooo_bsky/authfetch/put_record.rs +++ b/crates/jacquard-api/src/ooo_bsky/authfetch/put_record.rs @@ -43,67 +43,67 @@ pub mod put_record_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Collection; + type Record; type Rkey; + type Collection; type Strategy; - type Record; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Collection = Unset; + type Record = Unset; type Rkey = Unset; + type Collection = Unset; type Strategy = Unset; - type Record = Unset; } - ///State transition - sets the `collection` field to Set - pub struct SetCollection(PhantomData S>); - impl sealed::Sealed for SetCollection {} - impl State for SetCollection { - type Collection = Set; + ///State transition - sets the `record` field to Set + pub struct SetRecord(PhantomData S>); + impl sealed::Sealed for SetRecord {} + impl State for SetRecord { + type Record = Set; type Rkey = S::Rkey; + type Collection = S::Collection; type Strategy = S::Strategy; - type Record = S::Record; } ///State transition - sets the `rkey` field to Set pub struct SetRkey(PhantomData S>); impl sealed::Sealed for SetRkey {} impl State for SetRkey { - type Collection = S::Collection; + type Record = S::Record; type Rkey = Set; + type Collection = S::Collection; type Strategy = S::Strategy; + } + ///State transition - sets the `collection` field to Set + pub struct SetCollection(PhantomData S>); + impl sealed::Sealed for SetCollection {} + impl State for SetCollection { type Record = S::Record; + type Rkey = S::Rkey; + type Collection = Set; + type Strategy = S::Strategy; } ///State transition - sets the `strategy` field to Set pub struct SetStrategy(PhantomData S>); impl sealed::Sealed for SetStrategy {} impl State for SetStrategy { - type Collection = S::Collection; - type Rkey = S::Rkey; - type Strategy = Set; type Record = S::Record; - } - ///State transition - sets the `record` field to Set - pub struct SetRecord(PhantomData S>); - impl sealed::Sealed for SetRecord {} - impl State for SetRecord { - type Collection = S::Collection; type Rkey = S::Rkey; - type Strategy = S::Strategy; - type Record = Set; + type Collection = S::Collection; + type Strategy = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `collection` field - pub struct collection(()); + ///Marker type for the `record` field + pub struct record(()); ///Marker type for the `rkey` field pub struct rkey(()); + ///Marker type for the `collection` field + pub struct collection(()); ///Marker type for the `strategy` field pub struct strategy(()); - ///Marker type for the `record` field - pub struct record(()); } } @@ -224,10 +224,10 @@ where impl<'a, S> PutRecordBuilder<'a, S> where S: put_record_state::State, - S::Collection: put_record_state::IsSet, + S::Record: put_record_state::IsSet, S::Rkey: put_record_state::IsSet, + S::Collection: put_record_state::IsSet, S::Strategy: put_record_state::IsSet, - S::Record: put_record_state::IsSet, { /// Build the final struct pub fn build(self) -> PutRecord<'a> { @@ -243,7 +243,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> PutRecord<'a> { diff --git a/crates/jacquard-api/src/ooo_bsky/authfetch/strategy.rs b/crates/jacquard-api/src/ooo_bsky/authfetch/strategy.rs index e38cf6893..67460e1a3 100644 --- a/crates/jacquard-api/src/ooo_bsky/authfetch/strategy.rs +++ b/crates/jacquard-api/src/ooo_bsky/authfetch/strategy.rs @@ -48,7 +48,7 @@ fn lexicon_doc_ooo_bsky_authfetch_strategy() -> ::jacquard_lexicon::lexicon::Lex defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -56,14 +56,18 @@ fn lexicon_doc_ooo_bsky_authfetch_strategy() -> ::jacquard_lexicon::lexicon::Lex ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("name")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("name") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/org_atpodcasting.rs b/crates/jacquard-api/src/org_atpodcasting.rs index 09f70d40b..40cfd5d6d 100644 --- a/crates/jacquard-api/src/org_atpodcasting.rs +++ b/crates/jacquard-api/src/org_atpodcasting.rs @@ -799,7 +799,7 @@ fn lexicon_doc_org_atpodcasting_defs() -> ::jacquard_lexicon::lexicon::LexiconDo defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("appleCategory"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("appleCategory"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -807,14 +807,18 @@ fn lexicon_doc_org_atpodcasting_defs() -> ::jacquard_lexicon::lexicon::LexiconDo ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("value")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("value") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("value"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "value", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -837,7 +841,7 @@ fn lexicon_doc_org_atpodcasting_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("episodeRef"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("episodeRef"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -846,8 +850,8 @@ fn lexicon_doc_org_atpodcasting_defs() -> ::jacquard_lexicon::lexicon::LexiconDo ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("podcastGuid"), - ::jacquard_common::smol_str::SmolStr::new_static("feedItemGuid") + ::jacquard_common::deps::smol_str::SmolStr::new_static("podcastGuid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("feedItemGuid") ], ), nullable: None, @@ -855,7 +859,7 @@ fn lexicon_doc_org_atpodcasting_defs() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "feedItemGuid", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -876,7 +880,9 @@ fn lexicon_doc_org_atpodcasting_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("feedUrl"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "feedUrl", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -897,7 +903,7 @@ fn lexicon_doc_org_atpodcasting_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "podcastGuid", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -922,7 +928,7 @@ fn lexicon_doc_org_atpodcasting_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("podcastRef"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("podcastRef"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -931,7 +937,7 @@ fn lexicon_doc_org_atpodcasting_defs() -> ::jacquard_lexicon::lexicon::LexiconDo ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("podcastGuid") + ::jacquard_common::deps::smol_str::SmolStr::new_static("podcastGuid") ], ), nullable: None, @@ -939,7 +945,9 @@ fn lexicon_doc_org_atpodcasting_defs() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("feedUrl"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "feedUrl", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -960,7 +968,7 @@ fn lexicon_doc_org_atpodcasting_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "podcastGuid", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/org_atpodcasting/episode.rs b/crates/jacquard-api/src/org_atpodcasting/episode.rs index 6146b318a..c3279e3f6 100644 --- a/crates/jacquard-api/src/org_atpodcasting/episode.rs +++ b/crates/jacquard-api/src/org_atpodcasting/episode.rs @@ -154,7 +154,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ChaptersRef<'a> { @@ -177,7 +177,7 @@ fn lexicon_doc_org_atpodcasting_episode() -> ::jacquard_lexicon::lexicon::Lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("chaptersRef"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("chaptersRef"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -186,8 +186,8 @@ fn lexicon_doc_org_atpodcasting_episode() -> ::jacquard_lexicon::lexicon::Lexico ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("url"), - ::jacquard_common::smol_str::SmolStr::new_static("mimeType") + ::jacquard_common::deps::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("mimeType") ], ), nullable: None, @@ -195,7 +195,9 @@ fn lexicon_doc_org_atpodcasting_episode() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("mimeType"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "mimeType", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -214,7 +216,9 @@ fn lexicon_doc_org_atpodcasting_episode() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -239,7 +243,7 @@ fn lexicon_doc_org_atpodcasting_episode() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -251,13 +255,13 @@ fn lexicon_doc_org_atpodcasting_episode() -> ::jacquard_lexicon::lexicon::Lexico description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("podcast"), - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("media"), - ::jacquard_common::smol_str::SmolStr::new_static("publishedAt"), - ::jacquard_common::smol_str::SmolStr::new_static("duration"), - ::jacquard_common::smol_str::SmolStr::new_static("feedItemGuid"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("podcast"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("media"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("publishedAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("duration"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("feedItemGuid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -265,7 +269,7 @@ fn lexicon_doc_org_atpodcasting_episode() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternateMedia", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -283,7 +287,9 @@ fn lexicon_doc_org_atpodcasting_episode() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("artwork"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "artwork", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -291,7 +297,7 @@ fn lexicon_doc_org_atpodcasting_episode() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "chapters", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -300,7 +306,7 @@ fn lexicon_doc_org_atpodcasting_episode() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -323,7 +329,7 @@ fn lexicon_doc_org_atpodcasting_episode() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -344,7 +350,7 @@ fn lexicon_doc_org_atpodcasting_episode() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "duration", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -357,7 +363,7 @@ fn lexicon_doc_org_atpodcasting_episode() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "episodeNumber", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -370,7 +376,7 @@ fn lexicon_doc_org_atpodcasting_episode() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "episodeType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -391,7 +397,7 @@ fn lexicon_doc_org_atpodcasting_episode() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "explicit", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -401,7 +407,7 @@ fn lexicon_doc_org_atpodcasting_episode() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "feedItemGuid", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -422,7 +428,9 @@ fn lexicon_doc_org_atpodcasting_episode() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("link"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "link", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -443,14 +451,18 @@ fn lexicon_doc_org_atpodcasting_episode() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("media"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "media", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#mediaRef"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("podcast"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "podcast", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -459,7 +471,7 @@ fn lexicon_doc_org_atpodcasting_episode() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publishedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -482,7 +494,7 @@ fn lexicon_doc_org_atpodcasting_episode() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "seasonNumber", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -495,7 +507,9 @@ fn lexicon_doc_org_atpodcasting_episode() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -514,7 +528,7 @@ fn lexicon_doc_org_atpodcasting_episode() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "transcript", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -539,7 +553,7 @@ fn lexicon_doc_org_atpodcasting_episode() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("mediaRef"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("mediaRef"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -548,8 +562,8 @@ fn lexicon_doc_org_atpodcasting_episode() -> ::jacquard_lexicon::lexicon::Lexico ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("url"), - ::jacquard_common::smol_str::SmolStr::new_static("mimeType") + ::jacquard_common::deps::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("mimeType") ], ), nullable: None, @@ -557,7 +571,9 @@ fn lexicon_doc_org_atpodcasting_episode() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("mimeType"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "mimeType", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -576,7 +592,9 @@ fn lexicon_doc_org_atpodcasting_episode() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -601,7 +619,7 @@ fn lexicon_doc_org_atpodcasting_episode() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("transcriptRef"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("transcriptRef"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -610,8 +628,8 @@ fn lexicon_doc_org_atpodcasting_episode() -> ::jacquard_lexicon::lexicon::Lexico ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("url"), - ::jacquard_common::smol_str::SmolStr::new_static("mimeType") + ::jacquard_common::deps::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("mimeType") ], ), nullable: None, @@ -619,7 +637,9 @@ fn lexicon_doc_org_atpodcasting_episode() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("language"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "language", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -640,7 +660,9 @@ fn lexicon_doc_org_atpodcasting_episode() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("mimeType"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "mimeType", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -659,7 +681,9 @@ fn lexicon_doc_org_atpodcasting_episode() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -789,127 +813,127 @@ pub mod episode_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type FeedItemGuid; type Podcast; - type CreatedAt; + type Duration; + type Media; + type FeedItemGuid; type PublishedAt; type Title; - type Media; - type Duration; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type FeedItemGuid = Unset; type Podcast = Unset; - type CreatedAt = Unset; + type Duration = Unset; + type Media = Unset; + type FeedItemGuid = Unset; type PublishedAt = Unset; type Title = Unset; - type Media = Unset; - type Duration = Unset; - } - ///State transition - sets the `feed_item_guid` field to Set - pub struct SetFeedItemGuid(PhantomData S>); - impl sealed::Sealed for SetFeedItemGuid {} - impl State for SetFeedItemGuid { - type FeedItemGuid = Set; - type Podcast = S::Podcast; - type CreatedAt = S::CreatedAt; - type PublishedAt = S::PublishedAt; - type Title = S::Title; - type Media = S::Media; - type Duration = S::Duration; + type CreatedAt = Unset; } ///State transition - sets the `podcast` field to Set pub struct SetPodcast(PhantomData S>); impl sealed::Sealed for SetPodcast {} impl State for SetPodcast { - type FeedItemGuid = S::FeedItemGuid; type Podcast = Set; - type CreatedAt = S::CreatedAt; + type Duration = S::Duration; + type Media = S::Media; + type FeedItemGuid = S::FeedItemGuid; type PublishedAt = S::PublishedAt; type Title = S::Title; - type Media = S::Media; - type Duration = S::Duration; + type CreatedAt = S::CreatedAt; } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { + ///State transition - sets the `duration` field to Set + pub struct SetDuration(PhantomData S>); + impl sealed::Sealed for SetDuration {} + impl State for SetDuration { + type Podcast = S::Podcast; + type Duration = Set; + type Media = S::Media; type FeedItemGuid = S::FeedItemGuid; + type PublishedAt = S::PublishedAt; + type Title = S::Title; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `media` field to Set + pub struct SetMedia(PhantomData S>); + impl sealed::Sealed for SetMedia {} + impl State for SetMedia { type Podcast = S::Podcast; - type CreatedAt = Set; + type Duration = S::Duration; + type Media = Set; + type FeedItemGuid = S::FeedItemGuid; type PublishedAt = S::PublishedAt; type Title = S::Title; - type Media = S::Media; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `feed_item_guid` field to Set + pub struct SetFeedItemGuid(PhantomData S>); + impl sealed::Sealed for SetFeedItemGuid {} + impl State for SetFeedItemGuid { + type Podcast = S::Podcast; type Duration = S::Duration; + type Media = S::Media; + type FeedItemGuid = Set; + type PublishedAt = S::PublishedAt; + type Title = S::Title; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `published_at` field to Set pub struct SetPublishedAt(PhantomData S>); impl sealed::Sealed for SetPublishedAt {} impl State for SetPublishedAt { - type FeedItemGuid = S::FeedItemGuid; type Podcast = S::Podcast; - type CreatedAt = S::CreatedAt; + type Duration = S::Duration; + type Media = S::Media; + type FeedItemGuid = S::FeedItemGuid; type PublishedAt = Set; type Title = S::Title; - type Media = S::Media; - type Duration = S::Duration; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `title` field to Set pub struct SetTitle(PhantomData S>); impl sealed::Sealed for SetTitle {} impl State for SetTitle { - type FeedItemGuid = S::FeedItemGuid; type Podcast = S::Podcast; - type CreatedAt = S::CreatedAt; + type Duration = S::Duration; + type Media = S::Media; + type FeedItemGuid = S::FeedItemGuid; type PublishedAt = S::PublishedAt; type Title = Set; - type Media = S::Media; - type Duration = S::Duration; + type CreatedAt = S::CreatedAt; } - ///State transition - sets the `media` field to Set - pub struct SetMedia(PhantomData S>); - impl sealed::Sealed for SetMedia {} - impl State for SetMedia { - type FeedItemGuid = S::FeedItemGuid; + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { type Podcast = S::Podcast; - type CreatedAt = S::CreatedAt; - type PublishedAt = S::PublishedAt; - type Title = S::Title; - type Media = Set; type Duration = S::Duration; - } - ///State transition - sets the `duration` field to Set - pub struct SetDuration(PhantomData S>); - impl sealed::Sealed for SetDuration {} - impl State for SetDuration { + type Media = S::Media; type FeedItemGuid = S::FeedItemGuid; - type Podcast = S::Podcast; - type CreatedAt = S::CreatedAt; type PublishedAt = S::PublishedAt; type Title = S::Title; - type Media = S::Media; - type Duration = Set; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `feed_item_guid` field - pub struct feed_item_guid(()); ///Marker type for the `podcast` field pub struct podcast(()); - ///Marker type for the `created_at` field - pub struct created_at(()); + ///Marker type for the `duration` field + pub struct duration(()); + ///Marker type for the `media` field + pub struct media(()); + ///Marker type for the `feed_item_guid` field + pub struct feed_item_guid(()); ///Marker type for the `published_at` field pub struct published_at(()); ///Marker type for the `title` field pub struct title(()); - ///Marker type for the `media` field - pub struct media(()); - ///Marker type for the `duration` field - pub struct duration(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -1281,13 +1305,13 @@ impl<'a, S: episode_state::State> EpisodeBuilder<'a, S> { impl<'a, S> EpisodeBuilder<'a, S> where S: episode_state::State, - S::FeedItemGuid: episode_state::IsSet, S::Podcast: episode_state::IsSet, - S::CreatedAt: episode_state::IsSet, + S::Duration: episode_state::IsSet, + S::Media: episode_state::IsSet, + S::FeedItemGuid: episode_state::IsSet, S::PublishedAt: episode_state::IsSet, S::Title: episode_state::IsSet, - S::Media: episode_state::IsSet, - S::Duration: episode_state::IsSet, + S::CreatedAt: episode_state::IsSet, { /// Build the final struct pub fn build(self) -> Episode<'a> { @@ -1316,7 +1340,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Episode<'a> { @@ -1760,7 +1784,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> MediaRef<'a> { @@ -1962,7 +1986,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> TranscriptRef<'a> { diff --git a/crates/jacquard-api/src/org_atpodcasting/follow.rs b/crates/jacquard-api/src/org_atpodcasting/follow.rs index 224484f51..8e1d1058d 100644 --- a/crates/jacquard-api/src/org_atpodcasting/follow.rs +++ b/crates/jacquard-api/src/org_atpodcasting/follow.rs @@ -35,37 +35,37 @@ pub mod follow_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type Subject; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type Subject = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Subject = S::Subject; + type CreatedAt = Unset; } ///State transition - sets the `subject` field to Set pub struct SetSubject(PhantomData S>); impl sealed::Sealed for SetSubject {} impl State for SetSubject { - type CreatedAt = S::CreatedAt; type Subject = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Subject = S::Subject; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `subject` field pub struct subject(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -138,8 +138,8 @@ where impl<'a, S> FollowBuilder<'a, S> where S: follow_state::State, - S::CreatedAt: follow_state::IsSet, S::Subject: follow_state::IsSet, + S::CreatedAt: follow_state::IsSet, { /// Build the final struct pub fn build(self) -> Follow<'a> { @@ -153,7 +153,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Follow<'a> { @@ -254,7 +254,7 @@ fn lexicon_doc_org_atpodcasting_follow() -> ::jacquard_lexicon::lexicon::Lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -266,8 +266,8 @@ fn lexicon_doc_org_atpodcasting_follow() -> ::jacquard_lexicon::lexicon::Lexicon description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -275,7 +275,7 @@ fn lexicon_doc_org_atpodcasting_follow() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -298,7 +298,9 @@ fn lexicon_doc_org_atpodcasting_follow() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/org_atpodcasting/like.rs b/crates/jacquard-api/src/org_atpodcasting/like.rs index 8d529f457..101aa6709 100644 --- a/crates/jacquard-api/src/org_atpodcasting/like.rs +++ b/crates/jacquard-api/src/org_atpodcasting/like.rs @@ -153,7 +153,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Like<'a> { @@ -254,7 +254,7 @@ fn lexicon_doc_org_atpodcasting_like() -> ::jacquard_lexicon::lexicon::LexiconDo defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -266,8 +266,8 @@ fn lexicon_doc_org_atpodcasting_like() -> ::jacquard_lexicon::lexicon::LexiconDo description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -275,7 +275,7 @@ fn lexicon_doc_org_atpodcasting_like() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -298,7 +298,9 @@ fn lexicon_doc_org_atpodcasting_like() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/org_atpodcasting/podcast.rs b/crates/jacquard-api/src/org_atpodcasting/podcast.rs index 26c41eb37..f28030ca6 100644 --- a/crates/jacquard-api/src/org_atpodcasting/podcast.rs +++ b/crates/jacquard-api/src/org_atpodcasting/podcast.rs @@ -63,151 +63,151 @@ pub mod podcast_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Artwork; type FeedUrl; - type CreatedAt; - type Title; - type Description; type Language; - type Categories; - type Artwork; + type Description; type Guid; + type Categories; + type CreatedAt; + type Title; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Artwork = Unset; type FeedUrl = Unset; - type CreatedAt = Unset; - type Title = Unset; - type Description = Unset; type Language = Unset; - type Categories = Unset; - type Artwork = Unset; + type Description = Unset; type Guid = Unset; + type Categories = Unset; + type CreatedAt = Unset; + type Title = Unset; + } + ///State transition - sets the `artwork` field to Set + pub struct SetArtwork(PhantomData S>); + impl sealed::Sealed for SetArtwork {} + impl State for SetArtwork { + type Artwork = Set; + type FeedUrl = S::FeedUrl; + type Language = S::Language; + type Description = S::Description; + type Guid = S::Guid; + type Categories = S::Categories; + type CreatedAt = S::CreatedAt; + type Title = S::Title; } ///State transition - sets the `feed_url` field to Set pub struct SetFeedUrl(PhantomData S>); impl sealed::Sealed for SetFeedUrl {} impl State for SetFeedUrl { + type Artwork = S::Artwork; type FeedUrl = Set; - type CreatedAt = S::CreatedAt; - type Title = S::Title; - type Description = S::Description; type Language = S::Language; - type Categories = S::Categories; - type Artwork = S::Artwork; - type Guid = S::Guid; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type FeedUrl = S::FeedUrl; - type CreatedAt = Set; - type Title = S::Title; type Description = S::Description; - type Language = S::Language; - type Categories = S::Categories; - type Artwork = S::Artwork; type Guid = S::Guid; + type Categories = S::Categories; + type CreatedAt = S::CreatedAt; + type Title = S::Title; } - ///State transition - sets the `title` field to Set - pub struct SetTitle(PhantomData S>); - impl sealed::Sealed for SetTitle {} - impl State for SetTitle { + ///State transition - sets the `language` field to Set + pub struct SetLanguage(PhantomData S>); + impl sealed::Sealed for SetLanguage {} + impl State for SetLanguage { + type Artwork = S::Artwork; type FeedUrl = S::FeedUrl; - type CreatedAt = S::CreatedAt; - type Title = Set; + type Language = Set; type Description = S::Description; - type Language = S::Language; - type Categories = S::Categories; - type Artwork = S::Artwork; type Guid = S::Guid; + type Categories = S::Categories; + type CreatedAt = S::CreatedAt; + type Title = S::Title; } ///State transition - sets the `description` field to Set pub struct SetDescription(PhantomData S>); impl sealed::Sealed for SetDescription {} impl State for SetDescription { + type Artwork = S::Artwork; type FeedUrl = S::FeedUrl; - type CreatedAt = S::CreatedAt; - type Title = S::Title; - type Description = Set; type Language = S::Language; - type Categories = S::Categories; - type Artwork = S::Artwork; + type Description = Set; type Guid = S::Guid; - } - ///State transition - sets the `language` field to Set - pub struct SetLanguage(PhantomData S>); - impl sealed::Sealed for SetLanguage {} - impl State for SetLanguage { - type FeedUrl = S::FeedUrl; + type Categories = S::Categories; type CreatedAt = S::CreatedAt; type Title = S::Title; + } + ///State transition - sets the `guid` field to Set + pub struct SetGuid(PhantomData S>); + impl sealed::Sealed for SetGuid {} + impl State for SetGuid { + type Artwork = S::Artwork; + type FeedUrl = S::FeedUrl; + type Language = S::Language; type Description = S::Description; - type Language = Set; + type Guid = Set; type Categories = S::Categories; - type Artwork = S::Artwork; - type Guid = S::Guid; + type CreatedAt = S::CreatedAt; + type Title = S::Title; } ///State transition - sets the `categories` field to Set pub struct SetCategories(PhantomData S>); impl sealed::Sealed for SetCategories {} impl State for SetCategories { + type Artwork = S::Artwork; type FeedUrl = S::FeedUrl; - type CreatedAt = S::CreatedAt; - type Title = S::Title; - type Description = S::Description; type Language = S::Language; - type Categories = Set; - type Artwork = S::Artwork; + type Description = S::Description; type Guid = S::Guid; - } - ///State transition - sets the `artwork` field to Set - pub struct SetArtwork(PhantomData S>); - impl sealed::Sealed for SetArtwork {} - impl State for SetArtwork { - type FeedUrl = S::FeedUrl; + type Categories = Set; type CreatedAt = S::CreatedAt; type Title = S::Title; - type Description = S::Description; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Artwork = S::Artwork; + type FeedUrl = S::FeedUrl; type Language = S::Language; - type Categories = S::Categories; - type Artwork = Set; + type Description = S::Description; type Guid = S::Guid; + type Categories = S::Categories; + type CreatedAt = Set; + type Title = S::Title; } - ///State transition - sets the `guid` field to Set - pub struct SetGuid(PhantomData S>); - impl sealed::Sealed for SetGuid {} - impl State for SetGuid { + ///State transition - sets the `title` field to Set + pub struct SetTitle(PhantomData S>); + impl sealed::Sealed for SetTitle {} + impl State for SetTitle { + type Artwork = S::Artwork; type FeedUrl = S::FeedUrl; - type CreatedAt = S::CreatedAt; - type Title = S::Title; - type Description = S::Description; type Language = S::Language; + type Description = S::Description; + type Guid = S::Guid; type Categories = S::Categories; - type Artwork = S::Artwork; - type Guid = Set; + type CreatedAt = S::CreatedAt; + type Title = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `artwork` field + pub struct artwork(()); ///Marker type for the `feed_url` field pub struct feed_url(()); - ///Marker type for the `created_at` field - pub struct created_at(()); - ///Marker type for the `title` field - pub struct title(()); - ///Marker type for the `description` field - pub struct description(()); ///Marker type for the `language` field pub struct language(()); - ///Marker type for the `categories` field - pub struct categories(()); - ///Marker type for the `artwork` field - pub struct artwork(()); + ///Marker type for the `description` field + pub struct description(()); ///Marker type for the `guid` field pub struct guid(()); + ///Marker type for the `categories` field + pub struct categories(()); + ///Marker type for the `created_at` field + pub struct created_at(()); + ///Marker type for the `title` field + pub struct title(()); } } @@ -466,14 +466,14 @@ where impl<'a, S> PodcastBuilder<'a, S> where S: podcast_state::State, + S::Artwork: podcast_state::IsSet, S::FeedUrl: podcast_state::IsSet, - S::CreatedAt: podcast_state::IsSet, - S::Title: podcast_state::IsSet, - S::Description: podcast_state::IsSet, S::Language: podcast_state::IsSet, - S::Categories: podcast_state::IsSet, - S::Artwork: podcast_state::IsSet, + S::Description: podcast_state::IsSet, S::Guid: podcast_state::IsSet, + S::Categories: podcast_state::IsSet, + S::CreatedAt: podcast_state::IsSet, + S::Title: podcast_state::IsSet, { /// Build the final struct pub fn build(self) -> Podcast<'a> { @@ -496,7 +496,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Podcast<'a> { @@ -658,7 +658,7 @@ fn lexicon_doc_org_atpodcasting_podcast() -> ::jacquard_lexicon::lexicon::Lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -670,14 +670,14 @@ fn lexicon_doc_org_atpodcasting_podcast() -> ::jacquard_lexicon::lexicon::Lexico description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("description"), - ::jacquard_common::smol_str::SmolStr::new_static("artwork"), - ::jacquard_common::smol_str::SmolStr::new_static("language"), - ::jacquard_common::smol_str::SmolStr::new_static("feedUrl"), - ::jacquard_common::smol_str::SmolStr::new_static("categories"), - ::jacquard_common::smol_str::SmolStr::new_static("guid"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("description"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("artwork"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("language"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("feedUrl"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("categories"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("guid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -685,7 +685,9 @@ fn lexicon_doc_org_atpodcasting_podcast() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("artwork"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "artwork", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -693,7 +695,7 @@ fn lexicon_doc_org_atpodcasting_podcast() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "categories", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -714,7 +716,7 @@ fn lexicon_doc_org_atpodcasting_podcast() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -737,7 +739,7 @@ fn lexicon_doc_org_atpodcasting_podcast() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -758,7 +760,7 @@ fn lexicon_doc_org_atpodcasting_podcast() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "explicit", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -768,7 +770,9 @@ fn lexicon_doc_org_atpodcasting_podcast() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("feedUrl"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "feedUrl", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -789,7 +793,9 @@ fn lexicon_doc_org_atpodcasting_podcast() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("guid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "guid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -808,7 +814,7 @@ fn lexicon_doc_org_atpodcasting_podcast() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "language", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -831,7 +837,9 @@ fn lexicon_doc_org_atpodcasting_podcast() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("link"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "link", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -852,7 +860,9 @@ fn lexicon_doc_org_atpodcasting_podcast() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("movedTo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "movedTo", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -873,7 +883,9 @@ fn lexicon_doc_org_atpodcasting_podcast() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/org_atsui/avatar.rs b/crates/jacquard-api/src/org_atsui/avatar.rs index d2c9cc219..c776b3305 100644 --- a/crates/jacquard-api/src/org_atsui/avatar.rs +++ b/crates/jacquard-api/src/org_atsui/avatar.rs @@ -178,7 +178,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Avatar<'a> { diff --git a/crates/jacquard-api/src/org_atsui/blob.rs b/crates/jacquard-api/src/org_atsui/blob.rs index 77b86f17c..352ac9de0 100644 --- a/crates/jacquard-api/src/org_atsui/blob.rs +++ b/crates/jacquard-api/src/org_atsui/blob.rs @@ -31,37 +31,37 @@ pub mod aspect_ratio_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Width; type Height; + type Width; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Width = Unset; type Height = Unset; - } - ///State transition - sets the `width` field to Set - pub struct SetWidth(PhantomData S>); - impl sealed::Sealed for SetWidth {} - impl State for SetWidth { - type Width = Set; - type Height = S::Height; + type Width = Unset; } ///State transition - sets the `height` field to Set pub struct SetHeight(PhantomData S>); impl sealed::Sealed for SetHeight {} impl State for SetHeight { - type Width = S::Width; type Height = Set; + type Width = S::Width; + } + ///State transition - sets the `width` field to Set + pub struct SetWidth(PhantomData S>); + impl sealed::Sealed for SetWidth {} + impl State for SetWidth { + type Height = S::Height; + type Width = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `width` field - pub struct width(()); ///Marker type for the `height` field pub struct height(()); + ///Marker type for the `width` field + pub struct width(()); } } @@ -131,8 +131,8 @@ where impl<'a, S> AspectRatioBuilder<'a, S> where S: aspect_ratio_state::State, - S::Width: aspect_ratio_state::IsSet, S::Height: aspect_ratio_state::IsSet, + S::Width: aspect_ratio_state::IsSet, { /// Build the final struct pub fn build(self) -> AspectRatio<'a> { @@ -146,7 +146,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> AspectRatio<'a> { @@ -167,13 +167,13 @@ fn lexicon_doc_org_atsui_Blob() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("aspectRatio"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("aspectRatio"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("width"), - ::jacquard_common::smol_str::SmolStr::new_static("height") + ::jacquard_common::deps::smol_str::SmolStr::new_static("width"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("height") ], ), nullable: None, @@ -181,7 +181,9 @@ fn lexicon_doc_org_atsui_Blob() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("height"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "height", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -192,7 +194,9 @@ fn lexicon_doc_org_atsui_Blob() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("width"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "width", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -207,7 +211,7 @@ fn lexicon_doc_org_atsui_Blob() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcProcedure(::jacquard_lexicon::lexicon::LexXrpcProcedure { description: None, parameters: None, @@ -221,8 +225,8 @@ fn lexicon_doc_org_atsui_Blob() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("src"), - ::jacquard_common::smol_str::SmolStr::new_static("did") + ::jacquard_common::deps::smol_str::SmolStr::new_static("src"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("did") ], ), nullable: None, @@ -230,7 +234,9 @@ fn lexicon_doc_org_atsui_Blob() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -251,7 +257,9 @@ fn lexicon_doc_org_atsui_Blob() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("fit"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "fit", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -270,14 +278,18 @@ fn lexicon_doc_org_atsui_Blob() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("ratio"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "ratio", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#aspectRatio"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("src"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "src", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { description: None, }), @@ -529,7 +541,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Blob<'a> { diff --git a/crates/jacquard-api/src/org_atsui/caption.rs b/crates/jacquard-api/src/org_atsui/caption.rs index 53db21db0..8d6da1e3f 100644 --- a/crates/jacquard-api/src/org_atsui/caption.rs +++ b/crates/jacquard-api/src/org_atsui/caption.rs @@ -115,7 +115,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Caption<'a> { diff --git a/crates/jacquard-api/src/org_atsui/clip.rs b/crates/jacquard-api/src/org_atsui/clip.rs index 6a70c8dfd..d397d9f10 100644 --- a/crates/jacquard-api/src/org_atsui/clip.rs +++ b/crates/jacquard-api/src/org_atsui/clip.rs @@ -146,7 +146,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> AspectRatio<'a> { @@ -167,13 +167,13 @@ fn lexicon_doc_org_atsui_Clip() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("aspectRatio"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("aspectRatio"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("width"), - ::jacquard_common::smol_str::SmolStr::new_static("height") + ::jacquard_common::deps::smol_str::SmolStr::new_static("width"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("height") ], ), nullable: None, @@ -181,7 +181,9 @@ fn lexicon_doc_org_atsui_Clip() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("height"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "height", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -192,7 +194,9 @@ fn lexicon_doc_org_atsui_Clip() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("width"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "width", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -207,7 +211,7 @@ fn lexicon_doc_org_atsui_Clip() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcProcedure(::jacquard_lexicon::lexicon::LexXrpcProcedure { description: None, parameters: None, @@ -221,7 +225,7 @@ fn lexicon_doc_org_atsui_Clip() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("children") + ::jacquard_common::deps::smol_str::SmolStr::new_static("children") ], ), nullable: None, @@ -229,7 +233,7 @@ fn lexicon_doc_org_atsui_Clip() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "children", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { @@ -237,14 +241,18 @@ fn lexicon_doc_org_atsui_Clip() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("max"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "max", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#aspectRatio"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("min"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "min", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#aspectRatio"), @@ -465,7 +473,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Clip<'a> { diff --git a/crates/jacquard-api/src/org_atsui/cover.rs b/crates/jacquard-api/src/org_atsui/cover.rs index 21b3926a8..8ba2283ef 100644 --- a/crates/jacquard-api/src/org_atsui/cover.rs +++ b/crates/jacquard-api/src/org_atsui/cover.rs @@ -141,7 +141,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Cover<'a> { diff --git a/crates/jacquard-api/src/org_atsui/editor.rs b/crates/jacquard-api/src/org_atsui/editor.rs index 75b274a6f..a8730ac01 100644 --- a/crates/jacquard-api/src/org_atsui/editor.rs +++ b/crates/jacquard-api/src/org_atsui/editor.rs @@ -116,7 +116,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Editor<'a> { diff --git a/crates/jacquard-api/src/org_atsui/fill.rs b/crates/jacquard-api/src/org_atsui/fill.rs index 73bcccb19..191fe1055 100644 --- a/crates/jacquard-api/src/org_atsui/fill.rs +++ b/crates/jacquard-api/src/org_atsui/fill.rs @@ -115,7 +115,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Fill<'a> { diff --git a/crates/jacquard-api/src/org_atsui/grid.rs b/crates/jacquard-api/src/org_atsui/grid.rs index b2e3a8af6..97e92f2e2 100644 --- a/crates/jacquard-api/src/org_atsui/grid.rs +++ b/crates/jacquard-api/src/org_atsui/grid.rs @@ -152,7 +152,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Grid<'a> { diff --git a/crates/jacquard-api/src/org_atsui/heading.rs b/crates/jacquard-api/src/org_atsui/heading.rs index bd07a7139..36d36c60c 100644 --- a/crates/jacquard-api/src/org_atsui/heading.rs +++ b/crates/jacquard-api/src/org_atsui/heading.rs @@ -115,7 +115,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Heading<'a> { diff --git a/crates/jacquard-api/src/org_atsui/link.rs b/crates/jacquard-api/src/org_atsui/link.rs index 82b440383..03ec0d75a 100644 --- a/crates/jacquard-api/src/org_atsui/link.rs +++ b/crates/jacquard-api/src/org_atsui/link.rs @@ -157,7 +157,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Link<'a> { diff --git a/crates/jacquard-api/src/org_atsui/list.rs b/crates/jacquard-api/src/org_atsui/list.rs index ab46428a1..d4526bfa2 100644 --- a/crates/jacquard-api/src/org_atsui/list.rs +++ b/crates/jacquard-api/src/org_atsui/list.rs @@ -39,37 +39,37 @@ pub mod list_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Did; type Query; + type Did; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Did = Unset; type Query = Unset; - } - ///State transition - sets the `did` field to Set - pub struct SetDid(PhantomData S>); - impl sealed::Sealed for SetDid {} - impl State for SetDid { - type Did = Set; - type Query = S::Query; + type Did = Unset; } ///State transition - sets the `query` field to Set pub struct SetQuery(PhantomData S>); impl sealed::Sealed for SetQuery {} impl State for SetQuery { - type Did = S::Did; type Query = Set; + type Did = S::Did; + } + ///State transition - sets the `did` field to Set + pub struct SetDid(PhantomData S>); + impl sealed::Sealed for SetDid {} + impl State for SetDid { + type Query = S::Query; + type Did = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `did` field - pub struct did(()); ///Marker type for the `query` field pub struct query(()); + ///Marker type for the `did` field + pub struct did(()); } } @@ -162,8 +162,8 @@ where impl<'a, S> ListBuilder<'a, S> where S: list_state::State, - S::Did: list_state::IsSet, S::Query: list_state::IsSet, + S::Did: list_state::IsSet, { /// Build the final struct pub fn build(self) -> List<'a> { @@ -178,7 +178,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> List<'a> { @@ -372,7 +372,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Page<'a> { @@ -393,7 +393,7 @@ fn lexicon_doc_org_atsui_List() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcProcedure(::jacquard_lexicon::lexicon::LexXrpcProcedure { description: None, parameters: None, @@ -407,8 +407,8 @@ fn lexicon_doc_org_atsui_List() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("query"), - ::jacquard_common::smol_str::SmolStr::new_static("did") + ::jacquard_common::deps::smol_str::SmolStr::new_static("query"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("did") ], ), nullable: None, @@ -416,7 +416,9 @@ fn lexicon_doc_org_atsui_List() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -437,13 +439,17 @@ fn lexicon_doc_org_atsui_List() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("input"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "input", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("query"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "query", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -473,7 +479,7 @@ fn lexicon_doc_org_atsui_List() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("page"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("page"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -481,14 +487,18 @@ fn lexicon_doc_org_atsui_List() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("items")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("items") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cursor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cursor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -507,7 +517,9 @@ fn lexicon_doc_org_atsui_List() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("items"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "items", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/org_atsui/record.rs b/crates/jacquard-api/src/org_atsui/record.rs index 92f3c2311..b83dc158e 100644 --- a/crates/jacquard-api/src/org_atsui/record.rs +++ b/crates/jacquard-api/src/org_atsui/record.rs @@ -116,7 +116,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Record<'a> { diff --git a/crates/jacquard-api/src/org_atsui/row.rs b/crates/jacquard-api/src/org_atsui/row.rs index 24205ba6d..7f31f3e25 100644 --- a/crates/jacquard-api/src/org_atsui/row.rs +++ b/crates/jacquard-api/src/org_atsui/row.rs @@ -226,7 +226,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Row<'a> { diff --git a/crates/jacquard-api/src/org_atsui/stack.rs b/crates/jacquard-api/src/org_atsui/stack.rs index c03faa160..e036104a4 100644 --- a/crates/jacquard-api/src/org_atsui/stack.rs +++ b/crates/jacquard-api/src/org_atsui/stack.rs @@ -244,7 +244,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Stack<'a> { diff --git a/crates/jacquard-api/src/org_atsui/tabs.rs b/crates/jacquard-api/src/org_atsui/tabs.rs index 98db17a16..8eed1c0d5 100644 --- a/crates/jacquard-api/src/org_atsui/tabs.rs +++ b/crates/jacquard-api/src/org_atsui/tabs.rs @@ -116,7 +116,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Tabs<'a> { @@ -208,50 +208,50 @@ pub mod tab_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Key; - type Content; type Label; + type Content; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Key = Unset; - type Content = Unset; type Label = Unset; + type Content = Unset; } ///State transition - sets the `key` field to Set pub struct SetKey(PhantomData S>); impl sealed::Sealed for SetKey {} impl State for SetKey { type Key = Set; - type Content = S::Content; - type Label = S::Label; - } - ///State transition - sets the `content` field to Set - pub struct SetContent(PhantomData S>); - impl sealed::Sealed for SetContent {} - impl State for SetContent { - type Key = S::Key; - type Content = Set; type Label = S::Label; + type Content = S::Content; } ///State transition - sets the `label` field to Set pub struct SetLabel(PhantomData S>); impl sealed::Sealed for SetLabel {} impl State for SetLabel { type Key = S::Key; - type Content = S::Content; type Label = Set; + type Content = S::Content; + } + ///State transition - sets the `content` field to Set + pub struct SetContent(PhantomData S>); + impl sealed::Sealed for SetContent {} + impl State for SetContent { + type Key = S::Key; + type Label = S::Label; + type Content = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `key` field pub struct key(()); - ///Marker type for the `content` field - pub struct content(()); ///Marker type for the `label` field pub struct label(()); + ///Marker type for the `content` field + pub struct content(()); } } @@ -345,8 +345,8 @@ impl<'a, S> TabBuilder<'a, S> where S: tab_state::State, S::Key: tab_state::IsSet, - S::Content: tab_state::IsSet, S::Label: tab_state::IsSet, + S::Content: tab_state::IsSet, { /// Build the final struct pub fn build(self) -> Tab<'a> { @@ -361,7 +361,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Tab<'a> { @@ -383,7 +383,7 @@ fn lexicon_doc_org_atsui_Tabs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcProcedure(::jacquard_lexicon::lexicon::LexXrpcProcedure { description: None, parameters: None, @@ -397,7 +397,7 @@ fn lexicon_doc_org_atsui_Tabs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("items") + ::jacquard_common::deps::smol_str::SmolStr::new_static("items") ], ), nullable: None, @@ -405,7 +405,9 @@ fn lexicon_doc_org_atsui_Tabs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("items"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "items", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static("Tabs to display."), @@ -428,14 +430,14 @@ fn lexicon_doc_org_atsui_Tabs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tab"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("tab"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("key"), - ::jacquard_common::smol_str::SmolStr::new_static("label"), - ::jacquard_common::smol_str::SmolStr::new_static("content") + ::jacquard_common::deps::smol_str::SmolStr::new_static("key"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("label"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("content") ], ), nullable: None, @@ -443,7 +445,9 @@ fn lexicon_doc_org_atsui_Tabs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "content", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -452,7 +456,9 @@ fn lexicon_doc_org_atsui_Tabs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("key"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "key", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -471,7 +477,9 @@ fn lexicon_doc_org_atsui_Tabs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("label"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "label", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/org_atsui/text.rs b/crates/jacquard-api/src/org_atsui/text.rs index d5f4c3eda..c00863506 100644 --- a/crates/jacquard-api/src/org_atsui/text.rs +++ b/crates/jacquard-api/src/org_atsui/text.rs @@ -115,7 +115,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Text<'a> { diff --git a/crates/jacquard-api/src/org_atsui/timestamp.rs b/crates/jacquard-api/src/org_atsui/timestamp.rs index a37a3dfe7..da6dd6f89 100644 --- a/crates/jacquard-api/src/org_atsui/timestamp.rs +++ b/crates/jacquard-api/src/org_atsui/timestamp.rs @@ -114,7 +114,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Timestamp<'a> { diff --git a/crates/jacquard-api/src/org_atsui/title.rs b/crates/jacquard-api/src/org_atsui/title.rs index 9abeb3a10..06c28e5ff 100644 --- a/crates/jacquard-api/src/org_atsui/title.rs +++ b/crates/jacquard-api/src/org_atsui/title.rs @@ -115,7 +115,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Title<'a> { 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 8a5c59444..b4653f97c 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 @@ -38,7 +38,7 @@ fn lexicon_doc_org_custorium_temp_jsonfg_coordRefSys() -> ::jacquard_lexicon::le defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("multiRefSys"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("multiRefSys"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -47,7 +47,9 @@ fn lexicon_doc_org_custorium_temp_jsonfg_coordRefSys() -> ::jacquard_lexicon::le #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("refSys"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "refSys", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -65,18 +67,22 @@ fn lexicon_doc_org_custorium_temp_jsonfg_coordRefSys() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("refSysByRef"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("refSysByRef"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("href")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("href") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("epoch"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "epoch", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -87,7 +93,9 @@ fn lexicon_doc_org_custorium_temp_jsonfg_coordRefSys() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("href"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "href", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -108,18 +116,22 @@ fn lexicon_doc_org_custorium_temp_jsonfg_coordRefSys() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("refSysCustom"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("refSysCustom"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("type")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("type") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "type", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -142,18 +154,24 @@ fn lexicon_doc_org_custorium_temp_jsonfg_coordRefSys() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("refSysSimpleRef"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "refSysSimpleRef", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("uri")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -176,18 +194,22 @@ fn lexicon_doc_org_custorium_temp_jsonfg_coordRefSys() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("singleRefSys"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("singleRefSys"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("refSys")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("refSys") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("refSys"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "refSys", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -363,7 +385,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> RefSysByRef<'a> { @@ -570,7 +592,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> SingleRefSys<'a> { 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 0b795fb61..e65dbc55d 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 @@ -152,7 +152,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> TestRecord<'a> { @@ -281,7 +281,7 @@ fn lexicon_doc_org_custorium_temp_jsonfg_testRecord() -> ::jacquard_lexicon::lex defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -293,8 +293,8 @@ fn lexicon_doc_org_custorium_temp_jsonfg_testRecord() -> ::jacquard_lexicon::lex description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("geometry"), - ::jacquard_common::smol_str::SmolStr::new_static("text") + ::jacquard_common::deps::smol_str::SmolStr::new_static("geometry"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("text") ], ), nullable: None, @@ -302,7 +302,7 @@ fn lexicon_doc_org_custorium_temp_jsonfg_testRecord() -> ::jacquard_lexicon::lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "geometry", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -319,7 +319,9 @@ fn lexicon_doc_org_custorium_temp_jsonfg_testRecord() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, diff --git a/crates/jacquard-api/src/org_devcon/event/test.rs b/crates/jacquard-api/src/org_devcon/event/test.rs index 1c77704db..48375aa81 100644 --- a/crates/jacquard-api/src/org_devcon/event/test.rs +++ b/crates/jacquard-api/src/org_devcon/event/test.rs @@ -279,7 +279,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Test<'a> { @@ -385,7 +385,7 @@ fn lexicon_doc_org_devcon_event_test() -> ::jacquard_lexicon::lexicon::LexiconDo defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -393,9 +393,9 @@ fn lexicon_doc_org_devcon_event_test() -> ::jacquard_lexicon::lexicon::LexiconDo description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("start"), - ::jacquard_common::smol_str::SmolStr::new_static("end") + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("start"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("end") ], ), nullable: None, @@ -403,7 +403,7 @@ fn lexicon_doc_org_devcon_event_test() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -422,7 +422,7 @@ fn lexicon_doc_org_devcon_event_test() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -443,7 +443,9 @@ fn lexicon_doc_org_devcon_event_test() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("end"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "end", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -464,7 +466,7 @@ fn lexicon_doc_org_devcon_event_test() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "location", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -485,7 +487,9 @@ fn lexicon_doc_org_devcon_event_test() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("start"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "start", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -506,7 +510,9 @@ fn lexicon_doc_org_devcon_event_test() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Title of the event"), @@ -523,7 +529,9 @@ fn lexicon_doc_org_devcon_event_test() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("URL of the event"), 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 87b218f1f..43e6c1562 100644 --- a/crates/jacquard-api/src/org_farmapps/temp/agroconnect/cl022.rs +++ b/crates/jacquard-api/src/org_farmapps/temp/agroconnect/cl022.rs @@ -66,37 +66,37 @@ pub mod cl022_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Description; type Id; + type Description; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Description = Unset; type Id = Unset; - } - ///State transition - sets the `description` field to Set - pub struct SetDescription(PhantomData S>); - impl sealed::Sealed for SetDescription {} - impl State for SetDescription { - type Description = Set; - type Id = S::Id; + type Description = Unset; } ///State transition - sets the `id` field to Set pub struct SetId(PhantomData S>); impl sealed::Sealed for SetId {} impl State for SetId { - type Description = S::Description; type Id = Set; + type Description = S::Description; + } + ///State transition - sets the `description` field to Set + pub struct SetDescription(PhantomData S>); + impl sealed::Sealed for SetDescription {} + impl State for SetDescription { + type Id = S::Id; + type Description = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `description` field - pub struct description(()); ///Marker type for the `id` field pub struct id(()); + ///Marker type for the `description` field + pub struct description(()); } } @@ -328,8 +328,8 @@ impl<'a, S: cl022_state::State> Cl022Builder<'a, S> { impl<'a, S> Cl022Builder<'a, S> where S: cl022_state::State, - S::Description: cl022_state::IsSet, S::Id: cl022_state::IsSet, + S::Description: cl022_state::IsSet, { /// Build the final struct pub fn build(self) -> Cl022<'a> { @@ -352,7 +352,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Cl022<'a> { @@ -506,7 +506,7 @@ fn lexicon_doc_org_farmapps_temp_agroconnect_cl022() -> ::jacquard_lexicon::lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static("Fertilizer codelist"), @@ -518,8 +518,8 @@ fn lexicon_doc_org_farmapps_temp_agroconnect_cl022() -> ::jacquard_lexicon::lexi ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("id"), - ::jacquard_common::smol_str::SmolStr::new_static("description") + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("description") ], ), nullable: None, @@ -527,7 +527,9 @@ fn lexicon_doc_org_farmapps_temp_agroconnect_cl022() -> ::jacquard_lexicon::lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("added"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "added", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -548,7 +550,9 @@ fn lexicon_doc_org_farmapps_temp_agroconnect_cl022() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "comment", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Comment"), @@ -565,7 +569,7 @@ fn lexicon_doc_org_farmapps_temp_agroconnect_cl022() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "denominator", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -578,7 +582,7 @@ fn lexicon_doc_org_farmapps_temp_agroconnect_cl022() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -599,7 +603,9 @@ fn lexicon_doc_org_farmapps_temp_agroconnect_cl022() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "id", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -608,7 +614,9 @@ fn lexicon_doc_org_farmapps_temp_agroconnect_cl022() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("k2o"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "k2o", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -619,7 +627,7 @@ fn lexicon_doc_org_farmapps_temp_agroconnect_cl022() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("n"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("n"), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -630,7 +638,9 @@ fn lexicon_doc_org_farmapps_temp_agroconnect_cl022() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("p2o5"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "p2o5", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -641,7 +651,9 @@ fn lexicon_doc_org_farmapps_temp_agroconnect_cl022() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "type", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Fertlizer type"), @@ -658,7 +670,9 @@ fn lexicon_doc_org_farmapps_temp_agroconnect_cl022() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("unit"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "unit", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Unit "), @@ -675,7 +689,9 @@ fn lexicon_doc_org_farmapps_temp_agroconnect_cl022() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("updated"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "updated", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Date when updated"), diff --git a/crates/jacquard-api/src/org_farmapps/temp/ecrop.rs b/crates/jacquard-api/src/org_farmapps/temp/ecrop.rs index b80fb5a1c..658fa544f 100644 --- a/crates/jacquard-api/src/org_farmapps/temp/ecrop.rs +++ b/crates/jacquard-api/src/org_farmapps/temp/ecrop.rs @@ -37,37 +37,37 @@ pub mod code_type_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Code; type ListId; + type Code; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Code = Unset; type ListId = Unset; - } - ///State transition - sets the `code` field to Set - pub struct SetCode(PhantomData S>); - impl sealed::Sealed for SetCode {} - impl State for SetCode { - type Code = Set; - type ListId = S::ListId; + type Code = Unset; } ///State transition - sets the `list_id` field to Set pub struct SetListId(PhantomData S>); impl sealed::Sealed for SetListId {} impl State for SetListId { - type Code = S::Code; type ListId = Set; + type Code = S::Code; + } + ///State transition - sets the `code` field to Set + pub struct SetCode(PhantomData S>); + impl sealed::Sealed for SetCode {} + impl State for SetCode { + type ListId = S::ListId; + type Code = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `code` field - pub struct code(()); ///Marker type for the `list_id` field pub struct list_id(()); + ///Marker type for the `code` field + pub struct code(()); } } @@ -148,8 +148,8 @@ where impl<'a, S> CodeTypeBuilder<'a, S> where S: code_type_state::State, - S::Code: code_type_state::IsSet, S::ListId: code_type_state::IsSet, + S::Code: code_type_state::IsSet, { /// Build the final struct pub fn build(self) -> CodeType<'a> { @@ -163,7 +163,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> CodeType<'a> { @@ -186,7 +186,7 @@ fn lexicon_doc_org_farmapps_temp_ecrop_defs() -> ::jacquard_lexicon::lexicon::Le defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("codeType"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("codeType"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -195,8 +195,8 @@ fn lexicon_doc_org_farmapps_temp_ecrop_defs() -> ::jacquard_lexicon::lexicon::Le ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("listId"), - ::jacquard_common::smol_str::SmolStr::new_static("code") + ::jacquard_common::deps::smol_str::SmolStr::new_static("listId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("code") ], ), nullable: None, @@ -204,7 +204,9 @@ fn lexicon_doc_org_farmapps_temp_ecrop_defs() -> ::jacquard_lexicon::lexicon::Le #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("code"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "code", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -221,7 +223,9 @@ fn lexicon_doc_org_farmapps_temp_ecrop_defs() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("listId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "listId", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/org_hyperboards/board.rs b/crates/jacquard-api/src/org_hyperboards/board.rs index 50d8187b1..b49a90081 100644 --- a/crates/jacquard-api/src/org_hyperboards/board.rs +++ b/crates/jacquard-api/src/org_hyperboards/board.rs @@ -368,7 +368,7 @@ fn lexicon_doc_org_hyperboards_board() -> ::jacquard_lexicon::lexicon::LexiconDo defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("boardConfig"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("boardConfig"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -381,7 +381,7 @@ fn lexicon_doc_org_hyperboards_board() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "aspectRatio", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -402,7 +402,7 @@ fn lexicon_doc_org_hyperboards_board() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "backgroundColor", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -423,7 +423,7 @@ fn lexicon_doc_org_hyperboards_board() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "backgroundGrayscale", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -433,7 +433,7 @@ fn lexicon_doc_org_hyperboards_board() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "backgroundIframeUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -456,7 +456,7 @@ fn lexicon_doc_org_hyperboards_board() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "backgroundImage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -473,7 +473,7 @@ fn lexicon_doc_org_hyperboards_board() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "backgroundOpacity", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -486,7 +486,7 @@ fn lexicon_doc_org_hyperboards_board() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "backgroundType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -507,7 +507,7 @@ fn lexicon_doc_org_hyperboards_board() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "borderColor", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -528,7 +528,7 @@ fn lexicon_doc_org_hyperboards_board() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "grayscaleImages", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -538,7 +538,7 @@ fn lexicon_doc_org_hyperboards_board() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "imageShape", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -563,7 +563,9 @@ fn lexicon_doc_org_hyperboards_board() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("contributorConfig"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "contributorConfig", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -572,7 +574,7 @@ fn lexicon_doc_org_hyperboards_board() -> ::jacquard_lexicon::lexicon::LexiconDo ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("contributor") + ::jacquard_common::deps::smol_str::SmolStr::new_static("contributor") ], ), nullable: None, @@ -580,7 +582,7 @@ fn lexicon_doc_org_hyperboards_board() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contributor", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -597,7 +599,7 @@ fn lexicon_doc_org_hyperboards_board() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "displayName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -618,7 +620,7 @@ fn lexicon_doc_org_hyperboards_board() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hoverIframeUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -641,7 +643,7 @@ fn lexicon_doc_org_hyperboards_board() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hoverImage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -658,7 +660,9 @@ fn lexicon_doc_org_hyperboards_board() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: Some( ::jacquard_common::CowStr::new_static( @@ -673,7 +677,9 @@ fn lexicon_doc_org_hyperboards_board() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("override"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "override", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -681,7 +687,9 @@ fn lexicon_doc_org_hyperboards_board() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -702,7 +710,9 @@ fn lexicon_doc_org_hyperboards_board() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("video"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "video", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: Some( ::jacquard_common::CowStr::new_static( @@ -721,7 +731,7 @@ fn lexicon_doc_org_hyperboards_board() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -733,8 +743,8 @@ fn lexicon_doc_org_hyperboards_board() -> ::jacquard_lexicon::lexicon::LexiconDo description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -742,14 +752,16 @@ fn lexicon_doc_org_hyperboards_board() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("config"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "config", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#boardConfig"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contributorConfigs", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -769,7 +781,7 @@ fn lexicon_doc_org_hyperboards_board() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -792,7 +804,9 @@ fn lexicon_doc_org_hyperboards_board() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -1195,7 +1209,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ContributorConfig<'a> { @@ -1318,7 +1332,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ContributorConfig<'a> { } if let Some(ref value) = self.display_name { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -1566,7 +1580,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Board<'a> { diff --git a/crates/jacquard-api/src/org_hyperboards/contributor.rs b/crates/jacquard-api/src/org_hyperboards/contributor.rs index 6aa6b14ad..53cfa77d7 100644 --- a/crates/jacquard-api/src/org_hyperboards/contributor.rs +++ b/crates/jacquard-api/src/org_hyperboards/contributor.rs @@ -54,37 +54,37 @@ pub mod contributor_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type ContributorRef; type CreatedAt; + type ContributorRef; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type ContributorRef = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `contributor_ref` field to Set - pub struct SetContributorRef(PhantomData S>); - impl sealed::Sealed for SetContributorRef {} - impl State for SetContributorRef { - type ContributorRef = Set; - type CreatedAt = S::CreatedAt; + type ContributorRef = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type ContributorRef = S::ContributorRef; type CreatedAt = Set; + type ContributorRef = S::ContributorRef; + } + ///State transition - sets the `contributor_ref` field to Set + pub struct SetContributorRef(PhantomData S>); + impl sealed::Sealed for SetContributorRef {} + impl State for SetContributorRef { + type CreatedAt = S::CreatedAt; + type ContributorRef = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `contributor_ref` field - pub struct contributor_ref(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `contributor_ref` field + pub struct contributor_ref(()); } } @@ -251,8 +251,8 @@ impl<'a, S: contributor_state::State> ContributorBuilder<'a, S> { impl<'a, S> ContributorBuilder<'a, S> where S: contributor_state::State, - S::ContributorRef: contributor_state::IsSet, S::CreatedAt: contributor_state::IsSet, + S::ContributorRef: contributor_state::IsSet, { /// Build the final struct pub fn build(self) -> Contributor<'a> { @@ -271,7 +271,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Contributor<'a> { @@ -377,7 +377,7 @@ fn lexicon_doc_org_hyperboards_contributor() -> ::jacquard_lexicon::lexicon::Lex defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -389,8 +389,8 @@ fn lexicon_doc_org_hyperboards_contributor() -> ::jacquard_lexicon::lexicon::Lex description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("contributorRef"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("contributorRef"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -398,7 +398,7 @@ fn lexicon_doc_org_hyperboards_contributor() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "circularImage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -408,7 +408,7 @@ fn lexicon_doc_org_hyperboards_contributor() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contributorRef", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -419,7 +419,7 @@ fn lexicon_doc_org_hyperboards_contributor() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -442,7 +442,7 @@ fn lexicon_doc_org_hyperboards_contributor() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hoverIframeUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -465,7 +465,7 @@ fn lexicon_doc_org_hyperboards_contributor() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hoverImageUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -488,7 +488,9 @@ fn lexicon_doc_org_hyperboards_contributor() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -509,7 +511,7 @@ fn lexicon_doc_org_hyperboards_contributor() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "videoUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/org_hyperboards/display_profile.rs b/crates/jacquard-api/src/org_hyperboards/display_profile.rs index 7f4ebed3b..952d63959 100644 --- a/crates/jacquard-api/src/org_hyperboards/display_profile.rs +++ b/crates/jacquard-api/src/org_hyperboards/display_profile.rs @@ -254,7 +254,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> DisplayProfile<'a> { @@ -416,7 +416,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for DisplayProfile<'a> { } if let Some(ref value) = self.display_name { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -471,7 +471,7 @@ fn lexicon_doc_org_hyperboards_displayProfile() -> ::jacquard_lexicon::lexicon:: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -483,7 +483,7 @@ fn lexicon_doc_org_hyperboards_displayProfile() -> ::jacquard_lexicon::lexicon:: description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -491,7 +491,7 @@ fn lexicon_doc_org_hyperboards_displayProfile() -> ::jacquard_lexicon::lexicon:: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -514,7 +514,7 @@ fn lexicon_doc_org_hyperboards_displayProfile() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "displayName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -535,7 +535,7 @@ fn lexicon_doc_org_hyperboards_displayProfile() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hoverIframeUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -558,7 +558,7 @@ fn lexicon_doc_org_hyperboards_displayProfile() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hoverImage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -575,7 +575,9 @@ fn lexicon_doc_org_hyperboards_displayProfile() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: Some( ::jacquard_common::CowStr::new_static( @@ -590,7 +592,9 @@ fn lexicon_doc_org_hyperboards_displayProfile() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -611,7 +615,9 @@ fn lexicon_doc_org_hyperboards_displayProfile() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("video"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "video", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/org_hypercerts.rs b/crates/jacquard-api/src/org_hypercerts.rs index ce008a0ca..028ef9501 100644 --- a/crates/jacquard-api/src/org_hypercerts.rs +++ b/crates/jacquard-api/src/org_hypercerts.rs @@ -124,7 +124,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> LargeBlob<'a> { @@ -146,7 +146,7 @@ fn lexicon_doc_org_hypercerts_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("largeBlob"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("largeBlob"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -154,14 +154,18 @@ fn lexicon_doc_org_hypercerts_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("blob")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("blob") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("blob"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "blob", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -173,7 +177,7 @@ fn lexicon_doc_org_hypercerts_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("largeImage"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("largeImage"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -181,14 +185,18 @@ fn lexicon_doc_org_hypercerts_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("image")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("image") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -200,7 +208,7 @@ fn lexicon_doc_org_hypercerts_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("smallBlob"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("smallBlob"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -208,14 +216,18 @@ fn lexicon_doc_org_hypercerts_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("blob")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("blob") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("blob"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "blob", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -227,7 +239,7 @@ fn lexicon_doc_org_hypercerts_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("smallImage"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("smallImage"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -235,14 +247,18 @@ fn lexicon_doc_org_hypercerts_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("image")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("image") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -254,7 +270,7 @@ fn lexicon_doc_org_hypercerts_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("smallVideo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("smallVideo"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -262,14 +278,18 @@ fn lexicon_doc_org_hypercerts_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("video")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("video") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("video"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "video", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -281,7 +301,7 @@ fn lexicon_doc_org_hypercerts_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -289,14 +309,18 @@ fn lexicon_doc_org_hypercerts_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("uri")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -454,7 +478,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> LargeImage<'a> { @@ -594,7 +618,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> SmallBlob<'a> { @@ -734,7 +758,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> SmallImage<'a> { @@ -874,7 +898,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> SmallVideo<'a> { @@ -1014,7 +1038,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Uri<'a> { diff --git a/crates/jacquard-api/src/org_hypercerts/claim/activity.rs b/crates/jacquard-api/src/org_hypercerts/claim/activity.rs index c22d6986c..948ad5043 100644 --- a/crates/jacquard-api/src/org_hypercerts/claim/activity.rs +++ b/crates/jacquard-api/src/org_hypercerts/claim/activity.rs @@ -166,7 +166,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Contributor<'a> { @@ -230,12 +230,12 @@ fn lexicon_doc_org_hypercerts_claim_activity() -> ::jacquard_lexicon::lexicon::L defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("contributor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("contributor"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("contributorIdentity") + ::jacquard_common::deps::smol_str::SmolStr::new_static("contributorIdentity") ], ), nullable: None, @@ -243,7 +243,7 @@ fn lexicon_doc_org_hypercerts_claim_activity() -> ::jacquard_lexicon::lexicon::L #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contributionDetails", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -260,7 +260,7 @@ fn lexicon_doc_org_hypercerts_claim_activity() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contributionWeight", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -281,7 +281,7 @@ fn lexicon_doc_org_hypercerts_claim_activity() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contributorIdentity", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -302,7 +302,9 @@ fn lexicon_doc_org_hypercerts_claim_activity() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("contributorIdentity"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "contributorIdentity", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -311,7 +313,7 @@ fn lexicon_doc_org_hypercerts_claim_activity() -> ::jacquard_lexicon::lexicon::L ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("identity") + ::jacquard_common::deps::smol_str::SmolStr::new_static("identity") ], ), nullable: None, @@ -319,7 +321,9 @@ fn lexicon_doc_org_hypercerts_claim_activity() -> ::jacquard_lexicon::lexicon::L #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("identity"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "identity", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -342,7 +346,9 @@ fn lexicon_doc_org_hypercerts_claim_activity() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("contributorRole"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "contributorRole", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -350,14 +356,18 @@ fn lexicon_doc_org_hypercerts_claim_activity() -> ::jacquard_lexicon::lexicon::L ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("role")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("role") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("role"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "role", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -380,7 +390,7 @@ fn lexicon_doc_org_hypercerts_claim_activity() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -392,9 +402,9 @@ fn lexicon_doc_org_hypercerts_claim_activity() -> ::jacquard_lexicon::lexicon::L description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("shortDescription"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("shortDescription"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -402,7 +412,7 @@ fn lexicon_doc_org_hypercerts_claim_activity() -> ::jacquard_lexicon::lexicon::L #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contributors", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -420,7 +430,7 @@ fn lexicon_doc_org_hypercerts_claim_activity() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -443,7 +453,7 @@ fn lexicon_doc_org_hypercerts_claim_activity() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -454,7 +464,9 @@ fn lexicon_doc_org_hypercerts_claim_activity() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("endDate"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "endDate", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("When the work ended"), @@ -473,7 +485,9 @@ fn lexicon_doc_org_hypercerts_claim_activity() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: Some( ::jacquard_common::CowStr::new_static( @@ -488,7 +502,7 @@ fn lexicon_doc_org_hypercerts_claim_activity() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "locations", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -508,7 +522,9 @@ fn lexicon_doc_org_hypercerts_claim_activity() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rights"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "rights", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -517,7 +533,7 @@ fn lexicon_doc_org_hypercerts_claim_activity() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "shortDescription", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -538,7 +554,7 @@ fn lexicon_doc_org_hypercerts_claim_activity() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "shortDescriptionFacets", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -558,7 +574,7 @@ fn lexicon_doc_org_hypercerts_claim_activity() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "startDate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -579,7 +595,9 @@ fn lexicon_doc_org_hypercerts_claim_activity() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -598,7 +616,7 @@ fn lexicon_doc_org_hypercerts_claim_activity() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "workScope", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -620,7 +638,9 @@ fn lexicon_doc_org_hypercerts_claim_activity() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("workScopeString"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "workScopeString", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -628,14 +648,18 @@ fn lexicon_doc_org_hypercerts_claim_activity() -> ::jacquard_lexicon::lexicon::L ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("scope")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("scope") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("scope"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "scope", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -739,7 +763,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ContributorIdentity<'a> { { let value = &self.identity; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -807,7 +831,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ContributorRole<'a> { { let value = &self.role; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -902,51 +926,51 @@ pub mod activity_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type ShortDescription; type Title; type CreatedAt; + type ShortDescription; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type ShortDescription = Unset; type Title = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `short_description` field to Set - pub struct SetShortDescription(PhantomData S>); - impl sealed::Sealed for SetShortDescription {} - impl State for SetShortDescription { - type ShortDescription = Set; - type Title = S::Title; - type CreatedAt = S::CreatedAt; + type ShortDescription = Unset; } ///State transition - sets the `title` field to Set pub struct SetTitle(PhantomData S>); impl sealed::Sealed for SetTitle {} impl State for SetTitle { - type ShortDescription = S::ShortDescription; type Title = Set; type CreatedAt = S::CreatedAt; + type ShortDescription = S::ShortDescription; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type ShortDescription = S::ShortDescription; type Title = S::Title; type CreatedAt = Set; + type ShortDescription = S::ShortDescription; + } + ///State transition - sets the `short_description` field to Set + pub struct SetShortDescription(PhantomData S>); + impl sealed::Sealed for SetShortDescription {} + impl State for SetShortDescription { + type Title = S::Title; + type CreatedAt = S::CreatedAt; + type ShortDescription = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `short_description` field - pub struct short_description(()); ///Marker type for the `title` field pub struct title(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `short_description` field + pub struct short_description(()); } } @@ -1233,9 +1257,9 @@ impl<'a, S: activity_state::State> ActivityBuilder<'a, S> { impl<'a, S> ActivityBuilder<'a, S> where S: activity_state::State, - S::ShortDescription: activity_state::IsSet, S::Title: activity_state::IsSet, S::CreatedAt: activity_state::IsSet, + S::ShortDescription: activity_state::IsSet, { /// Build the final struct pub fn build(self) -> Activity<'a> { @@ -1259,7 +1283,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Activity<'a> { @@ -1433,7 +1457,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Activity<'a> { { let value = &self.short_description; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -1514,7 +1538,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for WorkScopeString<'a> { { let value = &self.scope; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) diff --git a/crates/jacquard-api/src/org_hypercerts/claim/contribution.rs b/crates/jacquard-api/src/org_hypercerts/claim/contribution.rs index b3a9c7fa9..3035c3484 100644 --- a/crates/jacquard-api/src/org_hypercerts/claim/contribution.rs +++ b/crates/jacquard-api/src/org_hypercerts/claim/contribution.rs @@ -211,7 +211,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Contribution<'a> { @@ -314,7 +314,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Contribution<'a> { } if let Some(ref value) = self.contribution_description { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -357,7 +357,7 @@ fn lexicon_doc_org_hypercerts_claim_contribution() -> ::jacquard_lexicon::lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -369,7 +369,7 @@ fn lexicon_doc_org_hypercerts_claim_contribution() -> ::jacquard_lexicon::lexico description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -377,7 +377,7 @@ fn lexicon_doc_org_hypercerts_claim_contribution() -> ::jacquard_lexicon::lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contributionDescription", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -398,7 +398,7 @@ fn lexicon_doc_org_hypercerts_claim_contribution() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -421,7 +421,9 @@ fn lexicon_doc_org_hypercerts_claim_contribution() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("endDate"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "endDate", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -442,7 +444,9 @@ fn lexicon_doc_org_hypercerts_claim_contribution() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("role"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "role", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -461,7 +465,7 @@ fn lexicon_doc_org_hypercerts_claim_contribution() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "startDate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { 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 552642e3f..2c158bd4f 100644 --- a/crates/jacquard-api/src/org_hypercerts/claim/contributor_information.rs +++ b/crates/jacquard-api/src/org_hypercerts/claim/contributor_information.rs @@ -197,7 +197,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ContributorInformation<'a> { @@ -345,7 +345,7 @@ fn lexicon_doc_org_hypercerts_claim_contributorInformation() -> ::jacquard_lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -357,7 +357,7 @@ fn lexicon_doc_org_hypercerts_claim_contributorInformation() -> ::jacquard_lexic description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -365,7 +365,7 @@ fn lexicon_doc_org_hypercerts_claim_contributorInformation() -> ::jacquard_lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -388,7 +388,7 @@ fn lexicon_doc_org_hypercerts_claim_contributorInformation() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "displayName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -409,7 +409,7 @@ fn lexicon_doc_org_hypercerts_claim_contributorInformation() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "identifier", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -430,7 +430,9 @@ fn lexicon_doc_org_hypercerts_claim_contributorInformation() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/org_hypercerts/claim/rights.rs b/crates/jacquard-api/src/org_hypercerts/claim/rights.rs index a260978fb..0e175a01f 100644 --- a/crates/jacquard-api/src/org_hypercerts/claim/rights.rs +++ b/crates/jacquard-api/src/org_hypercerts/claim/rights.rs @@ -46,66 +46,66 @@ pub mod rights_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type RightsType; - type CreatedAt; type RightsName; type RightsDescription; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type RightsType = Unset; - type CreatedAt = Unset; type RightsName = Unset; type RightsDescription = Unset; + type CreatedAt = Unset; } ///State transition - sets the `rights_type` field to Set pub struct SetRightsType(PhantomData S>); impl sealed::Sealed for SetRightsType {} impl State for SetRightsType { type RightsType = Set; - type CreatedAt = S::CreatedAt; - type RightsName = S::RightsName; - type RightsDescription = S::RightsDescription; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type RightsType = S::RightsType; - type CreatedAt = Set; type RightsName = S::RightsName; type RightsDescription = S::RightsDescription; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `rights_name` field to Set pub struct SetRightsName(PhantomData S>); impl sealed::Sealed for SetRightsName {} impl State for SetRightsName { type RightsType = S::RightsType; - type CreatedAt = S::CreatedAt; type RightsName = Set; type RightsDescription = S::RightsDescription; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `rights_description` field to Set pub struct SetRightsDescription(PhantomData S>); impl sealed::Sealed for SetRightsDescription {} impl State for SetRightsDescription { type RightsType = S::RightsType; - type CreatedAt = S::CreatedAt; type RightsName = S::RightsName; type RightsDescription = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type RightsType = S::RightsType; + type RightsName = S::RightsName; + type RightsDescription = S::RightsDescription; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `rights_type` field pub struct rights_type(()); - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `rights_name` field pub struct rights_name(()); ///Marker type for the `rights_description` field pub struct rights_description(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -233,9 +233,9 @@ impl<'a, S> RightsBuilder<'a, S> where S: rights_state::State, S::RightsType: rights_state::IsSet, - S::CreatedAt: rights_state::IsSet, S::RightsName: rights_state::IsSet, S::RightsDescription: rights_state::IsSet, + S::CreatedAt: rights_state::IsSet, { /// Build the final struct pub fn build(self) -> Rights<'a> { @@ -252,7 +252,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Rights<'a> { @@ -376,7 +376,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Rights<'a> { { let value = &self.rights_description; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -433,7 +433,7 @@ fn lexicon_doc_org_hypercerts_claim_rights() -> ::jacquard_lexicon::lexicon::Lex defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -445,10 +445,10 @@ fn lexicon_doc_org_hypercerts_claim_rights() -> ::jacquard_lexicon::lexicon::Lex description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("rightsName"), - ::jacquard_common::smol_str::SmolStr::new_static("rightsType"), - ::jacquard_common::smol_str::SmolStr::new_static("rightsDescription"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("rightsName"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("rightsType"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("rightsDescription"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -456,7 +456,7 @@ fn lexicon_doc_org_hypercerts_claim_rights() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "attachment", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -473,7 +473,7 @@ fn lexicon_doc_org_hypercerts_claim_rights() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -496,7 +496,7 @@ fn lexicon_doc_org_hypercerts_claim_rights() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "rightsDescription", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -517,7 +517,7 @@ fn lexicon_doc_org_hypercerts_claim_rights() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "rightsName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -538,7 +538,7 @@ fn lexicon_doc_org_hypercerts_claim_rights() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "rightsType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/org_hypercerts/collection.rs b/crates/jacquard-api/src/org_hypercerts/collection.rs index eae084a56..1e8b97ca2 100644 --- a/crates/jacquard-api/src/org_hypercerts/collection.rs +++ b/crates/jacquard-api/src/org_hypercerts/collection.rs @@ -141,7 +141,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Item<'a> { @@ -164,12 +164,12 @@ fn lexicon_doc_org_hypercerts_collection() -> ::jacquard_lexicon::lexicon::Lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("item"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("item"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("itemIdentifier") + ::jacquard_common::deps::smol_str::SmolStr::new_static("itemIdentifier") ], ), nullable: None, @@ -177,7 +177,7 @@ fn lexicon_doc_org_hypercerts_collection() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "itemIdentifier", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -188,7 +188,7 @@ fn lexicon_doc_org_hypercerts_collection() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "itemWeight", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -213,7 +213,7 @@ fn lexicon_doc_org_hypercerts_collection() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -225,8 +225,8 @@ fn lexicon_doc_org_hypercerts_collection() -> ::jacquard_lexicon::lexicon::Lexic description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -234,7 +234,9 @@ fn lexicon_doc_org_hypercerts_collection() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("avatar"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "avatar", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: Some( ::jacquard_common::CowStr::new_static( @@ -249,7 +251,9 @@ fn lexicon_doc_org_hypercerts_collection() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("banner"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "banner", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: Some( ::jacquard_common::CowStr::new_static( @@ -264,7 +268,7 @@ fn lexicon_doc_org_hypercerts_collection() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -287,7 +291,7 @@ fn lexicon_doc_org_hypercerts_collection() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -298,7 +302,9 @@ fn lexicon_doc_org_hypercerts_collection() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("items"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "items", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -314,7 +320,7 @@ fn lexicon_doc_org_hypercerts_collection() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "location", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -325,7 +331,7 @@ fn lexicon_doc_org_hypercerts_collection() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "shortDescription", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -346,7 +352,9 @@ fn lexicon_doc_org_hypercerts_collection() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -365,7 +373,9 @@ fn lexicon_doc_org_hypercerts_collection() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "type", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -748,7 +758,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Collection<'a> { @@ -905,7 +915,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Collection<'a> { } if let Some(ref value) = self.short_description { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -937,7 +947,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Collection<'a> { { let value = &self.title; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) diff --git a/crates/jacquard-api/src/org_hypercerts/context/acknowledgement.rs b/crates/jacquard-api/src/org_hypercerts/context/acknowledgement.rs index da3fc0ee2..0f1e5c359 100644 --- a/crates/jacquard-api/src/org_hypercerts/context/acknowledgement.rs +++ b/crates/jacquard-api/src/org_hypercerts/context/acknowledgement.rs @@ -235,7 +235,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Acknowledgement<'a> { @@ -357,7 +357,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Acknowledgement<'a> { } if let Some(ref value) = self.comment { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -390,7 +390,7 @@ fn lexicon_doc_org_hypercerts_context_acknowledgement() -> ::jacquard_lexicon::l defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -402,9 +402,9 @@ fn lexicon_doc_org_hypercerts_context_acknowledgement() -> ::jacquard_lexicon::l description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("acknowledged"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("acknowledged"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -412,7 +412,7 @@ fn lexicon_doc_org_hypercerts_context_acknowledgement() -> ::jacquard_lexicon::l #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "acknowledged", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -422,7 +422,9 @@ fn lexicon_doc_org_hypercerts_context_acknowledgement() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "comment", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -441,7 +443,9 @@ fn lexicon_doc_org_hypercerts_context_acknowledgement() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("context"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "context", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: Some( ::jacquard_common::CowStr::new_static( @@ -456,7 +460,7 @@ fn lexicon_doc_org_hypercerts_context_acknowledgement() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -479,7 +483,9 @@ fn lexicon_doc_org_hypercerts_context_acknowledgement() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/org_hypercerts/context/attachment.rs b/crates/jacquard-api/src/org_hypercerts/context/attachment.rs index f8b853bbd..bd91ffc93 100644 --- a/crates/jacquard-api/src/org_hypercerts/context/attachment.rs +++ b/crates/jacquard-api/src/org_hypercerts/context/attachment.rs @@ -352,7 +352,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Attachment<'a> { @@ -502,7 +502,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Attachment<'a> { } if let Some(ref value) = self.short_description { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -558,7 +558,7 @@ fn lexicon_doc_org_hypercerts_context_attachment() -> ::jacquard_lexicon::lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -570,8 +570,8 @@ fn lexicon_doc_org_hypercerts_context_attachment() -> ::jacquard_lexicon::lexico description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -579,7 +579,9 @@ fn lexicon_doc_org_hypercerts_context_attachment() -> ::jacquard_lexicon::lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "content", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -599,7 +601,7 @@ fn lexicon_doc_org_hypercerts_context_attachment() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -620,7 +622,7 @@ fn lexicon_doc_org_hypercerts_context_attachment() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -643,7 +645,7 @@ fn lexicon_doc_org_hypercerts_context_attachment() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -654,7 +656,7 @@ fn lexicon_doc_org_hypercerts_context_attachment() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "location", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -665,7 +667,7 @@ fn lexicon_doc_org_hypercerts_context_attachment() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "shortDescription", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -686,7 +688,7 @@ fn lexicon_doc_org_hypercerts_context_attachment() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "shortDescriptionFacets", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -706,7 +708,7 @@ fn lexicon_doc_org_hypercerts_context_attachment() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjects", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -726,7 +728,9 @@ fn lexicon_doc_org_hypercerts_context_attachment() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/org_hypercerts/context/evaluation.rs b/crates/jacquard-api/src/org_hypercerts/context/evaluation.rs index 0dcdc53b2..c9bf80ae8 100644 --- a/crates/jacquard-api/src/org_hypercerts/context/evaluation.rs +++ b/crates/jacquard-api/src/org_hypercerts/context/evaluation.rs @@ -66,51 +66,51 @@ pub mod evaluation_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; - type Summary; type Evaluators; + type Summary; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; - type Summary = Unset; type Evaluators = Unset; + type Summary = Unset; + type CreatedAt = Unset; } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; + ///State transition - sets the `evaluators` field to Set + pub struct SetEvaluators(PhantomData S>); + impl sealed::Sealed for SetEvaluators {} + impl State for SetEvaluators { + type Evaluators = Set; type Summary = S::Summary; - type Evaluators = S::Evaluators; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `summary` field to Set pub struct SetSummary(PhantomData S>); impl sealed::Sealed for SetSummary {} impl State for SetSummary { - type CreatedAt = S::CreatedAt; - type Summary = Set; type Evaluators = S::Evaluators; - } - ///State transition - sets the `evaluators` field to Set - pub struct SetEvaluators(PhantomData S>); - impl sealed::Sealed for SetEvaluators {} - impl State for SetEvaluators { + type Summary = Set; type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Evaluators = S::Evaluators; type Summary = S::Summary; - type Evaluators = Set; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); - ///Marker type for the `summary` field - pub struct summary(()); ///Marker type for the `evaluators` field pub struct evaluators(()); + ///Marker type for the `summary` field + pub struct summary(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -305,9 +305,9 @@ where impl<'a, S> EvaluationBuilder<'a, S> where S: evaluation_state::State, - S::CreatedAt: evaluation_state::IsSet, - S::Summary: evaluation_state::IsSet, S::Evaluators: evaluation_state::IsSet, + S::Summary: evaluation_state::IsSet, + S::CreatedAt: evaluation_state::IsSet, { /// Build the final struct pub fn build(self) -> Evaluation<'a> { @@ -327,7 +327,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Evaluation<'a> { @@ -491,7 +491,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Evaluation<'a> { { let value = &self.summary; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -522,7 +522,7 @@ fn lexicon_doc_org_hypercerts_context_evaluation() -> ::jacquard_lexicon::lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -534,9 +534,9 @@ fn lexicon_doc_org_hypercerts_context_evaluation() -> ::jacquard_lexicon::lexico description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("evaluators"), - ::jacquard_common::smol_str::SmolStr::new_static("summary"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("evaluators"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("summary"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -544,7 +544,9 @@ fn lexicon_doc_org_hypercerts_context_evaluation() -> ::jacquard_lexicon::lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "content", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -564,7 +566,7 @@ fn lexicon_doc_org_hypercerts_context_evaluation() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -587,7 +589,7 @@ fn lexicon_doc_org_hypercerts_context_evaluation() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "evaluators", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -607,7 +609,7 @@ fn lexicon_doc_org_hypercerts_context_evaluation() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "location", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -618,7 +620,7 @@ fn lexicon_doc_org_hypercerts_context_evaluation() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "measurements", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -638,14 +640,18 @@ fn lexicon_doc_org_hypercerts_context_evaluation() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("score"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "score", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#score"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -654,7 +660,9 @@ fn lexicon_doc_org_hypercerts_context_evaluation() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("summary"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "summary", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -678,7 +686,7 @@ fn lexicon_doc_org_hypercerts_context_evaluation() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("score"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("score"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -687,9 +695,9 @@ fn lexicon_doc_org_hypercerts_context_evaluation() -> ::jacquard_lexicon::lexico ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("min"), - ::jacquard_common::smol_str::SmolStr::new_static("max"), - ::jacquard_common::smol_str::SmolStr::new_static("value") + ::jacquard_common::deps::smol_str::SmolStr::new_static("min"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("max"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("value") ], ), nullable: None, @@ -697,7 +705,9 @@ fn lexicon_doc_org_hypercerts_context_evaluation() -> ::jacquard_lexicon::lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("max"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "max", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -708,7 +718,9 @@ fn lexicon_doc_org_hypercerts_context_evaluation() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("min"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "min", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -719,7 +731,9 @@ fn lexicon_doc_org_hypercerts_context_evaluation() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("value"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "value", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -769,49 +783,49 @@ pub mod score_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Min; type Max; + type Min; type Value; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Min = Unset; type Max = Unset; + type Min = Unset; type Value = Unset; } - ///State transition - sets the `min` field to Set - pub struct SetMin(PhantomData S>); - impl sealed::Sealed for SetMin {} - impl State for SetMin { - type Min = Set; - type Max = S::Max; - type Value = S::Value; - } ///State transition - sets the `max` field to Set pub struct SetMax(PhantomData S>); impl sealed::Sealed for SetMax {} impl State for SetMax { - type Min = S::Min; type Max = Set; + type Min = S::Min; + type Value = S::Value; + } + ///State transition - sets the `min` field to Set + pub struct SetMin(PhantomData S>); + impl sealed::Sealed for SetMin {} + impl State for SetMin { + type Max = S::Max; + type Min = Set; type Value = S::Value; } ///State transition - sets the `value` field to Set pub struct SetValue(PhantomData S>); impl sealed::Sealed for SetValue {} impl State for SetValue { - type Min = S::Min; type Max = S::Max; + type Min = S::Min; type Value = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `min` field - pub struct min(()); ///Marker type for the `max` field pub struct max(()); + ///Marker type for the `min` field + pub struct min(()); ///Marker type for the `value` field pub struct value(()); } @@ -906,8 +920,8 @@ where impl<'a, S> ScoreBuilder<'a, S> where S: score_state::State, - S::Min: score_state::IsSet, S::Max: score_state::IsSet, + S::Min: score_state::IsSet, S::Value: score_state::IsSet, { /// Build the final struct @@ -923,7 +937,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Score<'a> { diff --git a/crates/jacquard-api/src/org_hypercerts/context/measurement.rs b/crates/jacquard-api/src/org_hypercerts/context/measurement.rs index d9ff1b8dd..eda7cbeac 100644 --- a/crates/jacquard-api/src/org_hypercerts/context/measurement.rs +++ b/crates/jacquard-api/src/org_hypercerts/context/measurement.rs @@ -86,66 +86,66 @@ pub mod measurement_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Value; - type Metric; - type Unit; type CreatedAt; + type Unit; + type Metric; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Value = Unset; - type Metric = Unset; - type Unit = Unset; type CreatedAt = Unset; + type Unit = Unset; + type Metric = Unset; } ///State transition - sets the `value` field to Set pub struct SetValue(PhantomData S>); impl sealed::Sealed for SetValue {} impl State for SetValue { type Value = Set; - type Metric = S::Metric; - type Unit = S::Unit; type CreatedAt = S::CreatedAt; + type Unit = S::Unit; + type Metric = S::Metric; } - ///State transition - sets the `metric` field to Set - pub struct SetMetric(PhantomData S>); - impl sealed::Sealed for SetMetric {} - impl State for SetMetric { + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { type Value = S::Value; - type Metric = Set; + type CreatedAt = Set; type Unit = S::Unit; - type CreatedAt = S::CreatedAt; + type Metric = S::Metric; } ///State transition - sets the `unit` field to Set pub struct SetUnit(PhantomData S>); impl sealed::Sealed for SetUnit {} impl State for SetUnit { type Value = S::Value; - type Metric = S::Metric; - type Unit = Set; type CreatedAt = S::CreatedAt; + type Unit = Set; + type Metric = S::Metric; } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { + ///State transition - sets the `metric` field to Set + pub struct SetMetric(PhantomData S>); + impl sealed::Sealed for SetMetric {} + impl State for SetMetric { type Value = S::Value; - type Metric = S::Metric; + type CreatedAt = S::CreatedAt; type Unit = S::Unit; - type CreatedAt = Set; + type Metric = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `value` field pub struct value(()); - ///Marker type for the `metric` field - pub struct metric(()); - ///Marker type for the `unit` field - pub struct unit(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `unit` field + pub struct unit(()); + ///Marker type for the `metric` field + pub struct metric(()); } } @@ -475,9 +475,9 @@ impl<'a, S> MeasurementBuilder<'a, S> where S: measurement_state::State, S::Value: measurement_state::IsSet, - S::Metric: measurement_state::IsSet, - S::Unit: measurement_state::IsSet, S::CreatedAt: measurement_state::IsSet, + S::Unit: measurement_state::IsSet, + S::Metric: measurement_state::IsSet, { /// Build the final struct pub fn build(self) -> Measurement<'a> { @@ -503,7 +503,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Measurement<'a> { @@ -615,7 +615,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Measurement<'a> { } if let Some(ref value) = self.comment { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -745,7 +745,7 @@ fn lexicon_doc_org_hypercerts_context_measurement() -> ::jacquard_lexicon::lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -757,10 +757,10 @@ fn lexicon_doc_org_hypercerts_context_measurement() -> ::jacquard_lexicon::lexic description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("metric"), - ::jacquard_common::smol_str::SmolStr::new_static("unit"), - ::jacquard_common::smol_str::SmolStr::new_static("value"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("metric"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("unit"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("value"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -768,7 +768,9 @@ fn lexicon_doc_org_hypercerts_context_measurement() -> ::jacquard_lexicon::lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "comment", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -787,7 +789,7 @@ fn lexicon_doc_org_hypercerts_context_measurement() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "commentFacets", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -807,7 +809,7 @@ fn lexicon_doc_org_hypercerts_context_measurement() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -830,7 +832,9 @@ fn lexicon_doc_org_hypercerts_context_measurement() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("endDate"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "endDate", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -851,7 +855,7 @@ fn lexicon_doc_org_hypercerts_context_measurement() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "evidenceURI", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -879,7 +883,7 @@ fn lexicon_doc_org_hypercerts_context_measurement() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "locations", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -899,7 +903,7 @@ fn lexicon_doc_org_hypercerts_context_measurement() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "measurers", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -919,7 +923,7 @@ fn lexicon_doc_org_hypercerts_context_measurement() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "methodType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -940,7 +944,7 @@ fn lexicon_doc_org_hypercerts_context_measurement() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "methodURI", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -963,7 +967,9 @@ fn lexicon_doc_org_hypercerts_context_measurement() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("metric"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "metric", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -982,7 +988,7 @@ fn lexicon_doc_org_hypercerts_context_measurement() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "startDate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1005,7 +1011,7 @@ fn lexicon_doc_org_hypercerts_context_measurement() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjects", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -1025,7 +1031,9 @@ fn lexicon_doc_org_hypercerts_context_measurement() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("unit"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "unit", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1044,7 +1052,9 @@ fn lexicon_doc_org_hypercerts_context_measurement() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("value"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "value", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/org_hypercerts/funding/receipt.rs b/crates/jacquard-api/src/org_hypercerts/funding/receipt.rs index ca194659e..ff30db408 100644 --- a/crates/jacquard-api/src/org_hypercerts/funding/receipt.rs +++ b/crates/jacquard-api/src/org_hypercerts/funding/receipt.rs @@ -67,85 +67,85 @@ pub mod receipt_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type To; type Amount; - type CreatedAt; - type Currency; + type To; type From; + type Currency; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type To = Unset; type Amount = Unset; - type CreatedAt = Unset; - type Currency = Unset; + type To = Unset; type From = Unset; - } - ///State transition - sets the `to` field to Set - pub struct SetTo(PhantomData S>); - impl sealed::Sealed for SetTo {} - impl State for SetTo { - type To = Set; - type Amount = S::Amount; - type CreatedAt = S::CreatedAt; - type Currency = S::Currency; - type From = S::From; + type Currency = Unset; + type CreatedAt = Unset; } ///State transition - sets the `amount` field to Set pub struct SetAmount(PhantomData S>); impl sealed::Sealed for SetAmount {} impl State for SetAmount { - type To = S::To; type Amount = Set; - type CreatedAt = S::CreatedAt; + type To = S::To; + type From = S::From; type Currency = S::Currency; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `to` field to Set + pub struct SetTo(PhantomData S>); + impl sealed::Sealed for SetTo {} + impl State for SetTo { + type Amount = S::Amount; + type To = Set; type From = S::From; + type Currency = S::Currency; + type CreatedAt = S::CreatedAt; } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type To = S::To; + ///State transition - sets the `from` field to Set + pub struct SetFrom(PhantomData S>); + impl sealed::Sealed for SetFrom {} + impl State for SetFrom { type Amount = S::Amount; - type CreatedAt = Set; + type To = S::To; + type From = Set; type Currency = S::Currency; - type From = S::From; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `currency` field to Set pub struct SetCurrency(PhantomData S>); impl sealed::Sealed for SetCurrency {} impl State for SetCurrency { - type To = S::To; type Amount = S::Amount; - type CreatedAt = S::CreatedAt; - type Currency = Set; + type To = S::To; type From = S::From; + type Currency = Set; + type CreatedAt = S::CreatedAt; } - ///State transition - sets the `from` field to Set - pub struct SetFrom(PhantomData S>); - impl sealed::Sealed for SetFrom {} - impl State for SetFrom { - type To = S::To; + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { type Amount = S::Amount; - type CreatedAt = S::CreatedAt; + type To = S::To; + type From = S::From; type Currency = S::Currency; - type From = Set; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `to` field - pub struct to(()); ///Marker type for the `amount` field pub struct amount(()); - ///Marker type for the `created_at` field - pub struct created_at(()); - ///Marker type for the `currency` field - pub struct currency(()); + ///Marker type for the `to` field + pub struct to(()); ///Marker type for the `from` field pub struct from(()); + ///Marker type for the `currency` field + pub struct currency(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -407,11 +407,11 @@ impl<'a, S: receipt_state::State> ReceiptBuilder<'a, S> { impl<'a, S> ReceiptBuilder<'a, S> where S: receipt_state::State, - S::To: receipt_state::IsSet, S::Amount: receipt_state::IsSet, - S::CreatedAt: receipt_state::IsSet, - S::Currency: receipt_state::IsSet, + S::To: receipt_state::IsSet, S::From: receipt_state::IsSet, + S::Currency: receipt_state::IsSet, + S::CreatedAt: receipt_state::IsSet, { /// Build the final struct pub fn build(self) -> Receipt<'a> { @@ -434,7 +434,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Receipt<'a> { @@ -631,7 +631,7 @@ fn lexicon_doc_org_hypercerts_funding_receipt() -> ::jacquard_lexicon::lexicon:: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -643,11 +643,11 @@ fn lexicon_doc_org_hypercerts_funding_receipt() -> ::jacquard_lexicon::lexicon:: description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("from"), - ::jacquard_common::smol_str::SmolStr::new_static("to"), - ::jacquard_common::smol_str::SmolStr::new_static("amount"), - ::jacquard_common::smol_str::SmolStr::new_static("currency"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("from"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("to"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("amount"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("currency"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -655,7 +655,9 @@ fn lexicon_doc_org_hypercerts_funding_receipt() -> ::jacquard_lexicon::lexicon:: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("amount"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "amount", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -674,7 +676,7 @@ fn lexicon_doc_org_hypercerts_funding_receipt() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -697,7 +699,7 @@ fn lexicon_doc_org_hypercerts_funding_receipt() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "currency", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -718,7 +720,9 @@ fn lexicon_doc_org_hypercerts_funding_receipt() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("for"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "for", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -739,7 +743,9 @@ fn lexicon_doc_org_hypercerts_funding_receipt() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("from"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "from", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -748,7 +754,9 @@ fn lexicon_doc_org_hypercerts_funding_receipt() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("notes"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "notes", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -767,7 +775,7 @@ fn lexicon_doc_org_hypercerts_funding_receipt() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "occurredAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -790,7 +798,7 @@ fn lexicon_doc_org_hypercerts_funding_receipt() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "paymentNetwork", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -811,7 +819,7 @@ fn lexicon_doc_org_hypercerts_funding_receipt() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "paymentRail", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -832,7 +840,9 @@ fn lexicon_doc_org_hypercerts_funding_receipt() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("to"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "to", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -851,7 +861,7 @@ fn lexicon_doc_org_hypercerts_funding_receipt() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "transactionId", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { 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 c3ecf5c09..348aa43e7 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 @@ -314,7 +314,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> WorkScopeTag<'a> { @@ -451,7 +451,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for WorkScopeTag<'a> { } if let Some(ref value) = self.description { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -520,7 +520,7 @@ fn lexicon_doc_org_hypercerts_helper_workScopeTag() -> ::jacquard_lexicon::lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -532,9 +532,9 @@ fn lexicon_doc_org_hypercerts_helper_workScopeTag() -> ::jacquard_lexicon::lexic description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("createdAt"), - ::jacquard_common::smol_str::SmolStr::new_static("key"), - ::jacquard_common::smol_str::SmolStr::new_static("label") + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("key"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("label") ], ), nullable: None, @@ -542,7 +542,9 @@ fn lexicon_doc_org_hypercerts_helper_workScopeTag() -> ::jacquard_lexicon::lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("aliases"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "aliases", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -566,7 +568,7 @@ fn lexicon_doc_org_hypercerts_helper_workScopeTag() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -589,7 +591,7 @@ fn lexicon_doc_org_hypercerts_helper_workScopeTag() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -610,7 +612,7 @@ fn lexicon_doc_org_hypercerts_helper_workScopeTag() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "externalReference", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -627,7 +629,9 @@ fn lexicon_doc_org_hypercerts_helper_workScopeTag() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("key"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "key", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -646,7 +650,9 @@ fn lexicon_doc_org_hypercerts_helper_workScopeTag() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("kind"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "kind", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -665,7 +671,9 @@ fn lexicon_doc_org_hypercerts_helper_workScopeTag() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("label"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "label", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -684,7 +692,9 @@ fn lexicon_doc_org_hypercerts_helper_workScopeTag() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("parent"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "parent", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/org_hypercerts/workscope/cel.rs b/crates/jacquard-api/src/org_hypercerts/workscope/cel.rs index 795007d63..ba71f743d 100644 --- a/crates/jacquard-api/src/org_hypercerts/workscope/cel.rs +++ b/crates/jacquard-api/src/org_hypercerts/workscope/cel.rs @@ -41,67 +41,67 @@ pub mod cel_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type UsedTags; + type Expression; type CreatedAt; type Version; - type Expression; + type UsedTags; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type UsedTags = Unset; + type Expression = Unset; type CreatedAt = Unset; type Version = Unset; - type Expression = Unset; + type UsedTags = Unset; } - ///State transition - sets the `used_tags` field to Set - pub struct SetUsedTags(PhantomData S>); - impl sealed::Sealed for SetUsedTags {} - impl State for SetUsedTags { - type UsedTags = Set; + ///State transition - sets the `expression` field to Set + pub struct SetExpression(PhantomData S>); + impl sealed::Sealed for SetExpression {} + impl State for SetExpression { + type Expression = Set; type CreatedAt = S::CreatedAt; type Version = S::Version; - type Expression = S::Expression; + type UsedTags = S::UsedTags; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type UsedTags = S::UsedTags; + type Expression = S::Expression; type CreatedAt = Set; type Version = S::Version; - type Expression = S::Expression; + type UsedTags = S::UsedTags; } ///State transition - sets the `version` field to Set pub struct SetVersion(PhantomData S>); impl sealed::Sealed for SetVersion {} impl State for SetVersion { - type UsedTags = S::UsedTags; + type Expression = S::Expression; type CreatedAt = S::CreatedAt; type Version = Set; - type Expression = S::Expression; - } - ///State transition - sets the `expression` field to Set - pub struct SetExpression(PhantomData S>); - impl sealed::Sealed for SetExpression {} - impl State for SetExpression { type UsedTags = S::UsedTags; + } + ///State transition - sets the `used_tags` field to Set + pub struct SetUsedTags(PhantomData S>); + impl sealed::Sealed for SetUsedTags {} + impl State for SetUsedTags { + type Expression = S::Expression; type CreatedAt = S::CreatedAt; type Version = S::Version; - type Expression = Set; + type UsedTags = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `used_tags` field - pub struct used_tags(()); + ///Marker type for the `expression` field + pub struct expression(()); ///Marker type for the `created_at` field pub struct created_at(()); ///Marker type for the `version` field pub struct version(()); - ///Marker type for the `expression` field - pub struct expression(()); + ///Marker type for the `used_tags` field + pub struct used_tags(()); } } @@ -214,10 +214,10 @@ where impl<'a, S> CelBuilder<'a, S> where S: cel_state::State, - S::UsedTags: cel_state::IsSet, + S::Expression: cel_state::IsSet, S::CreatedAt: cel_state::IsSet, S::Version: cel_state::IsSet, - S::Expression: cel_state::IsSet, + S::UsedTags: cel_state::IsSet, { /// Build the final struct pub fn build(self) -> Cel<'a> { @@ -233,7 +233,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Cel<'a> { @@ -342,7 +342,7 @@ fn lexicon_doc_org_hypercerts_workscope_cel() -> ::jacquard_lexicon::lexicon::Le defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -351,10 +351,10 @@ fn lexicon_doc_org_hypercerts_workscope_cel() -> ::jacquard_lexicon::lexicon::Le ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("expression"), - ::jacquard_common::smol_str::SmolStr::new_static("usedTags"), - ::jacquard_common::smol_str::SmolStr::new_static("version"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("expression"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("usedTags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("version"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -362,7 +362,7 @@ fn lexicon_doc_org_hypercerts_workscope_cel() -> ::jacquard_lexicon::lexicon::Le #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -385,7 +385,7 @@ fn lexicon_doc_org_hypercerts_workscope_cel() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "expression", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -406,7 +406,9 @@ fn lexicon_doc_org_hypercerts_workscope_cel() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("usedTags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "usedTags", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -424,7 +426,9 @@ fn lexicon_doc_org_hypercerts_workscope_cel() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("version"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "version", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -480,7 +484,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Cel<'a> { { let value = &self.expression; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) diff --git a/crates/jacquard-api/src/org_hypercerts/workscope/tag.rs b/crates/jacquard-api/src/org_hypercerts/workscope/tag.rs index ae176fadd..b9058c382 100644 --- a/crates/jacquard-api/src/org_hypercerts/workscope/tag.rs +++ b/crates/jacquard-api/src/org_hypercerts/workscope/tag.rs @@ -394,7 +394,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Tag<'a> { @@ -739,7 +739,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Tag<'a> { } if let Some(ref value) = self.description { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -820,7 +820,7 @@ fn lexicon_doc_org_hypercerts_workscope_tag() -> ::jacquard_lexicon::lexicon::Le defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -832,9 +832,9 @@ fn lexicon_doc_org_hypercerts_workscope_tag() -> ::jacquard_lexicon::lexicon::Le description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("key"), - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("key"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -842,7 +842,9 @@ fn lexicon_doc_org_hypercerts_workscope_tag() -> ::jacquard_lexicon::lexicon::Le #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("aliases"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "aliases", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -866,7 +868,7 @@ fn lexicon_doc_org_hypercerts_workscope_tag() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "category", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -887,7 +889,7 @@ fn lexicon_doc_org_hypercerts_workscope_tag() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -910,7 +912,7 @@ fn lexicon_doc_org_hypercerts_workscope_tag() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -931,7 +933,9 @@ fn lexicon_doc_org_hypercerts_workscope_tag() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("key"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "key", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -950,7 +954,9 @@ fn lexicon_doc_org_hypercerts_workscope_tag() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -969,7 +975,9 @@ fn lexicon_doc_org_hypercerts_workscope_tag() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("parent"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "parent", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -978,7 +986,7 @@ fn lexicon_doc_org_hypercerts_workscope_tag() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "referenceDocument", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -995,7 +1003,9 @@ fn lexicon_doc_org_hypercerts_workscope_tag() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sameAs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -1021,7 +1031,9 @@ fn lexicon_doc_org_hypercerts_workscope_tag() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("status"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "status", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1040,7 +1052,7 @@ fn lexicon_doc_org_hypercerts_workscope_tag() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "supersededBy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { diff --git a/crates/jacquard-api/src/org_impactindexer/link/attestation.rs b/crates/jacquard-api/src/org_impactindexer/link/attestation.rs index 8c2cf4c41..84c1137ed 100644 --- a/crates/jacquard-api/src/org_impactindexer/link/attestation.rs +++ b/crates/jacquard-api/src/org_impactindexer/link/attestation.rs @@ -47,7 +47,7 @@ fn lexicon_doc_org_impactindexer_link_attestation() -> ::jacquard_lexicon::lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("eip712Message"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("eip712Message"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -56,11 +56,11 @@ fn lexicon_doc_org_impactindexer_link_attestation() -> ::jacquard_lexicon::lexic ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("did"), - ::jacquard_common::smol_str::SmolStr::new_static("evmAddress"), - ::jacquard_common::smol_str::SmolStr::new_static("chainId"), - ::jacquard_common::smol_str::SmolStr::new_static("timestamp"), - ::jacquard_common::smol_str::SmolStr::new_static("nonce") + ::jacquard_common::deps::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("evmAddress"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("chainId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("timestamp"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("nonce") ], ), nullable: None, @@ -68,7 +68,9 @@ fn lexicon_doc_org_impactindexer_link_attestation() -> ::jacquard_lexicon::lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("chainId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "chainId", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -87,7 +89,9 @@ fn lexicon_doc_org_impactindexer_link_attestation() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -106,7 +110,7 @@ fn lexicon_doc_org_impactindexer_link_attestation() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "evmAddress", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -127,7 +131,9 @@ fn lexicon_doc_org_impactindexer_link_attestation() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("nonce"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "nonce", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -146,7 +152,7 @@ fn lexicon_doc_org_impactindexer_link_attestation() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "timestamp", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -171,7 +177,7 @@ fn lexicon_doc_org_impactindexer_link_attestation() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -183,12 +189,12 @@ fn lexicon_doc_org_impactindexer_link_attestation() -> ::jacquard_lexicon::lexic description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("address"), - ::jacquard_common::smol_str::SmolStr::new_static("chainId"), - ::jacquard_common::smol_str::SmolStr::new_static("signature"), - ::jacquard_common::smol_str::SmolStr::new_static("message"), - ::jacquard_common::smol_str::SmolStr::new_static("signatureType"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("address"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("chainId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("signature"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("message"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("signatureType"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -196,7 +202,9 @@ fn lexicon_doc_org_impactindexer_link_attestation() -> ::jacquard_lexicon::lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("address"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "address", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -215,7 +223,9 @@ fn lexicon_doc_org_impactindexer_link_attestation() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("chainId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "chainId", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -226,7 +236,7 @@ fn lexicon_doc_org_impactindexer_link_attestation() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -249,7 +259,9 @@ fn lexicon_doc_org_impactindexer_link_attestation() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("message"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "message", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -258,7 +270,7 @@ fn lexicon_doc_org_impactindexer_link_attestation() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "signature", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -279,7 +291,7 @@ fn lexicon_doc_org_impactindexer_link_attestation() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "signatureType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -445,105 +457,105 @@ pub mod attestation_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Signature; - type Message; type SignatureType; - type ChainId; - type Address; + type Message; type CreatedAt; + type Address; + type Signature; + type ChainId; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Signature = Unset; - type Message = Unset; type SignatureType = Unset; - type ChainId = Unset; - type Address = Unset; + type Message = Unset; type CreatedAt = Unset; + type Address = Unset; + type Signature = Unset; + type ChainId = Unset; } - ///State transition - sets the `signature` field to Set - pub struct SetSignature(PhantomData S>); - impl sealed::Sealed for SetSignature {} - impl State for SetSignature { - type Signature = Set; + ///State transition - sets the `signature_type` field to Set + pub struct SetSignatureType(PhantomData S>); + impl sealed::Sealed for SetSignatureType {} + impl State for SetSignatureType { + type SignatureType = Set; type Message = S::Message; - type SignatureType = S::SignatureType; - type ChainId = S::ChainId; - type Address = S::Address; type CreatedAt = S::CreatedAt; + type Address = S::Address; + type Signature = S::Signature; + type ChainId = S::ChainId; } ///State transition - sets the `message` field to Set pub struct SetMessage(PhantomData S>); impl sealed::Sealed for SetMessage {} impl State for SetMessage { - type Signature = S::Signature; - type Message = Set; type SignatureType = S::SignatureType; - type ChainId = S::ChainId; - type Address = S::Address; + type Message = Set; type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `signature_type` field to Set - pub struct SetSignatureType(PhantomData S>); - impl sealed::Sealed for SetSignatureType {} - impl State for SetSignatureType { + type Address = S::Address; type Signature = S::Signature; - type Message = S::Message; - type SignatureType = Set; type ChainId = S::ChainId; - type Address = S::Address; - type CreatedAt = S::CreatedAt; } - ///State transition - sets the `chain_id` field to Set - pub struct SetChainId(PhantomData S>); - impl sealed::Sealed for SetChainId {} - impl State for SetChainId { - type Signature = S::Signature; - type Message = S::Message; + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { type SignatureType = S::SignatureType; - type ChainId = Set; + type Message = S::Message; + type CreatedAt = Set; type Address = S::Address; - type CreatedAt = S::CreatedAt; + type Signature = S::Signature; + type ChainId = S::ChainId; } ///State transition - sets the `address` field to Set pub struct SetAddress(PhantomData S>); impl sealed::Sealed for SetAddress {} impl State for SetAddress { - type Signature = S::Signature; - type Message = S::Message; type SignatureType = S::SignatureType; - type ChainId = S::ChainId; - type Address = Set; + type Message = S::Message; type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { + type Address = Set; type Signature = S::Signature; - type Message = S::Message; + type ChainId = S::ChainId; + } + ///State transition - sets the `signature` field to Set + pub struct SetSignature(PhantomData S>); + impl sealed::Sealed for SetSignature {} + impl State for SetSignature { type SignatureType = S::SignatureType; + type Message = S::Message; + type CreatedAt = S::CreatedAt; + type Address = S::Address; + type Signature = Set; type ChainId = S::ChainId; + } + ///State transition - sets the `chain_id` field to Set + pub struct SetChainId(PhantomData S>); + impl sealed::Sealed for SetChainId {} + impl State for SetChainId { + type SignatureType = S::SignatureType; + type Message = S::Message; + type CreatedAt = S::CreatedAt; type Address = S::Address; - type CreatedAt = Set; + type Signature = S::Signature; + type ChainId = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `signature` field - pub struct signature(()); - ///Marker type for the `message` field - pub struct message(()); ///Marker type for the `signature_type` field pub struct signature_type(()); - ///Marker type for the `chain_id` field - pub struct chain_id(()); - ///Marker type for the `address` field - pub struct address(()); + ///Marker type for the `message` field + pub struct message(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `address` field + pub struct address(()); + ///Marker type for the `signature` field + pub struct signature(()); + ///Marker type for the `chain_id` field + pub struct chain_id(()); } } @@ -698,12 +710,12 @@ where impl<'a, S> AttestationBuilder<'a, S> where S: attestation_state::State, - S::Signature: attestation_state::IsSet, - S::Message: attestation_state::IsSet, S::SignatureType: attestation_state::IsSet, - S::ChainId: attestation_state::IsSet, - S::Address: attestation_state::IsSet, + S::Message: attestation_state::IsSet, S::CreatedAt: attestation_state::IsSet, + S::Address: attestation_state::IsSet, + S::Signature: attestation_state::IsSet, + S::ChainId: attestation_state::IsSet, { /// Build the final struct pub fn build(self) -> Attestation<'a> { @@ -721,7 +733,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Attestation<'a> { diff --git a/crates/jacquard-api/src/org_impactindexer/review.rs b/crates/jacquard-api/src/org_impactindexer/review.rs index 73e383138..b5bf0e5c8 100644 --- a/crates/jacquard-api/src/org_impactindexer/review.rs +++ b/crates/jacquard-api/src/org_impactindexer/review.rs @@ -43,37 +43,37 @@ pub mod subject_ref_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Type; type Uri; + type Type; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Type = Unset; type Uri = Unset; - } - ///State transition - sets the `type` field to Set - pub struct SetType(PhantomData S>); - impl sealed::Sealed for SetType {} - impl State for SetType { - type Type = Set; - type Uri = S::Uri; + type Type = Unset; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { - type Type = S::Type; type Uri = Set; + type Type = S::Type; + } + ///State transition - sets the `type` field to Set + pub struct SetType(PhantomData S>); + impl sealed::Sealed for SetType {} + impl State for SetType { + type Uri = S::Uri; + type Type = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `type` field - pub struct r#type(()); ///Marker type for the `uri` field pub struct uri(()); + ///Marker type for the `type` field + pub struct r#type(()); } } @@ -160,8 +160,8 @@ where impl<'a, S> SubjectRefBuilder<'a, S> where S: subject_ref_state::State, - S::Type: subject_ref_state::IsSet, S::Uri: subject_ref_state::IsSet, + S::Type: subject_ref_state::IsSet, { /// Build the final struct pub fn build(self) -> SubjectRef<'a> { @@ -176,7 +176,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> SubjectRef<'a> { @@ -200,7 +200,7 @@ fn lexicon_doc_org_impactindexer_review_defs() -> ::jacquard_lexicon::lexicon::L defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subjectRef"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("subjectRef"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -209,8 +209,8 @@ fn lexicon_doc_org_impactindexer_review_defs() -> ::jacquard_lexicon::lexicon::L ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("type") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("type") ], ), nullable: None, @@ -218,7 +218,9 @@ fn lexicon_doc_org_impactindexer_review_defs() -> ::jacquard_lexicon::lexicon::L #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -237,14 +239,18 @@ fn lexicon_doc_org_impactindexer_review_defs() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "type", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#subjectType"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -267,7 +273,7 @@ fn lexicon_doc_org_impactindexer_review_defs() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subjectType"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("subjectType"), ::jacquard_lexicon::lexicon::LexUserType::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/org_impactindexer/review/comment.rs b/crates/jacquard-api/src/org_impactindexer/review/comment.rs index 8c30cf0d1..b7431a7c1 100644 --- a/crates/jacquard-api/src/org_impactindexer/review/comment.rs +++ b/crates/jacquard-api/src/org_impactindexer/review/comment.rs @@ -43,50 +43,50 @@ pub mod comment_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Text; - type CreatedAt; type Subject; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Text = Unset; - type CreatedAt = Unset; type Subject = Unset; + type CreatedAt = Unset; } ///State transition - sets the `text` field to Set pub struct SetText(PhantomData S>); impl sealed::Sealed for SetText {} impl State for SetText { type Text = Set; - type CreatedAt = S::CreatedAt; - type Subject = S::Subject; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type Text = S::Text; - type CreatedAt = Set; type Subject = S::Subject; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `subject` field to Set pub struct SetSubject(PhantomData S>); impl sealed::Sealed for SetSubject {} impl State for SetSubject { type Text = S::Text; - type CreatedAt = S::CreatedAt; type Subject = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Text = S::Text; + type Subject = S::Subject; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `text` field pub struct text(()); - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `subject` field pub struct subject(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -200,8 +200,8 @@ impl<'a, S> CommentBuilder<'a, S> where S: comment_state::State, S::Text: comment_state::IsSet, - S::CreatedAt: comment_state::IsSet, S::Subject: comment_state::IsSet, + S::CreatedAt: comment_state::IsSet, { /// Build the final struct pub fn build(self) -> Comment<'a> { @@ -217,7 +217,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Comment<'a> { @@ -321,7 +321,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Comment<'a> { { let value = &self.text; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -352,7 +352,7 @@ fn lexicon_doc_org_impactindexer_review_comment() -> ::jacquard_lexicon::lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -364,9 +364,9 @@ fn lexicon_doc_org_impactindexer_review_comment() -> ::jacquard_lexicon::lexicon description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("text"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -374,7 +374,7 @@ fn lexicon_doc_org_impactindexer_review_comment() -> ::jacquard_lexicon::lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -397,7 +397,9 @@ fn lexicon_doc_org_impactindexer_review_comment() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("replyTo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "replyTo", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -418,7 +420,9 @@ fn lexicon_doc_org_impactindexer_review_comment() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -427,7 +431,9 @@ fn lexicon_doc_org_impactindexer_review_comment() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("The comment text."), diff --git a/crates/jacquard-api/src/org_impactindexer/review/like.rs b/crates/jacquard-api/src/org_impactindexer/review/like.rs index e15958878..f0c99b12e 100644 --- a/crates/jacquard-api/src/org_impactindexer/review/like.rs +++ b/crates/jacquard-api/src/org_impactindexer/review/like.rs @@ -35,37 +35,37 @@ pub mod like_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Subject; type CreatedAt; + type Subject; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Subject = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `subject` field to Set - pub struct SetSubject(PhantomData S>); - impl sealed::Sealed for SetSubject {} - impl State for SetSubject { - type Subject = Set; - type CreatedAt = S::CreatedAt; + type Subject = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Subject = S::Subject; type CreatedAt = Set; + type Subject = S::Subject; + } + ///State transition - sets the `subject` field to Set + pub struct SetSubject(PhantomData S>); + impl sealed::Sealed for SetSubject {} + impl State for SetSubject { + type CreatedAt = S::CreatedAt; + type Subject = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `subject` field - pub struct subject(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `subject` field + pub struct subject(()); } } @@ -138,8 +138,8 @@ where impl<'a, S> LikeBuilder<'a, S> where S: like_state::State, - S::Subject: like_state::IsSet, S::CreatedAt: like_state::IsSet, + S::Subject: like_state::IsSet, { /// Build the final struct pub fn build(self) -> Like<'a> { @@ -153,7 +153,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Like<'a> { @@ -254,7 +254,7 @@ fn lexicon_doc_org_impactindexer_review_like() -> ::jacquard_lexicon::lexicon::L defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -266,8 +266,8 @@ fn lexicon_doc_org_impactindexer_review_like() -> ::jacquard_lexicon::lexicon::L description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -275,7 +275,7 @@ fn lexicon_doc_org_impactindexer_review_like() -> ::jacquard_lexicon::lexicon::L #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -298,7 +298,9 @@ fn lexicon_doc_org_impactindexer_review_like() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( 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 670979875..a578c3c2e 100644 --- a/crates/jacquard-api/src/org_okazu_diary/actor/profile.rs +++ b/crates/jacquard-api/src/org_okazu_diary/actor/profile.rs @@ -225,7 +225,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Profile<'a> { @@ -329,7 +329,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Profile<'a> { } if let Some(ref value) = self.description { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -359,7 +359,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Profile<'a> { } if let Some(ref value) = self.display_name { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -390,7 +390,7 @@ fn lexicon_doc_org_okazu_diary_actor_profile() -> ::jacquard_lexicon::lexicon::L defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -406,7 +406,9 @@ fn lexicon_doc_org_okazu_diary_actor_profile() -> ::jacquard_lexicon::lexicon::L #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("avatar"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "avatar", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -414,7 +416,7 @@ fn lexicon_doc_org_okazu_diary_actor_profile() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -433,7 +435,7 @@ fn lexicon_doc_org_okazu_diary_actor_profile() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -454,7 +456,7 @@ fn lexicon_doc_org_okazu_diary_actor_profile() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "displayName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -471,7 +473,9 @@ fn lexicon_doc_org_okazu_diary_actor_profile() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("labels"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "labels", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: Some( ::jacquard_common::CowStr::new_static( @@ -485,7 +489,9 @@ fn lexicon_doc_org_okazu_diary_actor_profile() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("website"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "website", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( 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 8555d5141..3fa0128e7 100644 --- a/crates/jacquard-api/src/org_okazu_diary/embed/external.rs +++ b/crates/jacquard-api/src/org_okazu_diary/embed/external.rs @@ -184,7 +184,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> External<'a> { @@ -209,18 +209,20 @@ fn lexicon_doc_org_okazu_diary_embed_external() -> ::jacquard_lexicon::lexicon:: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("uri")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -237,14 +239,18 @@ fn lexicon_doc_org_okazu_diary_embed_external() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("thumb"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "thumb", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#thumb"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -259,7 +265,9 @@ fn lexicon_doc_org_okazu_diary_embed_external() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -280,13 +288,13 @@ fn lexicon_doc_org_okazu_diary_embed_external() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("thumb"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("thumb"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("cid"), - ::jacquard_common::smol_str::SmolStr::new_static("uri") + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri") ], ), nullable: None, @@ -294,7 +302,9 @@ fn lexicon_doc_org_okazu_diary_embed_external() -> ::jacquard_lexicon::lexicon:: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -311,7 +321,9 @@ fn lexicon_doc_org_okazu_diary_embed_external() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -499,7 +511,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Thumb<'a> { 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 d4940ef21..2aed63e2f 100644 --- a/crates/jacquard-api/src/org_okazu_diary/embed/record.rs +++ b/crates/jacquard-api/src/org_okazu_diary/embed/record.rs @@ -115,7 +115,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Record<'a> { @@ -137,18 +137,22 @@ fn lexicon_doc_org_okazu_diary_embed_record() -> ::jacquard_lexicon::lexicon::Le defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("record")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("record") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("record"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "record", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/org_okazu_diary/feed.rs b/crates/jacquard-api/src/org_okazu_diary/feed.rs index 6eb8070d9..dac0132a5 100644 --- a/crates/jacquard-api/src/org_okazu_diary/feed.rs +++ b/crates/jacquard-api/src/org_okazu_diary/feed.rs @@ -146,7 +146,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Subject<'a> { @@ -188,7 +188,7 @@ fn lexicon_doc_org_okazu_diary_feed_defs() -> ::jacquard_lexicon::lexicon::Lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -196,14 +196,18 @@ fn lexicon_doc_org_okazu_diary_feed_defs() -> ::jacquard_lexicon::lexicon::Lexic ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("value")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("value") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("labels"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "labels", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: Some( ::jacquard_common::CowStr::new_static( @@ -217,7 +221,9 @@ fn lexicon_doc_org_okazu_diary_feed_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("value"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "value", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -232,18 +238,22 @@ fn lexicon_doc_org_okazu_diary_feed_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tag"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("tag"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("value")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("value") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("value"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "value", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, 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 7a9e3ec1e..d67190cb2 100644 --- a/crates/jacquard-api/src/org_okazu_diary/feed/collection.rs +++ b/crates/jacquard-api/src/org_okazu_diary/feed/collection.rs @@ -186,7 +186,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Collection<'a> { @@ -288,7 +288,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Collection<'a> { } if let Some(ref value) = self.description { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -343,7 +343,7 @@ fn lexicon_doc_org_okazu_diary_feed_collection() -> ::jacquard_lexicon::lexicon: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -355,7 +355,7 @@ fn lexicon_doc_org_okazu_diary_feed_collection() -> ::jacquard_lexicon::lexicon: description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -363,7 +363,7 @@ fn lexicon_doc_org_okazu_diary_feed_collection() -> ::jacquard_lexicon::lexicon: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -382,7 +382,7 @@ fn lexicon_doc_org_okazu_diary_feed_collection() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -399,7 +399,9 @@ fn lexicon_doc_org_okazu_diary_feed_collection() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("labels"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "labels", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: Some( ::jacquard_common::CowStr::new_static( @@ -413,7 +415,9 @@ fn lexicon_doc_org_okazu_diary_feed_collection() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( 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 4b2177f1e..e6c5ba716 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 @@ -50,50 +50,50 @@ pub mod collection_item_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Subjects; - type Collection; type CreatedAt; + type Collection; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Subjects = Unset; - type Collection = Unset; type CreatedAt = Unset; + type Collection = Unset; } ///State transition - sets the `subjects` field to Set pub struct SetSubjects(PhantomData S>); impl sealed::Sealed for SetSubjects {} impl State for SetSubjects { type Subjects = Set; - type Collection = S::Collection; - type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `collection` field to Set - pub struct SetCollection(PhantomData S>); - impl sealed::Sealed for SetCollection {} - impl State for SetCollection { - type Subjects = S::Subjects; - type Collection = Set; type CreatedAt = S::CreatedAt; + type Collection = S::Collection; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { type Subjects = S::Subjects; - type Collection = S::Collection; type CreatedAt = Set; + type Collection = S::Collection; + } + ///State transition - sets the `collection` field to Set + pub struct SetCollection(PhantomData S>); + impl sealed::Sealed for SetCollection {} + impl State for SetCollection { + type Subjects = S::Subjects; + type CreatedAt = S::CreatedAt; + type Collection = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `subjects` field pub struct subjects(()); - ///Marker type for the `collection` field - pub struct collection(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `collection` field + pub struct collection(()); } } @@ -247,8 +247,8 @@ impl<'a, S> CollectionItemBuilder<'a, S> where S: collection_item_state::State, S::Subjects: collection_item_state::IsSet, - S::Collection: collection_item_state::IsSet, S::CreatedAt: collection_item_state::IsSet, + S::Collection: collection_item_state::IsSet, { /// Build the final struct pub fn build(self) -> CollectionItem<'a> { @@ -266,7 +266,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> CollectionItem<'a> { @@ -409,7 +409,7 @@ fn lexicon_doc_org_okazu_diary_feed_collectionItem() -> ::jacquard_lexicon::lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -421,9 +421,9 @@ fn lexicon_doc_org_okazu_diary_feed_collectionItem() -> ::jacquard_lexicon::lexi description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subjects"), - ::jacquard_common::smol_str::SmolStr::new_static("collection"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subjects"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("collection"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -431,7 +431,7 @@ fn lexicon_doc_org_okazu_diary_feed_collectionItem() -> ::jacquard_lexicon::lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "collection", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -454,7 +454,7 @@ fn lexicon_doc_org_okazu_diary_feed_collectionItem() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -473,7 +473,9 @@ fn lexicon_doc_org_okazu_diary_feed_collectionItem() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("labels"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "labels", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: Some( ::jacquard_common::CowStr::new_static( @@ -487,7 +489,7 @@ fn lexicon_doc_org_okazu_diary_feed_collectionItem() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjects", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -507,7 +509,9 @@ fn lexicon_doc_org_okazu_diary_feed_collectionItem() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tags", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -525,7 +529,9 @@ fn lexicon_doc_org_okazu_diary_feed_collectionItem() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("via"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "via", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( 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 82dbbbd49..63ce8c10f 100644 --- a/crates/jacquard-api/src/org_okazu_diary/feed/entry.rs +++ b/crates/jacquard-api/src/org_okazu_diary/feed/entry.rs @@ -280,7 +280,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Entry<'a> { @@ -475,7 +475,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Entry<'a> { } if let Some(ref value) = self.note { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -530,7 +530,7 @@ fn lexicon_doc_org_okazu_diary_feed_entry() -> ::jacquard_lexicon::lexicon::Lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -542,7 +542,7 @@ fn lexicon_doc_org_okazu_diary_feed_entry() -> ::jacquard_lexicon::lexicon::Lexi description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("datetime") + ::jacquard_common::deps::smol_str::SmolStr::new_static("datetime") ], ), nullable: None, @@ -550,7 +550,7 @@ fn lexicon_doc_org_okazu_diary_feed_entry() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "datetime", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -571,7 +571,7 @@ fn lexicon_doc_org_okazu_diary_feed_entry() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hadHiatus", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -581,7 +581,9 @@ fn lexicon_doc_org_okazu_diary_feed_entry() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("labels"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "labels", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: Some( ::jacquard_common::CowStr::new_static( @@ -595,7 +597,9 @@ fn lexicon_doc_org_okazu_diary_feed_entry() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("note"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "note", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -614,7 +618,7 @@ fn lexicon_doc_org_okazu_diary_feed_entry() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjects", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -634,7 +638,9 @@ fn lexicon_doc_org_okazu_diary_feed_entry() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tags", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -652,7 +658,9 @@ fn lexicon_doc_org_okazu_diary_feed_entry() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("via"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "via", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -661,7 +669,7 @@ fn lexicon_doc_org_okazu_diary_feed_entry() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "visibility", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { 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 34557196c..511a454f5 100644 --- a/crates/jacquard-api/src/org_okazu_diary/feed/like.rs +++ b/crates/jacquard-api/src/org_okazu_diary/feed/like.rs @@ -175,7 +175,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Like<'a> { @@ -277,7 +277,7 @@ fn lexicon_doc_org_okazu_diary_feed_like() -> ::jacquard_lexicon::lexicon::Lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -289,8 +289,8 @@ fn lexicon_doc_org_okazu_diary_feed_like() -> ::jacquard_lexicon::lexicon::Lexic description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -298,7 +298,7 @@ fn lexicon_doc_org_okazu_diary_feed_like() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -317,7 +317,9 @@ fn lexicon_doc_org_okazu_diary_feed_like() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -326,7 +328,9 @@ fn lexicon_doc_org_okazu_diary_feed_like() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("via"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "via", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/org_okazu_diary/material.rs b/crates/jacquard-api/src/org_okazu_diary/material.rs index e5f9742a9..19f128920 100644 --- a/crates/jacquard-api/src/org_okazu_diary/material.rs +++ b/crates/jacquard-api/src/org_okazu_diary/material.rs @@ -37,18 +37,22 @@ fn lexicon_doc_org_okazu_diary_material_defs() -> ::jacquard_lexicon::lexicon::L defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tag"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("tag"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("value")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("value") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("value"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "value", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, 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 808c59a25..004226dd6 100644 --- a/crates/jacquard-api/src/org_okazu_diary/material/collection.rs +++ b/crates/jacquard-api/src/org_okazu_diary/material/collection.rs @@ -186,7 +186,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Collection<'a> { @@ -288,7 +288,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Collection<'a> { } if let Some(ref value) = self.description { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -343,7 +343,7 @@ fn lexicon_doc_org_okazu_diary_material_collection() -> ::jacquard_lexicon::lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -355,7 +355,7 @@ fn lexicon_doc_org_okazu_diary_material_collection() -> ::jacquard_lexicon::lexi description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -363,7 +363,7 @@ fn lexicon_doc_org_okazu_diary_material_collection() -> ::jacquard_lexicon::lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -382,7 +382,7 @@ fn lexicon_doc_org_okazu_diary_material_collection() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -399,7 +399,9 @@ fn lexicon_doc_org_okazu_diary_material_collection() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("labels"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "labels", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: Some( ::jacquard_common::CowStr::new_static( @@ -413,7 +415,9 @@ fn lexicon_doc_org_okazu_diary_material_collection() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( 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 2a664bcd9..54788b881 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 @@ -45,49 +45,49 @@ pub mod collection_item_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Collection; type CreatedAt; + type Collection; type Subjects; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Collection = Unset; type CreatedAt = Unset; + type Collection = Unset; type Subjects = Unset; } - ///State transition - sets the `collection` field to Set - pub struct SetCollection(PhantomData S>); - impl sealed::Sealed for SetCollection {} - impl State for SetCollection { - type Collection = Set; - type CreatedAt = S::CreatedAt; - type Subjects = S::Subjects; - } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Collection = S::Collection; type CreatedAt = Set; + type Collection = S::Collection; + type Subjects = S::Subjects; + } + ///State transition - sets the `collection` field to Set + pub struct SetCollection(PhantomData S>); + impl sealed::Sealed for SetCollection {} + impl State for SetCollection { + type CreatedAt = S::CreatedAt; + type Collection = Set; type Subjects = S::Subjects; } ///State transition - sets the `subjects` field to Set pub struct SetSubjects(PhantomData S>); impl sealed::Sealed for SetSubjects {} impl State for SetSubjects { - type Collection = S::Collection; type CreatedAt = S::CreatedAt; + type Collection = S::Collection; type Subjects = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `collection` field - pub struct collection(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `collection` field + pub struct collection(()); ///Marker type for the `subjects` field pub struct subjects(()); } @@ -219,8 +219,8 @@ impl<'a, S: collection_item_state::State> CollectionItemBuilder<'a, S> { impl<'a, S> CollectionItemBuilder<'a, S> where S: collection_item_state::State, - S::Collection: collection_item_state::IsSet, S::CreatedAt: collection_item_state::IsSet, + S::Collection: collection_item_state::IsSet, S::Subjects: collection_item_state::IsSet, { /// Build the final struct @@ -238,7 +238,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> CollectionItem<'a> { @@ -341,7 +341,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for CollectionItem<'a> { } if let Some(ref value) = self.note { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -400,7 +400,7 @@ fn lexicon_doc_org_okazu_diary_material_collectionItem() -> ::jacquard_lexicon:: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -412,9 +412,9 @@ fn lexicon_doc_org_okazu_diary_material_collectionItem() -> ::jacquard_lexicon:: description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("collection"), - ::jacquard_common::smol_str::SmolStr::new_static("subjects"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("collection"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("subjects"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -422,7 +422,7 @@ fn lexicon_doc_org_okazu_diary_material_collectionItem() -> ::jacquard_lexicon:: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "collection", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -445,7 +445,7 @@ fn lexicon_doc_org_okazu_diary_material_collectionItem() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -464,7 +464,9 @@ fn lexicon_doc_org_okazu_diary_material_collectionItem() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("note"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "note", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -483,7 +485,7 @@ fn lexicon_doc_org_okazu_diary_material_collectionItem() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjects", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -511,7 +513,9 @@ fn lexicon_doc_org_okazu_diary_material_collectionItem() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("via"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "via", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( 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 59caa3366..72ba424cf 100644 --- a/crates/jacquard-api/src/org_okazu_diary/material/external.rs +++ b/crates/jacquard-api/src/org_okazu_diary/material/external.rs @@ -313,7 +313,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> External<'a> { @@ -433,7 +433,7 @@ fn lexicon_doc_org_okazu_diary_material_external() -> ::jacquard_lexicon::lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -449,7 +449,7 @@ fn lexicon_doc_org_okazu_diary_material_external() -> ::jacquard_lexicon::lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -470,7 +470,7 @@ fn lexicon_doc_org_okazu_diary_material_external() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "genericLabels", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -486,7 +486,9 @@ fn lexicon_doc_org_okazu_diary_material_external() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("labels"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "labels", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: Some( ::jacquard_common::CowStr::new_static( @@ -500,7 +502,9 @@ fn lexicon_doc_org_okazu_diary_material_external() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("record"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "record", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -509,7 +513,9 @@ fn lexicon_doc_org_okazu_diary_material_external() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tags", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -527,14 +533,18 @@ fn lexicon_doc_org_okazu_diary_material_external() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("thumb"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "thumb", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#thumb"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -553,7 +563,9 @@ fn lexicon_doc_org_okazu_diary_material_external() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -574,7 +586,9 @@ fn lexicon_doc_org_okazu_diary_material_external() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("via"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "via", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -588,18 +602,22 @@ fn lexicon_doc_org_okazu_diary_material_external() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("thumb"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("thumb"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("url")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("url") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -616,7 +634,9 @@ fn lexicon_doc_org_okazu_diary_material_external() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -775,7 +795,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Thumb<'a> { diff --git a/crates/jacquard-api/src/org_passingreads.rs b/crates/jacquard-api/src/org_passingreads.rs index c3b9a6077..e4cd04d96 100644 --- a/crates/jacquard-api/src/org_passingreads.rs +++ b/crates/jacquard-api/src/org_passingreads.rs @@ -167,7 +167,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Actor<'a> { @@ -191,7 +191,7 @@ fn lexicon_doc_org_passingreads_defs() -> ::jacquard_lexicon::lexicon::LexiconDo defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("actor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("actor"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -199,14 +199,18 @@ fn lexicon_doc_org_passingreads_defs() -> ::jacquard_lexicon::lexicon::LexiconDo ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("did")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("did") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -223,7 +227,7 @@ fn lexicon_doc_org_passingreads_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "displayName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -240,7 +244,9 @@ fn lexicon_doc_org_passingreads_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("handle"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "handle", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -261,7 +267,7 @@ fn lexicon_doc_org_passingreads_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("aspectRatio"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("aspectRatio"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -270,8 +276,8 @@ fn lexicon_doc_org_passingreads_defs() -> ::jacquard_lexicon::lexicon::LexiconDo ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("width"), - ::jacquard_common::smol_str::SmolStr::new_static("height") + ::jacquard_common::deps::smol_str::SmolStr::new_static("width"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("height") ], ), nullable: None, @@ -279,7 +285,9 @@ fn lexicon_doc_org_passingreads_defs() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("height"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "height", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -290,7 +298,9 @@ fn lexicon_doc_org_passingreads_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("width"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "width", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -305,20 +315,22 @@ fn lexicon_doc_org_passingreads_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("bookIdEntry"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("bookIdEntry"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static("Book ID entry for SSG"), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("id")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("id") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -337,7 +349,7 @@ fn lexicon_doc_org_passingreads_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("locationEntry"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("locationEntry"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -346,8 +358,8 @@ fn lexicon_doc_org_passingreads_defs() -> ::jacquard_lexicon::lexicon::LexiconDo ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("h3"), - ::jacquard_common::smol_str::SmolStr::new_static("bookCount") + ::jacquard_common::deps::smol_str::SmolStr::new_static("h3"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("bookCount") ], ), nullable: None, @@ -355,7 +367,7 @@ fn lexicon_doc_org_passingreads_defs() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "bookCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -368,7 +380,7 @@ fn lexicon_doc_org_passingreads_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("h3"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("h3"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -562,7 +574,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> AspectRatio<'a> { @@ -678,37 +690,37 @@ pub mod location_entry_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type H3; type BookCount; + type H3; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type H3 = Unset; type BookCount = Unset; - } - ///State transition - sets the `h3` field to Set - pub struct SetH3(PhantomData S>); - impl sealed::Sealed for SetH3 {} - impl State for SetH3 { - type H3 = Set; - type BookCount = S::BookCount; + type H3 = Unset; } ///State transition - sets the `book_count` field to Set pub struct SetBookCount(PhantomData S>); impl sealed::Sealed for SetBookCount {} impl State for SetBookCount { - type H3 = S::H3; type BookCount = Set; + type H3 = S::H3; + } + ///State transition - sets the `h3` field to Set + pub struct SetH3(PhantomData S>); + impl sealed::Sealed for SetH3 {} + impl State for SetH3 { + type BookCount = S::BookCount; + type H3 = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `h3` field - pub struct h3(()); ///Marker type for the `book_count` field pub struct book_count(()); + ///Marker type for the `h3` field + pub struct h3(()); } } @@ -781,8 +793,8 @@ where impl<'a, S> LocationEntryBuilder<'a, S> where S: location_entry_state::State, - S::H3: location_entry_state::IsSet, S::BookCount: location_entry_state::IsSet, + S::H3: location_entry_state::IsSet, { /// Build the final struct pub fn build(self) -> LocationEntry<'a> { @@ -796,7 +808,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> LocationEntry<'a> { diff --git a/crates/jacquard-api/src/org_passingreads/actor.rs b/crates/jacquard-api/src/org_passingreads/actor.rs index 132cd2e40..6fad9c7ac 100644 --- a/crates/jacquard-api/src/org_passingreads/actor.rs +++ b/crates/jacquard-api/src/org_passingreads/actor.rs @@ -58,37 +58,37 @@ pub mod profile_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Did; type Handle; + type Did; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Did = Unset; type Handle = Unset; - } - ///State transition - sets the `did` field to Set - pub struct SetDid(PhantomData S>); - impl sealed::Sealed for SetDid {} - impl State for SetDid { - type Did = Set; - type Handle = S::Handle; + type Did = Unset; } ///State transition - sets the `handle` field to Set pub struct SetHandle(PhantomData S>); impl sealed::Sealed for SetHandle {} impl State for SetHandle { - type Did = S::Did; type Handle = Set; + type Did = S::Did; + } + ///State transition - sets the `did` field to Set + pub struct SetDid(PhantomData S>); + impl sealed::Sealed for SetDid {} + impl State for SetDid { + type Handle = S::Handle; + type Did = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `did` field - pub struct did(()); ///Marker type for the `handle` field pub struct handle(()); + ///Marker type for the `did` field + pub struct did(()); } } @@ -261,8 +261,8 @@ where impl<'a, S> ProfileViewBuilder<'a, S> where S: profile_view_state::State, - S::Did: profile_view_state::IsSet, S::Handle: profile_view_state::IsSet, + S::Did: profile_view_state::IsSet, { /// Build the final struct pub fn build(self) -> ProfileView<'a> { @@ -281,7 +281,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ProfileView<'a> { @@ -309,7 +309,7 @@ fn lexicon_doc_org_passingreads_actor_defs() -> ::jacquard_lexicon::lexicon::Lex defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("profileView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("profileView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -318,8 +318,8 @@ fn lexicon_doc_org_passingreads_actor_defs() -> ::jacquard_lexicon::lexicon::Lex ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("did"), - ::jacquard_common::smol_str::SmolStr::new_static("handle") + ::jacquard_common::deps::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("handle") ], ), nullable: None, @@ -327,7 +327,7 @@ fn lexicon_doc_org_passingreads_actor_defs() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "avatarAlt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -348,7 +348,7 @@ fn lexicon_doc_org_passingreads_actor_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "avatarUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -371,7 +371,7 @@ fn lexicon_doc_org_passingreads_actor_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -388,7 +388,7 @@ fn lexicon_doc_org_passingreads_actor_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "descriptionFacets", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -408,7 +408,9 @@ fn lexicon_doc_org_passingreads_actor_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -425,7 +427,7 @@ fn lexicon_doc_org_passingreads_actor_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "displayName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -442,7 +444,9 @@ fn lexicon_doc_org_passingreads_actor_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("handle"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "handle", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( diff --git a/crates/jacquard-api/src/org_passingreads/actor/profile.rs b/crates/jacquard-api/src/org_passingreads/actor/profile.rs index 2742685d8..6a86fd9ca 100644 --- a/crates/jacquard-api/src/org_passingreads/actor/profile.rs +++ b/crates/jacquard-api/src/org_passingreads/actor/profile.rs @@ -203,7 +203,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Profile<'a> { @@ -306,7 +306,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Profile<'a> { } if let Some(ref value) = self.avatar_alt { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -336,7 +336,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Profile<'a> { } if let Some(ref value) = self.description { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -366,7 +366,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Profile<'a> { } if let Some(ref value) = self.display_name { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -397,7 +397,7 @@ fn lexicon_doc_org_passingreads_actor_profile() -> ::jacquard_lexicon::lexicon:: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -413,7 +413,9 @@ fn lexicon_doc_org_passingreads_actor_profile() -> ::jacquard_lexicon::lexicon:: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("avatar"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "avatar", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -421,7 +423,7 @@ fn lexicon_doc_org_passingreads_actor_profile() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "avatarAlt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -438,7 +440,7 @@ fn lexicon_doc_org_passingreads_actor_profile() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -459,7 +461,7 @@ fn lexicon_doc_org_passingreads_actor_profile() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "descriptionFacets", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -475,7 +477,7 @@ fn lexicon_doc_org_passingreads_actor_profile() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "displayName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/org_passingreads/book.rs b/crates/jacquard-api/src/org_passingreads/book.rs index 038f9137d..31a76dab5 100644 --- a/crates/jacquard-api/src/org_passingreads/book.rs +++ b/crates/jacquard-api/src/org_passingreads/book.rs @@ -56,85 +56,85 @@ pub mod confirmed_event_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Location; - type Actor; type Uri; - type Event; + type Actor; type OccurredAt; + type Location; + type Event; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Location = Unset; - type Actor = Unset; type Uri = Unset; - type Event = Unset; + type Actor = Unset; type OccurredAt = Unset; + type Location = Unset; + type Event = Unset; } - ///State transition - sets the `location` field to Set - pub struct SetLocation(PhantomData S>); - impl sealed::Sealed for SetLocation {} - impl State for SetLocation { - type Location = Set; + ///State transition - sets the `uri` field to Set + pub struct SetUri(PhantomData S>); + impl sealed::Sealed for SetUri {} + impl State for SetUri { + type Uri = Set; type Actor = S::Actor; - type Uri = S::Uri; - type Event = S::Event; type OccurredAt = S::OccurredAt; + type Location = S::Location; + type Event = S::Event; } ///State transition - sets the `actor` field to Set pub struct SetActor(PhantomData S>); impl sealed::Sealed for SetActor {} impl State for SetActor { - type Location = S::Location; - type Actor = Set; type Uri = S::Uri; - type Event = S::Event; + type Actor = Set; type OccurredAt = S::OccurredAt; - } - ///State transition - sets the `uri` field to Set - pub struct SetUri(PhantomData S>); - impl sealed::Sealed for SetUri {} - impl State for SetUri { type Location = S::Location; + type Event = S::Event; + } + ///State transition - sets the `occurred_at` field to Set + pub struct SetOccurredAt(PhantomData S>); + impl sealed::Sealed for SetOccurredAt {} + impl State for SetOccurredAt { + type Uri = S::Uri; type Actor = S::Actor; - type Uri = Set; + type OccurredAt = Set; + type Location = S::Location; type Event = S::Event; + } + ///State transition - sets the `location` field to Set + pub struct SetLocation(PhantomData S>); + impl sealed::Sealed for SetLocation {} + impl State for SetLocation { + type Uri = S::Uri; + type Actor = S::Actor; type OccurredAt = S::OccurredAt; + type Location = Set; + type Event = S::Event; } ///State transition - sets the `event` field to Set pub struct SetEvent(PhantomData S>); impl sealed::Sealed for SetEvent {} impl State for SetEvent { - type Location = S::Location; - type Actor = S::Actor; type Uri = S::Uri; - type Event = Set; + type Actor = S::Actor; type OccurredAt = S::OccurredAt; - } - ///State transition - sets the `occurred_at` field to Set - pub struct SetOccurredAt(PhantomData S>); - impl sealed::Sealed for SetOccurredAt {} - impl State for SetOccurredAt { type Location = S::Location; - type Actor = S::Actor; - type Uri = S::Uri; - type Event = S::Event; - type OccurredAt = Set; + type Event = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `location` field - pub struct location(()); - ///Marker type for the `actor` field - pub struct actor(()); ///Marker type for the `uri` field pub struct uri(()); - ///Marker type for the `event` field - pub struct event(()); + ///Marker type for the `actor` field + pub struct actor(()); ///Marker type for the `occurred_at` field pub struct occurred_at(()); + ///Marker type for the `location` field + pub struct location(()); + ///Marker type for the `event` field + pub struct event(()); } } @@ -267,11 +267,11 @@ where impl<'a, S> ConfirmedEventBuilder<'a, S> where S: confirmed_event_state::State, - S::Location: confirmed_event_state::IsSet, - S::Actor: confirmed_event_state::IsSet, S::Uri: confirmed_event_state::IsSet, - S::Event: confirmed_event_state::IsSet, + S::Actor: confirmed_event_state::IsSet, S::OccurredAt: confirmed_event_state::IsSet, + S::Location: confirmed_event_state::IsSet, + S::Event: confirmed_event_state::IsSet, { /// Build the final struct pub fn build(self) -> ConfirmedEvent<'a> { @@ -288,7 +288,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ConfirmedEvent<'a> { @@ -414,7 +414,7 @@ fn lexicon_doc_org_passingreads_book_defs() -> ::jacquard_lexicon::lexicon::Lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("confirmedEvent"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("confirmedEvent"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -423,11 +423,11 @@ fn lexicon_doc_org_passingreads_book_defs() -> ::jacquard_lexicon::lexicon::Lexi ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("actor"), - ::jacquard_common::smol_str::SmolStr::new_static("event"), - ::jacquard_common::smol_str::SmolStr::new_static("location"), - ::jacquard_common::smol_str::SmolStr::new_static("occurredAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("actor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("event"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("location"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("occurredAt") ], ), nullable: None, @@ -435,7 +435,9 @@ fn lexicon_doc_org_passingreads_book_defs() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("actor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "actor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -444,7 +446,9 @@ fn lexicon_doc_org_passingreads_book_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("event"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "event", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("What event occurred"), @@ -461,7 +465,9 @@ fn lexicon_doc_org_passingreads_book_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("location"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "location", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -470,7 +476,7 @@ fn lexicon_doc_org_passingreads_book_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "occurredAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -493,7 +499,9 @@ fn lexicon_doc_org_passingreads_book_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -518,7 +526,9 @@ fn lexicon_doc_org_passingreads_book_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("registrationView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "registrationView", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -527,11 +537,11 @@ fn lexicon_doc_org_passingreads_book_defs() -> ::jacquard_lexicon::lexicon::Lexi ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("registeredBy"), - ::jacquard_common::smol_str::SmolStr::new_static("bookId"), - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("authors"), - ::jacquard_common::smol_str::SmolStr::new_static("occurredAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("registeredBy"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("bookId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("authors"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("occurredAt") ], ), nullable: None, @@ -539,7 +549,9 @@ fn lexicon_doc_org_passingreads_book_defs() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("authors"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "authors", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -563,7 +575,9 @@ fn lexicon_doc_org_passingreads_book_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("bookId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "bookId", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -582,7 +596,7 @@ fn lexicon_doc_org_passingreads_book_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "occurredAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -605,7 +619,7 @@ fn lexicon_doc_org_passingreads_book_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publicationId", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -626,7 +640,7 @@ fn lexicon_doc_org_passingreads_book_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "registeredBy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -637,7 +651,9 @@ fn lexicon_doc_org_passingreads_book_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -660,7 +676,7 @@ fn lexicon_doc_org_passingreads_book_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("statefulBook"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("statefulBook"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -669,11 +685,11 @@ fn lexicon_doc_org_passingreads_book_defs() -> ::jacquard_lexicon::lexicon::Lexi ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("cid"), - ::jacquard_common::smol_str::SmolStr::new_static("registration"), - ::jacquard_common::smol_str::SmolStr::new_static("state"), - ::jacquard_common::smol_str::SmolStr::new_static("currentHolder") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("registration"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("state"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("currentHolder") ], ), nullable: None, @@ -681,7 +697,7 @@ fn lexicon_doc_org_passingreads_book_defs() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "aspectRatio", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -692,7 +708,9 @@ fn lexicon_doc_org_passingreads_book_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -711,7 +729,9 @@ fn lexicon_doc_org_passingreads_book_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("coverUrl"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "coverUrl", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -732,7 +752,7 @@ fn lexicon_doc_org_passingreads_book_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "currentHolder", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -755,7 +775,7 @@ fn lexicon_doc_org_passingreads_book_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "currentLocation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -766,7 +786,9 @@ fn lexicon_doc_org_passingreads_book_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("events"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "events", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -784,7 +806,7 @@ fn lexicon_doc_org_passingreads_book_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "registration", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -795,7 +817,9 @@ fn lexicon_doc_org_passingreads_book_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("state"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "state", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -814,7 +838,9 @@ fn lexicon_doc_org_passingreads_book_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -903,85 +929,85 @@ pub mod registration_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Title; type OccurredAt; - type Authors; - type BookId; type RegisteredBy; + type BookId; + type Authors; + type Title; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Title = Unset; type OccurredAt = Unset; - type Authors = Unset; - type BookId = Unset; type RegisteredBy = Unset; - } - ///State transition - sets the `title` field to Set - pub struct SetTitle(PhantomData S>); - impl sealed::Sealed for SetTitle {} - impl State for SetTitle { - type Title = Set; - type OccurredAt = S::OccurredAt; - type Authors = S::Authors; - type BookId = S::BookId; - type RegisteredBy = S::RegisteredBy; + type BookId = Unset; + type Authors = Unset; + type Title = Unset; } ///State transition - sets the `occurred_at` field to Set pub struct SetOccurredAt(PhantomData S>); impl sealed::Sealed for SetOccurredAt {} impl State for SetOccurredAt { - type Title = S::Title; type OccurredAt = Set; - type Authors = S::Authors; - type BookId = S::BookId; type RegisteredBy = S::RegisteredBy; - } - ///State transition - sets the `authors` field to Set - pub struct SetAuthors(PhantomData S>); - impl sealed::Sealed for SetAuthors {} - impl State for SetAuthors { + type BookId = S::BookId; + type Authors = S::Authors; type Title = S::Title; + } + ///State transition - sets the `registered_by` field to Set + pub struct SetRegisteredBy(PhantomData S>); + impl sealed::Sealed for SetRegisteredBy {} + impl State for SetRegisteredBy { type OccurredAt = S::OccurredAt; - type Authors = Set; + type RegisteredBy = Set; type BookId = S::BookId; - type RegisteredBy = S::RegisteredBy; + type Authors = S::Authors; + type Title = S::Title; } ///State transition - sets the `book_id` field to Set pub struct SetBookId(PhantomData S>); impl sealed::Sealed for SetBookId {} impl State for SetBookId { - type Title = S::Title; type OccurredAt = S::OccurredAt; - type Authors = S::Authors; - type BookId = Set; type RegisteredBy = S::RegisteredBy; + type BookId = Set; + type Authors = S::Authors; + type Title = S::Title; } - ///State transition - sets the `registered_by` field to Set - pub struct SetRegisteredBy(PhantomData S>); - impl sealed::Sealed for SetRegisteredBy {} - impl State for SetRegisteredBy { + ///State transition - sets the `authors` field to Set + pub struct SetAuthors(PhantomData S>); + impl sealed::Sealed for SetAuthors {} + impl State for SetAuthors { + type OccurredAt = S::OccurredAt; + type RegisteredBy = S::RegisteredBy; + type BookId = S::BookId; + type Authors = Set; type Title = S::Title; + } + ///State transition - sets the `title` field to Set + pub struct SetTitle(PhantomData S>); + impl sealed::Sealed for SetTitle {} + impl State for SetTitle { type OccurredAt = S::OccurredAt; - type Authors = S::Authors; + type RegisteredBy = S::RegisteredBy; type BookId = S::BookId; - type RegisteredBy = Set; + type Authors = S::Authors; + type Title = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `title` field - pub struct title(()); ///Marker type for the `occurred_at` field pub struct occurred_at(()); - ///Marker type for the `authors` field - pub struct authors(()); - ///Marker type for the `book_id` field - pub struct book_id(()); ///Marker type for the `registered_by` field pub struct registered_by(()); + ///Marker type for the `book_id` field + pub struct book_id(()); + ///Marker type for the `authors` field + pub struct authors(()); + ///Marker type for the `title` field + pub struct title(()); } } @@ -1134,11 +1160,11 @@ where impl<'a, S> RegistrationViewBuilder<'a, S> where S: registration_view_state::State, - S::Title: registration_view_state::IsSet, S::OccurredAt: registration_view_state::IsSet, - S::Authors: registration_view_state::IsSet, - S::BookId: registration_view_state::IsSet, S::RegisteredBy: registration_view_state::IsSet, + S::BookId: registration_view_state::IsSet, + S::Authors: registration_view_state::IsSet, + S::Title: registration_view_state::IsSet, { /// Build the final struct pub fn build(self) -> RegistrationView<'a> { @@ -1156,7 +1182,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> RegistrationView<'a> { @@ -1249,85 +1275,85 @@ pub mod stateful_book_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Uri; - type Cid; + type Registration; type State; type CurrentHolder; - type Registration; + type Cid; + type Uri; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Uri = Unset; - type Cid = Unset; + type Registration = Unset; type State = Unset; type CurrentHolder = Unset; - type Registration = Unset; + type Cid = Unset; + type Uri = Unset; } - ///State transition - sets the `uri` field to Set - pub struct SetUri(PhantomData S>); - impl sealed::Sealed for SetUri {} - impl State for SetUri { - type Uri = Set; - type Cid = S::Cid; + ///State transition - sets the `registration` field to Set + pub struct SetRegistration(PhantomData S>); + impl sealed::Sealed for SetRegistration {} + impl State for SetRegistration { + type Registration = Set; type State = S::State; type CurrentHolder = S::CurrentHolder; - type Registration = S::Registration; - } - ///State transition - sets the `cid` field to Set - pub struct SetCid(PhantomData S>); - impl sealed::Sealed for SetCid {} - impl State for SetCid { + type Cid = S::Cid; type Uri = S::Uri; - type Cid = Set; - type State = S::State; - type CurrentHolder = S::CurrentHolder; - type Registration = S::Registration; } ///State transition - sets the `state` field to Set pub struct SetState(PhantomData S>); impl sealed::Sealed for SetState {} impl State for SetState { - type Uri = S::Uri; - type Cid = S::Cid; + type Registration = S::Registration; type State = Set; type CurrentHolder = S::CurrentHolder; - type Registration = S::Registration; + type Cid = S::Cid; + type Uri = S::Uri; } ///State transition - sets the `current_holder` field to Set pub struct SetCurrentHolder(PhantomData S>); impl sealed::Sealed for SetCurrentHolder {} impl State for SetCurrentHolder { - type Uri = S::Uri; - type Cid = S::Cid; + type Registration = S::Registration; type State = S::State; type CurrentHolder = Set; - type Registration = S::Registration; + type Cid = S::Cid; + type Uri = S::Uri; } - ///State transition - sets the `registration` field to Set - pub struct SetRegistration(PhantomData S>); - impl sealed::Sealed for SetRegistration {} - impl State for SetRegistration { + ///State transition - sets the `cid` field to Set + pub struct SetCid(PhantomData S>); + impl sealed::Sealed for SetCid {} + impl State for SetCid { + type Registration = S::Registration; + type State = S::State; + type CurrentHolder = S::CurrentHolder; + type Cid = Set; type Uri = S::Uri; - type Cid = S::Cid; + } + ///State transition - sets the `uri` field to Set + pub struct SetUri(PhantomData S>); + impl sealed::Sealed for SetUri {} + impl State for SetUri { + type Registration = S::Registration; type State = S::State; type CurrentHolder = S::CurrentHolder; - type Registration = Set; + type Cid = S::Cid; + type Uri = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `uri` field - pub struct uri(()); - ///Marker type for the `cid` field - pub struct cid(()); + ///Marker type for the `registration` field + pub struct registration(()); ///Marker type for the `state` field pub struct state(()); ///Marker type for the `current_holder` field pub struct current_holder(()); - ///Marker type for the `registration` field - pub struct registration(()); + ///Marker type for the `cid` field + pub struct cid(()); + ///Marker type for the `uri` field + pub struct uri(()); } } @@ -1550,11 +1576,11 @@ where impl<'a, S> StatefulBookBuilder<'a, S> where S: stateful_book_state::State, - S::Uri: stateful_book_state::IsSet, - S::Cid: stateful_book_state::IsSet, + S::Registration: stateful_book_state::IsSet, S::State: stateful_book_state::IsSet, S::CurrentHolder: stateful_book_state::IsSet, - S::Registration: stateful_book_state::IsSet, + S::Cid: stateful_book_state::IsSet, + S::Uri: stateful_book_state::IsSet, { /// Build the final struct pub fn build(self) -> StatefulBook<'a> { @@ -1575,7 +1601,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> StatefulBook<'a> { diff --git a/crates/jacquard-api/src/org_passingreads/book/event.rs b/crates/jacquard-api/src/org_passingreads/book/event.rs index 86ee16ee3..913ce07cb 100644 --- a/crates/jacquard-api/src/org_passingreads/book/event.rs +++ b/crates/jacquard-api/src/org_passingreads/book/event.rs @@ -23,10 +23,10 @@ pub struct Event<'a> { pub book: crate::com_atproto::repo::strong_ref::StrongRef<'a>, /// The multicodec public key of the book. #[serde(with = "jacquard_common::serde_bytes_helper")] - pub book_pub: bytes::Bytes, + pub book_pub: jacquard_common::deps::bytes::Bytes, /// The signature of this record, without this attribute, as created by the private key associated with the book #[serde(with = "jacquard_common::serde_bytes_helper")] - pub book_sig: bytes::Bytes, + pub book_sig: jacquard_common::deps::bytes::Bytes, /// The DID of the person who registered the book. Included here, so it's verifiable with the bookSig. #[serde(borrow)] pub did: jacquard_common::types::string::Did<'a>, @@ -51,105 +51,105 @@ pub mod event_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type OccurredAt; - type Did; type BookSig; + type Book; type BookPub; + type OccurredAt; type Location; - type Book; + type Did; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type OccurredAt = Unset; - type Did = Unset; type BookSig = Unset; + type Book = Unset; type BookPub = Unset; + type OccurredAt = Unset; type Location = Unset; - type Book = Unset; - } - ///State transition - sets the `occurred_at` field to Set - pub struct SetOccurredAt(PhantomData S>); - impl sealed::Sealed for SetOccurredAt {} - impl State for SetOccurredAt { - type OccurredAt = Set; - type Did = S::Did; - type BookSig = S::BookSig; - type BookPub = S::BookPub; - type Location = S::Location; - type Book = S::Book; - } - ///State transition - sets the `did` field to Set - pub struct SetDid(PhantomData S>); - impl sealed::Sealed for SetDid {} - impl State for SetDid { - type OccurredAt = S::OccurredAt; - type Did = Set; - type BookSig = S::BookSig; - type BookPub = S::BookPub; - type Location = S::Location; - type Book = S::Book; + type Did = Unset; } ///State transition - sets the `book_sig` field to Set pub struct SetBookSig(PhantomData S>); impl sealed::Sealed for SetBookSig {} impl State for SetBookSig { + type BookSig = Set; + type Book = S::Book; + type BookPub = S::BookPub; type OccurredAt = S::OccurredAt; + type Location = S::Location; type Did = S::Did; - type BookSig = Set; + } + ///State transition - sets the `book` field to Set + pub struct SetBook(PhantomData S>); + impl sealed::Sealed for SetBook {} + impl State for SetBook { + type BookSig = S::BookSig; + type Book = Set; type BookPub = S::BookPub; + type OccurredAt = S::OccurredAt; type Location = S::Location; - type Book = S::Book; + type Did = S::Did; } ///State transition - sets the `book_pub` field to Set pub struct SetBookPub(PhantomData S>); impl sealed::Sealed for SetBookPub {} impl State for SetBookPub { - type OccurredAt = S::OccurredAt; - type Did = S::Did; type BookSig = S::BookSig; + type Book = S::Book; type BookPub = Set; + type OccurredAt = S::OccurredAt; type Location = S::Location; + type Did = S::Did; + } + ///State transition - sets the `occurred_at` field to Set + pub struct SetOccurredAt(PhantomData S>); + impl sealed::Sealed for SetOccurredAt {} + impl State for SetOccurredAt { + type BookSig = S::BookSig; type Book = S::Book; + type BookPub = S::BookPub; + type OccurredAt = Set; + type Location = S::Location; + type Did = S::Did; } ///State transition - sets the `location` field to Set pub struct SetLocation(PhantomData S>); impl sealed::Sealed for SetLocation {} impl State for SetLocation { - type OccurredAt = S::OccurredAt; - type Did = S::Did; type BookSig = S::BookSig; - type BookPub = S::BookPub; - type Location = Set; type Book = S::Book; - } - ///State transition - sets the `book` field to Set - pub struct SetBook(PhantomData S>); - impl sealed::Sealed for SetBook {} - impl State for SetBook { + type BookPub = S::BookPub; type OccurredAt = S::OccurredAt; + type Location = Set; type Did = S::Did; + } + ///State transition - sets the `did` field to Set + pub struct SetDid(PhantomData S>); + impl sealed::Sealed for SetDid {} + impl State for SetDid { type BookSig = S::BookSig; + type Book = S::Book; type BookPub = S::BookPub; + type OccurredAt = S::OccurredAt; type Location = S::Location; - type Book = Set; + type Did = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `occurred_at` field - pub struct occurred_at(()); - ///Marker type for the `did` field - pub struct did(()); ///Marker type for the `book_sig` field pub struct book_sig(()); + ///Marker type for the `book` field + pub struct book(()); ///Marker type for the `book_pub` field pub struct book_pub(()); + ///Marker type for the `occurred_at` field + pub struct occurred_at(()); ///Marker type for the `location` field pub struct location(()); - ///Marker type for the `book` field - pub struct book(()); + ///Marker type for the `did` field + pub struct did(()); } } @@ -158,8 +158,8 @@ pub struct EventBuilder<'a, S: event_state::State> { _phantom_state: ::core::marker::PhantomData S>, __unsafe_private_named: ( ::core::option::Option>, - ::core::option::Option, - ::core::option::Option, + ::core::option::Option, + ::core::option::Option, ::core::option::Option>, ::core::option::Option>, ::core::option::Option>, @@ -213,7 +213,7 @@ where /// Set the `bookPub` field (required) pub fn book_pub( mut self, - value: impl Into, + value: impl Into, ) -> EventBuilder<'a, event_state::SetBookPub> { self.__unsafe_private_named.1 = ::core::option::Option::Some(value.into()); EventBuilder { @@ -232,7 +232,7 @@ where /// Set the `bookSig` field (required) pub fn book_sig( mut self, - value: impl Into, + value: impl Into, ) -> EventBuilder<'a, event_state::SetBookSig> { self.__unsafe_private_named.2 = ::core::option::Option::Some(value.into()); EventBuilder { @@ -316,12 +316,12 @@ where impl<'a, S> EventBuilder<'a, S> where S: event_state::State, - S::OccurredAt: event_state::IsSet, - S::Did: event_state::IsSet, S::BookSig: event_state::IsSet, + S::Book: event_state::IsSet, S::BookPub: event_state::IsSet, + S::OccurredAt: event_state::IsSet, S::Location: event_state::IsSet, - S::Book: event_state::IsSet, + S::Did: event_state::IsSet, { /// Build the final struct pub fn build(self) -> Event<'a> { @@ -340,7 +340,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Event<'a> { @@ -563,7 +563,7 @@ fn lexicon_doc_org_passingreads_book_event() -> ::jacquard_lexicon::lexicon::Lex defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -575,12 +575,12 @@ fn lexicon_doc_org_passingreads_book_event() -> ::jacquard_lexicon::lexicon::Lex description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("did"), - ::jacquard_common::smol_str::SmolStr::new_static("book"), - ::jacquard_common::smol_str::SmolStr::new_static("occurredAt"), - ::jacquard_common::smol_str::SmolStr::new_static("location"), - ::jacquard_common::smol_str::SmolStr::new_static("bookPub"), - ::jacquard_common::smol_str::SmolStr::new_static("bookSig") + ::jacquard_common::deps::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("book"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("occurredAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("location"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("bookPub"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("bookSig") ], ), nullable: None, @@ -588,7 +588,9 @@ fn lexicon_doc_org_passingreads_book_event() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("book"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "book", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -597,7 +599,9 @@ fn lexicon_doc_org_passingreads_book_event() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("bookPub"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "bookPub", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Bytes(::jacquard_lexicon::lexicon::LexBytes { description: None, max_length: None, @@ -605,7 +609,9 @@ fn lexicon_doc_org_passingreads_book_event() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("bookSig"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "bookSig", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Bytes(::jacquard_lexicon::lexicon::LexBytes { description: None, max_length: None, @@ -613,7 +619,9 @@ fn lexicon_doc_org_passingreads_book_event() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -634,7 +642,9 @@ fn lexicon_doc_org_passingreads_book_event() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("event"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "event", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -653,7 +663,7 @@ fn lexicon_doc_org_passingreads_book_event() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "location", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -671,7 +681,7 @@ fn lexicon_doc_org_passingreads_book_event() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "occurredAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -699,7 +709,7 @@ fn lexicon_doc_org_passingreads_book_event() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("osmLocation"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("osmLocation"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -708,9 +718,9 @@ fn lexicon_doc_org_passingreads_book_event() -> ::jacquard_lexicon::lexicon::Lex ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("osmId"), - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("value") + ::jacquard_common::deps::smol_str::SmolStr::new_static("osmId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("value") ], ), nullable: None, @@ -718,7 +728,9 @@ fn lexicon_doc_org_passingreads_book_event() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("category"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "category", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -737,7 +749,9 @@ fn lexicon_doc_org_passingreads_book_event() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -756,7 +770,9 @@ fn lexicon_doc_org_passingreads_book_event() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("osmId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "osmId", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -775,7 +791,9 @@ fn lexicon_doc_org_passingreads_book_event() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("value"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "value", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/org_passingreads/book/registration.rs b/crates/jacquard-api/src/org_passingreads/book/registration.rs index 44a16c878..8032e6411 100644 --- a/crates/jacquard-api/src/org_passingreads/book/registration.rs +++ b/crates/jacquard-api/src/org_passingreads/book/registration.rs @@ -30,10 +30,10 @@ pub struct Registration<'a> { pub book_id: jacquard_common::CowStr<'a>, /// The MultiFormat public key of the book. #[serde(with = "jacquard_common::serde_bytes_helper")] - pub book_pub: bytes::Bytes, + pub book_pub: jacquard_common::deps::bytes::Bytes, /// The MultiFormat signature of this record, without this attribute, as created by the private key associated with the book. #[serde(with = "jacquard_common::serde_bytes_helper")] - pub book_sig: bytes::Bytes, + pub book_sig: jacquard_common::deps::bytes::Bytes, /// Cover image of the book #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] @@ -60,151 +60,151 @@ pub mod registration_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Title; - type PublicationId; - type BookPub; - type BookSig; + type Did; type Authors; + type BookSig; + type PublicationId; + type Title; type OccurredAt; type BookId; - type Did; + type BookPub; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Title = Unset; - type PublicationId = Unset; - type BookPub = Unset; - type BookSig = Unset; + type Did = Unset; type Authors = Unset; + type BookSig = Unset; + type PublicationId = Unset; + type Title = Unset; type OccurredAt = Unset; type BookId = Unset; - type Did = Unset; + type BookPub = Unset; } - ///State transition - sets the `title` field to Set - pub struct SetTitle(PhantomData S>); - impl sealed::Sealed for SetTitle {} - impl State for SetTitle { - type Title = Set; - type PublicationId = S::PublicationId; - type BookPub = S::BookPub; - type BookSig = S::BookSig; + ///State transition - sets the `did` field to Set + pub struct SetDid(PhantomData S>); + impl sealed::Sealed for SetDid {} + impl State for SetDid { + type Did = Set; type Authors = S::Authors; - type OccurredAt = S::OccurredAt; - type BookId = S::BookId; - type Did = S::Did; - } - ///State transition - sets the `publication_id` field to Set - pub struct SetPublicationId(PhantomData S>); - impl sealed::Sealed for SetPublicationId {} - impl State for SetPublicationId { - type Title = S::Title; - type PublicationId = Set; - type BookPub = S::BookPub; type BookSig = S::BookSig; - type Authors = S::Authors; + type PublicationId = S::PublicationId; + type Title = S::Title; type OccurredAt = S::OccurredAt; type BookId = S::BookId; - type Did = S::Did; + type BookPub = S::BookPub; } - ///State transition - sets the `book_pub` field to Set - pub struct SetBookPub(PhantomData S>); - impl sealed::Sealed for SetBookPub {} - impl State for SetBookPub { - type Title = S::Title; - type PublicationId = S::PublicationId; - type BookPub = Set; + ///State transition - sets the `authors` field to Set + pub struct SetAuthors(PhantomData S>); + impl sealed::Sealed for SetAuthors {} + impl State for SetAuthors { + type Did = S::Did; + type Authors = Set; type BookSig = S::BookSig; - type Authors = S::Authors; + type PublicationId = S::PublicationId; + type Title = S::Title; type OccurredAt = S::OccurredAt; type BookId = S::BookId; - type Did = S::Did; + type BookPub = S::BookPub; } ///State transition - sets the `book_sig` field to Set pub struct SetBookSig(PhantomData S>); impl sealed::Sealed for SetBookSig {} impl State for SetBookSig { - type Title = S::Title; - type PublicationId = S::PublicationId; - type BookPub = S::BookPub; - type BookSig = Set; + type Did = S::Did; type Authors = S::Authors; + type BookSig = Set; + type PublicationId = S::PublicationId; + type Title = S::Title; type OccurredAt = S::OccurredAt; type BookId = S::BookId; - type Did = S::Did; + type BookPub = S::BookPub; } - ///State transition - sets the `authors` field to Set - pub struct SetAuthors(PhantomData S>); - impl sealed::Sealed for SetAuthors {} - impl State for SetAuthors { + ///State transition - sets the `publication_id` field to Set + pub struct SetPublicationId(PhantomData S>); + impl sealed::Sealed for SetPublicationId {} + impl State for SetPublicationId { + type Did = S::Did; + type Authors = S::Authors; + type BookSig = S::BookSig; + type PublicationId = Set; type Title = S::Title; - type PublicationId = S::PublicationId; + type OccurredAt = S::OccurredAt; + type BookId = S::BookId; type BookPub = S::BookPub; + } + ///State transition - sets the `title` field to Set + pub struct SetTitle(PhantomData S>); + impl sealed::Sealed for SetTitle {} + impl State for SetTitle { + type Did = S::Did; + type Authors = S::Authors; type BookSig = S::BookSig; - type Authors = Set; + type PublicationId = S::PublicationId; + type Title = Set; type OccurredAt = S::OccurredAt; type BookId = S::BookId; - type Did = S::Did; + type BookPub = S::BookPub; } ///State transition - sets the `occurred_at` field to Set pub struct SetOccurredAt(PhantomData S>); impl sealed::Sealed for SetOccurredAt {} impl State for SetOccurredAt { - type Title = S::Title; - type PublicationId = S::PublicationId; - type BookPub = S::BookPub; - type BookSig = S::BookSig; + type Did = S::Did; type Authors = S::Authors; + type BookSig = S::BookSig; + type PublicationId = S::PublicationId; + type Title = S::Title; type OccurredAt = Set; type BookId = S::BookId; - type Did = S::Did; + type BookPub = S::BookPub; } ///State transition - sets the `book_id` field to Set pub struct SetBookId(PhantomData S>); impl sealed::Sealed for SetBookId {} impl State for SetBookId { - type Title = S::Title; - type PublicationId = S::PublicationId; - type BookPub = S::BookPub; - type BookSig = S::BookSig; + type Did = S::Did; type Authors = S::Authors; + type BookSig = S::BookSig; + type PublicationId = S::PublicationId; + type Title = S::Title; type OccurredAt = S::OccurredAt; type BookId = Set; - type Did = S::Did; - } - ///State transition - sets the `did` field to Set - pub struct SetDid(PhantomData S>); - impl sealed::Sealed for SetDid {} - impl State for SetDid { - type Title = S::Title; - type PublicationId = S::PublicationId; type BookPub = S::BookPub; - type BookSig = S::BookSig; + } + ///State transition - sets the `book_pub` field to Set + pub struct SetBookPub(PhantomData S>); + impl sealed::Sealed for SetBookPub {} + impl State for SetBookPub { + type Did = S::Did; type Authors = S::Authors; + type BookSig = S::BookSig; + type PublicationId = S::PublicationId; + type Title = S::Title; type OccurredAt = S::OccurredAt; type BookId = S::BookId; - type Did = Set; + type BookPub = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `title` field - pub struct title(()); - ///Marker type for the `publication_id` field - pub struct publication_id(()); - ///Marker type for the `book_pub` field - pub struct book_pub(()); - ///Marker type for the `book_sig` field - pub struct book_sig(()); + ///Marker type for the `did` field + pub struct did(()); ///Marker type for the `authors` field pub struct authors(()); + ///Marker type for the `book_sig` field + pub struct book_sig(()); + ///Marker type for the `publication_id` field + pub struct publication_id(()); + ///Marker type for the `title` field + pub struct title(()); ///Marker type for the `occurred_at` field pub struct occurred_at(()); ///Marker type for the `book_id` field pub struct book_id(()); - ///Marker type for the `did` field - pub struct did(()); + ///Marker type for the `book_pub` field + pub struct book_pub(()); } } @@ -215,8 +215,8 @@ pub struct RegistrationBuilder<'a, S: registration_state::State> { ::core::option::Option>, ::core::option::Option>>, ::core::option::Option>, - ::core::option::Option, - ::core::option::Option, + ::core::option::Option, + ::core::option::Option, ::core::option::Option>, ::core::option::Option>, ::core::option::Option, @@ -320,7 +320,7 @@ where /// Set the `bookPub` field (required) pub fn book_pub( mut self, - value: impl Into, + value: impl Into, ) -> RegistrationBuilder<'a, registration_state::SetBookPub> { self.__unsafe_private_named.3 = ::core::option::Option::Some(value.into()); RegistrationBuilder { @@ -339,7 +339,7 @@ where /// Set the `bookSig` field (required) pub fn book_sig( mut self, - value: impl Into, + value: impl Into, ) -> RegistrationBuilder<'a, registration_state::SetBookSig> { self.__unsafe_private_named.4 = ::core::option::Option::Some(value.into()); RegistrationBuilder { @@ -448,14 +448,14 @@ where impl<'a, S> RegistrationBuilder<'a, S> where S: registration_state::State, - S::Title: registration_state::IsSet, - S::PublicationId: registration_state::IsSet, - S::BookPub: registration_state::IsSet, - S::BookSig: registration_state::IsSet, + S::Did: registration_state::IsSet, S::Authors: registration_state::IsSet, + S::BookSig: registration_state::IsSet, + S::PublicationId: registration_state::IsSet, + S::Title: registration_state::IsSet, S::OccurredAt: registration_state::IsSet, S::BookId: registration_state::IsSet, - S::Did: registration_state::IsSet, + S::BookPub: registration_state::IsSet, { /// Build the final struct pub fn build(self) -> Registration<'a> { @@ -477,7 +477,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Registration<'a> { @@ -612,7 +612,7 @@ fn lexicon_doc_org_passingreads_book_registration() -> ::jacquard_lexicon::lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -624,14 +624,14 @@ fn lexicon_doc_org_passingreads_book_registration() -> ::jacquard_lexicon::lexic description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("did"), - ::jacquard_common::smol_str::SmolStr::new_static("bookId"), - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("authors"), - ::jacquard_common::smol_str::SmolStr::new_static("publicationId"), - ::jacquard_common::smol_str::SmolStr::new_static("occurredAt"), - ::jacquard_common::smol_str::SmolStr::new_static("bookPub"), - ::jacquard_common::smol_str::SmolStr::new_static("bookSig") + ::jacquard_common::deps::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("bookId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("authors"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("publicationId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("occurredAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("bookPub"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("bookSig") ], ), nullable: None, @@ -639,7 +639,7 @@ fn lexicon_doc_org_passingreads_book_registration() -> ::jacquard_lexicon::lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "aspectRatio", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -650,7 +650,9 @@ fn lexicon_doc_org_passingreads_book_registration() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("authors"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "authors", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -674,7 +676,9 @@ fn lexicon_doc_org_passingreads_book_registration() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("bookId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "bookId", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -693,7 +697,9 @@ fn lexicon_doc_org_passingreads_book_registration() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("bookPub"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "bookPub", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Bytes(::jacquard_lexicon::lexicon::LexBytes { description: None, max_length: None, @@ -701,7 +707,9 @@ fn lexicon_doc_org_passingreads_book_registration() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("bookSig"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "bookSig", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Bytes(::jacquard_lexicon::lexicon::LexBytes { description: None, max_length: None, @@ -709,7 +717,9 @@ fn lexicon_doc_org_passingreads_book_registration() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cover"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cover", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -717,7 +727,9 @@ fn lexicon_doc_org_passingreads_book_registration() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -738,7 +750,7 @@ fn lexicon_doc_org_passingreads_book_registration() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "occurredAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -757,7 +769,7 @@ fn lexicon_doc_org_passingreads_book_registration() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publicationId", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -778,7 +790,9 @@ fn lexicon_doc_org_passingreads_book_registration() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/org_robocracy/demo/fungus.rs b/crates/jacquard-api/src/org_robocracy/demo/fungus.rs index beffafb5f..192c1cd10 100644 --- a/crates/jacquard-api/src/org_robocracy/demo/fungus.rs +++ b/crates/jacquard-api/src/org_robocracy/demo/fungus.rs @@ -154,7 +154,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Fungus<'a> { @@ -257,7 +257,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Fungus<'a> { { let value = &self.common_name; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -287,7 +287,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Fungus<'a> { } if let Some(ref value) = self.species { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -318,7 +318,7 @@ fn lexicon_doc_org_robocracy_demo_fungus() -> ::jacquard_lexicon::lexicon::Lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static("it's a kind of fungus!"), @@ -328,7 +328,7 @@ fn lexicon_doc_org_robocracy_demo_fungus() -> ::jacquard_lexicon::lexicon::Lexic description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("commonName") + ::jacquard_common::deps::smol_str::SmolStr::new_static("commonName") ], ), nullable: None, @@ -336,7 +336,7 @@ fn lexicon_doc_org_robocracy_demo_fungus() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "commonName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -353,7 +353,9 @@ fn lexicon_doc_org_robocracy_demo_fungus() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("edible"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "edible", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -361,7 +363,9 @@ fn lexicon_doc_org_robocracy_demo_fungus() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("species"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "species", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, diff --git a/crates/jacquard-api/src/org_robocracy/demo/mushies.rs b/crates/jacquard-api/src/org_robocracy/demo/mushies.rs index 9a772024d..8ba923fe7 100644 --- a/crates/jacquard-api/src/org_robocracy/demo/mushies.rs +++ b/crates/jacquard-api/src/org_robocracy/demo/mushies.rs @@ -154,7 +154,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Mushies<'a> { @@ -257,7 +257,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Mushies<'a> { { let value = &self.common_name; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -287,7 +287,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Mushies<'a> { } if let Some(ref value) = self.species { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -318,7 +318,7 @@ fn lexicon_doc_org_robocracy_demo_mushies() -> ::jacquard_lexicon::lexicon::Lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static("it's a kind of fungus!"), @@ -328,7 +328,7 @@ fn lexicon_doc_org_robocracy_demo_mushies() -> ::jacquard_lexicon::lexicon::Lexi description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("commonName") + ::jacquard_common::deps::smol_str::SmolStr::new_static("commonName") ], ), nullable: None, @@ -336,7 +336,7 @@ fn lexicon_doc_org_robocracy_demo_mushies() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "commonName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -353,7 +353,9 @@ fn lexicon_doc_org_robocracy_demo_mushies() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("edible"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "edible", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -361,7 +363,9 @@ fn lexicon_doc_org_robocracy_demo_mushies() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("species"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "species", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, diff --git a/crates/jacquard-api/src/org_simocracy.rs b/crates/jacquard-api/src/org_simocracy.rs index 52ecf177e..c35dc9fe5 100644 --- a/crates/jacquard-api/src/org_simocracy.rs +++ b/crates/jacquard-api/src/org_simocracy.rs @@ -170,7 +170,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> SpriteSettings<'a> { @@ -192,12 +192,12 @@ fn lexicon_doc_org_simocracy_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("spriteSettings"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("spriteSettings"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("selectedOptions") + ::jacquard_common::deps::smol_str::SmolStr::new_static("selectedOptions") ], ), nullable: None, @@ -205,7 +205,7 @@ fn lexicon_doc_org_simocracy_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "currentAnimDirection", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -218,7 +218,7 @@ fn lexicon_doc_org_simocracy_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "partColorSettings", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { @@ -226,7 +226,7 @@ fn lexicon_doc_org_simocracy_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "selectedOptions", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { diff --git a/crates/jacquard-api/src/org_simocracy/agents.rs b/crates/jacquard-api/src/org_simocracy/agents.rs index 5c542a02e..d02add28b 100644 --- a/crates/jacquard-api/src/org_simocracy/agents.rs +++ b/crates/jacquard-api/src/org_simocracy/agents.rs @@ -54,51 +54,51 @@ pub mod agents_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Sim; type ShortDescription; type CreatedAt; + type Sim; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Sim = Unset; type ShortDescription = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `sim` field to Set - pub struct SetSim(PhantomData S>); - impl sealed::Sealed for SetSim {} - impl State for SetSim { - type Sim = Set; - type ShortDescription = S::ShortDescription; - type CreatedAt = S::CreatedAt; + type Sim = Unset; } ///State transition - sets the `short_description` field to Set pub struct SetShortDescription(PhantomData S>); impl sealed::Sealed for SetShortDescription {} impl State for SetShortDescription { - type Sim = S::Sim; type ShortDescription = Set; type CreatedAt = S::CreatedAt; + type Sim = S::Sim; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Sim = S::Sim; type ShortDescription = S::ShortDescription; type CreatedAt = Set; + type Sim = S::Sim; + } + ///State transition - sets the `sim` field to Set + pub struct SetSim(PhantomData S>); + impl sealed::Sealed for SetSim {} + impl State for SetSim { + type ShortDescription = S::ShortDescription; + type CreatedAt = S::CreatedAt; + type Sim = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `sim` field - pub struct sim(()); ///Marker type for the `short_description` field pub struct short_description(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `sim` field + pub struct sim(()); } } @@ -251,9 +251,9 @@ where impl<'a, S> AgentsBuilder<'a, S> where S: agents_state::State, - S::Sim: agents_state::IsSet, S::ShortDescription: agents_state::IsSet, S::CreatedAt: agents_state::IsSet, + S::Sim: agents_state::IsSet, { /// Build the final struct pub fn build(self) -> Agents<'a> { @@ -271,7 +271,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Agents<'a> { @@ -375,7 +375,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Agents<'a> { } if let Some(ref value) = self.description { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -407,7 +407,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Agents<'a> { { let value = &self.short_description; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -438,7 +438,7 @@ fn lexicon_doc_org_simocracy_agents() -> ::jacquard_lexicon::lexicon::LexiconDoc defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -450,9 +450,9 @@ fn lexicon_doc_org_simocracy_agents() -> ::jacquard_lexicon::lexicon::LexiconDoc description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("sim"), - ::jacquard_common::smol_str::SmolStr::new_static("shortDescription"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("sim"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("shortDescription"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -460,7 +460,7 @@ fn lexicon_doc_org_simocracy_agents() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -483,7 +483,7 @@ fn lexicon_doc_org_simocracy_agents() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -504,7 +504,7 @@ fn lexicon_doc_org_simocracy_agents() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "descriptionFacets", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -524,7 +524,7 @@ fn lexicon_doc_org_simocracy_agents() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "shortDescription", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -545,7 +545,7 @@ fn lexicon_doc_org_simocracy_agents() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "shortDescriptionFacets", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -565,7 +565,9 @@ fn lexicon_doc_org_simocracy_agents() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sim"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sim", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/org_simocracy/event.rs b/crates/jacquard-api/src/org_simocracy/event.rs index f04ae61a9..cf5bca470 100644 --- a/crates/jacquard-api/src/org_simocracy/event.rs +++ b/crates/jacquard-api/src/org_simocracy/event.rs @@ -59,67 +59,67 @@ pub mod event_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type SimNames; - type Type; type ActorDid; + type CreatedAt; + type Type; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type SimNames = Unset; - type Type = Unset; type ActorDid = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type SimNames = S::SimNames; - type Type = S::Type; - type ActorDid = S::ActorDid; + type CreatedAt = Unset; + type Type = Unset; } ///State transition - sets the `sim_names` field to Set pub struct SetSimNames(PhantomData S>); impl sealed::Sealed for SetSimNames {} impl State for SetSimNames { - type CreatedAt = S::CreatedAt; type SimNames = Set; - type Type = S::Type; type ActorDid = S::ActorDid; - } - ///State transition - sets the `type` field to Set - pub struct SetType(PhantomData S>); - impl sealed::Sealed for SetType {} - impl State for SetType { type CreatedAt = S::CreatedAt; - type SimNames = S::SimNames; - type Type = Set; - type ActorDid = S::ActorDid; + type Type = S::Type; } ///State transition - sets the `actor_did` field to Set pub struct SetActorDid(PhantomData S>); impl sealed::Sealed for SetActorDid {} impl State for SetActorDid { + type SimNames = S::SimNames; + type ActorDid = Set; type CreatedAt = S::CreatedAt; + type Type = S::Type; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { type SimNames = S::SimNames; + type ActorDid = S::ActorDid; + type CreatedAt = Set; type Type = S::Type; - type ActorDid = Set; + } + ///State transition - sets the `type` field to Set + pub struct SetType(PhantomData S>); + impl sealed::Sealed for SetType {} + impl State for SetType { + type SimNames = S::SimNames; + type ActorDid = S::ActorDid; + type CreatedAt = S::CreatedAt; + type Type = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `sim_names` field pub struct sim_names(()); - ///Marker type for the `type` field - pub struct r#type(()); ///Marker type for the `actor_did` field pub struct actor_did(()); + ///Marker type for the `created_at` field + pub struct created_at(()); + ///Marker type for the `type` field + pub struct r#type(()); } } @@ -333,10 +333,10 @@ impl<'a, S: event_state::State> EventBuilder<'a, S> { impl<'a, S> EventBuilder<'a, S> where S: event_state::State, - S::CreatedAt: event_state::IsSet, S::SimNames: event_state::IsSet, - S::Type: event_state::IsSet, S::ActorDid: event_state::IsSet, + S::CreatedAt: event_state::IsSet, + S::Type: event_state::IsSet, { /// Build the final struct pub fn build(self) -> Event<'a> { @@ -357,7 +357,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Event<'a> { @@ -452,7 +452,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Event<'a> { ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { if let Some(ref value) = self.content { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -470,7 +470,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Event<'a> { } if let Some(ref value) = self.proposal_title { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -513,7 +513,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Event<'a> { } if let Some(ref value) = self.user_message { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -544,7 +544,7 @@ fn lexicon_doc_org_simocracy_event() -> ::jacquard_lexicon::lexicon::LexiconDoc< defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -556,10 +556,10 @@ fn lexicon_doc_org_simocracy_event() -> ::jacquard_lexicon::lexicon::LexiconDoc< description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("type"), - ::jacquard_common::smol_str::SmolStr::new_static("actorDid"), - ::jacquard_common::smol_str::SmolStr::new_static("simNames"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("actorDid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("simNames"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -567,7 +567,7 @@ fn lexicon_doc_org_simocracy_event() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "actorDid", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -588,7 +588,9 @@ fn lexicon_doc_org_simocracy_event() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "content", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -607,7 +609,7 @@ fn lexicon_doc_org_simocracy_event() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -626,7 +628,7 @@ fn lexicon_doc_org_simocracy_event() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "proposalTitle", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -647,7 +649,9 @@ fn lexicon_doc_org_simocracy_event() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("round"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "round", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -658,7 +662,7 @@ fn lexicon_doc_org_simocracy_event() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "simNames", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -684,7 +688,9 @@ fn lexicon_doc_org_simocracy_event() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("simUris"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "simUris", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -708,7 +714,9 @@ fn lexicon_doc_org_simocracy_event() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "type", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -727,7 +735,7 @@ fn lexicon_doc_org_simocracy_event() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "userMessage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/org_simocracy/interview.rs b/crates/jacquard-api/src/org_simocracy/interview.rs index dfaaeaf7d..5896b9b86 100644 --- a/crates/jacquard-api/src/org_simocracy/interview.rs +++ b/crates/jacquard-api/src/org_simocracy/interview.rs @@ -41,8 +41,8 @@ pub mod interview_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type YesNoAnswers; type OpenAnswers; + type YesNoAnswers; type Sim; type CreatedAt; } @@ -50,26 +50,26 @@ pub mod interview_state { pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type YesNoAnswers = Unset; type OpenAnswers = Unset; + type YesNoAnswers = Unset; type Sim = Unset; type CreatedAt = Unset; } - ///State transition - sets the `yes_no_answers` field to Set - pub struct SetYesNoAnswers(PhantomData S>); - impl sealed::Sealed for SetYesNoAnswers {} - impl State for SetYesNoAnswers { - type YesNoAnswers = Set; - type OpenAnswers = S::OpenAnswers; - type Sim = S::Sim; - type CreatedAt = S::CreatedAt; - } ///State transition - sets the `open_answers` field to Set pub struct SetOpenAnswers(PhantomData S>); impl sealed::Sealed for SetOpenAnswers {} impl State for SetOpenAnswers { - type YesNoAnswers = S::YesNoAnswers; type OpenAnswers = Set; + type YesNoAnswers = S::YesNoAnswers; + type Sim = S::Sim; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `yes_no_answers` field to Set + pub struct SetYesNoAnswers(PhantomData S>); + impl sealed::Sealed for SetYesNoAnswers {} + impl State for SetYesNoAnswers { + type OpenAnswers = S::OpenAnswers; + type YesNoAnswers = Set; type Sim = S::Sim; type CreatedAt = S::CreatedAt; } @@ -77,8 +77,8 @@ pub mod interview_state { pub struct SetSim(PhantomData S>); impl sealed::Sealed for SetSim {} impl State for SetSim { - type YesNoAnswers = S::YesNoAnswers; type OpenAnswers = S::OpenAnswers; + type YesNoAnswers = S::YesNoAnswers; type Sim = Set; type CreatedAt = S::CreatedAt; } @@ -86,18 +86,18 @@ pub mod interview_state { pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type YesNoAnswers = S::YesNoAnswers; type OpenAnswers = S::OpenAnswers; + type YesNoAnswers = S::YesNoAnswers; type Sim = S::Sim; type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `yes_no_answers` field - pub struct yes_no_answers(()); ///Marker type for the `open_answers` field pub struct open_answers(()); + ///Marker type for the `yes_no_answers` field + pub struct yes_no_answers(()); ///Marker type for the `sim` field pub struct sim(()); ///Marker type for the `created_at` field @@ -214,8 +214,8 @@ where impl<'a, S> InterviewBuilder<'a, S> where S: interview_state::State, - S::YesNoAnswers: interview_state::IsSet, S::OpenAnswers: interview_state::IsSet, + S::YesNoAnswers: interview_state::IsSet, S::Sim: interview_state::IsSet, S::CreatedAt: interview_state::IsSet, { @@ -233,7 +233,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Interview<'a> { @@ -336,7 +336,7 @@ fn lexicon_doc_org_simocracy_interview() -> ::jacquard_lexicon::lexicon::Lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -348,10 +348,10 @@ fn lexicon_doc_org_simocracy_interview() -> ::jacquard_lexicon::lexicon::Lexicon description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("sim"), - ::jacquard_common::smol_str::SmolStr::new_static("openAnswers"), - ::jacquard_common::smol_str::SmolStr::new_static("yesNoAnswers"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("sim"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("openAnswers"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("yesNoAnswers"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -359,7 +359,7 @@ fn lexicon_doc_org_simocracy_interview() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -382,7 +382,7 @@ fn lexicon_doc_org_simocracy_interview() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "openAnswers", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -400,7 +400,9 @@ fn lexicon_doc_org_simocracy_interview() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sim"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sim", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -409,7 +411,7 @@ fn lexicon_doc_org_simocracy_interview() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "yesNoAnswers", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -434,7 +436,7 @@ fn lexicon_doc_org_simocracy_interview() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("openAnswer"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("openAnswer"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -443,8 +445,8 @@ fn lexicon_doc_org_simocracy_interview() -> ::jacquard_lexicon::lexicon::Lexicon ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("question"), - ::jacquard_common::smol_str::SmolStr::new_static("answer") + ::jacquard_common::deps::smol_str::SmolStr::new_static("question"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("answer") ], ), nullable: None, @@ -452,7 +454,9 @@ fn lexicon_doc_org_simocracy_interview() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("answer"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "answer", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -471,7 +475,9 @@ fn lexicon_doc_org_simocracy_interview() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("question"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "question", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -494,7 +500,7 @@ fn lexicon_doc_org_simocracy_interview() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("valueResponse"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("valueResponse"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -503,8 +509,8 @@ fn lexicon_doc_org_simocracy_interview() -> ::jacquard_lexicon::lexicon::Lexicon ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("statement"), - ::jacquard_common::smol_str::SmolStr::new_static("answer") + ::jacquard_common::deps::smol_str::SmolStr::new_static("statement"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("answer") ], ), nullable: None, @@ -512,7 +518,9 @@ fn lexicon_doc_org_simocracy_interview() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("answer"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "answer", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -520,7 +528,7 @@ fn lexicon_doc_org_simocracy_interview() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "statement", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -600,7 +608,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for OpenAnswer<'a> { { let value = &self.answer; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -781,7 +789,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ValueResponse<'a> { diff --git a/crates/jacquard-api/src/org_simocracy/senate/activity.rs b/crates/jacquard-api/src/org_simocracy/senate/activity.rs index 429c2ce1d..1790fc8e5 100644 --- a/crates/jacquard-api/src/org_simocracy/senate/activity.rs +++ b/crates/jacquard-api/src/org_simocracy/senate/activity.rs @@ -56,51 +56,51 @@ pub mod activity_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type ActivityType; type CreatedAt; type CommitteeSims; + type ActivityType; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type ActivityType = Unset; type CreatedAt = Unset; type CommitteeSims = Unset; - } - ///State transition - sets the `activity_type` field to Set - pub struct SetActivityType(PhantomData S>); - impl sealed::Sealed for SetActivityType {} - impl State for SetActivityType { - type ActivityType = Set; - type CreatedAt = S::CreatedAt; - type CommitteeSims = S::CommitteeSims; + type ActivityType = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type ActivityType = S::ActivityType; type CreatedAt = Set; type CommitteeSims = S::CommitteeSims; + type ActivityType = S::ActivityType; } ///State transition - sets the `committee_sims` field to Set pub struct SetCommitteeSims(PhantomData S>); impl sealed::Sealed for SetCommitteeSims {} impl State for SetCommitteeSims { - type ActivityType = S::ActivityType; type CreatedAt = S::CreatedAt; type CommitteeSims = Set; + type ActivityType = S::ActivityType; + } + ///State transition - sets the `activity_type` field to Set + pub struct SetActivityType(PhantomData S>); + impl sealed::Sealed for SetActivityType {} + impl State for SetActivityType { + type CreatedAt = S::CreatedAt; + type CommitteeSims = S::CommitteeSims; + type ActivityType = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `activity_type` field - pub struct activity_type(()); ///Marker type for the `created_at` field pub struct created_at(()); ///Marker type for the `committee_sims` field pub struct committee_sims(()); + ///Marker type for the `activity_type` field + pub struct activity_type(()); } } @@ -267,9 +267,9 @@ impl<'a, S: activity_state::State> ActivityBuilder<'a, S> { impl<'a, S> ActivityBuilder<'a, S> where S: activity_state::State, - S::ActivityType: activity_state::IsSet, S::CreatedAt: activity_state::IsSet, S::CommitteeSims: activity_state::IsSet, + S::ActivityType: activity_state::IsSet, { /// Build the final struct pub fn build(self) -> Activity<'a> { @@ -288,7 +288,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Activity<'a> { @@ -627,7 +627,7 @@ fn lexicon_doc_org_simocracy_senate_activity() -> ::jacquard_lexicon::lexicon::L defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -639,9 +639,9 @@ fn lexicon_doc_org_simocracy_senate_activity() -> ::jacquard_lexicon::lexicon::L description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("activityType"), - ::jacquard_common::smol_str::SmolStr::new_static("committeeSims"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("activityType"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("committeeSims"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -649,7 +649,7 @@ fn lexicon_doc_org_simocracy_senate_activity() -> ::jacquard_lexicon::lexicon::L #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "activityType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -670,7 +670,7 @@ fn lexicon_doc_org_simocracy_senate_activity() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "committeeSims", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -690,7 +690,7 @@ fn lexicon_doc_org_simocracy_senate_activity() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -713,7 +713,7 @@ fn lexicon_doc_org_simocracy_senate_activity() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "evaluation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -724,7 +724,7 @@ fn lexicon_doc_org_simocracy_senate_activity() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "proposalText", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -745,7 +745,7 @@ fn lexicon_doc_org_simocracy_senate_activity() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "resultSummary", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -766,7 +766,9 @@ fn lexicon_doc_org_simocracy_senate_activity() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("status"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "status", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/org_simocracy/sim.rs b/crates/jacquard-api/src/org_simocracy/sim.rs index ac675be7b..e978e36bf 100644 --- a/crates/jacquard-api/src/org_simocracy/sim.rs +++ b/crates/jacquard-api/src/org_simocracy/sim.rs @@ -42,51 +42,51 @@ pub mod sim_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Settings; - type CreatedAt; type Name; + type CreatedAt; + type Settings; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Settings = Unset; - type CreatedAt = Unset; type Name = Unset; + type CreatedAt = Unset; + type Settings = Unset; } - ///State transition - sets the `settings` field to Set - pub struct SetSettings(PhantomData S>); - impl sealed::Sealed for SetSettings {} - impl State for SetSettings { - type Settings = Set; + ///State transition - sets the `name` field to Set + pub struct SetName(PhantomData S>); + impl sealed::Sealed for SetName {} + impl State for SetName { + type Name = Set; type CreatedAt = S::CreatedAt; - type Name = S::Name; + type Settings = S::Settings; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Settings = S::Settings; - type CreatedAt = Set; type Name = S::Name; - } - ///State transition - sets the `name` field to Set - pub struct SetName(PhantomData S>); - impl sealed::Sealed for SetName {} - impl State for SetName { + type CreatedAt = Set; type Settings = S::Settings; + } + ///State transition - sets the `settings` field to Set + pub struct SetSettings(PhantomData S>); + impl sealed::Sealed for SetSettings {} + impl State for SetSettings { + type Name = S::Name; type CreatedAt = S::CreatedAt; - type Name = Set; + type Settings = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `settings` field - pub struct settings(()); - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `name` field pub struct name(()); + ///Marker type for the `created_at` field + pub struct created_at(()); + ///Marker type for the `settings` field + pub struct settings(()); } } @@ -199,9 +199,9 @@ where impl<'a, S> SimBuilder<'a, S> where S: sim_state::State, - S::Settings: sim_state::IsSet, - S::CreatedAt: sim_state::IsSet, S::Name: sim_state::IsSet, + S::CreatedAt: sim_state::IsSet, + S::Settings: sim_state::IsSet, { /// Build the final struct pub fn build(self) -> Sim<'a> { @@ -217,7 +217,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Sim<'a> { @@ -331,7 +331,7 @@ fn lexicon_doc_org_simocracy_sim() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -343,9 +343,9 @@ fn lexicon_doc_org_simocracy_sim() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("settings"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("settings"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -353,7 +353,7 @@ fn lexicon_doc_org_simocracy_sim() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -376,7 +376,9 @@ fn lexicon_doc_org_simocracy_sim() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -384,7 +386,9 @@ fn lexicon_doc_org_simocracy_sim() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -403,7 +407,7 @@ fn lexicon_doc_org_simocracy_sim() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "settings", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { diff --git a/crates/jacquard-api/src/org_simocracy/skill.rs b/crates/jacquard-api/src/org_simocracy/skill.rs index d19da0e0d..16075dc90 100644 --- a/crates/jacquard-api/src/org_simocracy/skill.rs +++ b/crates/jacquard-api/src/org_simocracy/skill.rs @@ -63,50 +63,50 @@ pub mod skill_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Name; - type CreatedAt; type Sim; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Name = Unset; - type CreatedAt = Unset; type Sim = Unset; + type CreatedAt = Unset; } ///State transition - sets the `name` field to Set pub struct SetName(PhantomData S>); impl sealed::Sealed for SetName {} impl State for SetName { type Name = Set; - type CreatedAt = S::CreatedAt; - type Sim = S::Sim; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type Name = S::Name; - type CreatedAt = Set; type Sim = S::Sim; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `sim` field to Set pub struct SetSim(PhantomData S>); impl sealed::Sealed for SetSim {} impl State for SetSim { type Name = S::Name; - type CreatedAt = S::CreatedAt; type Sim = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Name = S::Name; + type Sim = S::Sim; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `name` field pub struct name(()); - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `sim` field pub struct sim(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -300,8 +300,8 @@ impl<'a, S> SkillBuilder<'a, S> where S: skill_state::State, S::Name: skill_state::IsSet, - S::CreatedAt: skill_state::IsSet, S::Sim: skill_state::IsSet, + S::CreatedAt: skill_state::IsSet, { /// Build the final struct pub fn build(self) -> Skill<'a> { @@ -321,7 +321,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Skill<'a> { @@ -427,7 +427,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Skill<'a> { } if let Some(ref value) = self.description { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -457,7 +457,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Skill<'a> { } if let Some(ref value) = self.instructions { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -513,7 +513,7 @@ fn lexicon_doc_org_simocracy_skill() -> ::jacquard_lexicon::lexicon::LexiconDoc< defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -525,9 +525,9 @@ fn lexicon_doc_org_simocracy_skill() -> ::jacquard_lexicon::lexicon::LexiconDoc< description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("sim"), - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("sim"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -535,7 +535,7 @@ fn lexicon_doc_org_simocracy_skill() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -558,7 +558,7 @@ fn lexicon_doc_org_simocracy_skill() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -579,7 +579,7 @@ fn lexicon_doc_org_simocracy_skill() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "descriptionFacets", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -599,7 +599,7 @@ fn lexicon_doc_org_simocracy_skill() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "instructions", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -620,7 +620,7 @@ fn lexicon_doc_org_simocracy_skill() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "instructionsFacets", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -640,7 +640,9 @@ fn lexicon_doc_org_simocracy_skill() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Name of the skill"), @@ -657,7 +659,9 @@ fn lexicon_doc_org_simocracy_skill() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sim"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sim", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -666,7 +670,7 @@ fn lexicon_doc_org_simocracy_skill() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "triggers", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { diff --git a/crates/jacquard-api/src/org_simocracy/style.rs b/crates/jacquard-api/src/org_simocracy/style.rs index 054a8eec2..76271b86f 100644 --- a/crates/jacquard-api/src/org_simocracy/style.rs +++ b/crates/jacquard-api/src/org_simocracy/style.rs @@ -216,7 +216,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Style<'a> { @@ -320,7 +320,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Style<'a> { { let value = &self.description; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -351,7 +351,7 @@ fn lexicon_doc_org_simocracy_style() -> ::jacquard_lexicon::lexicon::LexiconDoc< defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -363,9 +363,9 @@ fn lexicon_doc_org_simocracy_style() -> ::jacquard_lexicon::lexicon::LexiconDoc< description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("sim"), - ::jacquard_common::smol_str::SmolStr::new_static("description"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("sim"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("description"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -373,7 +373,7 @@ fn lexicon_doc_org_simocracy_style() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -392,7 +392,7 @@ fn lexicon_doc_org_simocracy_style() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -413,7 +413,7 @@ fn lexicon_doc_org_simocracy_style() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "descriptionFacets", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -429,7 +429,9 @@ fn lexicon_doc_org_simocracy_style() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sim"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sim", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/org_simocracy/vote.rs b/crates/jacquard-api/src/org_simocracy/vote.rs index 18121e408..698fc36e0 100644 --- a/crates/jacquard-api/src/org_simocracy/vote.rs +++ b/crates/jacquard-api/src/org_simocracy/vote.rs @@ -38,50 +38,50 @@ pub mod vote_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Votes; - type CreatedAt; type Sim; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Votes = Unset; - type CreatedAt = Unset; type Sim = Unset; + type CreatedAt = Unset; } ///State transition - sets the `votes` field to Set pub struct SetVotes(PhantomData S>); impl sealed::Sealed for SetVotes {} impl State for SetVotes { type Votes = Set; - type CreatedAt = S::CreatedAt; - type Sim = S::Sim; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type Votes = S::Votes; - type CreatedAt = Set; type Sim = S::Sim; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `sim` field to Set pub struct SetSim(PhantomData S>); impl sealed::Sealed for SetSim {} impl State for SetSim { type Votes = S::Votes; - type CreatedAt = S::CreatedAt; type Sim = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Votes = S::Votes; + type Sim = S::Sim; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `votes` field pub struct votes(()); - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `sim` field pub struct sim(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -175,8 +175,8 @@ impl<'a, S> VoteBuilder<'a, S> where S: vote_state::State, S::Votes: vote_state::IsSet, - S::CreatedAt: vote_state::IsSet, S::Sim: vote_state::IsSet, + S::CreatedAt: vote_state::IsSet, { /// Build the final struct pub fn build(self) -> Vote<'a> { @@ -191,7 +191,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Vote<'a> { @@ -291,7 +291,7 @@ fn lexicon_doc_org_simocracy_vote() -> ::jacquard_lexicon::lexicon::LexiconDoc<' defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -303,9 +303,9 @@ fn lexicon_doc_org_simocracy_vote() -> ::jacquard_lexicon::lexicon::LexiconDoc<' description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("sim"), - ::jacquard_common::smol_str::SmolStr::new_static("votes"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("sim"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("votes"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -313,7 +313,7 @@ fn lexicon_doc_org_simocracy_vote() -> ::jacquard_lexicon::lexicon::LexiconDoc<' #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -336,7 +336,9 @@ fn lexicon_doc_org_simocracy_vote() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sim"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sim", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -345,7 +347,9 @@ fn lexicon_doc_org_simocracy_vote() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("votes"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "votes", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, diff --git a/crates/jacquard-api/src/org_stormlightlabs/malfestio/deck.rs b/crates/jacquard-api/src/org_stormlightlabs/malfestio/deck.rs index 4d811099d..45a88855c 100644 --- a/crates/jacquard-api/src/org_stormlightlabs/malfestio/deck.rs +++ b/crates/jacquard-api/src/org_stormlightlabs/malfestio/deck.rs @@ -349,7 +349,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Deck<'a> { @@ -625,7 +625,7 @@ fn lexicon_doc_org_stormlightlabs_malfestio_deck() -> ::jacquard_lexicon::lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -637,8 +637,8 @@ fn lexicon_doc_org_stormlightlabs_malfestio_deck() -> ::jacquard_lexicon::lexico description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -646,7 +646,7 @@ fn lexicon_doc_org_stormlightlabs_malfestio_deck() -> ::jacquard_lexicon::lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "cardRefs", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -674,7 +674,7 @@ fn lexicon_doc_org_stormlightlabs_malfestio_deck() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -693,7 +693,7 @@ fn lexicon_doc_org_stormlightlabs_malfestio_deck() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -714,7 +714,7 @@ fn lexicon_doc_org_stormlightlabs_malfestio_deck() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "language", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -735,7 +735,9 @@ fn lexicon_doc_org_stormlightlabs_malfestio_deck() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("license"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "license", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -754,7 +756,7 @@ fn lexicon_doc_org_stormlightlabs_malfestio_deck() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sourceRefs", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -782,7 +784,9 @@ fn lexicon_doc_org_stormlightlabs_malfestio_deck() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tags", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::String(::jacquard_lexicon::lexicon::LexString { @@ -802,7 +806,9 @@ fn lexicon_doc_org_stormlightlabs_malfestio_deck() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Title of the deck."), @@ -819,7 +825,7 @@ fn lexicon_doc_org_stormlightlabs_malfestio_deck() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -842,7 +848,7 @@ fn lexicon_doc_org_stormlightlabs_malfestio_deck() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "visibility", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { 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 940753a10..fbb289da6 100644 --- a/crates/jacquard-api/src/org_stormlightlabs/malfestio/thread/comment.rs +++ b/crates/jacquard-api/src/org_stormlightlabs/malfestio/thread/comment.rs @@ -42,50 +42,50 @@ pub mod comment_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type CreatedAt; - type SubjectRef; type Body; + type SubjectRef; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type CreatedAt = Unset; - type SubjectRef = Unset; type Body = Unset; + type SubjectRef = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { type CreatedAt = Set; - type SubjectRef = S::SubjectRef; - type Body = S::Body; - } - ///State transition - sets the `subject_ref` field to Set - pub struct SetSubjectRef(PhantomData S>); - impl sealed::Sealed for SetSubjectRef {} - impl State for SetSubjectRef { - type CreatedAt = S::CreatedAt; - type SubjectRef = Set; type Body = S::Body; + type SubjectRef = S::SubjectRef; } ///State transition - sets the `body` field to Set pub struct SetBody(PhantomData S>); impl sealed::Sealed for SetBody {} impl State for SetBody { type CreatedAt = S::CreatedAt; - type SubjectRef = S::SubjectRef; type Body = Set; + type SubjectRef = S::SubjectRef; + } + ///State transition - sets the `subject_ref` field to Set + pub struct SetSubjectRef(PhantomData S>); + impl sealed::Sealed for SetSubjectRef {} + impl State for SetSubjectRef { + type CreatedAt = S::CreatedAt; + type Body = S::Body; + type SubjectRef = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `created_at` field pub struct created_at(()); - ///Marker type for the `subject_ref` field - pub struct subject_ref(()); ///Marker type for the `body` field pub struct body(()); + ///Marker type for the `subject_ref` field + pub struct subject_ref(()); } } @@ -199,8 +199,8 @@ impl<'a, S> CommentBuilder<'a, S> where S: comment_state::State, S::CreatedAt: comment_state::IsSet, - S::SubjectRef: comment_state::IsSet, S::Body: comment_state::IsSet, + S::SubjectRef: comment_state::IsSet, { /// Build the final struct pub fn build(self) -> Comment<'a> { @@ -216,7 +216,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Comment<'a> { @@ -334,7 +334,7 @@ fn lexicon_doc_org_stormlightlabs_malfestio_thread_comment() -> ::jacquard_lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -346,9 +346,9 @@ fn lexicon_doc_org_stormlightlabs_malfestio_thread_comment() -> ::jacquard_lexic description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subjectRef"), - ::jacquard_common::smol_str::SmolStr::new_static("body"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subjectRef"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("body"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -356,7 +356,9 @@ fn lexicon_doc_org_stormlightlabs_malfestio_thread_comment() -> ::jacquard_lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("body"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "body", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("The comment text."), @@ -373,7 +375,7 @@ fn lexicon_doc_org_stormlightlabs_malfestio_thread_comment() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -392,7 +394,9 @@ fn lexicon_doc_org_stormlightlabs_malfestio_thread_comment() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("replyTo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "replyTo", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -413,7 +417,7 @@ fn lexicon_doc_org_stormlightlabs_malfestio_thread_comment() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjectRef", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { 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 b9f1dede6..c6ff78c91 100644 --- a/crates/jacquard-api/src/org_user_intents/demo/declaration.rs +++ b/crates/jacquard-api/src/org_user_intents/demo/declaration.rs @@ -133,7 +133,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Intent<'a> { @@ -156,12 +156,12 @@ fn lexicon_doc_org_user_intents_demo_declaration() -> ::jacquard_lexicon::lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("intent"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("intent"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("updatedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("updatedAt") ], ), nullable: None, @@ -169,7 +169,9 @@ fn lexicon_doc_org_user_intents_demo_declaration() -> ::jacquard_lexicon::lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("allow"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "allow", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -177,7 +179,7 @@ fn lexicon_doc_org_user_intents_demo_declaration() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -202,7 +204,7 @@ fn lexicon_doc_org_user_intents_demo_declaration() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some(::jacquard_common::CowStr::new_static("TODO")), key: Some(::jacquard_common::CowStr::new_static("literal:self")), @@ -214,7 +216,7 @@ fn lexicon_doc_org_user_intents_demo_declaration() -> ::jacquard_lexicon::lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "bulkDataset", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -223,7 +225,7 @@ fn lexicon_doc_org_user_intents_demo_declaration() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "protocolBridging", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -232,7 +234,7 @@ fn lexicon_doc_org_user_intents_demo_declaration() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publicAccessArchive", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -241,7 +243,7 @@ fn lexicon_doc_org_user_intents_demo_declaration() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "syntheticContentGeneration", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -250,7 +252,7 @@ fn lexicon_doc_org_user_intents_demo_declaration() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -503,7 +505,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Declaration<'a> { diff --git a/crates/jacquard-api/src/pink_vase/pod/comment.rs b/crates/jacquard-api/src/pink_vase/pod/comment.rs index 31f1c75e1..e5a9be0dd 100644 --- a/crates/jacquard-api/src/pink_vase/pod/comment.rs +++ b/crates/jacquard-api/src/pink_vase/pod/comment.rs @@ -215,7 +215,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Comment<'a> { @@ -331,7 +331,7 @@ fn lexicon_doc_pink_vase_pod_comment() -> ::jacquard_lexicon::lexicon::LexiconDo defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -343,9 +343,9 @@ fn lexicon_doc_pink_vase_pod_comment() -> ::jacquard_lexicon::lexicon::LexiconDo description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("episode"), - ::jacquard_common::smol_str::SmolStr::new_static("text"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("episode"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -353,7 +353,7 @@ fn lexicon_doc_pink_vase_pod_comment() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -372,7 +372,9 @@ fn lexicon_doc_pink_vase_pod_comment() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("episode"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "episode", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -381,7 +383,9 @@ fn lexicon_doc_pink_vase_pod_comment() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("parent"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "parent", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -390,7 +394,9 @@ fn lexicon_doc_pink_vase_pod_comment() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, diff --git a/crates/jacquard-api/src/pink_vase/pod/episode.rs b/crates/jacquard-api/src/pink_vase/pod/episode.rs index bcb895e6e..0f5d443fa 100644 --- a/crates/jacquard-api/src/pink_vase/pod/episode.rs +++ b/crates/jacquard-api/src/pink_vase/pod/episode.rs @@ -59,8 +59,8 @@ pub mod episode_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type Title; + type CreatedAt; type AudioUrl; type Show; } @@ -68,26 +68,26 @@ pub mod episode_state { pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type Title = Unset; + type CreatedAt = Unset; type AudioUrl = Unset; type Show = Unset; } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Title = S::Title; - type AudioUrl = S::AudioUrl; - type Show = S::Show; - } ///State transition - sets the `title` field to Set pub struct SetTitle(PhantomData S>); impl sealed::Sealed for SetTitle {} impl State for SetTitle { - type CreatedAt = S::CreatedAt; type Title = Set; + type CreatedAt = S::CreatedAt; + type AudioUrl = S::AudioUrl; + type Show = S::Show; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Title = S::Title; + type CreatedAt = Set; type AudioUrl = S::AudioUrl; type Show = S::Show; } @@ -95,8 +95,8 @@ pub mod episode_state { pub struct SetAudioUrl(PhantomData S>); impl sealed::Sealed for SetAudioUrl {} impl State for SetAudioUrl { - type CreatedAt = S::CreatedAt; type Title = S::Title; + type CreatedAt = S::CreatedAt; type AudioUrl = Set; type Show = S::Show; } @@ -104,18 +104,18 @@ pub mod episode_state { pub struct SetShow(PhantomData S>); impl sealed::Sealed for SetShow {} impl State for SetShow { - type CreatedAt = S::CreatedAt; type Title = S::Title; + type CreatedAt = S::CreatedAt; type AudioUrl = S::AudioUrl; type Show = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `title` field pub struct title(()); + ///Marker type for the `created_at` field + pub struct created_at(()); ///Marker type for the `audio_url` field pub struct audio_url(()); ///Marker type for the `show` field @@ -357,8 +357,8 @@ where impl<'a, S> EpisodeBuilder<'a, S> where S: episode_state::State, - S::CreatedAt: episode_state::IsSet, S::Title: episode_state::IsSet, + S::CreatedAt: episode_state::IsSet, S::AudioUrl: episode_state::IsSet, S::Show: episode_state::IsSet, { @@ -383,7 +383,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Episode<'a> { @@ -612,7 +612,7 @@ fn lexicon_doc_pink_vase_pod_episode() -> ::jacquard_lexicon::lexicon::LexiconDo defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -624,10 +624,10 @@ fn lexicon_doc_pink_vase_pod_episode() -> ::jacquard_lexicon::lexicon::LexiconDo description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("show"), - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("audioUrl"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("show"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("audioUrl"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -635,7 +635,7 @@ fn lexicon_doc_pink_vase_pod_episode() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "audioUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -658,7 +658,7 @@ fn lexicon_doc_pink_vase_pod_episode() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "coverArt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { @@ -668,7 +668,7 @@ fn lexicon_doc_pink_vase_pod_episode() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -687,7 +687,7 @@ fn lexicon_doc_pink_vase_pod_episode() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -704,7 +704,7 @@ fn lexicon_doc_pink_vase_pod_episode() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "durationSeconds", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -717,7 +717,7 @@ fn lexicon_doc_pink_vase_pod_episode() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "episodeNumber", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -730,7 +730,7 @@ fn lexicon_doc_pink_vase_pod_episode() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "episodeType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -751,7 +751,7 @@ fn lexicon_doc_pink_vase_pod_episode() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "explicit", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -761,7 +761,7 @@ fn lexicon_doc_pink_vase_pod_episode() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "seasonNumber", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -774,7 +774,9 @@ fn lexicon_doc_pink_vase_pod_episode() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("show"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "show", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -783,7 +785,9 @@ fn lexicon_doc_pink_vase_pod_episode() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, diff --git a/crates/jacquard-api/src/pink_vase/pod/follow.rs b/crates/jacquard-api/src/pink_vase/pod/follow.rs index 2968bcf8d..ef8e620e0 100644 --- a/crates/jacquard-api/src/pink_vase/pod/follow.rs +++ b/crates/jacquard-api/src/pink_vase/pod/follow.rs @@ -152,7 +152,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Follow<'a> { @@ -253,7 +253,7 @@ fn lexicon_doc_pink_vase_pod_follow() -> ::jacquard_lexicon::lexicon::LexiconDoc defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -265,8 +265,8 @@ fn lexicon_doc_pink_vase_pod_follow() -> ::jacquard_lexicon::lexicon::LexiconDoc description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("show"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("show"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -274,7 +274,7 @@ fn lexicon_doc_pink_vase_pod_follow() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -293,7 +293,9 @@ fn lexicon_doc_pink_vase_pod_follow() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("show"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "show", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/pink_vase/pod/like.rs b/crates/jacquard-api/src/pink_vase/pod/like.rs index 9c0134193..7b391b314 100644 --- a/crates/jacquard-api/src/pink_vase/pod/like.rs +++ b/crates/jacquard-api/src/pink_vase/pod/like.rs @@ -34,37 +34,37 @@ pub mod like_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type Subject; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type Subject = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Subject = S::Subject; + type CreatedAt = Unset; } ///State transition - sets the `subject` field to Set pub struct SetSubject(PhantomData S>); impl sealed::Sealed for SetSubject {} impl State for SetSubject { - type CreatedAt = S::CreatedAt; type Subject = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Subject = S::Subject; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `subject` field pub struct subject(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -137,8 +137,8 @@ where impl<'a, S> LikeBuilder<'a, S> where S: like_state::State, - S::CreatedAt: like_state::IsSet, S::Subject: like_state::IsSet, + S::CreatedAt: like_state::IsSet, { /// Build the final struct pub fn build(self) -> Like<'a> { @@ -152,7 +152,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Like<'a> { @@ -251,7 +251,7 @@ fn lexicon_doc_pink_vase_pod_like() -> ::jacquard_lexicon::lexicon::LexiconDoc<' defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -263,8 +263,8 @@ fn lexicon_doc_pink_vase_pod_like() -> ::jacquard_lexicon::lexicon::LexiconDoc<' description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -272,7 +272,7 @@ fn lexicon_doc_pink_vase_pod_like() -> ::jacquard_lexicon::lexicon::LexiconDoc<' #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -291,7 +291,9 @@ fn lexicon_doc_pink_vase_pod_like() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/pink_vase/pod/playlist.rs b/crates/jacquard-api/src/pink_vase/pod/playlist.rs index c97ffb118..dee9b45bb 100644 --- a/crates/jacquard-api/src/pink_vase/pod/playlist.rs +++ b/crates/jacquard-api/src/pink_vase/pod/playlist.rs @@ -237,7 +237,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Playlist<'a> { @@ -468,7 +468,7 @@ fn lexicon_doc_pink_vase_pod_playlist() -> ::jacquard_lexicon::lexicon::LexiconD defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -480,9 +480,9 @@ fn lexicon_doc_pink_vase_pod_playlist() -> ::jacquard_lexicon::lexicon::LexiconD description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("items"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("items"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -490,7 +490,7 @@ fn lexicon_doc_pink_vase_pod_playlist() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -509,7 +509,7 @@ fn lexicon_doc_pink_vase_pod_playlist() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -526,7 +526,9 @@ fn lexicon_doc_pink_vase_pod_playlist() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("items"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "items", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -544,7 +546,9 @@ fn lexicon_doc_pink_vase_pod_playlist() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -563,7 +567,7 @@ fn lexicon_doc_pink_vase_pod_playlist() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "visibility", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/pink_vase/pod/show.rs b/crates/jacquard-api/src/pink_vase/pod/show.rs index 2e56bd071..d19d09e3f 100644 --- a/crates/jacquard-api/src/pink_vase/pod/show.rs +++ b/crates/jacquard-api/src/pink_vase/pod/show.rs @@ -292,7 +292,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Show<'a> { @@ -434,7 +434,7 @@ fn lexicon_doc_pink_vase_pod_show() -> ::jacquard_lexicon::lexicon::LexiconDoc<' defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -446,8 +446,8 @@ fn lexicon_doc_pink_vase_pod_show() -> ::jacquard_lexicon::lexicon::LexiconDoc<' description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -455,7 +455,7 @@ fn lexicon_doc_pink_vase_pod_show() -> ::jacquard_lexicon::lexicon::LexiconDoc<' #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "categories", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -481,7 +481,7 @@ fn lexicon_doc_pink_vase_pod_show() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "coverArt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { @@ -491,7 +491,7 @@ fn lexicon_doc_pink_vase_pod_show() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -510,7 +510,7 @@ fn lexicon_doc_pink_vase_pod_show() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -527,7 +527,7 @@ fn lexicon_doc_pink_vase_pod_show() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "explicit", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -537,7 +537,7 @@ fn lexicon_doc_pink_vase_pod_show() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "language", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -560,7 +560,9 @@ fn lexicon_doc_pink_vase_pod_show() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -579,7 +581,7 @@ fn lexicon_doc_pink_vase_pod_show() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "websiteUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/place_atwork/endorsement.rs b/crates/jacquard-api/src/place_atwork/endorsement.rs index b5f539f72..fc0d6588e 100644 --- a/crates/jacquard-api/src/place_atwork/endorsement.rs +++ b/crates/jacquard-api/src/place_atwork/endorsement.rs @@ -47,67 +47,67 @@ pub mod endorsement_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Giver; type Receiver; type Text; type CreatedAt; - type Giver; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Giver = Unset; type Receiver = Unset; type Text = Unset; type CreatedAt = Unset; - type Giver = Unset; + } + ///State transition - sets the `giver` field to Set + pub struct SetGiver(PhantomData S>); + impl sealed::Sealed for SetGiver {} + impl State for SetGiver { + type Giver = Set; + type Receiver = S::Receiver; + type Text = S::Text; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `receiver` field to Set pub struct SetReceiver(PhantomData S>); impl sealed::Sealed for SetReceiver {} impl State for SetReceiver { + type Giver = S::Giver; type Receiver = Set; type Text = S::Text; type CreatedAt = S::CreatedAt; - type Giver = S::Giver; } ///State transition - sets the `text` field to Set pub struct SetText(PhantomData S>); impl sealed::Sealed for SetText {} impl State for SetText { + type Giver = S::Giver; type Receiver = S::Receiver; type Text = Set; type CreatedAt = S::CreatedAt; - type Giver = S::Giver; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Receiver = S::Receiver; - type Text = S::Text; - type CreatedAt = Set; type Giver = S::Giver; - } - ///State transition - sets the `giver` field to Set - pub struct SetGiver(PhantomData S>); - impl sealed::Sealed for SetGiver {} - impl State for SetGiver { type Receiver = S::Receiver; type Text = S::Text; - type CreatedAt = S::CreatedAt; - type Giver = Set; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `giver` field + pub struct giver(()); ///Marker type for the `receiver` field pub struct receiver(()); ///Marker type for the `text` field pub struct text(()); ///Marker type for the `created_at` field pub struct created_at(()); - ///Marker type for the `giver` field - pub struct giver(()); } } @@ -242,10 +242,10 @@ where impl<'a, S> EndorsementBuilder<'a, S> where S: endorsement_state::State, + S::Giver: endorsement_state::IsSet, S::Receiver: endorsement_state::IsSet, S::Text: endorsement_state::IsSet, S::CreatedAt: endorsement_state::IsSet, - S::Giver: endorsement_state::IsSet, { /// Build the final struct pub fn build(self) -> Endorsement<'a> { @@ -262,7 +262,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Endorsement<'a> { @@ -367,7 +367,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Endorsement<'a> { { let value = &self.text; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -398,7 +398,7 @@ fn lexicon_doc_place_atwork_endorsement() -> ::jacquard_lexicon::lexicon::Lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -410,10 +410,10 @@ fn lexicon_doc_place_atwork_endorsement() -> ::jacquard_lexicon::lexicon::Lexico description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("giver"), - ::jacquard_common::smol_str::SmolStr::new_static("receiver"), - ::jacquard_common::smol_str::SmolStr::new_static("text"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("giver"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("receiver"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -421,7 +421,7 @@ fn lexicon_doc_place_atwork_endorsement() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -444,7 +444,9 @@ fn lexicon_doc_place_atwork_endorsement() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("giver"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "giver", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -465,7 +467,7 @@ fn lexicon_doc_place_atwork_endorsement() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "receiver", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -488,7 +490,7 @@ fn lexicon_doc_place_atwork_endorsement() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "signatures", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -509,7 +511,9 @@ fn lexicon_doc_place_atwork_endorsement() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/place_atwork/endorsement_proof.rs b/crates/jacquard-api/src/place_atwork/endorsement_proof.rs index f46b77eee..bd4913443 100644 --- a/crates/jacquard-api/src/place_atwork/endorsement_proof.rs +++ b/crates/jacquard-api/src/place_atwork/endorsement_proof.rs @@ -117,7 +117,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> EndorsementProof<'a> { @@ -217,7 +217,7 @@ fn lexicon_doc_place_atwork_endorsementProof() -> ::jacquard_lexicon::lexicon::L defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -228,14 +228,18 @@ fn lexicon_doc_place_atwork_endorsementProof() -> ::jacquard_lexicon::lexicon::L record: ::jacquard_lexicon::lexicon::LexRecordRecord::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("cid")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/place_atwork/get_listing.rs b/crates/jacquard-api/src/place_atwork/get_listing.rs index 4d75bdbbf..33c4c2f0b 100644 --- a/crates/jacquard-api/src/place_atwork/get_listing.rs +++ b/crates/jacquard-api/src/place_atwork/get_listing.rs @@ -32,37 +32,37 @@ pub mod get_listing_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Repo; type Rkey; + type Repo; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Repo = Unset; type Rkey = Unset; - } - ///State transition - sets the `repo` field to Set - pub struct SetRepo(PhantomData S>); - impl sealed::Sealed for SetRepo {} - impl State for SetRepo { - type Repo = Set; - type Rkey = S::Rkey; + type Repo = Unset; } ///State transition - sets the `rkey` field to Set pub struct SetRkey(PhantomData S>); impl sealed::Sealed for SetRkey {} impl State for SetRkey { - type Repo = S::Repo; type Rkey = Set; + type Repo = S::Repo; + } + ///State transition - sets the `repo` field to Set + pub struct SetRepo(PhantomData S>); + impl sealed::Sealed for SetRepo {} + impl State for SetRepo { + type Rkey = S::Rkey; + type Repo = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `repo` field - pub struct repo(()); ///Marker type for the `rkey` field pub struct rkey(()); + ///Marker type for the `repo` field + pub struct repo(()); } } @@ -135,8 +135,8 @@ where impl<'a, S> GetListingBuilder<'a, S> where S: get_listing_state::State, - S::Repo: get_listing_state::IsSet, S::Rkey: get_listing_state::IsSet, + S::Repo: get_listing_state::IsSet, { /// Build the final struct pub fn build(self) -> GetListing<'a> { diff --git a/crates/jacquard-api/src/place_atwork/get_listings.rs b/crates/jacquard-api/src/place_atwork/get_listings.rs index c8778e2df..9fa3f0802 100644 --- a/crates/jacquard-api/src/place_atwork/get_listings.rs +++ b/crates/jacquard-api/src/place_atwork/get_listings.rs @@ -179,7 +179,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ListingRecord<'a> { @@ -203,7 +203,7 @@ fn lexicon_doc_place_atwork_getListings() -> ::jacquard_lexicon::lexicon::Lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("listingRecord"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("listingRecord"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -212,8 +212,8 @@ fn lexicon_doc_place_atwork_getListings() -> ::jacquard_lexicon::lexicon::Lexico ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("cid") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid") ], ), nullable: None, @@ -221,7 +221,9 @@ fn lexicon_doc_place_atwork_getListings() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -242,7 +244,9 @@ fn lexicon_doc_place_atwork_getListings() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -263,7 +267,9 @@ fn lexicon_doc_place_atwork_getListings() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("value"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "value", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -276,7 +282,7 @@ fn lexicon_doc_place_atwork_getListings() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcQuery(::jacquard_lexicon::lexicon::LexXrpcQuery { description: None, parameters: Some( @@ -287,7 +293,7 @@ fn lexicon_doc_place_atwork_getListings() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "identity", ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -308,7 +314,9 @@ fn lexicon_doc_place_atwork_getListings() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tag"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tag", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/place_atwork/listing.rs b/crates/jacquard-api/src/place_atwork/listing.rs index beef5ec34..6c94a60b4 100644 --- a/crates/jacquard-api/src/place_atwork/listing.rs +++ b/crates/jacquard-api/src/place_atwork/listing.rs @@ -58,67 +58,67 @@ pub mod listing_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Description; + type NotAfter; type Title; type NotBefore; - type NotAfter; + type Description; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Description = Unset; + type NotAfter = Unset; type Title = Unset; type NotBefore = Unset; - type NotAfter = Unset; + type Description = Unset; } - ///State transition - sets the `description` field to Set - pub struct SetDescription(PhantomData S>); - impl sealed::Sealed for SetDescription {} - impl State for SetDescription { - type Description = Set; + ///State transition - sets the `not_after` field to Set + pub struct SetNotAfter(PhantomData S>); + impl sealed::Sealed for SetNotAfter {} + impl State for SetNotAfter { + type NotAfter = Set; type Title = S::Title; type NotBefore = S::NotBefore; - type NotAfter = S::NotAfter; + type Description = S::Description; } ///State transition - sets the `title` field to Set pub struct SetTitle(PhantomData S>); impl sealed::Sealed for SetTitle {} impl State for SetTitle { - type Description = S::Description; + type NotAfter = S::NotAfter; type Title = Set; type NotBefore = S::NotBefore; - type NotAfter = S::NotAfter; + type Description = S::Description; } ///State transition - sets the `not_before` field to Set pub struct SetNotBefore(PhantomData S>); impl sealed::Sealed for SetNotBefore {} impl State for SetNotBefore { - type Description = S::Description; + type NotAfter = S::NotAfter; type Title = S::Title; type NotBefore = Set; - type NotAfter = S::NotAfter; - } - ///State transition - sets the `not_after` field to Set - pub struct SetNotAfter(PhantomData S>); - impl sealed::Sealed for SetNotAfter {} - impl State for SetNotAfter { type Description = S::Description; + } + ///State transition - sets the `description` field to Set + pub struct SetDescription(PhantomData S>); + impl sealed::Sealed for SetDescription {} + impl State for SetDescription { + type NotAfter = S::NotAfter; type Title = S::Title; type NotBefore = S::NotBefore; - type NotAfter = Set; + type Description = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `description` field - pub struct description(()); + ///Marker type for the `not_after` field + pub struct not_after(()); ///Marker type for the `title` field pub struct title(()); ///Marker type for the `not_before` field pub struct not_before(()); - ///Marker type for the `not_after` field - pub struct not_after(()); + ///Marker type for the `description` field + pub struct description(()); } } @@ -315,10 +315,10 @@ where impl<'a, S> ListingBuilder<'a, S> where S: listing_state::State, - S::Description: listing_state::IsSet, + S::NotAfter: listing_state::IsSet, S::Title: listing_state::IsSet, S::NotBefore: listing_state::IsSet, - S::NotAfter: listing_state::IsSet, + S::Description: listing_state::IsSet, { /// Build the final struct pub fn build(self) -> Listing<'a> { @@ -338,7 +338,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Listing<'a> { @@ -446,7 +446,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Listing<'a> { { let value = &self.description; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -490,7 +490,7 @@ fn lexicon_doc_place_atwork_listing() -> ::jacquard_lexicon::lexicon::LexiconDoc defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static("A job listing"), @@ -500,10 +500,10 @@ fn lexicon_doc_place_atwork_listing() -> ::jacquard_lexicon::lexicon::LexiconDoc description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("notBefore"), - ::jacquard_common::smol_str::SmolStr::new_static("notAfter"), - ::jacquard_common::smol_str::SmolStr::new_static("description") + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("notBefore"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("notAfter"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("description") ], ), nullable: None, @@ -511,7 +511,7 @@ fn lexicon_doc_place_atwork_listing() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "applyLink", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -534,7 +534,9 @@ fn lexicon_doc_place_atwork_listing() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("banner"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "banner", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -542,7 +544,7 @@ fn lexicon_doc_place_atwork_listing() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -563,7 +565,9 @@ fn lexicon_doc_place_atwork_listing() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("facets"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "facets", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -581,7 +585,7 @@ fn lexicon_doc_place_atwork_listing() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "locations", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -602,7 +606,7 @@ fn lexicon_doc_place_atwork_listing() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "notAfter", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -625,7 +629,7 @@ fn lexicon_doc_place_atwork_listing() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "notBefore", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -648,7 +652,9 @@ fn lexicon_doc_place_atwork_listing() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/place_atwork/profile.rs b/crates/jacquard-api/src/place_atwork/profile.rs index a1011cafa..da15f77a0 100644 --- a/crates/jacquard-api/src/place_atwork/profile.rs +++ b/crates/jacquard-api/src/place_atwork/profile.rs @@ -306,7 +306,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Profile<'a> { @@ -592,7 +592,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Profile<'a> { } if let Some(ref value) = self.description { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -622,7 +622,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Profile<'a> { } if let Some(ref value) = self.display_name { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -653,19 +653,19 @@ fn lexicon_doc_place_atwork_profile() -> ::jacquard_lexicon::lexicon::LexiconDoc defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("forhire"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("forhire"), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hiring"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("hiring"), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -681,7 +681,9 @@ fn lexicon_doc_place_atwork_profile() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("avatar"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "avatar", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -689,7 +691,9 @@ fn lexicon_doc_place_atwork_profile() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("banner"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "banner", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -697,7 +701,7 @@ fn lexicon_doc_place_atwork_profile() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -718,7 +722,7 @@ fn lexicon_doc_place_atwork_profile() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "displayName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -739,7 +743,9 @@ fn lexicon_doc_place_atwork_profile() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("facets"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "facets", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -757,7 +763,7 @@ fn lexicon_doc_place_atwork_profile() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "profile_host", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -778,7 +784,9 @@ fn lexicon_doc_place_atwork_profile() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("resume"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "resume", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -786,7 +794,9 @@ fn lexicon_doc_place_atwork_profile() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("status"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "status", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/place_atwork/search_listings.rs b/crates/jacquard-api/src/place_atwork/search_listings.rs index 7bf341bdc..79ca0aa4b 100644 --- a/crates/jacquard-api/src/place_atwork/search_listings.rs +++ b/crates/jacquard-api/src/place_atwork/search_listings.rs @@ -40,37 +40,37 @@ pub mod listing_record_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Cid; type Uri; + type Cid; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Cid = Unset; type Uri = Unset; - } - ///State transition - sets the `cid` field to Set - pub struct SetCid(PhantomData S>); - impl sealed::Sealed for SetCid {} - impl State for SetCid { - type Cid = Set; - type Uri = S::Uri; + type Cid = Unset; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { - type Cid = S::Cid; type Uri = Set; + type Cid = S::Cid; + } + ///State transition - sets the `cid` field to Set + pub struct SetCid(PhantomData S>); + impl sealed::Sealed for SetCid {} + impl State for SetCid { + type Uri = S::Uri; + type Cid = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `cid` field - pub struct cid(()); ///Marker type for the `uri` field pub struct uri(()); + ///Marker type for the `cid` field + pub struct cid(()); } } @@ -163,8 +163,8 @@ impl<'a, S: listing_record_state::State> ListingRecordBuilder<'a, S> { impl<'a, S> ListingRecordBuilder<'a, S> where S: listing_record_state::State, - S::Cid: listing_record_state::IsSet, S::Uri: listing_record_state::IsSet, + S::Cid: listing_record_state::IsSet, { /// Build the final struct pub fn build(self) -> ListingRecord<'a> { @@ -179,7 +179,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ListingRecord<'a> { @@ -203,7 +203,7 @@ fn lexicon_doc_place_atwork_searchListings() -> ::jacquard_lexicon::lexicon::Lex defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("listingRecord"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("listingRecord"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -212,8 +212,8 @@ fn lexicon_doc_place_atwork_searchListings() -> ::jacquard_lexicon::lexicon::Lex ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("cid") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid") ], ), nullable: None, @@ -221,7 +221,9 @@ fn lexicon_doc_place_atwork_searchListings() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -242,7 +244,9 @@ fn lexicon_doc_place_atwork_searchListings() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -263,7 +267,9 @@ fn lexicon_doc_place_atwork_searchListings() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("value"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "value", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -276,7 +282,7 @@ fn lexicon_doc_place_atwork_searchListings() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcQuery(::jacquard_lexicon::lexicon::LexXrpcQuery { description: None, parameters: Some( @@ -284,14 +290,16 @@ fn lexicon_doc_place_atwork_searchListings() -> ::jacquard_lexicon::lexicon::Lex description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("query") + ::jacquard_common::deps::smol_str::SmolStr::new_static("query") ], ), properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("query"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "query", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/place_stream.rs b/crates/jacquard-api/src/place_stream.rs index 5b139554e..e2aac5965 100644 --- a/crates/jacquard-api/src/place_stream.rs +++ b/crates/jacquard-api/src/place_stream.rs @@ -55,83 +55,83 @@ pub mod block_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Blocker; type Record; - type IndexedAt; type Cid; + type IndexedAt; + type Blocker; type Uri; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Blocker = Unset; type Record = Unset; - type IndexedAt = Unset; type Cid = Unset; + type IndexedAt = Unset; + type Blocker = Unset; type Uri = Unset; } - ///State transition - sets the `blocker` field to Set - pub struct SetBlocker(PhantomData S>); - impl sealed::Sealed for SetBlocker {} - impl State for SetBlocker { - type Blocker = Set; - type Record = S::Record; - type IndexedAt = S::IndexedAt; - type Cid = S::Cid; - type Uri = S::Uri; - } ///State transition - sets the `record` field to Set pub struct SetRecord(PhantomData S>); impl sealed::Sealed for SetRecord {} impl State for SetRecord { - type Blocker = S::Blocker; type Record = Set; - type IndexedAt = S::IndexedAt; type Cid = S::Cid; + type IndexedAt = S::IndexedAt; + type Blocker = S::Blocker; + type Uri = S::Uri; + } + ///State transition - sets the `cid` field to Set + pub struct SetCid(PhantomData S>); + impl sealed::Sealed for SetCid {} + impl State for SetCid { + type Record = S::Record; + type Cid = Set; + type IndexedAt = S::IndexedAt; + type Blocker = S::Blocker; type Uri = S::Uri; } ///State transition - sets the `indexed_at` field to Set pub struct SetIndexedAt(PhantomData S>); impl sealed::Sealed for SetIndexedAt {} impl State for SetIndexedAt { - type Blocker = S::Blocker; type Record = S::Record; - type IndexedAt = Set; type Cid = S::Cid; + type IndexedAt = Set; + type Blocker = S::Blocker; type Uri = S::Uri; } - ///State transition - sets the `cid` field to Set - pub struct SetCid(PhantomData S>); - impl sealed::Sealed for SetCid {} - impl State for SetCid { - type Blocker = S::Blocker; + ///State transition - sets the `blocker` field to Set + pub struct SetBlocker(PhantomData S>); + impl sealed::Sealed for SetBlocker {} + impl State for SetBlocker { type Record = S::Record; + type Cid = S::Cid; type IndexedAt = S::IndexedAt; - type Cid = Set; + type Blocker = Set; type Uri = S::Uri; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { - type Blocker = S::Blocker; type Record = S::Record; - type IndexedAt = S::IndexedAt; type Cid = S::Cid; + type IndexedAt = S::IndexedAt; + type Blocker = S::Blocker; type Uri = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `blocker` field - pub struct blocker(()); ///Marker type for the `record` field pub struct record(()); - ///Marker type for the `indexed_at` field - pub struct indexed_at(()); ///Marker type for the `cid` field pub struct cid(()); + ///Marker type for the `indexed_at` field + pub struct indexed_at(()); + ///Marker type for the `blocker` field + pub struct blocker(()); ///Marker type for the `uri` field pub struct uri(()); } @@ -266,10 +266,10 @@ where impl<'a, S> BlockViewBuilder<'a, S> where S: block_view_state::State, - S::Blocker: block_view_state::IsSet, S::Record: block_view_state::IsSet, - S::IndexedAt: block_view_state::IsSet, S::Cid: block_view_state::IsSet, + S::IndexedAt: block_view_state::IsSet, + S::Blocker: block_view_state::IsSet, S::Uri: block_view_state::IsSet, { /// Build the final struct @@ -287,7 +287,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> BlockView<'a> { @@ -311,16 +311,16 @@ fn lexicon_doc_place_stream_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("blockView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("blockView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("cid"), - ::jacquard_common::smol_str::SmolStr::new_static("blocker"), - ::jacquard_common::smol_str::SmolStr::new_static("record"), - ::jacquard_common::smol_str::SmolStr::new_static("indexedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("blocker"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("record"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("indexedAt") ], ), nullable: None, @@ -328,7 +328,9 @@ fn lexicon_doc_place_stream_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("blocker"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "blocker", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -337,7 +339,9 @@ fn lexicon_doc_place_stream_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -354,7 +358,7 @@ fn lexicon_doc_place_stream_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "indexedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -373,7 +377,9 @@ fn lexicon_doc_place_stream_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("record"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "record", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -382,7 +388,9 @@ fn lexicon_doc_place_stream_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -403,18 +411,22 @@ fn lexicon_doc_place_stream_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rendition"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("rendition"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("name")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("name") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -433,12 +445,12 @@ fn lexicon_doc_place_stream_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("renditions"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("renditions"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("renditions") + ::jacquard_common::deps::smol_str::SmolStr::new_static("renditions") ], ), nullable: None, @@ -446,7 +458,7 @@ fn lexicon_doc_place_stream_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "renditions", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -629,7 +641,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Renditions<'a> { diff --git a/crates/jacquard-api/src/place_stream/badge.rs b/crates/jacquard-api/src/place_stream/badge.rs index e35f5c2ff..2081acd28 100644 --- a/crates/jacquard-api/src/place_stream/badge.rs +++ b/crates/jacquard-api/src/place_stream/badge.rs @@ -44,51 +44,51 @@ pub mod badge_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Recipient; type BadgeType; type Issuer; - type Recipient; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Recipient = Unset; type BadgeType = Unset; type Issuer = Unset; - type Recipient = Unset; + } + ///State transition - sets the `recipient` field to Set + pub struct SetRecipient(PhantomData S>); + impl sealed::Sealed for SetRecipient {} + impl State for SetRecipient { + type Recipient = Set; + type BadgeType = S::BadgeType; + type Issuer = S::Issuer; } ///State transition - sets the `badge_type` field to Set pub struct SetBadgeType(PhantomData S>); impl sealed::Sealed for SetBadgeType {} impl State for SetBadgeType { + type Recipient = S::Recipient; type BadgeType = Set; type Issuer = S::Issuer; - type Recipient = S::Recipient; } ///State transition - sets the `issuer` field to Set pub struct SetIssuer(PhantomData S>); impl sealed::Sealed for SetIssuer {} impl State for SetIssuer { - type BadgeType = S::BadgeType; - type Issuer = Set; type Recipient = S::Recipient; - } - ///State transition - sets the `recipient` field to Set - pub struct SetRecipient(PhantomData S>); - impl sealed::Sealed for SetRecipient {} - impl State for SetRecipient { type BadgeType = S::BadgeType; - type Issuer = S::Issuer; - type Recipient = Set; + type Issuer = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `recipient` field + pub struct recipient(()); ///Marker type for the `badge_type` field pub struct badge_type(()); ///Marker type for the `issuer` field pub struct issuer(()); - ///Marker type for the `recipient` field - pub struct recipient(()); } } @@ -201,9 +201,9 @@ impl<'a, S: badge_view_state::State> BadgeViewBuilder<'a, S> { impl<'a, S> BadgeViewBuilder<'a, S> where S: badge_view_state::State, + S::Recipient: badge_view_state::IsSet, S::BadgeType: badge_view_state::IsSet, S::Issuer: badge_view_state::IsSet, - S::Recipient: badge_view_state::IsSet, { /// Build the final struct pub fn build(self) -> BadgeView<'a> { @@ -219,7 +219,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> BadgeView<'a> { @@ -332,7 +332,7 @@ fn lexicon_doc_place_stream_badge_defs() -> ::jacquard_lexicon::lexicon::Lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("badgeView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("badgeView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -341,9 +341,9 @@ fn lexicon_doc_place_stream_badge_defs() -> ::jacquard_lexicon::lexicon::Lexicon ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("badgeType"), - ::jacquard_common::smol_str::SmolStr::new_static("issuer"), - ::jacquard_common::smol_str::SmolStr::new_static("recipient") + ::jacquard_common::deps::smol_str::SmolStr::new_static("badgeType"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("issuer"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("recipient") ], ), nullable: None, @@ -351,7 +351,7 @@ fn lexicon_doc_place_stream_badge_defs() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "badgeType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -368,7 +368,9 @@ fn lexicon_doc_place_stream_badge_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("issuer"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "issuer", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -389,7 +391,7 @@ fn lexicon_doc_place_stream_badge_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "recipient", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -412,7 +414,7 @@ fn lexicon_doc_place_stream_badge_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "signature", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -437,19 +439,19 @@ fn lexicon_doc_place_stream_badge_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("mod"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("mod"), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("streamer"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("streamer"), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("vip"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("vip"), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), 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 3c27e7af5..5d1d35678 100644 --- a/crates/jacquard-api/src/place_stream/branding/get_blob.rs +++ b/crates/jacquard-api/src/place_stream/branding/get_blob.rs @@ -147,7 +147,7 @@ where )] #[serde(rename_all = "camelCase")] pub struct GetBlobOutput { - pub body: bytes::Bytes, + pub body: jacquard_common::deps::bytes::Bytes, } #[jacquard_derive::open_union] @@ -205,7 +205,7 @@ impl jacquard_common::xrpc::XrpcResp for GetBlobResponse { Self::Output<'de>: serde::Deserialize<'de>, { Ok(GetBlobOutput { - body: bytes::Bytes::copy_from_slice(body), + body: jacquard_common::deps::bytes::Bytes::copy_from_slice(body), }) } } 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 b765769ac..b6c4872b2 100644 --- a/crates/jacquard-api/src/place_stream/branding/get_branding.rs +++ b/crates/jacquard-api/src/place_stream/branding/get_branding.rs @@ -51,13 +51,13 @@ fn lexicon_doc_place_stream_branding_getBranding() -> ::jacquard_lexicon::lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("brandingAsset"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("brandingAsset"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("key"), - ::jacquard_common::smol_str::SmolStr::new_static("mimeType") + ::jacquard_common::deps::smol_str::SmolStr::new_static("key"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("mimeType") ], ), nullable: None, @@ -65,7 +65,9 @@ fn lexicon_doc_place_stream_branding_getBranding() -> ::jacquard_lexicon::lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("data"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "data", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -84,7 +86,9 @@ fn lexicon_doc_place_stream_branding_getBranding() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("height"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "height", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -95,7 +99,9 @@ fn lexicon_doc_place_stream_branding_getBranding() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("key"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "key", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -114,7 +120,9 @@ fn lexicon_doc_place_stream_branding_getBranding() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("mimeType"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "mimeType", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -133,7 +141,9 @@ fn lexicon_doc_place_stream_branding_getBranding() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -152,7 +162,9 @@ fn lexicon_doc_place_stream_branding_getBranding() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("width"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "width", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -167,7 +179,7 @@ fn lexicon_doc_place_stream_branding_getBranding() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcQuery(::jacquard_lexicon::lexicon::LexXrpcQuery { description: None, parameters: Some( @@ -178,7 +190,7 @@ fn lexicon_doc_place_stream_branding_getBranding() -> ::jacquard_lexicon::lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "broadcaster", ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/place_stream/broadcast.rs b/crates/jacquard-api/src/place_stream/broadcast.rs index af7b7d163..d7d4ce2dc 100644 --- a/crates/jacquard-api/src/place_stream/broadcast.rs +++ b/crates/jacquard-api/src/place_stream/broadcast.rs @@ -41,67 +41,67 @@ pub mod broadcast_origin_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Cid; type Author; type Uri; type Record; + type Cid; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Cid = Unset; type Author = Unset; type Uri = Unset; type Record = Unset; - } - ///State transition - sets the `cid` field to Set - pub struct SetCid(PhantomData S>); - impl sealed::Sealed for SetCid {} - impl State for SetCid { - type Cid = Set; - type Author = S::Author; - type Uri = S::Uri; - type Record = S::Record; + type Cid = Unset; } ///State transition - sets the `author` field to Set pub struct SetAuthor(PhantomData S>); impl sealed::Sealed for SetAuthor {} impl State for SetAuthor { - type Cid = S::Cid; type Author = Set; type Uri = S::Uri; type Record = S::Record; + type Cid = S::Cid; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { - type Cid = S::Cid; type Author = S::Author; type Uri = Set; type Record = S::Record; + type Cid = S::Cid; } ///State transition - sets the `record` field to Set pub struct SetRecord(PhantomData S>); impl sealed::Sealed for SetRecord {} impl State for SetRecord { - type Cid = S::Cid; type Author = S::Author; type Uri = S::Uri; type Record = Set; + type Cid = S::Cid; + } + ///State transition - sets the `cid` field to Set + pub struct SetCid(PhantomData S>); + impl sealed::Sealed for SetCid {} + impl State for SetCid { + type Author = S::Author; + type Uri = S::Uri; + type Record = S::Record; + type Cid = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `cid` field - pub struct cid(()); ///Marker type for the `author` field pub struct author(()); ///Marker type for the `uri` field pub struct uri(()); ///Marker type for the `record` field pub struct record(()); + ///Marker type for the `cid` field + pub struct cid(()); } } @@ -214,10 +214,10 @@ where impl<'a, S> BroadcastOriginViewBuilder<'a, S> where S: broadcast_origin_view_state::State, - S::Cid: broadcast_origin_view_state::IsSet, S::Author: broadcast_origin_view_state::IsSet, S::Uri: broadcast_origin_view_state::IsSet, S::Record: broadcast_origin_view_state::IsSet, + S::Cid: broadcast_origin_view_state::IsSet, { /// Build the final struct pub fn build(self) -> BroadcastOriginView<'a> { @@ -233,7 +233,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> BroadcastOriginView<'a> { @@ -258,15 +258,17 @@ fn lexicon_doc_place_stream_broadcast_defs() -> ::jacquard_lexicon::lexicon::Lex defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("broadcastOriginView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "broadcastOriginView", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("cid"), - ::jacquard_common::smol_str::SmolStr::new_static("author"), - ::jacquard_common::smol_str::SmolStr::new_static("record") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("record") ], ), nullable: None, @@ -274,7 +276,9 @@ fn lexicon_doc_place_stream_broadcast_defs() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "author", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -283,7 +287,9 @@ fn lexicon_doc_place_stream_broadcast_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -300,13 +306,17 @@ fn lexicon_doc_place_stream_broadcast_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("record"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "record", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( diff --git a/crates/jacquard-api/src/place_stream/broadcast/origin.rs b/crates/jacquard-api/src/place_stream/broadcast/origin.rs index b4bc41a7e..cb21d6c20 100644 --- a/crates/jacquard-api/src/place_stream/broadcast/origin.rs +++ b/crates/jacquard-api/src/place_stream/broadcast/origin.rs @@ -50,51 +50,51 @@ pub mod origin_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Server; type Streamer; type UpdatedAt; + type Server; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Server = Unset; type Streamer = Unset; type UpdatedAt = Unset; - } - ///State transition - sets the `server` field to Set - pub struct SetServer(PhantomData S>); - impl sealed::Sealed for SetServer {} - impl State for SetServer { - type Server = Set; - type Streamer = S::Streamer; - type UpdatedAt = S::UpdatedAt; + type Server = Unset; } ///State transition - sets the `streamer` field to Set pub struct SetStreamer(PhantomData S>); impl sealed::Sealed for SetStreamer {} impl State for SetStreamer { - type Server = S::Server; type Streamer = Set; type UpdatedAt = S::UpdatedAt; + type Server = S::Server; } ///State transition - sets the `updated_at` field to Set pub struct SetUpdatedAt(PhantomData S>); impl sealed::Sealed for SetUpdatedAt {} impl State for SetUpdatedAt { - type Server = S::Server; type Streamer = S::Streamer; type UpdatedAt = Set; + type Server = S::Server; + } + ///State transition - sets the `server` field to Set + pub struct SetServer(PhantomData S>); + impl sealed::Sealed for SetServer {} + impl State for SetServer { + type Streamer = S::Streamer; + type UpdatedAt = S::UpdatedAt; + type Server = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `server` field - pub struct server(()); ///Marker type for the `streamer` field pub struct streamer(()); ///Marker type for the `updated_at` field pub struct updated_at(()); + ///Marker type for the `server` field + pub struct server(()); } } @@ -247,9 +247,9 @@ impl<'a, S: origin_state::State> OriginBuilder<'a, S> { impl<'a, S> OriginBuilder<'a, S> where S: origin_state::State, - S::Server: origin_state::IsSet, S::Streamer: origin_state::IsSet, S::UpdatedAt: origin_state::IsSet, + S::Server: origin_state::IsSet, { /// Build the final struct pub fn build(self) -> Origin<'a> { @@ -267,7 +267,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Origin<'a> { @@ -384,7 +384,7 @@ fn lexicon_doc_place_stream_broadcast_origin() -> ::jacquard_lexicon::lexicon::L defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -396,9 +396,9 @@ fn lexicon_doc_place_stream_broadcast_origin() -> ::jacquard_lexicon::lexicon::L description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("streamer"), - ::jacquard_common::smol_str::SmolStr::new_static("server"), - ::jacquard_common::smol_str::SmolStr::new_static("updatedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("streamer"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("server"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("updatedAt") ], ), nullable: None, @@ -406,7 +406,7 @@ fn lexicon_doc_place_stream_broadcast_origin() -> ::jacquard_lexicon::lexicon::L #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "broadcaster", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -429,7 +429,7 @@ fn lexicon_doc_place_stream_broadcast_origin() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "irohTicket", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -450,7 +450,9 @@ fn lexicon_doc_place_stream_broadcast_origin() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("server"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "server", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -471,7 +473,7 @@ fn lexicon_doc_place_stream_broadcast_origin() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "streamer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -494,7 +496,7 @@ fn lexicon_doc_place_stream_broadcast_origin() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -517,7 +519,7 @@ fn lexicon_doc_place_stream_broadcast_origin() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "websocketURL", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/place_stream/broadcast/syndication.rs b/crates/jacquard-api/src/place_stream/broadcast/syndication.rs index c578c30e1..8f71aa773 100644 --- a/crates/jacquard-api/src/place_stream/broadcast/syndication.rs +++ b/crates/jacquard-api/src/place_stream/broadcast/syndication.rs @@ -38,49 +38,49 @@ pub mod syndication_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Broadcaster; type Streamer; + type Broadcaster; type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Broadcaster = Unset; type Streamer = Unset; + type Broadcaster = Unset; type CreatedAt = Unset; } - ///State transition - sets the `broadcaster` field to Set - pub struct SetBroadcaster(PhantomData S>); - impl sealed::Sealed for SetBroadcaster {} - impl State for SetBroadcaster { - type Broadcaster = Set; - type Streamer = S::Streamer; - type CreatedAt = S::CreatedAt; - } ///State transition - sets the `streamer` field to Set pub struct SetStreamer(PhantomData S>); impl sealed::Sealed for SetStreamer {} impl State for SetStreamer { - type Broadcaster = S::Broadcaster; type Streamer = Set; + type Broadcaster = S::Broadcaster; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `broadcaster` field to Set + pub struct SetBroadcaster(PhantomData S>); + impl sealed::Sealed for SetBroadcaster {} + impl State for SetBroadcaster { + type Streamer = S::Streamer; + type Broadcaster = Set; type CreatedAt = S::CreatedAt; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Broadcaster = S::Broadcaster; type Streamer = S::Streamer; + type Broadcaster = S::Broadcaster; type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `broadcaster` field - pub struct broadcaster(()); ///Marker type for the `streamer` field pub struct streamer(()); + ///Marker type for the `broadcaster` field + pub struct broadcaster(()); ///Marker type for the `created_at` field pub struct created_at(()); } @@ -175,8 +175,8 @@ where impl<'a, S> SyndicationBuilder<'a, S> where S: syndication_state::State, - S::Broadcaster: syndication_state::IsSet, S::Streamer: syndication_state::IsSet, + S::Broadcaster: syndication_state::IsSet, S::CreatedAt: syndication_state::IsSet, { /// Build the final struct @@ -192,7 +192,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Syndication<'a> { @@ -294,7 +294,7 @@ fn lexicon_doc_place_stream_broadcast_syndication() -> ::jacquard_lexicon::lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -306,9 +306,9 @@ fn lexicon_doc_place_stream_broadcast_syndication() -> ::jacquard_lexicon::lexic description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("broadcaster"), - ::jacquard_common::smol_str::SmolStr::new_static("streamer"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("broadcaster"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("streamer"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -316,7 +316,7 @@ fn lexicon_doc_place_stream_broadcast_syndication() -> ::jacquard_lexicon::lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "broadcaster", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -339,7 +339,7 @@ fn lexicon_doc_place_stream_broadcast_syndication() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -362,7 +362,7 @@ fn lexicon_doc_place_stream_broadcast_syndication() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "streamer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/place_stream/chat.rs b/crates/jacquard-api/src/place_stream/chat.rs index c93b5a6a0..2f65cd7d5 100644 --- a/crates/jacquard-api/src/place_stream/chat.rs +++ b/crates/jacquard-api/src/place_stream/chat.rs @@ -53,85 +53,85 @@ pub mod message_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Uri; + type Record; type IndexedAt; type Author; type Cid; - type Uri; - type Record; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Uri = Unset; + type Record = Unset; type IndexedAt = Unset; type Author = Unset; type Cid = Unset; - type Uri = Unset; - type Record = Unset; + } + ///State transition - sets the `uri` field to Set + pub struct SetUri(PhantomData S>); + impl sealed::Sealed for SetUri {} + impl State for SetUri { + type Uri = Set; + type Record = S::Record; + type IndexedAt = S::IndexedAt; + type Author = S::Author; + type Cid = S::Cid; + } + ///State transition - sets the `record` field to Set + pub struct SetRecord(PhantomData S>); + impl sealed::Sealed for SetRecord {} + impl State for SetRecord { + type Uri = S::Uri; + type Record = Set; + type IndexedAt = S::IndexedAt; + type Author = S::Author; + type Cid = S::Cid; } ///State transition - sets the `indexed_at` field to Set pub struct SetIndexedAt(PhantomData S>); impl sealed::Sealed for SetIndexedAt {} impl State for SetIndexedAt { + type Uri = S::Uri; + type Record = S::Record; type IndexedAt = Set; type Author = S::Author; type Cid = S::Cid; - type Uri = S::Uri; - type Record = S::Record; } ///State transition - sets the `author` field to Set pub struct SetAuthor(PhantomData S>); impl sealed::Sealed for SetAuthor {} impl State for SetAuthor { + type Uri = S::Uri; + type Record = S::Record; type IndexedAt = S::IndexedAt; type Author = Set; type Cid = S::Cid; - type Uri = S::Uri; - type Record = S::Record; } ///State transition - sets the `cid` field to Set pub struct SetCid(PhantomData S>); impl sealed::Sealed for SetCid {} impl State for SetCid { - type IndexedAt = S::IndexedAt; - type Author = S::Author; - type Cid = Set; type Uri = S::Uri; type Record = S::Record; - } - ///State transition - sets the `uri` field to Set - pub struct SetUri(PhantomData S>); - impl sealed::Sealed for SetUri {} - impl State for SetUri { type IndexedAt = S::IndexedAt; type Author = S::Author; - type Cid = S::Cid; - type Uri = Set; - type Record = S::Record; - } - ///State transition - sets the `record` field to Set - pub struct SetRecord(PhantomData S>); - impl sealed::Sealed for SetRecord {} - impl State for SetRecord { - type IndexedAt = S::IndexedAt; - type Author = S::Author; - type Cid = S::Cid; - type Uri = S::Uri; - type Record = Set; + type Cid = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `uri` field + pub struct uri(()); + ///Marker type for the `record` field + pub struct record(()); ///Marker type for the `indexed_at` field pub struct indexed_at(()); ///Marker type for the `author` field pub struct author(()); ///Marker type for the `cid` field pub struct cid(()); - ///Marker type for the `uri` field - pub struct uri(()); - ///Marker type for the `record` field - pub struct record(()); } } @@ -312,11 +312,11 @@ where impl<'a, S> MessageViewBuilder<'a, S> where S: message_view_state::State, + S::Uri: message_view_state::IsSet, + S::Record: message_view_state::IsSet, S::IndexedAt: message_view_state::IsSet, S::Author: message_view_state::IsSet, S::Cid: message_view_state::IsSet, - S::Uri: message_view_state::IsSet, - S::Record: message_view_state::IsSet, { /// Build the final struct pub fn build(self) -> MessageView<'a> { @@ -336,7 +336,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> MessageView<'a> { @@ -382,16 +382,16 @@ fn lexicon_doc_place_stream_chat_defs() -> ::jacquard_lexicon::lexicon::LexiconD defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("messageView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("messageView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("cid"), - ::jacquard_common::smol_str::SmolStr::new_static("author"), - ::jacquard_common::smol_str::SmolStr::new_static("record"), - ::jacquard_common::smol_str::SmolStr::new_static("indexedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("record"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("indexedAt") ], ), nullable: None, @@ -399,7 +399,9 @@ fn lexicon_doc_place_stream_chat_defs() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "author", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -408,7 +410,7 @@ fn lexicon_doc_place_stream_chat_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "chatProfile", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -419,7 +421,9 @@ fn lexicon_doc_place_stream_chat_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -436,7 +440,9 @@ fn lexicon_doc_place_stream_chat_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("deleted"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "deleted", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -444,7 +450,7 @@ fn lexicon_doc_place_stream_chat_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "indexedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -463,13 +469,17 @@ fn lexicon_doc_place_stream_chat_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("record"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "record", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("replyTo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "replyTo", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -479,7 +489,9 @@ fn lexicon_doc_place_stream_chat_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( diff --git a/crates/jacquard-api/src/place_stream/chat/gate.rs b/crates/jacquard-api/src/place_stream/chat/gate.rs index 89658ca87..76837409b 100644 --- a/crates/jacquard-api/src/place_stream/chat/gate.rs +++ b/crates/jacquard-api/src/place_stream/chat/gate.rs @@ -117,7 +117,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Gate<'a> { @@ -217,7 +217,7 @@ fn lexicon_doc_place_stream_chat_gate() -> ::jacquard_lexicon::lexicon::LexiconD defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -229,7 +229,7 @@ fn lexicon_doc_place_stream_chat_gate() -> ::jacquard_lexicon::lexicon::LexiconD description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("hiddenMessage") + ::jacquard_common::deps::smol_str::SmolStr::new_static("hiddenMessage") ], ), nullable: None, @@ -237,7 +237,7 @@ fn lexicon_doc_place_stream_chat_gate() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hiddenMessage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/place_stream/chat/message.rs b/crates/jacquard-api/src/place_stream/chat/message.rs index 78cac0f6e..aa5a55aaf 100644 --- a/crates/jacquard-api/src/place_stream/chat/message.rs +++ b/crates/jacquard-api/src/place_stream/chat/message.rs @@ -47,51 +47,51 @@ pub mod message_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Text; type CreatedAt; type Streamer; - type Text; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Text = Unset; type CreatedAt = Unset; type Streamer = Unset; - type Text = Unset; + } + ///State transition - sets the `text` field to Set + pub struct SetText(PhantomData S>); + impl sealed::Sealed for SetText {} + impl State for SetText { + type Text = Set; + type CreatedAt = S::CreatedAt; + type Streamer = S::Streamer; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { + type Text = S::Text; type CreatedAt = Set; type Streamer = S::Streamer; - type Text = S::Text; } ///State transition - sets the `streamer` field to Set pub struct SetStreamer(PhantomData S>); impl sealed::Sealed for SetStreamer {} impl State for SetStreamer { - type CreatedAt = S::CreatedAt; - type Streamer = Set; type Text = S::Text; - } - ///State transition - sets the `text` field to Set - pub struct SetText(PhantomData S>); - impl sealed::Sealed for SetText {} - impl State for SetText { type CreatedAt = S::CreatedAt; - type Streamer = S::Streamer; - type Text = Set; + type Streamer = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `text` field + pub struct text(()); ///Marker type for the `created_at` field pub struct created_at(()); ///Marker type for the `streamer` field pub struct streamer(()); - ///Marker type for the `text` field - pub struct text(()); } } @@ -224,9 +224,9 @@ where impl<'a, S> MessageBuilder<'a, S> where S: message_state::State, + S::Text: message_state::IsSet, S::CreatedAt: message_state::IsSet, S::Streamer: message_state::IsSet, - S::Text: message_state::IsSet, { /// Build the final struct pub fn build(self) -> Message<'a> { @@ -243,7 +243,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Message<'a> { @@ -348,7 +348,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Message<'a> { { let value = &self.text; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -379,7 +379,7 @@ fn lexicon_doc_place_stream_chat_message() -> ::jacquard_lexicon::lexicon::Lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -391,9 +391,9 @@ fn lexicon_doc_place_stream_chat_message() -> ::jacquard_lexicon::lexicon::Lexic description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("text"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt"), - ::jacquard_common::smol_str::SmolStr::new_static("streamer") + ::jacquard_common::deps::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("streamer") ], ), nullable: None, @@ -401,7 +401,7 @@ fn lexicon_doc_place_stream_chat_message() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -424,7 +424,9 @@ fn lexicon_doc_place_stream_chat_message() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("facets"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "facets", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -442,14 +444,16 @@ fn lexicon_doc_place_stream_chat_message() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reply"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reply", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#replyRef"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "streamer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -472,7 +476,9 @@ fn lexicon_doc_place_stream_chat_message() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -496,13 +502,13 @@ fn lexicon_doc_place_stream_chat_message() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("replyRef"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("replyRef"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("root"), - ::jacquard_common::smol_str::SmolStr::new_static("parent") + ::jacquard_common::deps::smol_str::SmolStr::new_static("root"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("parent") ], ), nullable: None, @@ -510,7 +516,9 @@ fn lexicon_doc_place_stream_chat_message() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("parent"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "parent", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -519,7 +527,9 @@ fn lexicon_doc_place_stream_chat_message() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("root"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "root", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -682,7 +692,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ReplyRef<'a> { diff --git a/crates/jacquard-api/src/place_stream/chat/profile.rs b/crates/jacquard-api/src/place_stream/chat/profile.rs index 7e56ba450..7353cab4a 100644 --- a/crates/jacquard-api/src/place_stream/chat/profile.rs +++ b/crates/jacquard-api/src/place_stream/chat/profile.rs @@ -33,51 +33,51 @@ pub mod color_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Red; type Blue; type Green; + type Red; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Red = Unset; type Blue = Unset; type Green = Unset; - } - ///State transition - sets the `red` field to Set - pub struct SetRed(PhantomData S>); - impl sealed::Sealed for SetRed {} - impl State for SetRed { - type Red = Set; - type Blue = S::Blue; - type Green = S::Green; + type Red = Unset; } ///State transition - sets the `blue` field to Set pub struct SetBlue(PhantomData S>); impl sealed::Sealed for SetBlue {} impl State for SetBlue { - type Red = S::Red; type Blue = Set; type Green = S::Green; + type Red = S::Red; } ///State transition - sets the `green` field to Set pub struct SetGreen(PhantomData S>); impl sealed::Sealed for SetGreen {} impl State for SetGreen { - type Red = S::Red; type Blue = S::Blue; type Green = Set; + type Red = S::Red; + } + ///State transition - sets the `red` field to Set + pub struct SetRed(PhantomData S>); + impl sealed::Sealed for SetRed {} + impl State for SetRed { + type Blue = S::Blue; + type Green = S::Green; + type Red = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `red` field - pub struct red(()); ///Marker type for the `blue` field pub struct blue(()); ///Marker type for the `green` field pub struct green(()); + ///Marker type for the `red` field + pub struct red(()); } } @@ -170,9 +170,9 @@ where impl<'a, S> ColorBuilder<'a, S> where S: color_state::State, - S::Red: color_state::IsSet, S::Blue: color_state::IsSet, S::Green: color_state::IsSet, + S::Red: color_state::IsSet, { /// Build the final struct pub fn build(self) -> Color<'a> { @@ -187,7 +187,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Color<'a> { @@ -211,7 +211,7 @@ fn lexicon_doc_place_stream_chat_profile() -> ::jacquard_lexicon::lexicon::Lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("color"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("color"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -220,9 +220,9 @@ fn lexicon_doc_place_stream_chat_profile() -> ::jacquard_lexicon::lexicon::Lexic ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("red"), - ::jacquard_common::smol_str::SmolStr::new_static("green"), - ::jacquard_common::smol_str::SmolStr::new_static("blue") + ::jacquard_common::deps::smol_str::SmolStr::new_static("red"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("green"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("blue") ], ), nullable: None, @@ -230,7 +230,9 @@ fn lexicon_doc_place_stream_chat_profile() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("blue"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "blue", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -241,7 +243,9 @@ fn lexicon_doc_place_stream_chat_profile() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("green"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "green", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -252,7 +256,9 @@ fn lexicon_doc_place_stream_chat_profile() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("red"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "red", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -267,7 +273,7 @@ fn lexicon_doc_place_stream_chat_profile() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -283,7 +289,9 @@ fn lexicon_doc_place_stream_chat_profile() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("color"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "color", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#color"), @@ -486,7 +494,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Profile<'a> { diff --git a/crates/jacquard-api/src/place_stream/ingest.rs b/crates/jacquard-api/src/place_stream/ingest.rs index 511562932..fd1c6dfe3 100644 --- a/crates/jacquard-api/src/place_stream/ingest.rs +++ b/crates/jacquard-api/src/place_stream/ingest.rs @@ -156,7 +156,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Ingest<'a> { @@ -179,7 +179,7 @@ fn lexicon_doc_place_stream_ingest_defs() -> ::jacquard_lexicon::lexicon::Lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("ingest"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("ingest"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -188,8 +188,8 @@ fn lexicon_doc_place_stream_ingest_defs() -> ::jacquard_lexicon::lexicon::Lexico ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("type"), - ::jacquard_common::smol_str::SmolStr::new_static("url") + ::jacquard_common::deps::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("url") ], ), nullable: None, @@ -197,7 +197,9 @@ fn lexicon_doc_place_stream_ingest_defs() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "type", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -216,7 +218,9 @@ fn lexicon_doc_place_stream_ingest_defs() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/place_stream/key.rs b/crates/jacquard-api/src/place_stream/key.rs index a061280fe..2eeaa4408 100644 --- a/crates/jacquard-api/src/place_stream/key.rs +++ b/crates/jacquard-api/src/place_stream/key.rs @@ -39,37 +39,37 @@ pub mod key_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type SigningKey; type CreatedAt; + type SigningKey; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type SigningKey = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `signing_key` field to Set - pub struct SetSigningKey(PhantomData S>); - impl sealed::Sealed for SetSigningKey {} - impl State for SetSigningKey { - type SigningKey = Set; - type CreatedAt = S::CreatedAt; + type SigningKey = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type SigningKey = S::SigningKey; type CreatedAt = Set; + type SigningKey = S::SigningKey; + } + ///State transition - sets the `signing_key` field to Set + pub struct SetSigningKey(PhantomData S>); + impl sealed::Sealed for SetSigningKey {} + impl State for SetSigningKey { + type CreatedAt = S::CreatedAt; + type SigningKey = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `signing_key` field - pub struct signing_key(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `signing_key` field + pub struct signing_key(()); } } @@ -162,8 +162,8 @@ where impl<'a, S> KeyBuilder<'a, S> where S: key_state::State, - S::SigningKey: key_state::IsSet, S::CreatedAt: key_state::IsSet, + S::SigningKey: key_state::IsSet, { /// Build the final struct pub fn build(self) -> Key<'a> { @@ -178,7 +178,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Key<'a> { @@ -304,7 +304,7 @@ fn lexicon_doc_place_stream_key() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -316,8 +316,8 @@ fn lexicon_doc_place_stream_key() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("signingKey"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("signingKey"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -325,7 +325,7 @@ fn lexicon_doc_place_stream_key() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -348,7 +348,7 @@ fn lexicon_doc_place_stream_key() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdBy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -369,7 +369,7 @@ fn lexicon_doc_place_stream_key() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "signingKey", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { 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 69845a020..337b2fca5 100644 --- a/crates/jacquard-api/src/place_stream/live/deny_teleport.rs +++ b/crates/jacquard-api/src/place_stream/live/deny_teleport.rs @@ -116,7 +116,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> DenyTeleport<'a> { 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 7cc5c76d5..c69dee4b4 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 @@ -120,7 +120,7 @@ where )] #[serde(rename_all = "camelCase")] pub struct GetProfileCardOutput { - pub body: bytes::Bytes, + pub body: jacquard_common::deps::bytes::Bytes, } #[jacquard_derive::open_union] @@ -177,7 +177,7 @@ impl jacquard_common::xrpc::XrpcResp for GetProfileCardResponse { Self::Output<'de>: serde::Deserialize<'de>, { Ok(GetProfileCardOutput { - body: bytes::Bytes::copy_from_slice(body), + body: jacquard_common::deps::bytes::Bytes::copy_from_slice(body), }) } } 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 1bb7df9dd..e5306052b 100644 --- a/crates/jacquard-api/src/place_stream/live/get_recommendations.rs +++ b/crates/jacquard-api/src/place_stream/live/get_recommendations.rs @@ -35,37 +35,37 @@ pub mod livestream_recommendation_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Source; type Did; + type Source; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Source = Unset; type Did = Unset; - } - ///State transition - sets the `source` field to Set - pub struct SetSource(PhantomData S>); - impl sealed::Sealed for SetSource {} - impl State for SetSource { - type Source = Set; - type Did = S::Did; + type Source = Unset; } ///State transition - sets the `did` field to Set pub struct SetDid(PhantomData S>); impl sealed::Sealed for SetDid {} impl State for SetDid { - type Source = S::Source; type Did = Set; + type Source = S::Source; + } + ///State transition - sets the `source` field to Set + pub struct SetSource(PhantomData S>); + impl sealed::Sealed for SetSource {} + impl State for SetSource { + type Did = S::Did; + type Source = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `source` field - pub struct source(()); ///Marker type for the `did` field pub struct did(()); + ///Marker type for the `source` field + pub struct source(()); } } @@ -150,8 +150,8 @@ where impl<'a, S> LivestreamRecommendationBuilder<'a, S> where S: livestream_recommendation_state::State, - S::Source: livestream_recommendation_state::IsSet, S::Did: livestream_recommendation_state::IsSet, + S::Source: livestream_recommendation_state::IsSet, { /// Build the final struct pub fn build(self) -> LivestreamRecommendation<'a> { @@ -165,7 +165,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> LivestreamRecommendation<'a> { @@ -190,15 +190,15 @@ fn lexicon_doc_place_stream_live_getRecommendations() -> ::jacquard_lexicon::lex defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "livestreamRecommendation", ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("did"), - ::jacquard_common::smol_str::SmolStr::new_static("source") + ::jacquard_common::deps::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("source") ], ), nullable: None, @@ -206,7 +206,9 @@ fn lexicon_doc_place_stream_live_getRecommendations() -> ::jacquard_lexicon::lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -227,7 +229,9 @@ fn lexicon_doc_place_stream_live_getRecommendations() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("source"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "source", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -250,7 +254,7 @@ fn lexicon_doc_place_stream_live_getRecommendations() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcQuery(::jacquard_lexicon::lexicon::LexXrpcQuery { description: None, parameters: Some( @@ -258,14 +262,16 @@ fn lexicon_doc_place_stream_live_getRecommendations() -> ::jacquard_lexicon::lex description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("userDID") + ::jacquard_common::deps::smol_str::SmolStr::new_static("userDID") ], ), properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("userDID"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "userDID", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/place_stream/live/recommendations.rs b/crates/jacquard-api/src/place_stream/live/recommendations.rs index 507cdca6e..2ed966471 100644 --- a/crates/jacquard-api/src/place_stream/live/recommendations.rs +++ b/crates/jacquard-api/src/place_stream/live/recommendations.rs @@ -153,7 +153,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Recommendations<'a> { @@ -280,7 +280,7 @@ fn lexicon_doc_place_stream_live_recommendations() -> ::jacquard_lexicon::lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -292,8 +292,8 @@ fn lexicon_doc_place_stream_live_recommendations() -> ::jacquard_lexicon::lexico description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("streamers"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("streamers"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -301,7 +301,7 @@ fn lexicon_doc_place_stream_live_recommendations() -> ::jacquard_lexicon::lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -324,7 +324,7 @@ fn lexicon_doc_place_stream_live_recommendations() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "streamers", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { 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 cd8989c8a..5ef5bcb6a 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 @@ -35,37 +35,37 @@ pub mod actor_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Handle; type Did; + type Handle; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Handle = Unset; type Did = Unset; - } - ///State transition - sets the `handle` field to Set - pub struct SetHandle(PhantomData S>); - impl sealed::Sealed for SetHandle {} - impl State for SetHandle { - type Handle = Set; - type Did = S::Did; + type Handle = Unset; } ///State transition - sets the `did` field to Set pub struct SetDid(PhantomData S>); impl sealed::Sealed for SetDid {} impl State for SetDid { - type Handle = S::Handle; type Did = Set; + type Handle = S::Handle; + } + ///State transition - sets the `handle` field to Set + pub struct SetHandle(PhantomData S>); + impl sealed::Sealed for SetHandle {} + impl State for SetHandle { + type Did = S::Did; + type Handle = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `handle` field - pub struct handle(()); ///Marker type for the `did` field pub struct did(()); + ///Marker type for the `handle` field + pub struct handle(()); } } @@ -138,8 +138,8 @@ where impl<'a, S> ActorBuilder<'a, S> where S: actor_state::State, - S::Handle: actor_state::IsSet, S::Did: actor_state::IsSet, + S::Handle: actor_state::IsSet, { /// Build the final struct pub fn build(self) -> Actor<'a> { @@ -153,7 +153,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Actor<'a> { @@ -178,13 +178,13 @@ fn lexicon_doc_place_stream_live_searchActorsTypeahead() -> ::jacquard_lexicon:: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("actor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("actor"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("did"), - ::jacquard_common::smol_str::SmolStr::new_static("handle") + ::jacquard_common::deps::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("handle") ], ), nullable: None, @@ -192,7 +192,9 @@ fn lexicon_doc_place_stream_live_searchActorsTypeahead() -> ::jacquard_lexicon:: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("The actor's DID"), @@ -211,7 +213,9 @@ fn lexicon_doc_place_stream_live_searchActorsTypeahead() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("handle"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "handle", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("The actor's handle"), @@ -234,7 +238,7 @@ fn lexicon_doc_place_stream_live_searchActorsTypeahead() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcQuery(::jacquard_lexicon::lexicon::LexXrpcQuery { description: None, parameters: Some( @@ -245,7 +249,9 @@ fn lexicon_doc_place_stream_live_searchActorsTypeahead() -> ::jacquard_lexicon:: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("limit"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "limit", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -256,7 +262,7 @@ fn lexicon_doc_place_stream_live_searchActorsTypeahead() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("q"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("q"), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( 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 654533975..72c59b436 100644 --- a/crates/jacquard-api/src/place_stream/live/start_livestream.rs +++ b/crates/jacquard-api/src/place_stream/live/start_livestream.rs @@ -37,37 +37,37 @@ pub mod start_livestream_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Streamer; type Livestream; + type Streamer; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Streamer = Unset; type Livestream = Unset; - } - ///State transition - sets the `streamer` field to Set - pub struct SetStreamer(PhantomData S>); - impl sealed::Sealed for SetStreamer {} - impl State for SetStreamer { - type Streamer = Set; - type Livestream = S::Livestream; + type Streamer = Unset; } ///State transition - sets the `livestream` field to Set pub struct SetLivestream(PhantomData S>); impl sealed::Sealed for SetLivestream {} impl State for SetLivestream { - type Streamer = S::Streamer; type Livestream = Set; + type Streamer = S::Streamer; + } + ///State transition - sets the `streamer` field to Set + pub struct SetStreamer(PhantomData S>); + impl sealed::Sealed for SetStreamer {} + impl State for SetStreamer { + type Livestream = S::Livestream; + type Streamer = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `streamer` field - pub struct streamer(()); ///Marker type for the `livestream` field pub struct livestream(()); + ///Marker type for the `streamer` field + pub struct streamer(()); } } @@ -154,8 +154,8 @@ where impl<'a, S> StartLivestreamBuilder<'a, S> where S: start_livestream_state::State, - S::Streamer: start_livestream_state::IsSet, S::Livestream: start_livestream_state::IsSet, + S::Streamer: start_livestream_state::IsSet, { /// Build the final struct pub fn build(self) -> StartLivestream<'a> { @@ -170,7 +170,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> StartLivestream<'a> { 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 c16f8427f..09446f3a9 100644 --- a/crates/jacquard-api/src/place_stream/live/subscribe_segments.rs +++ b/crates/jacquard-api/src/place_stream/live/subscribe_segments.rs @@ -136,7 +136,9 @@ impl<'a> SubscribeSegmentsMessage<'a> { )?; match header.t.as_str() { "#segment" => { - let variant = 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 => { @@ -172,4 +174,4 @@ impl jacquard_common::xrpc::SubscriptionEndpoint for SubscribeSegmentsEndpoint { type Stream = SubscribeSegmentsStream; } -pub type Segment = bytes::Bytes; \ No newline at end of file +pub type Segment = jacquard_common::deps::bytes::Bytes; \ 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 4212a0aff..7ec9e81e5 100644 --- a/crates/jacquard-api/src/place_stream/live/teleport.rs +++ b/crates/jacquard-api/src/place_stream/live/teleport.rs @@ -171,7 +171,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Teleport<'a> { @@ -295,7 +295,7 @@ fn lexicon_doc_place_stream_live_teleport() -> ::jacquard_lexicon::lexicon::Lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -307,8 +307,8 @@ fn lexicon_doc_place_stream_live_teleport() -> ::jacquard_lexicon::lexicon::Lexi description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("streamer"), - ::jacquard_common::smol_str::SmolStr::new_static("startsAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("streamer"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("startsAt") ], ), nullable: None, @@ -316,7 +316,7 @@ fn lexicon_doc_place_stream_live_teleport() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "durationSeconds", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -329,7 +329,7 @@ fn lexicon_doc_place_stream_live_teleport() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "startsAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -352,7 +352,7 @@ fn lexicon_doc_place_stream_live_teleport() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "streamer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/place_stream/livestream.rs b/crates/jacquard-api/src/place_stream/livestream.rs index 0614719f0..775ffcad3 100644 --- a/crates/jacquard-api/src/place_stream/livestream.rs +++ b/crates/jacquard-api/src/place_stream/livestream.rs @@ -47,8 +47,8 @@ pub mod livestream_view_state { type Record; type Uri; type Author; - type Cid; type IndexedAt; + type Cid; } /// Empty state - all required fields are unset pub struct Empty(()); @@ -57,8 +57,8 @@ pub mod livestream_view_state { type Record = Unset; type Uri = Unset; type Author = Unset; - type Cid = Unset; type IndexedAt = Unset; + type Cid = Unset; } ///State transition - sets the `record` field to Set pub struct SetRecord(PhantomData S>); @@ -67,8 +67,8 @@ pub mod livestream_view_state { type Record = Set; type Uri = S::Uri; type Author = S::Author; - type Cid = S::Cid; type IndexedAt = S::IndexedAt; + type Cid = S::Cid; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); @@ -77,8 +77,8 @@ pub mod livestream_view_state { type Record = S::Record; type Uri = Set; type Author = S::Author; - type Cid = S::Cid; type IndexedAt = S::IndexedAt; + type Cid = S::Cid; } ///State transition - sets the `author` field to Set pub struct SetAuthor(PhantomData S>); @@ -87,18 +87,8 @@ pub mod livestream_view_state { type Record = S::Record; type Uri = S::Uri; type Author = Set; - type Cid = S::Cid; - type IndexedAt = S::IndexedAt; - } - ///State transition - sets the `cid` field to Set - pub struct SetCid(PhantomData S>); - impl sealed::Sealed for SetCid {} - impl State for SetCid { - type Record = S::Record; - type Uri = S::Uri; - type Author = S::Author; - type Cid = Set; type IndexedAt = S::IndexedAt; + type Cid = S::Cid; } ///State transition - sets the `indexed_at` field to Set pub struct SetIndexedAt(PhantomData S>); @@ -107,8 +97,18 @@ pub mod livestream_view_state { type Record = S::Record; type Uri = S::Uri; type Author = S::Author; - type Cid = S::Cid; type IndexedAt = Set; + type Cid = S::Cid; + } + ///State transition - sets the `cid` field to Set + pub struct SetCid(PhantomData S>); + impl sealed::Sealed for SetCid {} + impl State for SetCid { + type Record = S::Record; + type Uri = S::Uri; + type Author = S::Author; + type IndexedAt = S::IndexedAt; + type Cid = Set; } /// Marker types for field names #[allow(non_camel_case_types)] @@ -119,10 +119,10 @@ pub mod livestream_view_state { pub struct uri(()); ///Marker type for the `author` field pub struct author(()); - ///Marker type for the `cid` field - pub struct cid(()); ///Marker type for the `indexed_at` field pub struct indexed_at(()); + ///Marker type for the `cid` field + pub struct cid(()); } } @@ -278,8 +278,8 @@ where S::Record: livestream_view_state::IsSet, S::Uri: livestream_view_state::IsSet, S::Author: livestream_view_state::IsSet, - S::Cid: livestream_view_state::IsSet, S::IndexedAt: livestream_view_state::IsSet, + S::Cid: livestream_view_state::IsSet, { /// Build the final struct pub fn build(self) -> LivestreamView<'a> { @@ -297,7 +297,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> LivestreamView<'a> { @@ -324,16 +324,16 @@ fn lexicon_doc_place_stream_livestream() -> ::jacquard_lexicon::lexicon::Lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("livestreamView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("livestreamView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("cid"), - ::jacquard_common::smol_str::SmolStr::new_static("author"), - ::jacquard_common::smol_str::SmolStr::new_static("record"), - ::jacquard_common::smol_str::SmolStr::new_static("indexedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("record"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("indexedAt") ], ), nullable: None, @@ -341,7 +341,9 @@ fn lexicon_doc_place_stream_livestream() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "author", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -350,7 +352,9 @@ fn lexicon_doc_place_stream_livestream() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -367,7 +371,7 @@ fn lexicon_doc_place_stream_livestream() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "indexedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -386,13 +390,17 @@ fn lexicon_doc_place_stream_livestream() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("record"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "record", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -409,7 +417,7 @@ fn lexicon_doc_place_stream_livestream() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "viewerCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -422,7 +430,7 @@ fn lexicon_doc_place_stream_livestream() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -434,8 +442,8 @@ fn lexicon_doc_place_stream_livestream() -> ::jacquard_lexicon::lexicon::Lexicon description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -443,7 +451,9 @@ fn lexicon_doc_place_stream_livestream() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("agent"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "agent", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -462,7 +472,7 @@ fn lexicon_doc_place_stream_livestream() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "canonicalUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -485,7 +495,7 @@ fn lexicon_doc_place_stream_livestream() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -508,7 +518,9 @@ fn lexicon_doc_place_stream_livestream() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("endedAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "endedAt", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -529,7 +541,7 @@ fn lexicon_doc_place_stream_livestream() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "idleTimeoutSeconds", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -542,7 +554,7 @@ fn lexicon_doc_place_stream_livestream() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "lastSeenAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -565,7 +577,7 @@ fn lexicon_doc_place_stream_livestream() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "notificationSettings", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -576,7 +588,9 @@ fn lexicon_doc_place_stream_livestream() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("post"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "post", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -585,7 +599,9 @@ fn lexicon_doc_place_stream_livestream() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("thumb"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "thumb", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -593,7 +609,9 @@ fn lexicon_doc_place_stream_livestream() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -612,7 +630,9 @@ fn lexicon_doc_place_stream_livestream() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -638,7 +658,9 @@ fn lexicon_doc_place_stream_livestream() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("notificationSettings"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "notificationSettings", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some(vec![]), @@ -647,7 +669,7 @@ fn lexicon_doc_place_stream_livestream() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "pushNotification", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -661,12 +683,14 @@ fn lexicon_doc_place_stream_livestream() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("streamplaceAnything"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "streamplaceAnything", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("livestream") + ::jacquard_common::deps::smol_str::SmolStr::new_static("livestream") ], ), nullable: None, @@ -674,7 +698,7 @@ fn lexicon_doc_place_stream_livestream() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "livestream", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -697,15 +721,17 @@ fn lexicon_doc_place_stream_livestream() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("teleportArrival"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "teleportArrival", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("teleportUri"), - ::jacquard_common::smol_str::SmolStr::new_static("source"), - ::jacquard_common::smol_str::SmolStr::new_static("viewerCount"), - ::jacquard_common::smol_str::SmolStr::new_static("startsAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("teleportUri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("source"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("viewerCount"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("startsAt") ], ), nullable: None, @@ -713,7 +739,7 @@ fn lexicon_doc_place_stream_livestream() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "chatProfile", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -724,7 +750,9 @@ fn lexicon_doc_place_stream_livestream() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("source"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "source", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -733,7 +761,9 @@ fn lexicon_doc_place_stream_livestream() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("startsAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "startsAt", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -754,7 +784,7 @@ fn lexicon_doc_place_stream_livestream() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "teleportUri", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -777,7 +807,7 @@ fn lexicon_doc_place_stream_livestream() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "viewerCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -794,13 +824,15 @@ fn lexicon_doc_place_stream_livestream() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("teleportCanceled"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "teleportCanceled", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("teleportUri"), - ::jacquard_common::smol_str::SmolStr::new_static("reason") + ::jacquard_common::deps::smol_str::SmolStr::new_static("teleportUri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("reason") ], ), nullable: None, @@ -808,7 +840,9 @@ fn lexicon_doc_place_stream_livestream() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reason"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reason", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -827,7 +861,7 @@ fn lexicon_doc_place_stream_livestream() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "teleportUri", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -854,18 +888,22 @@ fn lexicon_doc_place_stream_livestream() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("viewerCount"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("viewerCount"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("count")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("count") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("count"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "count", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -1278,7 +1316,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Livestream<'a> { @@ -1389,7 +1427,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Livestream<'a> { { let value = &self.title; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -1552,7 +1590,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> StreamplaceAnything<'a> { @@ -1651,67 +1689,67 @@ pub mod teleport_arrival_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type ViewerCount; type TeleportUri; - type StartsAt; type Source; - type ViewerCount; + type StartsAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type ViewerCount = Unset; type TeleportUri = Unset; - type StartsAt = Unset; type Source = Unset; - type ViewerCount = Unset; + type StartsAt = Unset; + } + ///State transition - sets the `viewer_count` field to Set + pub struct SetViewerCount(PhantomData S>); + impl sealed::Sealed for SetViewerCount {} + impl State for SetViewerCount { + type ViewerCount = Set; + type TeleportUri = S::TeleportUri; + type Source = S::Source; + type StartsAt = S::StartsAt; } ///State transition - sets the `teleport_uri` field to Set pub struct SetTeleportUri(PhantomData S>); impl sealed::Sealed for SetTeleportUri {} impl State for SetTeleportUri { - type TeleportUri = Set; - type StartsAt = S::StartsAt; - type Source = S::Source; type ViewerCount = S::ViewerCount; - } - ///State transition - sets the `starts_at` field to Set - pub struct SetStartsAt(PhantomData S>); - impl sealed::Sealed for SetStartsAt {} - impl State for SetStartsAt { - type TeleportUri = S::TeleportUri; - type StartsAt = Set; + type TeleportUri = Set; type Source = S::Source; - type ViewerCount = S::ViewerCount; + type StartsAt = S::StartsAt; } ///State transition - sets the `source` field to Set pub struct SetSource(PhantomData S>); impl sealed::Sealed for SetSource {} impl State for SetSource { + type ViewerCount = S::ViewerCount; type TeleportUri = S::TeleportUri; - type StartsAt = S::StartsAt; type Source = Set; - type ViewerCount = S::ViewerCount; + type StartsAt = S::StartsAt; } - ///State transition - sets the `viewer_count` field to Set - pub struct SetViewerCount(PhantomData S>); - impl sealed::Sealed for SetViewerCount {} - impl State for SetViewerCount { + ///State transition - sets the `starts_at` field to Set + pub struct SetStartsAt(PhantomData S>); + impl sealed::Sealed for SetStartsAt {} + impl State for SetStartsAt { + type ViewerCount = S::ViewerCount; type TeleportUri = S::TeleportUri; - type StartsAt = S::StartsAt; type Source = S::Source; - type ViewerCount = Set; + type StartsAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `viewer_count` field + pub struct viewer_count(()); ///Marker type for the `teleport_uri` field pub struct teleport_uri(()); - ///Marker type for the `starts_at` field - pub struct starts_at(()); ///Marker type for the `source` field pub struct source(()); - ///Marker type for the `viewer_count` field - pub struct viewer_count(()); + ///Marker type for the `starts_at` field + pub struct starts_at(()); } } @@ -1844,10 +1882,10 @@ where impl<'a, S> TeleportArrivalBuilder<'a, S> where S: teleport_arrival_state::State, + S::ViewerCount: teleport_arrival_state::IsSet, S::TeleportUri: teleport_arrival_state::IsSet, - S::StartsAt: teleport_arrival_state::IsSet, S::Source: teleport_arrival_state::IsSet, - S::ViewerCount: teleport_arrival_state::IsSet, + S::StartsAt: teleport_arrival_state::IsSet, { /// Build the final struct pub fn build(self) -> TeleportArrival<'a> { @@ -1864,7 +1902,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> TeleportArrival<'a> { @@ -2044,7 +2082,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> TeleportCanceled<'a> { @@ -2180,7 +2218,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ViewerCount<'a> { diff --git a/crates/jacquard-api/src/place_stream/metadata/configuration.rs b/crates/jacquard-api/src/place_stream/metadata/configuration.rs index c7916f91d..6896c4533 100644 --- a/crates/jacquard-api/src/place_stream/metadata/configuration.rs +++ b/crates/jacquard-api/src/place_stream/metadata/configuration.rs @@ -177,7 +177,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Configuration<'a> { @@ -279,7 +279,7 @@ fn lexicon_doc_place_stream_metadata_configuration() -> ::jacquard_lexicon::lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -295,7 +295,7 @@ fn lexicon_doc_place_stream_metadata_configuration() -> ::jacquard_lexicon::lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentRights", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -306,7 +306,7 @@ fn lexicon_doc_place_stream_metadata_configuration() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentWarnings", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -317,7 +317,7 @@ fn lexicon_doc_place_stream_metadata_configuration() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "distributionPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { 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 f95468708..7e910bc26 100644 --- a/crates/jacquard-api/src/place_stream/metadata/content_rights.rs +++ b/crates/jacquard-api/src/place_stream/metadata/content_rights.rs @@ -324,55 +324,61 @@ fn lexicon_doc_place_stream_metadata_contentRights() -> ::jacquard_lexicon::lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("all-rights-reserved"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "all-rights-reserved", + ), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cc-by-nc-nd_4__0"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cc-by-nc-nd_4__0", + ), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cc-by-nc-sa_4__0"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cc-by-nc-sa_4__0", + ), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cc-by-nc_4__0"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cc-by-nc_4__0"), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cc-by-nd_4__0"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cc-by-nd_4__0"), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cc-by-sa_4__0"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cc-by-sa_4__0"), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cc-by_4__0"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cc-by_4__0"), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cc0_1__0"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cc0_1__0"), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -385,7 +391,7 @@ fn lexicon_doc_place_stream_metadata_contentRights() -> ::jacquard_lexicon::lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightNotice", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -406,7 +412,7 @@ fn lexicon_doc_place_stream_metadata_contentRights() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightYear", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -419,7 +425,9 @@ fn lexicon_doc_place_stream_metadata_contentRights() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("creator"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "creator", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -438,7 +446,7 @@ fn lexicon_doc_place_stream_metadata_contentRights() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "creditLine", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -459,7 +467,9 @@ fn lexicon_doc_place_stream_metadata_contentRights() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("license"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "license", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( 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 e679fbe8b..2e9875b2a 100644 --- a/crates/jacquard-api/src/place_stream/metadata/content_warnings.rs +++ b/crates/jacquard-api/src/place_stream/metadata/content_warnings.rs @@ -145,43 +145,45 @@ fn lexicon_doc_place_stream_metadata_contentWarnings() -> ::jacquard_lexicon::le defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("PII"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("PII"), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("death"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("death"), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("drugUse"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("drugUse"), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("fantasyViolence"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "fantasyViolence", + ), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("flashingLights"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("flashingLights"), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("language"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("language"), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -194,7 +196,9 @@ fn lexicon_doc_place_stream_metadata_contentWarnings() -> ::jacquard_lexicon::le #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("warnings"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "warnings", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::String(::jacquard_lexicon::lexicon::LexString { @@ -218,25 +222,25 @@ fn lexicon_doc_place_stream_metadata_contentWarnings() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("nudity"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("nudity"), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sexuality"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("sexuality"), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("suffering"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("suffering"), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("violence"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("violence"), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), 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 9b5918da9..a4de8b3ac 100644 --- a/crates/jacquard-api/src/place_stream/metadata/distribution_policy.rs +++ b/crates/jacquard-api/src/place_stream/metadata/distribution_policy.rs @@ -41,7 +41,7 @@ fn lexicon_doc_place_stream_metadata_distributionPolicy() -> ::jacquard_lexicon: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -54,7 +54,7 @@ fn lexicon_doc_place_stream_metadata_distributionPolicy() -> ::jacquard_lexicon: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "allowedBroadcasters", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -80,7 +80,7 @@ fn lexicon_doc_place_stream_metadata_distributionPolicy() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "deleteAfter", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { diff --git a/crates/jacquard-api/src/place_stream/moderation.rs b/crates/jacquard-api/src/place_stream/moderation.rs index def3a13f5..814167417 100644 --- a/crates/jacquard-api/src/place_stream/moderation.rs +++ b/crates/jacquard-api/src/place_stream/moderation.rs @@ -48,8 +48,8 @@ pub mod permission_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Author; type Record; + type Author; type Cid; type Uri; } @@ -57,26 +57,26 @@ pub mod permission_view_state { pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Author = Unset; type Record = Unset; + type Author = Unset; type Cid = Unset; type Uri = Unset; } - ///State transition - sets the `author` field to Set - pub struct SetAuthor(PhantomData S>); - impl sealed::Sealed for SetAuthor {} - impl State for SetAuthor { - type Author = Set; - type Record = S::Record; - type Cid = S::Cid; - type Uri = S::Uri; - } ///State transition - sets the `record` field to Set pub struct SetRecord(PhantomData S>); impl sealed::Sealed for SetRecord {} impl State for SetRecord { - type Author = S::Author; type Record = Set; + type Author = S::Author; + type Cid = S::Cid; + type Uri = S::Uri; + } + ///State transition - sets the `author` field to Set + pub struct SetAuthor(PhantomData S>); + impl sealed::Sealed for SetAuthor {} + impl State for SetAuthor { + type Record = S::Record; + type Author = Set; type Cid = S::Cid; type Uri = S::Uri; } @@ -84,8 +84,8 @@ pub mod permission_view_state { pub struct SetCid(PhantomData S>); impl sealed::Sealed for SetCid {} impl State for SetCid { - type Author = S::Author; type Record = S::Record; + type Author = S::Author; type Cid = Set; type Uri = S::Uri; } @@ -93,18 +93,18 @@ pub mod permission_view_state { pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { - type Author = S::Author; type Record = S::Record; + type Author = S::Author; type Cid = S::Cid; type Uri = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `author` field - pub struct author(()); ///Marker type for the `record` field pub struct record(()); + ///Marker type for the `author` field + pub struct author(()); ///Marker type for the `cid` field pub struct cid(()); ///Marker type for the `uri` field @@ -221,8 +221,8 @@ where impl<'a, S> PermissionViewBuilder<'a, S> where S: permission_view_state::State, - S::Author: permission_view_state::IsSet, S::Record: permission_view_state::IsSet, + S::Author: permission_view_state::IsSet, S::Cid: permission_view_state::IsSet, S::Uri: permission_view_state::IsSet, { @@ -240,7 +240,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> PermissionView<'a> { @@ -265,15 +265,15 @@ fn lexicon_doc_place_stream_moderation_defs() -> ::jacquard_lexicon::lexicon::Le defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("permissionView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("permissionView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("cid"), - ::jacquard_common::smol_str::SmolStr::new_static("author"), - ::jacquard_common::smol_str::SmolStr::new_static("record") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("record") ], ), nullable: None, @@ -281,7 +281,9 @@ fn lexicon_doc_place_stream_moderation_defs() -> ::jacquard_lexicon::lexicon::Le #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "author", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -290,7 +292,9 @@ fn lexicon_doc_place_stream_moderation_defs() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -311,13 +315,17 @@ fn lexicon_doc_place_stream_moderation_defs() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("record"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "record", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( 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 d7e66c3d9..803f2a14f 100644 --- a/crates/jacquard-api/src/place_stream/moderation/create_block.rs +++ b/crates/jacquard-api/src/place_stream/moderation/create_block.rs @@ -175,7 +175,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> CreateBlock<'a> { 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 4cd41fde8..fac275a0a 100644 --- a/crates/jacquard-api/src/place_stream/moderation/create_gate.rs +++ b/crates/jacquard-api/src/place_stream/moderation/create_gate.rs @@ -153,7 +153,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> CreateGate<'a> { 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 06222b067..0ed44a603 100644 --- a/crates/jacquard-api/src/place_stream/moderation/delete_block.rs +++ b/crates/jacquard-api/src/place_stream/moderation/delete_block.rs @@ -153,7 +153,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> DeleteBlock<'a> { 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 f9371cd2d..3abae259f 100644 --- a/crates/jacquard-api/src/place_stream/moderation/delete_gate.rs +++ b/crates/jacquard-api/src/place_stream/moderation/delete_gate.rs @@ -35,37 +35,37 @@ pub mod delete_gate_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type GateUri; type Streamer; + type GateUri; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type GateUri = Unset; type Streamer = Unset; - } - ///State transition - sets the `gate_uri` field to Set - pub struct SetGateUri(PhantomData S>); - impl sealed::Sealed for SetGateUri {} - impl State for SetGateUri { - type GateUri = Set; - type Streamer = S::Streamer; + type GateUri = Unset; } ///State transition - sets the `streamer` field to Set pub struct SetStreamer(PhantomData S>); impl sealed::Sealed for SetStreamer {} impl State for SetStreamer { - type GateUri = S::GateUri; type Streamer = Set; + type GateUri = S::GateUri; + } + ///State transition - sets the `gate_uri` field to Set + pub struct SetGateUri(PhantomData S>); + impl sealed::Sealed for SetGateUri {} + impl State for SetGateUri { + type Streamer = S::Streamer; + type GateUri = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `gate_uri` field - pub struct gate_uri(()); ///Marker type for the `streamer` field pub struct streamer(()); + ///Marker type for the `gate_uri` field + pub struct gate_uri(()); } } @@ -138,8 +138,8 @@ where impl<'a, S> DeleteGateBuilder<'a, S> where S: delete_gate_state::State, - S::GateUri: delete_gate_state::IsSet, S::Streamer: delete_gate_state::IsSet, + S::GateUri: delete_gate_state::IsSet, { /// Build the final struct pub fn build(self) -> DeleteGate<'a> { @@ -153,7 +153,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> DeleteGate<'a> { diff --git a/crates/jacquard-api/src/place_stream/moderation/permission.rs b/crates/jacquard-api/src/place_stream/moderation/permission.rs index f25f63175..a282d0d86 100644 --- a/crates/jacquard-api/src/place_stream/moderation/permission.rs +++ b/crates/jacquard-api/src/place_stream/moderation/permission.rs @@ -41,51 +41,51 @@ pub mod permission_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; - type Permissions; type Moderator; + type Permissions; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; - type Permissions = Unset; type Moderator = Unset; + type Permissions = Unset; + type CreatedAt = Unset; } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; + ///State transition - sets the `moderator` field to Set + pub struct SetModerator(PhantomData S>); + impl sealed::Sealed for SetModerator {} + impl State for SetModerator { + type Moderator = Set; type Permissions = S::Permissions; - type Moderator = S::Moderator; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `permissions` field to Set pub struct SetPermissions(PhantomData S>); impl sealed::Sealed for SetPermissions {} impl State for SetPermissions { - type CreatedAt = S::CreatedAt; - type Permissions = Set; type Moderator = S::Moderator; - } - ///State transition - sets the `moderator` field to Set - pub struct SetModerator(PhantomData S>); - impl sealed::Sealed for SetModerator {} - impl State for SetModerator { + type Permissions = Set; type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Moderator = S::Moderator; type Permissions = S::Permissions; - type Moderator = Set; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); - ///Marker type for the `permissions` field - pub struct permissions(()); ///Marker type for the `moderator` field pub struct moderator(()); + ///Marker type for the `permissions` field + pub struct permissions(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -198,9 +198,9 @@ where impl<'a, S> PermissionBuilder<'a, S> where S: permission_state::State, - S::CreatedAt: permission_state::IsSet, - S::Permissions: permission_state::IsSet, S::Moderator: permission_state::IsSet, + S::Permissions: permission_state::IsSet, + S::CreatedAt: permission_state::IsSet, { /// Build the final struct pub fn build(self) -> Permission<'a> { @@ -216,7 +216,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Permission<'a> { @@ -319,7 +319,7 @@ fn lexicon_doc_place_stream_moderation_permission() -> ::jacquard_lexicon::lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -331,9 +331,9 @@ fn lexicon_doc_place_stream_moderation_permission() -> ::jacquard_lexicon::lexic description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("moderator"), - ::jacquard_common::smol_str::SmolStr::new_static("permissions"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("moderator"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("permissions"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -341,7 +341,7 @@ fn lexicon_doc_place_stream_moderation_permission() -> ::jacquard_lexicon::lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -364,7 +364,7 @@ fn lexicon_doc_place_stream_moderation_permission() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "expirationTime", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -387,7 +387,7 @@ fn lexicon_doc_place_stream_moderation_permission() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "moderator", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -410,7 +410,7 @@ fn lexicon_doc_place_stream_moderation_permission() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "permissions", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { 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 37a940fd4..6179b5495 100644 --- a/crates/jacquard-api/src/place_stream/moderation/update_livestream.rs +++ b/crates/jacquard-api/src/place_stream/moderation/update_livestream.rs @@ -175,7 +175,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> UpdateLivestream<'a> { diff --git a/crates/jacquard-api/src/place_stream/multistream.rs b/crates/jacquard-api/src/place_stream/multistream.rs index d1461df25..af6d6b331 100644 --- a/crates/jacquard-api/src/place_stream/multistream.rs +++ b/crates/jacquard-api/src/place_stream/multistream.rs @@ -40,51 +40,51 @@ pub mod event_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Message; type Status; type CreatedAt; - type Message; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Message = Unset; type Status = Unset; type CreatedAt = Unset; - type Message = Unset; + } + ///State transition - sets the `message` field to Set + pub struct SetMessage(PhantomData S>); + impl sealed::Sealed for SetMessage {} + impl State for SetMessage { + type Message = Set; + type Status = S::Status; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `status` field to Set pub struct SetStatus(PhantomData S>); impl sealed::Sealed for SetStatus {} impl State for SetStatus { + type Message = S::Message; type Status = Set; type CreatedAt = S::CreatedAt; - type Message = S::Message; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Status = S::Status; - type CreatedAt = Set; type Message = S::Message; - } - ///State transition - sets the `message` field to Set - pub struct SetMessage(PhantomData S>); - impl sealed::Sealed for SetMessage {} - impl State for SetMessage { type Status = S::Status; - type CreatedAt = S::CreatedAt; - type Message = Set; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `message` field + pub struct message(()); ///Marker type for the `status` field pub struct status(()); ///Marker type for the `created_at` field pub struct created_at(()); - ///Marker type for the `message` field - pub struct message(()); } } @@ -177,9 +177,9 @@ where impl<'a, S> EventBuilder<'a, S> where S: event_state::State, + S::Message: event_state::IsSet, S::Status: event_state::IsSet, S::CreatedAt: event_state::IsSet, - S::Message: event_state::IsSet, { /// Build the final struct pub fn build(self) -> Event<'a> { @@ -194,7 +194,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Event<'a> { @@ -218,14 +218,14 @@ fn lexicon_doc_place_stream_multistream_defs() -> ::jacquard_lexicon::lexicon::L defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("event"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("event"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("message"), - ::jacquard_common::smol_str::SmolStr::new_static("status"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("message"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("status"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -233,7 +233,7 @@ fn lexicon_doc_place_stream_multistream_defs() -> ::jacquard_lexicon::lexicon::L #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -252,7 +252,9 @@ fn lexicon_doc_place_stream_multistream_defs() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("message"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "message", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -267,7 +269,9 @@ fn lexicon_doc_place_stream_multistream_defs() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("status"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "status", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -286,14 +290,14 @@ fn lexicon_doc_place_stream_multistream_defs() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("targetView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("targetView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("cid"), - ::jacquard_common::smol_str::SmolStr::new_static("record") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("record") ], ), nullable: None, @@ -301,7 +305,9 @@ fn lexicon_doc_place_stream_multistream_defs() -> ::jacquard_lexicon::lexicon::L #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -318,7 +324,7 @@ fn lexicon_doc_place_stream_multistream_defs() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "latestEvent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -329,13 +335,17 @@ fn lexicon_doc_place_stream_multistream_defs() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("record"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "record", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -585,7 +595,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> TargetView<'a> { 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 c603bed4f..1f8a76334 100644 --- a/crates/jacquard-api/src/place_stream/multistream/create_target.rs +++ b/crates/jacquard-api/src/place_stream/multistream/create_target.rs @@ -115,7 +115,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> CreateTarget<'a> { 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 6e3107825..d03635d18 100644 --- a/crates/jacquard-api/src/place_stream/multistream/delete_target.rs +++ b/crates/jacquard-api/src/place_stream/multistream/delete_target.rs @@ -126,7 +126,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> DeleteTarget<'a> { 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 416722738..fd9f4824b 100644 --- a/crates/jacquard-api/src/place_stream/multistream/list_targets.rs +++ b/crates/jacquard-api/src/place_stream/multistream/list_targets.rs @@ -188,51 +188,51 @@ pub mod record_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Value; type Uri; type Cid; + type Value; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Value = Unset; type Uri = Unset; type Cid = Unset; - } - ///State transition - sets the `value` field to Set - pub struct SetValue(PhantomData S>); - impl sealed::Sealed for SetValue {} - impl State for SetValue { - type Value = Set; - type Uri = S::Uri; - type Cid = S::Cid; + type Value = Unset; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { - type Value = S::Value; type Uri = Set; type Cid = S::Cid; + type Value = S::Value; } ///State transition - sets the `cid` field to Set pub struct SetCid(PhantomData S>); impl sealed::Sealed for SetCid {} impl State for SetCid { - type Value = S::Value; type Uri = S::Uri; type Cid = Set; + type Value = S::Value; + } + ///State transition - sets the `value` field to Set + pub struct SetValue(PhantomData S>); + impl sealed::Sealed for SetValue {} + impl State for SetValue { + type Uri = S::Uri; + type Cid = S::Cid; + type Value = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `value` field - pub struct value(()); ///Marker type for the `uri` field pub struct uri(()); ///Marker type for the `cid` field pub struct cid(()); + ///Marker type for the `value` field + pub struct value(()); } } @@ -325,9 +325,9 @@ where impl<'a, S> RecordBuilder<'a, S> where S: record_state::State, - S::Value: record_state::IsSet, S::Uri: record_state::IsSet, S::Cid: record_state::IsSet, + S::Value: record_state::IsSet, { /// Build the final struct pub fn build(self) -> Record<'a> { @@ -342,7 +342,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Record<'a> { @@ -368,7 +368,7 @@ fn lexicon_doc_place_stream_multistream_listTargets() -> ::jacquard_lexicon::lex defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcQuery(::jacquard_lexicon::lexicon::LexXrpcQuery { description: None, parameters: Some( @@ -379,7 +379,9 @@ fn lexicon_doc_place_stream_multistream_listTargets() -> ::jacquard_lexicon::lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cursor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cursor", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -394,7 +396,9 @@ fn lexicon_doc_place_stream_multistream_listTargets() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("limit"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "limit", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -413,14 +417,14 @@ fn lexicon_doc_place_stream_multistream_listTargets() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("record"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("record"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("cid"), - ::jacquard_common::smol_str::SmolStr::new_static("value") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("value") ], ), nullable: None, @@ -428,7 +432,9 @@ fn lexicon_doc_place_stream_multistream_listTargets() -> ::jacquard_lexicon::lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -445,7 +451,9 @@ fn lexicon_doc_place_stream_multistream_listTargets() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -462,7 +470,9 @@ fn lexicon_doc_place_stream_multistream_listTargets() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("value"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "value", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { description: None, }), 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 cf9a1ff8f..7947c7914 100644 --- a/crates/jacquard-api/src/place_stream/multistream/put_target.rs +++ b/crates/jacquard-api/src/place_stream/multistream/put_target.rs @@ -158,7 +158,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> PutTarget<'a> { diff --git a/crates/jacquard-api/src/place_stream/multistream/target.rs b/crates/jacquard-api/src/place_stream/multistream/target.rs index 7bcd90e12..877890f81 100644 --- a/crates/jacquard-api/src/place_stream/multistream/target.rs +++ b/crates/jacquard-api/src/place_stream/multistream/target.rs @@ -41,49 +41,49 @@ pub mod target_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Url; type Active; + type Url; type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Url = Unset; type Active = Unset; + type Url = Unset; type CreatedAt = Unset; } - ///State transition - sets the `url` field to Set - pub struct SetUrl(PhantomData S>); - impl sealed::Sealed for SetUrl {} - impl State for SetUrl { - type Url = Set; - type Active = S::Active; - type CreatedAt = S::CreatedAt; - } ///State transition - sets the `active` field to Set pub struct SetActive(PhantomData S>); impl sealed::Sealed for SetActive {} impl State for SetActive { - type Url = S::Url; type Active = Set; + type Url = S::Url; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `url` field to Set + pub struct SetUrl(PhantomData S>); + impl sealed::Sealed for SetUrl {} + impl State for SetUrl { + type Active = S::Active; + type Url = Set; type CreatedAt = S::CreatedAt; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Url = S::Url; type Active = S::Active; + type Url = S::Url; type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `url` field - pub struct url(()); ///Marker type for the `active` field pub struct active(()); + ///Marker type for the `url` field + pub struct url(()); ///Marker type for the `created_at` field pub struct created_at(()); } @@ -195,8 +195,8 @@ where impl<'a, S> TargetBuilder<'a, S> where S: target_state::State, - S::Url: target_state::IsSet, S::Active: target_state::IsSet, + S::Url: target_state::IsSet, S::CreatedAt: target_state::IsSet, { /// Build the final struct @@ -213,7 +213,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Target<'a> { @@ -328,7 +328,7 @@ fn lexicon_doc_place_stream_multistream_target() -> ::jacquard_lexicon::lexicon: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -340,9 +340,9 @@ fn lexicon_doc_place_stream_multistream_target() -> ::jacquard_lexicon::lexicon: description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("url"), - ::jacquard_common::smol_str::SmolStr::new_static("active"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("active"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -350,7 +350,9 @@ fn lexicon_doc_place_stream_multistream_target() -> ::jacquard_lexicon::lexicon: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("active"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "active", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -358,7 +360,7 @@ fn lexicon_doc_place_stream_multistream_target() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -381,7 +383,9 @@ fn lexicon_doc_place_stream_multistream_target() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -400,7 +404,9 @@ fn lexicon_doc_place_stream_multistream_target() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/place_stream/playback/whep.rs b/crates/jacquard-api/src/place_stream/playback/whep.rs index a6f1d9689..df15c4376 100644 --- a/crates/jacquard-api/src/place_stream/playback/whep.rs +++ b/crates/jacquard-api/src/place_stream/playback/whep.rs @@ -158,7 +158,7 @@ where )] #[serde(rename_all = "camelCase")] pub struct Whep { - pub body: bytes::Bytes, + pub body: jacquard_common::deps::bytes::Bytes, } #[derive( @@ -172,7 +172,7 @@ pub struct Whep { )] #[serde(rename_all = "camelCase")] pub struct WhepOutput { - pub body: bytes::Bytes, + pub body: jacquard_common::deps::bytes::Bytes, } #[jacquard_derive::open_union] @@ -230,7 +230,7 @@ impl jacquard_common::xrpc::XrpcResp for WhepResponse { Self::Output<'de>: serde::Deserialize<'de>, { Ok(WhepOutput { - body: bytes::Bytes::copy_from_slice(body), + body: jacquard_common::deps::bytes::Bytes::copy_from_slice(body), }) } } @@ -252,7 +252,7 @@ impl jacquard_common::xrpc::XrpcRequest for Whep { { Ok( Box::new(Self { - body: bytes::Bytes::copy_from_slice(body), + body: jacquard_common::deps::bytes::Bytes::copy_from_slice(body), }), ) } diff --git a/crates/jacquard-api/src/place_stream/richtext/facet.rs b/crates/jacquard-api/src/place_stream/richtext/facet.rs index 5ba61ae99..f75c9083c 100644 --- a/crates/jacquard-api/src/place_stream/richtext/facet.rs +++ b/crates/jacquard-api/src/place_stream/richtext/facet.rs @@ -152,7 +152,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Facet<'a> { @@ -194,7 +194,7 @@ fn lexicon_doc_place_stream_richtext_facet() -> ::jacquard_lexicon::lexicon::Lex defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -203,8 +203,8 @@ fn lexicon_doc_place_stream_richtext_facet() -> ::jacquard_lexicon::lexicon::Lex ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("index"), - ::jacquard_common::smol_str::SmolStr::new_static("features") + ::jacquard_common::deps::smol_str::SmolStr::new_static("index"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("features") ], ), nullable: None, @@ -212,7 +212,9 @@ fn lexicon_doc_place_stream_richtext_facet() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("features"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "features", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -228,7 +230,9 @@ fn lexicon_doc_place_stream_richtext_facet() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("index"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "index", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/place_stream/segment.rs b/crates/jacquard-api/src/place_stream/segment.rs index 27acfb1c1..1210d03d6 100644 --- a/crates/jacquard-api/src/place_stream/segment.rs +++ b/crates/jacquard-api/src/place_stream/segment.rs @@ -33,51 +33,51 @@ pub mod audio_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Rate; type Channels; type Codec; - type Rate; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Rate = Unset; type Channels = Unset; type Codec = Unset; - type Rate = Unset; + } + ///State transition - sets the `rate` field to Set + pub struct SetRate(PhantomData S>); + impl sealed::Sealed for SetRate {} + impl State for SetRate { + type Rate = Set; + type Channels = S::Channels; + type Codec = S::Codec; } ///State transition - sets the `channels` field to Set pub struct SetChannels(PhantomData S>); impl sealed::Sealed for SetChannels {} impl State for SetChannels { + type Rate = S::Rate; type Channels = Set; type Codec = S::Codec; - type Rate = S::Rate; } ///State transition - sets the `codec` field to Set pub struct SetCodec(PhantomData S>); impl sealed::Sealed for SetCodec {} impl State for SetCodec { - type Channels = S::Channels; - type Codec = Set; type Rate = S::Rate; - } - ///State transition - sets the `rate` field to Set - pub struct SetRate(PhantomData S>); - impl sealed::Sealed for SetRate {} - impl State for SetRate { type Channels = S::Channels; - type Codec = S::Codec; - type Rate = Set; + type Codec = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `rate` field + pub struct rate(()); ///Marker type for the `channels` field pub struct channels(()); ///Marker type for the `codec` field pub struct codec(()); - ///Marker type for the `rate` field - pub struct rate(()); } } @@ -170,9 +170,9 @@ where impl<'a, S> AudioBuilder<'a, S> where S: audio_state::State, + S::Rate: audio_state::IsSet, S::Channels: audio_state::IsSet, S::Codec: audio_state::IsSet, - S::Rate: audio_state::IsSet, { /// Build the final struct pub fn build(self) -> Audio<'a> { @@ -187,7 +187,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Audio<'a> { @@ -211,14 +211,14 @@ fn lexicon_doc_place_stream_segment() -> ::jacquard_lexicon::lexicon::LexiconDoc defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("audio"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("audio"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("codec"), - ::jacquard_common::smol_str::SmolStr::new_static("rate"), - ::jacquard_common::smol_str::SmolStr::new_static("channels") + ::jacquard_common::deps::smol_str::SmolStr::new_static("codec"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("rate"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("channels") ], ), nullable: None, @@ -226,7 +226,9 @@ fn lexicon_doc_place_stream_segment() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("channels"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "channels", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -237,7 +239,9 @@ fn lexicon_doc_place_stream_segment() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("codec"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "codec", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -252,7 +256,9 @@ fn lexicon_doc_place_stream_segment() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rate"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "rate", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -267,13 +273,13 @@ fn lexicon_doc_place_stream_segment() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("framerate"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("framerate"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("num"), - ::jacquard_common::smol_str::SmolStr::new_static("den") + ::jacquard_common::deps::smol_str::SmolStr::new_static("num"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("den") ], ), nullable: None, @@ -281,7 +287,9 @@ fn lexicon_doc_place_stream_segment() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("den"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "den", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -292,7 +300,9 @@ fn lexicon_doc_place_stream_segment() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("num"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "num", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -307,7 +317,7 @@ fn lexicon_doc_place_stream_segment() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -319,10 +329,10 @@ fn lexicon_doc_place_stream_segment() -> ::jacquard_lexicon::lexicon::LexiconDoc description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("id"), - ::jacquard_common::smol_str::SmolStr::new_static("signingKey"), - ::jacquard_common::smol_str::SmolStr::new_static("startTime"), - ::jacquard_common::smol_str::SmolStr::new_static("creator") + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("signingKey"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("startTime"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("creator") ], ), nullable: None, @@ -330,7 +340,9 @@ fn lexicon_doc_place_stream_segment() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("audio"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "audio", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -342,7 +354,7 @@ fn lexicon_doc_place_stream_segment() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentRights", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -353,7 +365,7 @@ fn lexicon_doc_place_stream_segment() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentWarnings", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -364,7 +376,9 @@ fn lexicon_doc_place_stream_segment() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("creator"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "creator", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -381,7 +395,7 @@ fn lexicon_doc_place_stream_segment() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "distributionPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -392,7 +406,7 @@ fn lexicon_doc_place_stream_segment() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "duration", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -405,7 +419,9 @@ fn lexicon_doc_place_stream_segment() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "id", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -424,7 +440,7 @@ fn lexicon_doc_place_stream_segment() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "signingKey", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -445,7 +461,9 @@ fn lexicon_doc_place_stream_segment() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "size", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -456,7 +474,7 @@ fn lexicon_doc_place_stream_segment() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "startTime", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -479,7 +497,9 @@ fn lexicon_doc_place_stream_segment() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("video"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "video", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -496,13 +516,13 @@ fn lexicon_doc_place_stream_segment() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("segmentView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("segmentView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("cid"), - ::jacquard_common::smol_str::SmolStr::new_static("record") + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("record") ], ), nullable: None, @@ -510,7 +530,9 @@ fn lexicon_doc_place_stream_segment() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -527,7 +549,9 @@ fn lexicon_doc_place_stream_segment() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("record"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "record", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { description: None, }), @@ -537,14 +561,14 @@ fn lexicon_doc_place_stream_segment() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("video"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("video"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("codec"), - ::jacquard_common::smol_str::SmolStr::new_static("width"), - ::jacquard_common::smol_str::SmolStr::new_static("height") + ::jacquard_common::deps::smol_str::SmolStr::new_static("codec"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("width"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("height") ], ), nullable: None, @@ -552,7 +576,9 @@ fn lexicon_doc_place_stream_segment() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("bframes"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "bframes", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -560,7 +586,9 @@ fn lexicon_doc_place_stream_segment() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("codec"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "codec", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -575,7 +603,7 @@ fn lexicon_doc_place_stream_segment() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "framerate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -584,7 +612,9 @@ fn lexicon_doc_place_stream_segment() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("height"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "height", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -595,7 +625,9 @@ fn lexicon_doc_place_stream_segment() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("width"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "width", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -657,37 +689,37 @@ pub mod framerate_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Den; type Num; + type Den; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Den = Unset; type Num = Unset; - } - ///State transition - sets the `den` field to Set - pub struct SetDen(PhantomData S>); - impl sealed::Sealed for SetDen {} - impl State for SetDen { - type Den = Set; - type Num = S::Num; + type Den = Unset; } ///State transition - sets the `num` field to Set pub struct SetNum(PhantomData S>); impl sealed::Sealed for SetNum {} impl State for SetNum { - type Den = S::Den; type Num = Set; + type Den = S::Den; + } + ///State transition - sets the `den` field to Set + pub struct SetDen(PhantomData S>); + impl sealed::Sealed for SetDen {} + impl State for SetDen { + type Num = S::Num; + type Den = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `den` field - pub struct den(()); ///Marker type for the `num` field pub struct num(()); + ///Marker type for the `den` field + pub struct den(()); } } @@ -757,8 +789,8 @@ where impl<'a, S> FramerateBuilder<'a, S> where S: framerate_state::State, - S::Den: framerate_state::IsSet, S::Num: framerate_state::IsSet, + S::Den: framerate_state::IsSet, { /// Build the final struct pub fn build(self) -> Framerate<'a> { @@ -772,7 +804,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Framerate<'a> { @@ -864,66 +896,66 @@ pub mod segment_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Creator; + type SigningKey; type StartTime; type Id; - type SigningKey; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Creator = Unset; + type SigningKey = Unset; type StartTime = Unset; type Id = Unset; - type SigningKey = Unset; } ///State transition - sets the `creator` field to Set pub struct SetCreator(PhantomData S>); impl sealed::Sealed for SetCreator {} impl State for SetCreator { type Creator = Set; + type SigningKey = S::SigningKey; + type StartTime = S::StartTime; + type Id = S::Id; + } + ///State transition - sets the `signing_key` field to Set + pub struct SetSigningKey(PhantomData S>); + impl sealed::Sealed for SetSigningKey {} + impl State for SetSigningKey { + type Creator = S::Creator; + type SigningKey = Set; type StartTime = S::StartTime; type Id = S::Id; - type SigningKey = S::SigningKey; } ///State transition - sets the `start_time` field to Set pub struct SetStartTime(PhantomData S>); impl sealed::Sealed for SetStartTime {} impl State for SetStartTime { type Creator = S::Creator; + type SigningKey = S::SigningKey; type StartTime = Set; type Id = S::Id; - type SigningKey = S::SigningKey; } ///State transition - sets the `id` field to Set pub struct SetId(PhantomData S>); impl sealed::Sealed for SetId {} impl State for SetId { type Creator = S::Creator; - type StartTime = S::StartTime; - type Id = Set; type SigningKey = S::SigningKey; - } - ///State transition - sets the `signing_key` field to Set - pub struct SetSigningKey(PhantomData S>); - impl sealed::Sealed for SetSigningKey {} - impl State for SetSigningKey { - type Creator = S::Creator; type StartTime = S::StartTime; - type Id = S::Id; - type SigningKey = Set; + type Id = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `creator` field pub struct creator(()); + ///Marker type for the `signing_key` field + pub struct signing_key(()); ///Marker type for the `start_time` field pub struct start_time(()); ///Marker type for the `id` field pub struct id(()); - ///Marker type for the `signing_key` field - pub struct signing_key(()); } } @@ -1197,9 +1229,9 @@ impl<'a, S> SegmentBuilder<'a, S> where S: segment_state::State, S::Creator: segment_state::IsSet, + S::SigningKey: segment_state::IsSet, S::StartTime: segment_state::IsSet, S::Id: segment_state::IsSet, - S::SigningKey: segment_state::IsSet, { /// Build the final struct pub fn build(self) -> Segment<'a> { @@ -1222,7 +1254,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Segment<'a> { @@ -1349,37 +1381,37 @@ pub mod segment_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Cid; type Record; + type Cid; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Cid = Unset; type Record = Unset; - } - ///State transition - sets the `cid` field to Set - pub struct SetCid(PhantomData S>); - impl sealed::Sealed for SetCid {} - impl State for SetCid { - type Cid = Set; - type Record = S::Record; + type Cid = Unset; } ///State transition - sets the `record` field to Set pub struct SetRecord(PhantomData S>); impl sealed::Sealed for SetRecord {} impl State for SetRecord { - type Cid = S::Cid; type Record = Set; + type Cid = S::Cid; + } + ///State transition - sets the `cid` field to Set + pub struct SetCid(PhantomData S>); + impl sealed::Sealed for SetCid {} + impl State for SetCid { + type Record = S::Record; + type Cid = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `cid` field - pub struct cid(()); ///Marker type for the `record` field pub struct record(()); + ///Marker type for the `cid` field + pub struct cid(()); } } @@ -1452,8 +1484,8 @@ where impl<'a, S> SegmentViewBuilder<'a, S> where S: segment_view_state::State, - S::Cid: segment_view_state::IsSet, S::Record: segment_view_state::IsSet, + S::Cid: segment_view_state::IsSet, { /// Build the final struct pub fn build(self) -> SegmentView<'a> { @@ -1467,7 +1499,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> SegmentView<'a> { @@ -1529,51 +1561,51 @@ pub mod video_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Codec; type Width; type Height; - type Codec; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Codec = Unset; type Width = Unset; type Height = Unset; - type Codec = Unset; + } + ///State transition - sets the `codec` field to Set + pub struct SetCodec(PhantomData S>); + impl sealed::Sealed for SetCodec {} + impl State for SetCodec { + type Codec = Set; + type Width = S::Width; + type Height = S::Height; } ///State transition - sets the `width` field to Set pub struct SetWidth(PhantomData S>); impl sealed::Sealed for SetWidth {} impl State for SetWidth { + type Codec = S::Codec; type Width = Set; type Height = S::Height; - type Codec = S::Codec; } ///State transition - sets the `height` field to Set pub struct SetHeight(PhantomData S>); impl sealed::Sealed for SetHeight {} impl State for SetHeight { - type Width = S::Width; - type Height = Set; type Codec = S::Codec; - } - ///State transition - sets the `codec` field to Set - pub struct SetCodec(PhantomData S>); - impl sealed::Sealed for SetCodec {} - impl State for SetCodec { type Width = S::Width; - type Height = S::Height; - type Codec = Set; + type Height = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `codec` field + pub struct codec(()); ///Marker type for the `width` field pub struct width(()); ///Marker type for the `height` field pub struct height(()); - ///Marker type for the `codec` field - pub struct codec(()); } } @@ -1700,9 +1732,9 @@ where impl<'a, S> VideoBuilder<'a, S> where S: video_state::State, + S::Codec: video_state::IsSet, S::Width: video_state::IsSet, S::Height: video_state::IsSet, - S::Codec: video_state::IsSet, { /// Build the final struct pub fn build(self) -> Video<'a> { @@ -1719,7 +1751,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Video<'a> { diff --git a/crates/jacquard-api/src/place_stream/server.rs b/crates/jacquard-api/src/place_stream/server.rs index bcd56bb79..3277aad8c 100644 --- a/crates/jacquard-api/src/place_stream/server.rs +++ b/crates/jacquard-api/src/place_stream/server.rs @@ -45,13 +45,13 @@ fn lexicon_doc_place_stream_server_defs() -> ::jacquard_lexicon::lexicon::Lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rewriteRule"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("rewriteRule"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("from"), - ::jacquard_common::smol_str::SmolStr::new_static("to") + ::jacquard_common::deps::smol_str::SmolStr::new_static("from"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("to") ], ), nullable: None, @@ -59,7 +59,9 @@ fn lexicon_doc_place_stream_server_defs() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("from"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "from", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -78,7 +80,7 @@ fn lexicon_doc_place_stream_server_defs() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("to"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("to"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -101,7 +103,7 @@ fn lexicon_doc_place_stream_server_defs() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("webhook"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("webhook"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -110,11 +112,11 @@ fn lexicon_doc_place_stream_server_defs() -> ::jacquard_lexicon::lexicon::Lexico ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("id"), - ::jacquard_common::smol_str::SmolStr::new_static("url"), - ::jacquard_common::smol_str::SmolStr::new_static("events"), - ::jacquard_common::smol_str::SmolStr::new_static("active"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("events"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("active"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -122,7 +124,9 @@ fn lexicon_doc_place_stream_server_defs() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("active"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "active", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -130,7 +134,7 @@ fn lexicon_doc_place_stream_server_defs() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -153,7 +157,7 @@ fn lexicon_doc_place_stream_server_defs() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -174,7 +178,7 @@ fn lexicon_doc_place_stream_server_defs() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "errorCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -187,7 +191,9 @@ fn lexicon_doc_place_stream_server_defs() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("events"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "events", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -211,7 +217,7 @@ fn lexicon_doc_place_stream_server_defs() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -230,7 +236,7 @@ fn lexicon_doc_place_stream_server_defs() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "lastTriggered", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -253,7 +259,7 @@ fn lexicon_doc_place_stream_server_defs() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "muteWords", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -279,7 +285,9 @@ fn lexicon_doc_place_stream_server_defs() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -298,7 +306,9 @@ fn lexicon_doc_place_stream_server_defs() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("prefix"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "prefix", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -317,7 +327,9 @@ fn lexicon_doc_place_stream_server_defs() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rewrite"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "rewrite", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -333,7 +345,9 @@ fn lexicon_doc_place_stream_server_defs() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("suffix"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "suffix", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -352,7 +366,7 @@ fn lexicon_doc_place_stream_server_defs() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -375,7 +389,9 @@ fn lexicon_doc_place_stream_server_defs() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -531,85 +547,85 @@ pub mod webhook_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Active; - type Id; type CreatedAt; - type Events; type Url; + type Id; + type Events; + type Active; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Active = Unset; - type Id = Unset; type CreatedAt = Unset; - type Events = Unset; type Url = Unset; + type Id = Unset; + type Events = Unset; + type Active = Unset; } - ///State transition - sets the `active` field to Set - pub struct SetActive(PhantomData S>); - impl sealed::Sealed for SetActive {} - impl State for SetActive { - type Active = Set; + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type CreatedAt = Set; + type Url = S::Url; type Id = S::Id; + type Events = S::Events; + type Active = S::Active; + } + ///State transition - sets the `url` field to Set + pub struct SetUrl(PhantomData S>); + impl sealed::Sealed for SetUrl {} + impl State for SetUrl { type CreatedAt = S::CreatedAt; + type Url = Set; + type Id = S::Id; type Events = S::Events; - type Url = S::Url; + type Active = S::Active; } ///State transition - sets the `id` field to Set pub struct SetId(PhantomData S>); impl sealed::Sealed for SetId {} impl State for SetId { - type Active = S::Active; - type Id = Set; type CreatedAt = S::CreatedAt; - type Events = S::Events; type Url = S::Url; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type Active = S::Active; - type Id = S::Id; - type CreatedAt = Set; + type Id = Set; type Events = S::Events; - type Url = S::Url; + type Active = S::Active; } ///State transition - sets the `events` field to Set pub struct SetEvents(PhantomData S>); impl sealed::Sealed for SetEvents {} impl State for SetEvents { - type Active = S::Active; - type Id = S::Id; type CreatedAt = S::CreatedAt; - type Events = Set; type Url = S::Url; - } - ///State transition - sets the `url` field to Set - pub struct SetUrl(PhantomData S>); - impl sealed::Sealed for SetUrl {} - impl State for SetUrl { - type Active = S::Active; type Id = S::Id; + type Events = Set; + type Active = S::Active; + } + ///State transition - sets the `active` field to Set + pub struct SetActive(PhantomData S>); + impl sealed::Sealed for SetActive {} + impl State for SetActive { type CreatedAt = S::CreatedAt; + type Url = S::Url; + type Id = S::Id; type Events = S::Events; - type Url = Set; + type Active = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `active` field - pub struct active(()); - ///Marker type for the `id` field - pub struct id(()); ///Marker type for the `created_at` field pub struct created_at(()); - ///Marker type for the `events` field - pub struct events(()); ///Marker type for the `url` field pub struct url(()); + ///Marker type for the `id` field + pub struct id(()); + ///Marker type for the `events` field + pub struct events(()); + ///Marker type for the `active` field + pub struct active(()); } } @@ -922,11 +938,11 @@ where impl<'a, S> WebhookBuilder<'a, S> where S: webhook_state::State, - S::Active: webhook_state::IsSet, - S::Id: webhook_state::IsSet, S::CreatedAt: webhook_state::IsSet, - S::Events: webhook_state::IsSet, S::Url: webhook_state::IsSet, + S::Id: webhook_state::IsSet, + S::Events: webhook_state::IsSet, + S::Active: webhook_state::IsSet, { /// Build the final struct pub fn build(self) -> Webhook<'a> { @@ -952,7 +968,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Webhook<'a> { 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 18d7e3858..69036328b 100644 --- a/crates/jacquard-api/src/place_stream/server/create_webhook.rs +++ b/crates/jacquard-api/src/place_stream/server/create_webhook.rs @@ -322,7 +322,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> CreateWebhook<'a> { diff --git a/crates/jacquard-api/src/place_stream/server/settings.rs b/crates/jacquard-api/src/place_stream/server/settings.rs index b5a9a9f50..0c54187a6 100644 --- a/crates/jacquard-api/src/place_stream/server/settings.rs +++ b/crates/jacquard-api/src/place_stream/server/settings.rs @@ -95,7 +95,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Settings<'a> { @@ -195,7 +195,7 @@ fn lexicon_doc_place_stream_server_settings() -> ::jacquard_lexicon::lexicon::Le defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -211,7 +211,7 @@ fn lexicon_doc_place_stream_server_settings() -> ::jacquard_lexicon::lexicon::Le #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "debugRecording", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { diff --git a/crates/jacquard-api/src/place_wisp/fs.rs b/crates/jacquard-api/src/place_wisp/fs.rs index 414ac2807..ac0eee0b4 100644 --- a/crates/jacquard-api/src/place_wisp/fs.rs +++ b/crates/jacquard-api/src/place_wisp/fs.rs @@ -151,7 +151,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Directory<'a> { @@ -172,13 +172,13 @@ fn lexicon_doc_place_wisp_fs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stati defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("directory"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("directory"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("type"), - ::jacquard_common::smol_str::SmolStr::new_static("entries") + ::jacquard_common::deps::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("entries") ], ), nullable: None, @@ -186,7 +186,9 @@ fn lexicon_doc_place_wisp_fs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stati #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("entries"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "entries", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -198,7 +200,9 @@ fn lexicon_doc_place_wisp_fs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stati }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "type", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -217,13 +221,13 @@ fn lexicon_doc_place_wisp_fs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stati }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("entry"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("entry"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("node") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("node") ], ), nullable: None, @@ -231,7 +235,9 @@ fn lexicon_doc_place_wisp_fs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stati #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -246,7 +252,9 @@ fn lexicon_doc_place_wisp_fs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stati }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("node"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "node", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -262,13 +270,13 @@ fn lexicon_doc_place_wisp_fs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stati }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("file"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("file"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("type"), - ::jacquard_common::smol_str::SmolStr::new_static("blob") + ::jacquard_common::deps::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("blob") ], ), nullable: None, @@ -276,7 +284,9 @@ fn lexicon_doc_place_wisp_fs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stati #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("base64"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "base64", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -284,7 +294,9 @@ fn lexicon_doc_place_wisp_fs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stati }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("blob"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "blob", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -292,7 +304,9 @@ fn lexicon_doc_place_wisp_fs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stati }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("encoding"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "encoding", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -311,7 +325,9 @@ fn lexicon_doc_place_wisp_fs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stati }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("mimeType"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "mimeType", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -330,7 +346,9 @@ fn lexicon_doc_place_wisp_fs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stati }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "type", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -349,7 +367,7 @@ fn lexicon_doc_place_wisp_fs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stati }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -361,9 +379,9 @@ fn lexicon_doc_place_wisp_fs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stati description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("site"), - ::jacquard_common::smol_str::SmolStr::new_static("root"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("site"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("root"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -371,7 +389,7 @@ fn lexicon_doc_place_wisp_fs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stati #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -390,7 +408,7 @@ fn lexicon_doc_place_wisp_fs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stati }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "fileCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -403,14 +421,18 @@ fn lexicon_doc_place_wisp_fs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stati }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("root"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "root", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#directory"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("site"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "site", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -430,13 +452,13 @@ fn lexicon_doc_place_wisp_fs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stati }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subfs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("subfs"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("type"), - ::jacquard_common::smol_str::SmolStr::new_static("subject") + ::jacquard_common::deps::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject") ], ), nullable: None, @@ -444,7 +466,9 @@ fn lexicon_doc_place_wisp_fs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stati #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("flat"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "flat", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -452,7 +476,9 @@ fn lexicon_doc_place_wisp_fs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stati }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -473,7 +499,9 @@ fn lexicon_doc_place_wisp_fs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stati }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "type", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -672,7 +700,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Entry<'a> { @@ -775,37 +803,37 @@ pub mod file_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Blob; type Type; + type Blob; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Blob = Unset; type Type = Unset; - } - ///State transition - sets the `blob` field to Set - pub struct SetBlob(PhantomData S>); - impl sealed::Sealed for SetBlob {} - impl State for SetBlob { - type Blob = Set; - type Type = S::Type; + type Blob = Unset; } ///State transition - sets the `type` field to Set pub struct SetType(PhantomData S>); impl sealed::Sealed for SetType {} impl State for SetType { - type Blob = S::Blob; type Type = Set; + type Blob = S::Blob; + } + ///State transition - sets the `blob` field to Set + pub struct SetBlob(PhantomData S>); + impl sealed::Sealed for SetBlob {} + impl State for SetBlob { + type Type = S::Type; + type Blob = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `blob` field - pub struct blob(()); ///Marker type for the `type` field pub struct r#type(()); + ///Marker type for the `blob` field + pub struct blob(()); } } @@ -929,8 +957,8 @@ where impl<'a, S> FileBuilder<'a, S> where S: file_state::State, - S::Blob: file_state::IsSet, S::Type: file_state::IsSet, + S::Blob: file_state::IsSet, { /// Build the final struct pub fn build(self) -> File<'a> { @@ -947,7 +975,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> File<'a> { @@ -1012,50 +1040,50 @@ pub mod fs_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Root; - type CreatedAt; type Site; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Root = Unset; - type CreatedAt = Unset; type Site = Unset; + type CreatedAt = Unset; } ///State transition - sets the `root` field to Set pub struct SetRoot(PhantomData S>); impl sealed::Sealed for SetRoot {} impl State for SetRoot { type Root = Set; - type CreatedAt = S::CreatedAt; - type Site = S::Site; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type Root = S::Root; - type CreatedAt = Set; type Site = S::Site; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `site` field to Set pub struct SetSite(PhantomData S>); impl sealed::Sealed for SetSite {} impl State for SetSite { type Root = S::Root; - type CreatedAt = S::CreatedAt; type Site = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Root = S::Root; + type Site = S::Site; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `root` field pub struct root(()); - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `site` field pub struct site(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -1163,8 +1191,8 @@ impl<'a, S> FsBuilder<'a, S> where S: fs_state::State, S::Root: fs_state::IsSet, - S::CreatedAt: fs_state::IsSet, S::Site: fs_state::IsSet, + S::CreatedAt: fs_state::IsSet, { /// Build the final struct pub fn build(self) -> Fs<'a> { @@ -1180,7 +1208,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Fs<'a> { @@ -1326,37 +1354,37 @@ pub mod subfs_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Type; type Subject; + type Type; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Type = Unset; type Subject = Unset; - } - ///State transition - sets the `type` field to Set - pub struct SetType(PhantomData S>); - impl sealed::Sealed for SetType {} - impl State for SetType { - type Type = Set; - type Subject = S::Subject; + type Type = Unset; } ///State transition - sets the `subject` field to Set pub struct SetSubject(PhantomData S>); impl sealed::Sealed for SetSubject {} impl State for SetSubject { - type Type = S::Type; type Subject = Set; + type Type = S::Type; + } + ///State transition - sets the `type` field to Set + pub struct SetType(PhantomData S>); + impl sealed::Sealed for SetType {} + impl State for SetType { + type Subject = S::Subject; + type Type = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `type` field - pub struct r#type(()); ///Marker type for the `subject` field pub struct subject(()); + ///Marker type for the `type` field + pub struct r#type(()); } } @@ -1443,8 +1471,8 @@ where impl<'a, S> SubfsBuilder<'a, S> where S: subfs_state::State, - S::Type: subfs_state::IsSet, S::Subject: subfs_state::IsSet, + S::Type: subfs_state::IsSet, { /// Build the final struct pub fn build(self) -> Subfs<'a> { @@ -1459,7 +1487,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Subfs<'a> { diff --git a/crates/jacquard-api/src/place_wisp/settings.rs b/crates/jacquard-api/src/place_wisp/settings.rs index a0cd4c014..93557e30c 100644 --- a/crates/jacquard-api/src/place_wisp/settings.rs +++ b/crates/jacquard-api/src/place_wisp/settings.rs @@ -42,7 +42,7 @@ fn lexicon_doc_place_wisp_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc< defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("customHeader"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("customHeader"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -51,8 +51,8 @@ fn lexicon_doc_place_wisp_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc< ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("value") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("value") ], ), nullable: None, @@ -60,7 +60,9 @@ fn lexicon_doc_place_wisp_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -79,7 +81,9 @@ fn lexicon_doc_place_wisp_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("path"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "path", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -98,7 +102,9 @@ fn lexicon_doc_place_wisp_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("value"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "value", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("HTTP header value"), @@ -119,7 +125,7 @@ fn lexicon_doc_place_wisp_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -135,7 +141,7 @@ fn lexicon_doc_place_wisp_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "cleanUrls", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -145,7 +151,7 @@ fn lexicon_doc_place_wisp_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "custom404", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -166,7 +172,7 @@ fn lexicon_doc_place_wisp_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "directoryListing", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -176,7 +182,9 @@ fn lexicon_doc_place_wisp_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("headers"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "headers", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -194,7 +202,7 @@ fn lexicon_doc_place_wisp_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "indexFiles", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -220,7 +228,9 @@ fn lexicon_doc_place_wisp_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("spaMode"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "spaMode", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -510,7 +520,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Settings<'a> { diff --git a/crates/jacquard-api/src/pub_leaflet/blocks/blockquote.rs b/crates/jacquard-api/src/pub_leaflet/blocks/blockquote.rs index 511322845..7a2c25462 100644 --- a/crates/jacquard-api/src/pub_leaflet/blocks/blockquote.rs +++ b/crates/jacquard-api/src/pub_leaflet/blocks/blockquote.rs @@ -36,12 +36,12 @@ fn lexicon_doc_pub_leaflet_blocks_blockquote() -> ::jacquard_lexicon::lexicon::L defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("plaintext") + ::jacquard_common::deps::smol_str::SmolStr::new_static("plaintext") ], ), nullable: None, @@ -49,7 +49,9 @@ fn lexicon_doc_pub_leaflet_blocks_blockquote() -> ::jacquard_lexicon::lexicon::L #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("facets"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "facets", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -63,7 +65,7 @@ fn lexicon_doc_pub_leaflet_blocks_blockquote() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "plaintext", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { 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 e8b542fd6..aaf6ab691 100644 --- a/crates/jacquard-api/src/pub_leaflet/blocks/bsky_post.rs +++ b/crates/jacquard-api/src/pub_leaflet/blocks/bsky_post.rs @@ -139,7 +139,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> BskyPost<'a> { @@ -162,18 +162,20 @@ fn lexicon_doc_pub_leaflet_blocks_bskyPost() -> ::jacquard_lexicon::lexicon::Lex defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("postRef")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("postRef") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "clientHost", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -190,7 +192,9 @@ fn lexicon_doc_pub_leaflet_blocks_bskyPost() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("postRef"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "postRef", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/pub_leaflet/blocks/button.rs b/crates/jacquard-api/src/pub_leaflet/blocks/button.rs index 63055448f..301d7b2c0 100644 --- a/crates/jacquard-api/src/pub_leaflet/blocks/button.rs +++ b/crates/jacquard-api/src/pub_leaflet/blocks/button.rs @@ -151,7 +151,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Button<'a> { @@ -174,13 +174,13 @@ fn lexicon_doc_pub_leaflet_blocks_button() -> ::jacquard_lexicon::lexicon::Lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("text"), - ::jacquard_common::smol_str::SmolStr::new_static("url") + ::jacquard_common::deps::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("url") ], ), nullable: None, @@ -188,7 +188,9 @@ fn lexicon_doc_pub_leaflet_blocks_button() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -203,7 +205,9 @@ fn lexicon_doc_pub_leaflet_blocks_button() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( diff --git a/crates/jacquard-api/src/pub_leaflet/blocks/code.rs b/crates/jacquard-api/src/pub_leaflet/blocks/code.rs index a3846e238..ca4202888 100644 --- a/crates/jacquard-api/src/pub_leaflet/blocks/code.rs +++ b/crates/jacquard-api/src/pub_leaflet/blocks/code.rs @@ -39,12 +39,12 @@ fn lexicon_doc_pub_leaflet_blocks_code() -> ::jacquard_lexicon::lexicon::Lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("plaintext") + ::jacquard_common::deps::smol_str::SmolStr::new_static("plaintext") ], ), nullable: None, @@ -52,7 +52,9 @@ fn lexicon_doc_pub_leaflet_blocks_code() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("language"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "language", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -67,7 +69,7 @@ fn lexicon_doc_pub_leaflet_blocks_code() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "plaintext", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -84,7 +86,7 @@ fn lexicon_doc_pub_leaflet_blocks_code() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "syntaxHighlightingTheme", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/pub_leaflet/blocks/header.rs b/crates/jacquard-api/src/pub_leaflet/blocks/header.rs index 3abfacee2..0a5fc79f1 100644 --- a/crates/jacquard-api/src/pub_leaflet/blocks/header.rs +++ b/crates/jacquard-api/src/pub_leaflet/blocks/header.rs @@ -38,12 +38,12 @@ fn lexicon_doc_pub_leaflet_blocks_header() -> ::jacquard_lexicon::lexicon::Lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("plaintext") + ::jacquard_common::deps::smol_str::SmolStr::new_static("plaintext") ], ), nullable: None, @@ -51,7 +51,9 @@ fn lexicon_doc_pub_leaflet_blocks_header() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("facets"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "facets", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -65,7 +67,9 @@ fn lexicon_doc_pub_leaflet_blocks_header() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("level"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "level", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -76,7 +80,7 @@ fn lexicon_doc_pub_leaflet_blocks_header() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "plaintext", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { 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 08db3e406..2ab5dd64a 100644 --- a/crates/jacquard-api/src/pub_leaflet/blocks/horizontal_rule.rs +++ b/crates/jacquard-api/src/pub_leaflet/blocks/horizontal_rule.rs @@ -29,7 +29,7 @@ fn lexicon_doc_pub_leaflet_blocks_horizontalRule() -> ::jacquard_lexicon::lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some(vec![]), diff --git a/crates/jacquard-api/src/pub_leaflet/blocks/iframe.rs b/crates/jacquard-api/src/pub_leaflet/blocks/iframe.rs index 60140d690..6ef752236 100644 --- a/crates/jacquard-api/src/pub_leaflet/blocks/iframe.rs +++ b/crates/jacquard-api/src/pub_leaflet/blocks/iframe.rs @@ -132,7 +132,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Iframe<'a> { @@ -155,18 +155,22 @@ fn lexicon_doc_pub_leaflet_blocks_iframe() -> ::jacquard_lexicon::lexicon::Lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("url")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("url") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("height"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "height", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -177,7 +181,9 @@ fn lexicon_doc_pub_leaflet_blocks_iframe() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( diff --git a/crates/jacquard-api/src/pub_leaflet/blocks/image.rs b/crates/jacquard-api/src/pub_leaflet/blocks/image.rs index ee8f544e6..f1cc76a71 100644 --- a/crates/jacquard-api/src/pub_leaflet/blocks/image.rs +++ b/crates/jacquard-api/src/pub_leaflet/blocks/image.rs @@ -31,37 +31,37 @@ pub mod aspect_ratio_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Width; type Height; + type Width; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Width = Unset; type Height = Unset; - } - ///State transition - sets the `width` field to Set - pub struct SetWidth(PhantomData S>); - impl sealed::Sealed for SetWidth {} - impl State for SetWidth { - type Width = Set; - type Height = S::Height; + type Width = Unset; } ///State transition - sets the `height` field to Set pub struct SetHeight(PhantomData S>); impl sealed::Sealed for SetHeight {} impl State for SetHeight { - type Width = S::Width; type Height = Set; + type Width = S::Width; + } + ///State transition - sets the `width` field to Set + pub struct SetWidth(PhantomData S>); + impl sealed::Sealed for SetWidth {} + impl State for SetWidth { + type Height = S::Height; + type Width = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `width` field - pub struct width(()); ///Marker type for the `height` field pub struct height(()); + ///Marker type for the `width` field + pub struct width(()); } } @@ -131,8 +131,8 @@ where impl<'a, S> AspectRatioBuilder<'a, S> where S: aspect_ratio_state::State, - S::Width: aspect_ratio_state::IsSet, S::Height: aspect_ratio_state::IsSet, + S::Width: aspect_ratio_state::IsSet, { /// Build the final struct pub fn build(self) -> AspectRatio<'a> { @@ -146,7 +146,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> AspectRatio<'a> { @@ -169,13 +169,13 @@ fn lexicon_doc_pub_leaflet_blocks_image() -> ::jacquard_lexicon::lexicon::Lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("aspectRatio"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("aspectRatio"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("width"), - ::jacquard_common::smol_str::SmolStr::new_static("height") + ::jacquard_common::deps::smol_str::SmolStr::new_static("width"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("height") ], ), nullable: None, @@ -183,7 +183,9 @@ fn lexicon_doc_pub_leaflet_blocks_image() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("height"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "height", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -194,7 +196,9 @@ fn lexicon_doc_pub_leaflet_blocks_image() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("width"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "width", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -209,13 +213,13 @@ fn lexicon_doc_pub_leaflet_blocks_image() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("image"), - ::jacquard_common::smol_str::SmolStr::new_static("aspectRatio") + ::jacquard_common::deps::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("aspectRatio") ], ), nullable: None, @@ -223,7 +227,9 @@ fn lexicon_doc_pub_leaflet_blocks_image() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("alt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "alt", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -242,7 +248,7 @@ fn lexicon_doc_pub_leaflet_blocks_image() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "aspectRatio", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -251,7 +257,9 @@ fn lexicon_doc_pub_leaflet_blocks_image() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -316,37 +324,37 @@ pub mod image_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type AspectRatio; type Image; + type AspectRatio; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type AspectRatio = Unset; type Image = Unset; - } - ///State transition - sets the `aspect_ratio` field to Set - pub struct SetAspectRatio(PhantomData S>); - impl sealed::Sealed for SetAspectRatio {} - impl State for SetAspectRatio { - type AspectRatio = Set; - type Image = S::Image; + type AspectRatio = Unset; } ///State transition - sets the `image` field to Set pub struct SetImage(PhantomData S>); impl sealed::Sealed for SetImage {} impl State for SetImage { - type AspectRatio = S::AspectRatio; type Image = Set; + type AspectRatio = S::AspectRatio; + } + ///State transition - sets the `aspect_ratio` field to Set + pub struct SetAspectRatio(PhantomData S>); + impl sealed::Sealed for SetAspectRatio {} + impl State for SetAspectRatio { + type Image = S::Image; + type AspectRatio = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `aspect_ratio` field - pub struct aspect_ratio(()); ///Marker type for the `image` field pub struct image(()); + ///Marker type for the `aspect_ratio` field + pub struct aspect_ratio(()); } } @@ -433,8 +441,8 @@ where impl<'a, S> ImageBuilder<'a, S> where S: image_state::State, - S::AspectRatio: image_state::IsSet, S::Image: image_state::IsSet, + S::AspectRatio: image_state::IsSet, { /// Build the final struct pub fn build(self) -> Image<'a> { @@ -449,7 +457,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Image<'a> { diff --git a/crates/jacquard-api/src/pub_leaflet/blocks/math.rs b/crates/jacquard-api/src/pub_leaflet/blocks/math.rs index 9180ae824..50c483643 100644 --- a/crates/jacquard-api/src/pub_leaflet/blocks/math.rs +++ b/crates/jacquard-api/src/pub_leaflet/blocks/math.rs @@ -33,18 +33,22 @@ fn lexicon_doc_pub_leaflet_blocks_math() -> ::jacquard_lexicon::lexicon::Lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("tex")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("tex") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tex"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tex", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, 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 7f7ee2859..f1a442947 100644 --- a/crates/jacquard-api/src/pub_leaflet/blocks/ordered_list.rs +++ b/crates/jacquard-api/src/pub_leaflet/blocks/ordered_list.rs @@ -177,7 +177,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ListItem<'a> { @@ -222,18 +222,22 @@ fn lexicon_doc_pub_leaflet_blocks_orderedList() -> ::jacquard_lexicon::lexicon:: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("listItem"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("listItem"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("content")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("content") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("children"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "children", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -249,7 +253,9 @@ fn lexicon_doc_pub_leaflet_blocks_orderedList() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "content", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -261,7 +267,7 @@ fn lexicon_doc_pub_leaflet_blocks_orderedList() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "unorderedListChildren", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -276,12 +282,12 @@ fn lexicon_doc_pub_leaflet_blocks_orderedList() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("children") + ::jacquard_common::deps::smol_str::SmolStr::new_static("children") ], ), nullable: None, @@ -289,7 +295,9 @@ fn lexicon_doc_pub_leaflet_blocks_orderedList() -> ::jacquard_lexicon::lexicon:: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("children"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "children", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -301,7 +309,7 @@ fn lexicon_doc_pub_leaflet_blocks_orderedList() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "startIndex", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -469,7 +477,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> OrderedList<'a> { diff --git a/crates/jacquard-api/src/pub_leaflet/blocks/page.rs b/crates/jacquard-api/src/pub_leaflet/blocks/page.rs index 18f5ee304..c1e73b40d 100644 --- a/crates/jacquard-api/src/pub_leaflet/blocks/page.rs +++ b/crates/jacquard-api/src/pub_leaflet/blocks/page.rs @@ -33,18 +33,20 @@ fn lexicon_doc_pub_leaflet_blocks_page() -> ::jacquard_lexicon::lexicon::Lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("id")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("id") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, diff --git a/crates/jacquard-api/src/pub_leaflet/blocks/poll.rs b/crates/jacquard-api/src/pub_leaflet/blocks/poll.rs index bb56e1600..9aa7efc4d 100644 --- a/crates/jacquard-api/src/pub_leaflet/blocks/poll.rs +++ b/crates/jacquard-api/src/pub_leaflet/blocks/poll.rs @@ -115,7 +115,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Poll<'a> { @@ -137,18 +137,22 @@ fn lexicon_doc_pub_leaflet_blocks_poll() -> ::jacquard_lexicon::lexicon::Lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("pollRef")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("pollRef") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("pollRef"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "pollRef", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/pub_leaflet/blocks/text.rs b/crates/jacquard-api/src/pub_leaflet/blocks/text.rs index 8246813d4..7108cfb16 100644 --- a/crates/jacquard-api/src/pub_leaflet/blocks/text.rs +++ b/crates/jacquard-api/src/pub_leaflet/blocks/text.rs @@ -39,12 +39,12 @@ fn lexicon_doc_pub_leaflet_blocks_text() -> ::jacquard_lexicon::lexicon::Lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("plaintext") + ::jacquard_common::deps::smol_str::SmolStr::new_static("plaintext") ], ), nullable: None, @@ -52,7 +52,9 @@ fn lexicon_doc_pub_leaflet_blocks_text() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("facets"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "facets", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -66,7 +68,7 @@ fn lexicon_doc_pub_leaflet_blocks_text() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "plaintext", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -83,7 +85,9 @@ fn lexicon_doc_pub_leaflet_blocks_text() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("textSize"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "textSize", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, 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 ac78ac1e9..2f4c11a7e 100644 --- a/crates/jacquard-api/src/pub_leaflet/blocks/unordered_list.rs +++ b/crates/jacquard-api/src/pub_leaflet/blocks/unordered_list.rs @@ -175,7 +175,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ListItem<'a> { @@ -220,18 +220,22 @@ fn lexicon_doc_pub_leaflet_blocks_unorderedList() -> ::jacquard_lexicon::lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("listItem"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("listItem"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("content")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("content") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("children"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "children", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -247,7 +251,9 @@ fn lexicon_doc_pub_leaflet_blocks_unorderedList() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "content", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -259,7 +265,7 @@ fn lexicon_doc_pub_leaflet_blocks_unorderedList() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "orderedListChildren", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -274,12 +280,12 @@ fn lexicon_doc_pub_leaflet_blocks_unorderedList() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("children") + ::jacquard_common::deps::smol_str::SmolStr::new_static("children") ], ), nullable: None, @@ -287,7 +293,9 @@ fn lexicon_doc_pub_leaflet_blocks_unorderedList() -> ::jacquard_lexicon::lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("children"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "children", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -436,7 +444,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> UnorderedList<'a> { diff --git a/crates/jacquard-api/src/pub_leaflet/blocks/website.rs b/crates/jacquard-api/src/pub_leaflet/blocks/website.rs index 4e5c200ac..017ed6089 100644 --- a/crates/jacquard-api/src/pub_leaflet/blocks/website.rs +++ b/crates/jacquard-api/src/pub_leaflet/blocks/website.rs @@ -184,7 +184,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Website<'a> { @@ -209,18 +209,20 @@ fn lexicon_doc_pub_leaflet_blocks_website() -> ::jacquard_lexicon::lexicon::Lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("src")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("src") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -237,7 +239,7 @@ fn lexicon_doc_pub_leaflet_blocks_website() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "previewImage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { @@ -247,7 +249,9 @@ fn lexicon_doc_pub_leaflet_blocks_website() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("src"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "src", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -264,7 +268,9 @@ fn lexicon_doc_pub_leaflet_blocks_website() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, diff --git a/crates/jacquard-api/src/pub_leaflet/comment.rs b/crates/jacquard-api/src/pub_leaflet/comment.rs index fb0f4212d..13649df52 100644 --- a/crates/jacquard-api/src/pub_leaflet/comment.rs +++ b/crates/jacquard-api/src/pub_leaflet/comment.rs @@ -33,37 +33,37 @@ pub mod linear_document_quote_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Document; type Quote; + type Document; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Document = Unset; type Quote = Unset; - } - ///State transition - sets the `document` field to Set - pub struct SetDocument(PhantomData S>); - impl sealed::Sealed for SetDocument {} - impl State for SetDocument { - type Document = Set; - type Quote = S::Quote; + type Document = Unset; } ///State transition - sets the `quote` field to Set pub struct SetQuote(PhantomData S>); impl sealed::Sealed for SetQuote {} impl State for SetQuote { - type Document = S::Document; type Quote = Set; + type Document = S::Document; + } + ///State transition - sets the `document` field to Set + pub struct SetDocument(PhantomData S>); + impl sealed::Sealed for SetDocument {} + impl State for SetDocument { + type Quote = S::Quote; + type Document = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `document` field - pub struct document(()); ///Marker type for the `quote` field pub struct quote(()); + ///Marker type for the `document` field + pub struct document(()); } } @@ -136,8 +136,8 @@ where impl<'a, S> LinearDocumentQuoteBuilder<'a, S> where S: linear_document_quote_state::State, - S::Document: linear_document_quote_state::IsSet, S::Quote: linear_document_quote_state::IsSet, + S::Document: linear_document_quote_state::IsSet, { /// Build the final struct pub fn build(self) -> LinearDocumentQuote<'a> { @@ -151,7 +151,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> LinearDocumentQuote<'a> { @@ -174,13 +174,15 @@ fn lexicon_doc_pub_leaflet_comment() -> ::jacquard_lexicon::lexicon::LexiconDoc< defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("linearDocumentQuote"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "linearDocumentQuote", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("document"), - ::jacquard_common::smol_str::SmolStr::new_static("quote") + ::jacquard_common::deps::smol_str::SmolStr::new_static("document"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("quote") ], ), nullable: None, @@ -188,7 +190,9 @@ fn lexicon_doc_pub_leaflet_comment() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("document"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "document", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -205,7 +209,9 @@ fn lexicon_doc_pub_leaflet_comment() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("quote"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "quote", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -218,7 +224,7 @@ fn lexicon_doc_pub_leaflet_comment() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -230,9 +236,9 @@ fn lexicon_doc_pub_leaflet_comment() -> ::jacquard_lexicon::lexicon::LexiconDoc< description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("plaintext"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("plaintext"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -240,7 +246,7 @@ fn lexicon_doc_pub_leaflet_comment() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "attachment", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -252,7 +258,7 @@ fn lexicon_doc_pub_leaflet_comment() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -271,7 +277,9 @@ fn lexicon_doc_pub_leaflet_comment() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("facets"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "facets", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -285,7 +293,9 @@ fn lexicon_doc_pub_leaflet_comment() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("onPage"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "onPage", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -300,7 +310,7 @@ fn lexicon_doc_pub_leaflet_comment() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "plaintext", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -317,14 +327,18 @@ fn lexicon_doc_pub_leaflet_comment() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reply"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reply", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#replyRef"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -346,18 +360,22 @@ fn lexicon_doc_pub_leaflet_comment() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("replyRef"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("replyRef"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("parent")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("parent") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("parent"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "parent", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -443,49 +461,49 @@ pub mod comment_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Subject; type Plaintext; + type Subject; type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Subject = Unset; type Plaintext = Unset; + type Subject = Unset; type CreatedAt = Unset; } - ///State transition - sets the `subject` field to Set - pub struct SetSubject(PhantomData S>); - impl sealed::Sealed for SetSubject {} - impl State for SetSubject { - type Subject = Set; - type Plaintext = S::Plaintext; - type CreatedAt = S::CreatedAt; - } ///State transition - sets the `plaintext` field to Set pub struct SetPlaintext(PhantomData S>); impl sealed::Sealed for SetPlaintext {} impl State for SetPlaintext { - type Subject = S::Subject; type Plaintext = Set; + type Subject = S::Subject; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `subject` field to Set + pub struct SetSubject(PhantomData S>); + impl sealed::Sealed for SetSubject {} + impl State for SetSubject { + type Plaintext = S::Plaintext; + type Subject = Set; type CreatedAt = S::CreatedAt; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Subject = S::Subject; type Plaintext = S::Plaintext; + type Subject = S::Subject; type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `subject` field - pub struct subject(()); ///Marker type for the `plaintext` field pub struct plaintext(()); + ///Marker type for the `subject` field + pub struct subject(()); ///Marker type for the `created_at` field pub struct created_at(()); } @@ -657,8 +675,8 @@ where impl<'a, S> CommentBuilder<'a, S> where S: comment_state::State, - S::Subject: comment_state::IsSet, S::Plaintext: comment_state::IsSet, + S::Subject: comment_state::IsSet, S::CreatedAt: comment_state::IsSet, { /// Build the final struct @@ -678,7 +696,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Comment<'a> { @@ -883,7 +901,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ReplyRef<'a> { diff --git a/crates/jacquard-api/src/pub_leaflet/content.rs b/crates/jacquard-api/src/pub_leaflet/content.rs index 3be624409..42047084e 100644 --- a/crates/jacquard-api/src/pub_leaflet/content.rs +++ b/crates/jacquard-api/src/pub_leaflet/content.rs @@ -114,7 +114,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Content<'a> { @@ -155,7 +155,7 @@ fn lexicon_doc_pub_leaflet_content() -> ::jacquard_lexicon::lexicon::LexiconDoc< defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -163,14 +163,18 @@ fn lexicon_doc_pub_leaflet_content() -> ::jacquard_lexicon::lexicon::LexiconDoc< ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("pages")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("pages") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("pages"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "pages", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Union(::jacquard_lexicon::lexicon::LexRefUnion { diff --git a/crates/jacquard-api/src/pub_leaflet/document.rs b/crates/jacquard-api/src/pub_leaflet/document.rs index 99ad50bac..3d5d800dd 100644 --- a/crates/jacquard-api/src/pub_leaflet/document.rs +++ b/crates/jacquard-api/src/pub_leaflet/document.rs @@ -63,51 +63,51 @@ pub mod document_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Pages; type Author; type Title; - type Pages; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Pages = Unset; type Author = Unset; type Title = Unset; - type Pages = Unset; + } + ///State transition - sets the `pages` field to Set + pub struct SetPages(PhantomData S>); + impl sealed::Sealed for SetPages {} + impl State for SetPages { + type Pages = Set; + type Author = S::Author; + type Title = S::Title; } ///State transition - sets the `author` field to Set pub struct SetAuthor(PhantomData S>); impl sealed::Sealed for SetAuthor {} impl State for SetAuthor { + type Pages = S::Pages; type Author = Set; type Title = S::Title; - type Pages = S::Pages; } ///State transition - sets the `title` field to Set pub struct SetTitle(PhantomData S>); impl sealed::Sealed for SetTitle {} impl State for SetTitle { - type Author = S::Author; - type Title = Set; type Pages = S::Pages; - } - ///State transition - sets the `pages` field to Set - pub struct SetPages(PhantomData S>); - impl sealed::Sealed for SetPages {} - impl State for SetPages { type Author = S::Author; - type Title = S::Title; - type Pages = Set; + type Title = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `pages` field + pub struct pages(()); ///Marker type for the `author` field pub struct author(()); ///Marker type for the `title` field pub struct title(()); - ///Marker type for the `pages` field - pub struct pages(()); } } @@ -372,9 +372,9 @@ where impl<'a, S> DocumentBuilder<'a, S> where S: document_state::State, + S::Pages: document_state::IsSet, S::Author: document_state::IsSet, S::Title: document_state::IsSet, - S::Pages: document_state::IsSet, { /// Build the final struct pub fn build(self) -> Document<'a> { @@ -397,7 +397,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Document<'a> { @@ -525,7 +525,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Document<'a> { } if let Some(ref value) = self.description { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -557,7 +557,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Document<'a> { { let value = &self.title; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -588,7 +588,7 @@ fn lexicon_doc_pub_leaflet_document() -> ::jacquard_lexicon::lexicon::LexiconDoc defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -600,9 +600,9 @@ fn lexicon_doc_pub_leaflet_document() -> ::jacquard_lexicon::lexicon::LexiconDoc description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("pages"), - ::jacquard_common::smol_str::SmolStr::new_static("author"), - ::jacquard_common::smol_str::SmolStr::new_static("title") + ::jacquard_common::deps::smol_str::SmolStr::new_static("pages"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("title") ], ), nullable: None, @@ -610,7 +610,9 @@ fn lexicon_doc_pub_leaflet_document() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "author", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -627,7 +629,7 @@ fn lexicon_doc_pub_leaflet_document() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "coverImage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { @@ -637,7 +639,7 @@ fn lexicon_doc_pub_leaflet_document() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -654,7 +656,9 @@ fn lexicon_doc_pub_leaflet_document() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("pages"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "pages", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -670,7 +674,9 @@ fn lexicon_doc_pub_leaflet_document() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("postRef"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "postRef", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -679,7 +685,7 @@ fn lexicon_doc_pub_leaflet_document() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "preferences", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -690,7 +696,7 @@ fn lexicon_doc_pub_leaflet_document() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publication", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -709,7 +715,7 @@ fn lexicon_doc_pub_leaflet_document() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publishedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -728,7 +734,9 @@ fn lexicon_doc_pub_leaflet_document() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tags", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::String(::jacquard_lexicon::lexicon::LexString { @@ -748,7 +756,9 @@ fn lexicon_doc_pub_leaflet_document() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("theme"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "theme", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -757,7 +767,9 @@ fn lexicon_doc_pub_leaflet_document() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, diff --git a/crates/jacquard-api/src/pub_leaflet/graph/subscription.rs b/crates/jacquard-api/src/pub_leaflet/graph/subscription.rs index cd8340e0b..1112255e6 100644 --- a/crates/jacquard-api/src/pub_leaflet/graph/subscription.rs +++ b/crates/jacquard-api/src/pub_leaflet/graph/subscription.rs @@ -116,7 +116,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Subscription<'a> { @@ -216,7 +216,7 @@ fn lexicon_doc_pub_leaflet_graph_subscription() -> ::jacquard_lexicon::lexicon:: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -228,7 +228,7 @@ fn lexicon_doc_pub_leaflet_graph_subscription() -> ::jacquard_lexicon::lexicon:: description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("publication") + ::jacquard_common::deps::smol_str::SmolStr::new_static("publication") ], ), nullable: None, @@ -236,7 +236,7 @@ fn lexicon_doc_pub_leaflet_graph_subscription() -> ::jacquard_lexicon::lexicon:: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publication", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/pub_leaflet/interactions/recommend.rs b/crates/jacquard-api/src/pub_leaflet/interactions/recommend.rs index e582382e9..678e70c2c 100644 --- a/crates/jacquard-api/src/pub_leaflet/interactions/recommend.rs +++ b/crates/jacquard-api/src/pub_leaflet/interactions/recommend.rs @@ -33,37 +33,37 @@ pub mod recommend_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type Subject; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type Subject = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Subject = S::Subject; + type CreatedAt = Unset; } ///State transition - sets the `subject` field to Set pub struct SetSubject(PhantomData S>); impl sealed::Sealed for SetSubject {} impl State for SetSubject { - type CreatedAt = S::CreatedAt; type Subject = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Subject = S::Subject; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `subject` field pub struct subject(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -136,8 +136,8 @@ where impl<'a, S> RecommendBuilder<'a, S> where S: recommend_state::State, - S::CreatedAt: recommend_state::IsSet, S::Subject: recommend_state::IsSet, + S::CreatedAt: recommend_state::IsSet, { /// Build the final struct pub fn build(self) -> Recommend<'a> { @@ -151,7 +151,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Recommend<'a> { @@ -252,7 +252,7 @@ fn lexicon_doc_pub_leaflet_interactions_recommend() -> ::jacquard_lexicon::lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -264,8 +264,8 @@ fn lexicon_doc_pub_leaflet_interactions_recommend() -> ::jacquard_lexicon::lexic description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -273,7 +273,7 @@ fn lexicon_doc_pub_leaflet_interactions_recommend() -> ::jacquard_lexicon::lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -292,7 +292,9 @@ fn lexicon_doc_pub_leaflet_interactions_recommend() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( diff --git a/crates/jacquard-api/src/pub_leaflet/pages/canvas.rs b/crates/jacquard-api/src/pub_leaflet/pages/canvas.rs index 115f0c2e6..2d980da22 100644 --- a/crates/jacquard-api/src/pub_leaflet/pages/canvas.rs +++ b/crates/jacquard-api/src/pub_leaflet/pages/canvas.rs @@ -39,67 +39,67 @@ pub mod block_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type X; - type Y; type Block; + type X; type Width; + type Y; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type X = Unset; - type Y = Unset; type Block = Unset; + type X = Unset; type Width = Unset; - } - ///State transition - sets the `x` field to Set - pub struct SetX(PhantomData S>); - impl sealed::Sealed for SetX {} - impl State for SetX { - type X = Set; - type Y = S::Y; - type Block = S::Block; - type Width = S::Width; - } - ///State transition - sets the `y` field to Set - pub struct SetY(PhantomData S>); - impl sealed::Sealed for SetY {} - impl State for SetY { - type X = S::X; - type Y = Set; - type Block = S::Block; - type Width = S::Width; + type Y = Unset; } ///State transition - sets the `block` field to Set pub struct SetBlock(PhantomData S>); impl sealed::Sealed for SetBlock {} impl State for SetBlock { + type Block = Set; type X = S::X; + type Width = S::Width; type Y = S::Y; - type Block = Set; + } + ///State transition - sets the `x` field to Set + pub struct SetX(PhantomData S>); + impl sealed::Sealed for SetX {} + impl State for SetX { + type Block = S::Block; + type X = Set; type Width = S::Width; + type Y = S::Y; } ///State transition - sets the `width` field to Set pub struct SetWidth(PhantomData S>); impl sealed::Sealed for SetWidth {} impl State for SetWidth { + type Block = S::Block; type X = S::X; + type Width = Set; type Y = S::Y; + } + ///State transition - sets the `y` field to Set + pub struct SetY(PhantomData S>); + impl sealed::Sealed for SetY {} + impl State for SetY { type Block = S::Block; - type Width = Set; + type X = S::X; + type Width = S::Width; + type Y = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `x` field - pub struct x(()); - ///Marker type for the `y` field - pub struct y(()); ///Marker type for the `block` field pub struct block(()); + ///Marker type for the `x` field + pub struct x(()); ///Marker type for the `width` field pub struct width(()); + ///Marker type for the `y` field + pub struct y(()); } } @@ -234,10 +234,10 @@ where impl<'a, S> BlockBuilder<'a, S> where S: block_state::State, - S::X: block_state::IsSet, - S::Y: block_state::IsSet, S::Block: block_state::IsSet, + S::X: block_state::IsSet, S::Width: block_state::IsSet, + S::Y: block_state::IsSet, { /// Build the final struct pub fn build(self) -> Block<'a> { @@ -255,7 +255,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Block<'a> { @@ -327,15 +327,15 @@ fn lexicon_doc_pub_leaflet_pages_canvas() -> ::jacquard_lexicon::lexicon::Lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("block"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("block"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("block"), - ::jacquard_common::smol_str::SmolStr::new_static("x"), - ::jacquard_common::smol_str::SmolStr::new_static("y"), - ::jacquard_common::smol_str::SmolStr::new_static("width") + ::jacquard_common::deps::smol_str::SmolStr::new_static("block"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("x"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("y"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("width") ], ), nullable: None, @@ -343,7 +343,9 @@ fn lexicon_doc_pub_leaflet_pages_canvas() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("block"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "block", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -367,7 +369,9 @@ fn lexicon_doc_pub_leaflet_pages_canvas() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("height"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "height", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -378,7 +382,9 @@ fn lexicon_doc_pub_leaflet_pages_canvas() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rotation"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "rotation", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -389,7 +395,9 @@ fn lexicon_doc_pub_leaflet_pages_canvas() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("width"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "width", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -400,7 +408,7 @@ fn lexicon_doc_pub_leaflet_pages_canvas() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("x"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("x"), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -411,7 +419,7 @@ fn lexicon_doc_pub_leaflet_pages_canvas() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("y"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("y"), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -426,18 +434,22 @@ fn lexicon_doc_pub_leaflet_pages_canvas() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("blocks")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("blocks") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("blocks"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "blocks", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -449,7 +461,7 @@ fn lexicon_doc_pub_leaflet_pages_canvas() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -468,13 +480,13 @@ fn lexicon_doc_pub_leaflet_pages_canvas() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("position"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("position"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("block"), - ::jacquard_common::smol_str::SmolStr::new_static("offset") + ::jacquard_common::deps::smol_str::SmolStr::new_static("block"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("offset") ], ), nullable: None, @@ -482,7 +494,9 @@ fn lexicon_doc_pub_leaflet_pages_canvas() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("block"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "block", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -498,7 +512,9 @@ fn lexicon_doc_pub_leaflet_pages_canvas() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("offset"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "offset", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -513,13 +529,13 @@ fn lexicon_doc_pub_leaflet_pages_canvas() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("quote"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("quote"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("start"), - ::jacquard_common::smol_str::SmolStr::new_static("end") + ::jacquard_common::deps::smol_str::SmolStr::new_static("start"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("end") ], ), nullable: None, @@ -527,14 +543,18 @@ fn lexicon_doc_pub_leaflet_pages_canvas() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("end"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "end", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#position"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("start"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "start", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#position"), @@ -545,19 +565,21 @@ fn lexicon_doc_pub_leaflet_pages_canvas() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("textAlignCenter"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "textAlignCenter", + ), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("textAlignLeft"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("textAlignLeft"), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("textAlignRight"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("textAlignRight"), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), @@ -712,7 +734,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Canvas<'a> { @@ -885,7 +907,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Position<'a> { @@ -1060,7 +1082,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Quote<'a> { 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 1d0c706c8..70dc53d43 100644 --- a/crates/jacquard-api/src/pub_leaflet/pages/linear_document.rs +++ b/crates/jacquard-api/src/pub_leaflet/pages/linear_document.rs @@ -133,7 +133,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Block<'a> { @@ -299,18 +299,20 @@ fn lexicon_doc_pub_leaflet_pages_linearDocument() -> ::jacquard_lexicon::lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("block"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("block"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("block")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("block") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alignment", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -327,7 +329,9 @@ fn lexicon_doc_pub_leaflet_pages_linearDocument() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("block"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "block", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -355,18 +359,22 @@ fn lexicon_doc_pub_leaflet_pages_linearDocument() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("blocks")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("blocks") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("blocks"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "blocks", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -378,7 +386,7 @@ fn lexicon_doc_pub_leaflet_pages_linearDocument() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -397,13 +405,13 @@ fn lexicon_doc_pub_leaflet_pages_linearDocument() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("position"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("position"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("block"), - ::jacquard_common::smol_str::SmolStr::new_static("offset") + ::jacquard_common::deps::smol_str::SmolStr::new_static("block"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("offset") ], ), nullable: None, @@ -411,7 +419,9 @@ fn lexicon_doc_pub_leaflet_pages_linearDocument() -> ::jacquard_lexicon::lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("block"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "block", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -427,7 +437,9 @@ fn lexicon_doc_pub_leaflet_pages_linearDocument() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("offset"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "offset", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -442,13 +454,13 @@ fn lexicon_doc_pub_leaflet_pages_linearDocument() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("quote"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("quote"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("start"), - ::jacquard_common::smol_str::SmolStr::new_static("end") + ::jacquard_common::deps::smol_str::SmolStr::new_static("start"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("end") ], ), nullable: None, @@ -456,14 +468,18 @@ fn lexicon_doc_pub_leaflet_pages_linearDocument() -> ::jacquard_lexicon::lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("end"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "end", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#position"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("start"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "start", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#position"), @@ -474,25 +490,29 @@ fn lexicon_doc_pub_leaflet_pages_linearDocument() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("textAlignCenter"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "textAlignCenter", + ), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("textAlignJustify"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "textAlignJustify", + ), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("textAlignLeft"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("textAlignLeft"), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("textAlignRight"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("textAlignRight"), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), @@ -649,7 +669,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> LinearDocument<'a> { @@ -822,7 +842,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Position<'a> { @@ -879,37 +899,37 @@ pub mod quote_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Start; type End; + type Start; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Start = Unset; type End = Unset; - } - ///State transition - sets the `start` field to Set - pub struct SetStart(PhantomData S>); - impl sealed::Sealed for SetStart {} - impl State for SetStart { - type Start = Set; - type End = S::End; + type Start = Unset; } ///State transition - sets the `end` field to Set pub struct SetEnd(PhantomData S>); impl sealed::Sealed for SetEnd {} impl State for SetEnd { - type Start = S::Start; type End = Set; + type Start = S::Start; + } + ///State transition - sets the `start` field to Set + pub struct SetStart(PhantomData S>); + impl sealed::Sealed for SetStart {} + impl State for SetStart { + type End = S::End; + type Start = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `start` field - pub struct start(()); ///Marker type for the `end` field pub struct end(()); + ///Marker type for the `start` field + pub struct start(()); } } @@ -982,8 +1002,8 @@ where impl<'a, S> QuoteBuilder<'a, S> where S: quote_state::State, - S::Start: quote_state::IsSet, S::End: quote_state::IsSet, + S::Start: quote_state::IsSet, { /// Build the final struct pub fn build(self) -> Quote<'a> { @@ -997,7 +1017,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Quote<'a> { diff --git a/crates/jacquard-api/src/pub_leaflet/poll/definition.rs b/crates/jacquard-api/src/pub_leaflet/poll/definition.rs index 8d54caf16..efdfb034c 100644 --- a/crates/jacquard-api/src/pub_leaflet/poll/definition.rs +++ b/crates/jacquard-api/src/pub_leaflet/poll/definition.rs @@ -177,7 +177,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Definition<'a> { @@ -280,7 +280,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Definition<'a> { { let value = &self.name; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -311,7 +311,7 @@ fn lexicon_doc_pub_leaflet_poll_definition() -> ::jacquard_lexicon::lexicon::Lex defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static("Record declaring a poll"), @@ -321,8 +321,8 @@ fn lexicon_doc_pub_leaflet_poll_definition() -> ::jacquard_lexicon::lexicon::Lex description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("options") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("options") ], ), nullable: None, @@ -330,7 +330,9 @@ fn lexicon_doc_pub_leaflet_poll_definition() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("endDate"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "endDate", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -347,7 +349,9 @@ fn lexicon_doc_pub_leaflet_poll_definition() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -362,7 +366,9 @@ fn lexicon_doc_pub_leaflet_poll_definition() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("options"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "options", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -379,7 +385,7 @@ fn lexicon_doc_pub_leaflet_poll_definition() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("option"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("option"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -388,7 +394,9 @@ fn lexicon_doc_pub_leaflet_poll_definition() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -456,7 +464,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for DefinitionOption<'a> { } if let Some(ref value) = self.text { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) diff --git a/crates/jacquard-api/src/pub_leaflet/poll/vote.rs b/crates/jacquard-api/src/pub_leaflet/poll/vote.rs index 0c9cf82ef..0989bdae8 100644 --- a/crates/jacquard-api/src/pub_leaflet/poll/vote.rs +++ b/crates/jacquard-api/src/pub_leaflet/poll/vote.rs @@ -152,7 +152,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Vote<'a> { @@ -253,7 +253,7 @@ fn lexicon_doc_pub_leaflet_poll_vote() -> ::jacquard_lexicon::lexicon::LexiconDo defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -265,8 +265,8 @@ fn lexicon_doc_pub_leaflet_poll_vote() -> ::jacquard_lexicon::lexicon::LexiconDo description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("poll"), - ::jacquard_common::smol_str::SmolStr::new_static("option") + ::jacquard_common::deps::smol_str::SmolStr::new_static("poll"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("option") ], ), nullable: None, @@ -274,7 +274,9 @@ fn lexicon_doc_pub_leaflet_poll_vote() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("option"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "option", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::String(::jacquard_lexicon::lexicon::LexString { @@ -294,7 +296,9 @@ fn lexicon_doc_pub_leaflet_poll_vote() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("poll"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "poll", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/pub_leaflet/publication.rs b/crates/jacquard-api/src/pub_leaflet/publication.rs index db1fc48c2..0b0de33dd 100644 --- a/crates/jacquard-api/src/pub_leaflet/publication.rs +++ b/crates/jacquard-api/src/pub_leaflet/publication.rs @@ -238,7 +238,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Publication<'a> { @@ -368,7 +368,7 @@ fn lexicon_doc_pub_leaflet_publication() -> ::jacquard_lexicon::lexicon::Lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -380,7 +380,7 @@ fn lexicon_doc_pub_leaflet_publication() -> ::jacquard_lexicon::lexicon::Lexicon description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name") ], ), nullable: None, @@ -388,7 +388,7 @@ fn lexicon_doc_pub_leaflet_publication() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "base_path", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -405,7 +405,7 @@ fn lexicon_doc_pub_leaflet_publication() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -422,7 +422,9 @@ fn lexicon_doc_pub_leaflet_publication() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("icon"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "icon", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -430,7 +432,9 @@ fn lexicon_doc_pub_leaflet_publication() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -445,7 +449,7 @@ fn lexicon_doc_pub_leaflet_publication() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "preferences", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -454,7 +458,9 @@ fn lexicon_doc_pub_leaflet_publication() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("theme"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "theme", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#theme"), @@ -466,7 +472,7 @@ fn lexicon_doc_pub_leaflet_publication() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("preferences"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("preferences"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -475,7 +481,7 @@ fn lexicon_doc_pub_leaflet_publication() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "showComments", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -485,7 +491,7 @@ fn lexicon_doc_pub_leaflet_publication() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "showInDiscover", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -495,7 +501,7 @@ fn lexicon_doc_pub_leaflet_publication() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "showMentions", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -505,7 +511,7 @@ fn lexicon_doc_pub_leaflet_publication() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "showPrevNext", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -515,7 +521,7 @@ fn lexicon_doc_pub_leaflet_publication() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "showRecommends", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -529,7 +535,7 @@ fn lexicon_doc_pub_leaflet_publication() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("theme"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("theme"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -538,7 +544,7 @@ fn lexicon_doc_pub_leaflet_publication() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accentBackground", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -551,7 +557,7 @@ fn lexicon_doc_pub_leaflet_publication() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accentText", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -564,7 +570,7 @@ fn lexicon_doc_pub_leaflet_publication() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "backgroundColor", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -577,7 +583,7 @@ fn lexicon_doc_pub_leaflet_publication() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "backgroundImage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -588,7 +594,9 @@ fn lexicon_doc_pub_leaflet_publication() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("bodyFont"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "bodyFont", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -603,7 +611,7 @@ fn lexicon_doc_pub_leaflet_publication() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "headingFont", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -620,7 +628,7 @@ fn lexicon_doc_pub_leaflet_publication() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "pageBackground", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -633,7 +641,7 @@ fn lexicon_doc_pub_leaflet_publication() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "pageWidth", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -646,7 +654,9 @@ fn lexicon_doc_pub_leaflet_publication() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("primary"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "primary", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -657,7 +667,7 @@ fn lexicon_doc_pub_leaflet_publication() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "showPageBackground", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { diff --git a/crates/jacquard-api/src/pub_leaflet/richtext/facet.rs b/crates/jacquard-api/src/pub_leaflet/richtext/facet.rs index 366481d56..9da3bb662 100644 --- a/crates/jacquard-api/src/pub_leaflet/richtext/facet.rs +++ b/crates/jacquard-api/src/pub_leaflet/richtext/facet.rs @@ -116,7 +116,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> AtMention<'a> { @@ -138,7 +138,7 @@ fn lexicon_doc_pub_leaflet_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("atMention"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("atMention"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -146,14 +146,18 @@ fn lexicon_doc_pub_leaflet_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexi ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("atURI")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("atURI") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("atURI"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "atURI", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -174,7 +178,7 @@ fn lexicon_doc_pub_leaflet_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("bold"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("bold"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -191,7 +195,7 @@ fn lexicon_doc_pub_leaflet_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("byteSlice"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("byteSlice"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -200,8 +204,8 @@ fn lexicon_doc_pub_leaflet_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexi ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("byteStart"), - ::jacquard_common::smol_str::SmolStr::new_static("byteEnd") + ::jacquard_common::deps::smol_str::SmolStr::new_static("byteStart"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("byteEnd") ], ), nullable: None, @@ -209,7 +213,9 @@ fn lexicon_doc_pub_leaflet_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("byteEnd"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "byteEnd", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -220,7 +226,7 @@ fn lexicon_doc_pub_leaflet_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "byteStart", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -237,7 +243,7 @@ fn lexicon_doc_pub_leaflet_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("code"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("code"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -254,7 +260,7 @@ fn lexicon_doc_pub_leaflet_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("didMention"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("didMention"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -262,14 +268,18 @@ fn lexicon_doc_pub_leaflet_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexi ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("did")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("did") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -290,7 +300,7 @@ fn lexicon_doc_pub_leaflet_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("footnote"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("footnote"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -299,8 +309,8 @@ fn lexicon_doc_pub_leaflet_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexi ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("footnoteId"), - ::jacquard_common::smol_str::SmolStr::new_static("contentPlaintext") + ::jacquard_common::deps::smol_str::SmolStr::new_static("footnoteId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("contentPlaintext") ], ), nullable: None, @@ -308,7 +318,7 @@ fn lexicon_doc_pub_leaflet_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentFacets", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -322,7 +332,7 @@ fn lexicon_doc_pub_leaflet_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentPlaintext", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -339,7 +349,7 @@ fn lexicon_doc_pub_leaflet_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "footnoteId", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -360,7 +370,7 @@ fn lexicon_doc_pub_leaflet_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("highlight"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("highlight"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -377,7 +387,7 @@ fn lexicon_doc_pub_leaflet_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -390,7 +400,7 @@ fn lexicon_doc_pub_leaflet_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -409,7 +419,7 @@ fn lexicon_doc_pub_leaflet_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("italic"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("italic"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -426,7 +436,7 @@ fn lexicon_doc_pub_leaflet_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("link"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("link"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -434,14 +444,18 @@ fn lexicon_doc_pub_leaflet_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexi ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("uri")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -460,7 +474,7 @@ fn lexicon_doc_pub_leaflet_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -469,8 +483,8 @@ fn lexicon_doc_pub_leaflet_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexi ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("index"), - ::jacquard_common::smol_str::SmolStr::new_static("features") + ::jacquard_common::deps::smol_str::SmolStr::new_static("index"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("features") ], ), nullable: None, @@ -478,7 +492,9 @@ fn lexicon_doc_pub_leaflet_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("features"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "features", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -503,7 +519,9 @@ fn lexicon_doc_pub_leaflet_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("index"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "index", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#byteSlice"), @@ -514,7 +532,7 @@ fn lexicon_doc_pub_leaflet_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("strikethrough"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("strikethrough"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -531,7 +549,7 @@ fn lexicon_doc_pub_leaflet_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("underline"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("underline"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -627,37 +645,37 @@ pub mod byte_slice_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type ByteEnd; type ByteStart; + type ByteEnd; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type ByteEnd = Unset; type ByteStart = Unset; - } - ///State transition - sets the `byte_end` field to Set - pub struct SetByteEnd(PhantomData S>); - impl sealed::Sealed for SetByteEnd {} - impl State for SetByteEnd { - type ByteEnd = Set; - type ByteStart = S::ByteStart; + type ByteEnd = Unset; } ///State transition - sets the `byte_start` field to Set pub struct SetByteStart(PhantomData S>); impl sealed::Sealed for SetByteStart {} impl State for SetByteStart { - type ByteEnd = S::ByteEnd; type ByteStart = Set; + type ByteEnd = S::ByteEnd; + } + ///State transition - sets the `byte_end` field to Set + pub struct SetByteEnd(PhantomData S>); + impl sealed::Sealed for SetByteEnd {} + impl State for SetByteEnd { + type ByteStart = S::ByteStart; + type ByteEnd = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `byte_end` field - pub struct byte_end(()); ///Marker type for the `byte_start` field pub struct byte_start(()); + ///Marker type for the `byte_end` field + pub struct byte_end(()); } } @@ -727,8 +745,8 @@ where impl<'a, S> ByteSliceBuilder<'a, S> where S: byte_slice_state::State, - S::ByteEnd: byte_slice_state::IsSet, S::ByteStart: byte_slice_state::IsSet, + S::ByteEnd: byte_slice_state::IsSet, { /// Build the final struct pub fn build(self) -> ByteSlice<'a> { @@ -742,7 +760,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ByteSlice<'a> { @@ -937,7 +955,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> DidMention<'a> { @@ -1169,37 +1187,37 @@ pub mod facet_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Features; type Index; + type Features; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Features = Unset; type Index = Unset; - } - ///State transition - sets the `features` field to Set - pub struct SetFeatures(PhantomData S>); - impl sealed::Sealed for SetFeatures {} - impl State for SetFeatures { - type Features = Set; - type Index = S::Index; + type Features = Unset; } ///State transition - sets the `index` field to Set pub struct SetIndex(PhantomData S>); impl sealed::Sealed for SetIndex {} impl State for SetIndex { - type Features = S::Features; type Index = Set; + type Features = S::Features; + } + ///State transition - sets the `features` field to Set + pub struct SetFeatures(PhantomData S>); + impl sealed::Sealed for SetFeatures {} + impl State for SetFeatures { + type Index = S::Index; + type Features = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `features` field - pub struct features(()); ///Marker type for the `index` field pub struct index(()); + ///Marker type for the `features` field + pub struct features(()); } } @@ -1272,8 +1290,8 @@ where impl<'a, S> FacetBuilder<'a, S> where S: facet_state::State, - S::Features: facet_state::IsSet, S::Index: facet_state::IsSet, + S::Features: facet_state::IsSet, { /// Build the final struct pub fn build(self) -> Facet<'a> { @@ -1287,7 +1305,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Facet<'a> { 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 0a40c5510..6e81db924 100644 --- a/crates/jacquard-api/src/pub_leaflet/theme/background_image.rs +++ b/crates/jacquard-api/src/pub_leaflet/theme/background_image.rs @@ -149,7 +149,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> BackgroundImage<'a> { @@ -173,18 +173,22 @@ fn lexicon_doc_pub_leaflet_theme_backgroundImage() -> ::jacquard_lexicon::lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("image")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("image") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -192,7 +196,9 @@ fn lexicon_doc_pub_leaflet_theme_backgroundImage() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("repeat"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "repeat", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -200,7 +206,9 @@ fn lexicon_doc_pub_leaflet_theme_backgroundImage() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("width"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "width", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, diff --git a/crates/jacquard-api/src/pub_leaflet/theme/color.rs b/crates/jacquard-api/src/pub_leaflet/theme/color.rs index 83f034c48..b1a6fd344 100644 --- a/crates/jacquard-api/src/pub_leaflet/theme/color.rs +++ b/crates/jacquard-api/src/pub_leaflet/theme/color.rs @@ -32,51 +32,51 @@ pub mod rgb_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type G; - type R; type B; + type R; + type G; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type G = Unset; - type R = Unset; type B = Unset; + type R = Unset; + type G = Unset; } - ///State transition - sets the `g` field to Set - pub struct SetG(PhantomData S>); - impl sealed::Sealed for SetG {} - impl State for SetG { - type G = Set; + ///State transition - sets the `b` field to Set + pub struct SetB(PhantomData S>); + impl sealed::Sealed for SetB {} + impl State for SetB { + type B = Set; type R = S::R; - type B = S::B; + type G = S::G; } ///State transition - sets the `r` field to Set pub struct SetR(PhantomData S>); impl sealed::Sealed for SetR {} impl State for SetR { - type G = S::G; - type R = Set; type B = S::B; - } - ///State transition - sets the `b` field to Set - pub struct SetB(PhantomData S>); - impl sealed::Sealed for SetB {} - impl State for SetB { + type R = Set; type G = S::G; + } + ///State transition - sets the `g` field to Set + pub struct SetG(PhantomData S>); + impl sealed::Sealed for SetG {} + impl State for SetG { + type B = S::B; type R = S::R; - type B = Set; + type G = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `g` field - pub struct g(()); - ///Marker type for the `r` field - pub struct r(()); ///Marker type for the `b` field pub struct b(()); + ///Marker type for the `r` field + pub struct r(()); + ///Marker type for the `g` field + pub struct g(()); } } @@ -160,9 +160,9 @@ where impl<'a, S> RgbBuilder<'a, S> where S: rgb_state::State, - S::G: rgb_state::IsSet, - S::R: rgb_state::IsSet, S::B: rgb_state::IsSet, + S::R: rgb_state::IsSet, + S::G: rgb_state::IsSet, { /// Build the final struct pub fn build(self) -> Rgb<'a> { @@ -177,7 +177,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Rgb<'a> { @@ -201,14 +201,14 @@ fn lexicon_doc_pub_leaflet_theme_color() -> ::jacquard_lexicon::lexicon::Lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rgb"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("rgb"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("r"), - ::jacquard_common::smol_str::SmolStr::new_static("g"), - ::jacquard_common::smol_str::SmolStr::new_static("b") + ::jacquard_common::deps::smol_str::SmolStr::new_static("r"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("g"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("b") ], ), nullable: None, @@ -216,7 +216,7 @@ fn lexicon_doc_pub_leaflet_theme_color() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("b"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("b"), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -227,7 +227,7 @@ fn lexicon_doc_pub_leaflet_theme_color() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("g"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("g"), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -238,7 +238,7 @@ fn lexicon_doc_pub_leaflet_theme_color() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("r"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("r"), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -253,15 +253,15 @@ fn lexicon_doc_pub_leaflet_theme_color() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rgba"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("rgba"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("r"), - ::jacquard_common::smol_str::SmolStr::new_static("g"), - ::jacquard_common::smol_str::SmolStr::new_static("b"), - ::jacquard_common::smol_str::SmolStr::new_static("a") + ::jacquard_common::deps::smol_str::SmolStr::new_static("r"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("g"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("b"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("a") ], ), nullable: None, @@ -269,7 +269,7 @@ fn lexicon_doc_pub_leaflet_theme_color() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("a"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("a"), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -280,7 +280,7 @@ fn lexicon_doc_pub_leaflet_theme_color() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("b"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("b"), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -291,7 +291,7 @@ fn lexicon_doc_pub_leaflet_theme_color() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("g"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("g"), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -302,7 +302,7 @@ fn lexicon_doc_pub_leaflet_theme_color() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("r"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("r"), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -440,8 +440,8 @@ pub mod rgba_state { pub trait State: sealed::Sealed { type G; type B; - type A; type R; + type A; } /// Empty state - all required fields are unset pub struct Empty(()); @@ -449,8 +449,8 @@ pub mod rgba_state { impl State for Empty { type G = Unset; type B = Unset; - type A = Unset; type R = Unset; + type A = Unset; } ///State transition - sets the `g` field to Set pub struct SetG(PhantomData S>); @@ -458,8 +458,8 @@ pub mod rgba_state { impl State for SetG { type G = Set; type B = S::B; - type A = S::A; type R = S::R; + type A = S::A; } ///State transition - sets the `b` field to Set pub struct SetB(PhantomData S>); @@ -467,17 +467,8 @@ pub mod rgba_state { impl State for SetB { type G = S::G; type B = Set; - type A = S::A; - type R = S::R; - } - ///State transition - sets the `a` field to Set - pub struct SetA(PhantomData S>); - impl sealed::Sealed for SetA {} - impl State for SetA { - type G = S::G; - type B = S::B; - type A = Set; type R = S::R; + type A = S::A; } ///State transition - sets the `r` field to Set pub struct SetR(PhantomData S>); @@ -485,8 +476,17 @@ pub mod rgba_state { impl State for SetR { type G = S::G; type B = S::B; - type A = S::A; type R = Set; + type A = S::A; + } + ///State transition - sets the `a` field to Set + pub struct SetA(PhantomData S>); + impl sealed::Sealed for SetA {} + impl State for SetA { + type G = S::G; + type B = S::B; + type R = S::R; + type A = Set; } /// Marker types for field names #[allow(non_camel_case_types)] @@ -495,10 +495,10 @@ pub mod rgba_state { pub struct g(()); ///Marker type for the `b` field pub struct b(()); - ///Marker type for the `a` field - pub struct a(()); ///Marker type for the `r` field pub struct r(()); + ///Marker type for the `a` field + pub struct a(()); } } @@ -601,8 +601,8 @@ where S: rgba_state::State, S::G: rgba_state::IsSet, S::B: rgba_state::IsSet, - S::A: rgba_state::IsSet, S::R: rgba_state::IsSet, + S::A: rgba_state::IsSet, { /// Build the final struct pub fn build(self) -> Rgba<'a> { @@ -618,7 +618,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Rgba<'a> { diff --git a/crates/jacquard-api/src/pub_quizzy/answer.rs b/crates/jacquard-api/src/pub_quizzy/answer.rs index aad4e6225..3cb382bc8 100644 --- a/crates/jacquard-api/src/pub_quizzy/answer.rs +++ b/crates/jacquard-api/src/pub_quizzy/answer.rs @@ -41,65 +41,65 @@ pub mod answer_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Certainty; type Text; type Timestamp; - type Certainty; type Question; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Certainty = Unset; type Text = Unset; type Timestamp = Unset; - type Certainty = Unset; type Question = Unset; } + ///State transition - sets the `certainty` field to Set + pub struct SetCertainty(PhantomData S>); + impl sealed::Sealed for SetCertainty {} + impl State for SetCertainty { + type Certainty = Set; + type Text = S::Text; + type Timestamp = S::Timestamp; + type Question = S::Question; + } ///State transition - sets the `text` field to Set pub struct SetText(PhantomData S>); impl sealed::Sealed for SetText {} impl State for SetText { + type Certainty = S::Certainty; type Text = Set; type Timestamp = S::Timestamp; - type Certainty = S::Certainty; type Question = S::Question; } ///State transition - sets the `timestamp` field to Set pub struct SetTimestamp(PhantomData S>); impl sealed::Sealed for SetTimestamp {} impl State for SetTimestamp { - type Text = S::Text; - type Timestamp = Set; type Certainty = S::Certainty; - type Question = S::Question; - } - ///State transition - sets the `certainty` field to Set - pub struct SetCertainty(PhantomData S>); - impl sealed::Sealed for SetCertainty {} - impl State for SetCertainty { type Text = S::Text; - type Timestamp = S::Timestamp; - type Certainty = Set; + type Timestamp = Set; type Question = S::Question; } ///State transition - sets the `question` field to Set pub struct SetQuestion(PhantomData S>); impl sealed::Sealed for SetQuestion {} impl State for SetQuestion { + type Certainty = S::Certainty; type Text = S::Text; type Timestamp = S::Timestamp; - type Certainty = S::Certainty; type Question = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `certainty` field + pub struct certainty(()); ///Marker type for the `text` field pub struct text(()); ///Marker type for the `timestamp` field pub struct timestamp(()); - ///Marker type for the `certainty` field - pub struct certainty(()); ///Marker type for the `question` field pub struct question(()); } @@ -214,9 +214,9 @@ where impl<'a, S> AnswerBuilder<'a, S> where S: answer_state::State, + S::Certainty: answer_state::IsSet, S::Text: answer_state::IsSet, S::Timestamp: answer_state::IsSet, - S::Certainty: answer_state::IsSet, S::Question: answer_state::IsSet, { /// Build the final struct @@ -233,7 +233,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Answer<'a> { @@ -436,7 +436,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Answer<'a> { { let value = &self.text; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -465,7 +465,7 @@ fn lexicon_doc_pub_quizzy_answer() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -477,10 +477,10 @@ fn lexicon_doc_pub_quizzy_answer() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("question"), - ::jacquard_common::smol_str::SmolStr::new_static("text"), - ::jacquard_common::smol_str::SmolStr::new_static("certainty"), - ::jacquard_common::smol_str::SmolStr::new_static("timestamp") + ::jacquard_common::deps::smol_str::SmolStr::new_static("question"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("certainty"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("timestamp") ], ), nullable: None, @@ -488,7 +488,7 @@ fn lexicon_doc_pub_quizzy_answer() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "certainty", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -509,7 +509,7 @@ fn lexicon_doc_pub_quizzy_answer() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "question", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -520,7 +520,9 @@ fn lexicon_doc_pub_quizzy_answer() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("The answer text"), @@ -537,7 +539,7 @@ fn lexicon_doc_pub_quizzy_answer() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "timestamp", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/pub_quizzy/league.rs b/crates/jacquard-api/src/pub_quizzy/league.rs index bc2d9b2af..5e748303d 100644 --- a/crates/jacquard-api/src/pub_quizzy/league.rs +++ b/crates/jacquard-api/src/pub_quizzy/league.rs @@ -193,7 +193,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> League<'a> { @@ -296,7 +296,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for League<'a> { { let value = &self.name; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -364,7 +364,7 @@ fn lexicon_doc_pub_quizzy_league() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -376,9 +376,9 @@ fn lexicon_doc_pub_quizzy_league() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("quizMasters"), - ::jacquard_common::smol_str::SmolStr::new_static("teams") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("quizMasters"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("teams") ], ), nullable: None, @@ -386,7 +386,9 @@ fn lexicon_doc_pub_quizzy_league() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Name of the league"), @@ -403,7 +405,7 @@ fn lexicon_doc_pub_quizzy_league() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "quizMasters", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -431,7 +433,9 @@ fn lexicon_doc_pub_quizzy_league() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("teams"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "teams", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/pub_quizzy/profile.rs b/crates/jacquard-api/src/pub_quizzy/profile.rs index 7dcf5b61d..79b748f3a 100644 --- a/crates/jacquard-api/src/pub_quizzy/profile.rs +++ b/crates/jacquard-api/src/pub_quizzy/profile.rs @@ -177,7 +177,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Profile<'a> { @@ -279,7 +279,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Profile<'a> { } if let Some(ref value) = self.avatar_alt { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -309,7 +309,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Profile<'a> { } if let Some(ref value) = self.description { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -339,7 +339,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Profile<'a> { } if let Some(ref value) = self.display_name { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -368,7 +368,7 @@ fn lexicon_doc_pub_quizzy_profile() -> ::jacquard_lexicon::lexicon::LexiconDoc<' defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -384,7 +384,9 @@ fn lexicon_doc_pub_quizzy_profile() -> ::jacquard_lexicon::lexicon::LexiconDoc<' #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("avatar"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "avatar", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -392,7 +394,7 @@ fn lexicon_doc_pub_quizzy_profile() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "avatarAlt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -409,7 +411,7 @@ fn lexicon_doc_pub_quizzy_profile() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -430,7 +432,7 @@ fn lexicon_doc_pub_quizzy_profile() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "displayName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/pub_quizzy/quiz.rs b/crates/jacquard-api/src/pub_quizzy/quiz.rs index c0d50a8e3..557c34027 100644 --- a/crates/jacquard-api/src/pub_quizzy/quiz.rs +++ b/crates/jacquard-api/src/pub_quizzy/quiz.rs @@ -56,67 +56,67 @@ pub mod quiz_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Timestamp; type Rounds; type Locales; type Title; - type Timestamp; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Timestamp = Unset; type Rounds = Unset; type Locales = Unset; type Title = Unset; - type Timestamp = Unset; + } + ///State transition - sets the `timestamp` field to Set + pub struct SetTimestamp(PhantomData S>); + impl sealed::Sealed for SetTimestamp {} + impl State for SetTimestamp { + type Timestamp = Set; + type Rounds = S::Rounds; + type Locales = S::Locales; + type Title = S::Title; } ///State transition - sets the `rounds` field to Set pub struct SetRounds(PhantomData S>); impl sealed::Sealed for SetRounds {} impl State for SetRounds { + type Timestamp = S::Timestamp; type Rounds = Set; type Locales = S::Locales; type Title = S::Title; - type Timestamp = S::Timestamp; } ///State transition - sets the `locales` field to Set pub struct SetLocales(PhantomData S>); impl sealed::Sealed for SetLocales {} impl State for SetLocales { + type Timestamp = S::Timestamp; type Rounds = S::Rounds; type Locales = Set; type Title = S::Title; - type Timestamp = S::Timestamp; } ///State transition - sets the `title` field to Set pub struct SetTitle(PhantomData S>); impl sealed::Sealed for SetTitle {} impl State for SetTitle { - type Rounds = S::Rounds; - type Locales = S::Locales; - type Title = Set; type Timestamp = S::Timestamp; - } - ///State transition - sets the `timestamp` field to Set - pub struct SetTimestamp(PhantomData S>); - impl sealed::Sealed for SetTimestamp {} - impl State for SetTimestamp { type Rounds = S::Rounds; type Locales = S::Locales; - type Title = S::Title; - type Timestamp = Set; + type Title = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `timestamp` field + pub struct timestamp(()); ///Marker type for the `rounds` field pub struct rounds(()); ///Marker type for the `locales` field pub struct locales(()); ///Marker type for the `title` field pub struct title(()); - ///Marker type for the `timestamp` field - pub struct timestamp(()); } } @@ -297,10 +297,10 @@ where impl<'a, S> QuizBuilder<'a, S> where S: quiz_state::State, + S::Timestamp: quiz_state::IsSet, S::Rounds: quiz_state::IsSet, S::Locales: quiz_state::IsSet, S::Title: quiz_state::IsSet, - S::Timestamp: quiz_state::IsSet, { /// Build the final struct pub fn build(self) -> Quiz<'a> { @@ -320,7 +320,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Quiz<'a> { @@ -426,7 +426,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Quiz<'a> { } if let Some(ref value) = self.description { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -507,7 +507,7 @@ fn lexicon_doc_pub_quizzy_quiz() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -519,10 +519,10 @@ fn lexicon_doc_pub_quizzy_quiz() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("rounds"), - ::jacquard_common::smol_str::SmolStr::new_static("locales"), - ::jacquard_common::smol_str::SmolStr::new_static("timestamp") + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("rounds"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("locales"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("timestamp") ], ), nullable: None, @@ -530,7 +530,7 @@ fn lexicon_doc_pub_quizzy_quiz() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -551,7 +551,7 @@ fn lexicon_doc_pub_quizzy_quiz() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasAudio", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -561,7 +561,7 @@ fn lexicon_doc_pub_quizzy_quiz() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasVisuals", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -571,7 +571,9 @@ fn lexicon_doc_pub_quizzy_quiz() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("locales"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "locales", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -597,7 +599,7 @@ fn lexicon_doc_pub_quizzy_quiz() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "revisionOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -608,7 +610,9 @@ fn lexicon_doc_pub_quizzy_quiz() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rounds"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "rounds", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -624,7 +628,7 @@ fn lexicon_doc_pub_quizzy_quiz() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "timestamp", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -647,7 +651,9 @@ fn lexicon_doc_pub_quizzy_quiz() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -671,7 +677,7 @@ fn lexicon_doc_pub_quizzy_quiz() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("questionRef"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("questionRef"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -680,7 +686,7 @@ fn lexicon_doc_pub_quizzy_quiz() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("question") + ::jacquard_common::deps::smol_str::SmolStr::new_static("question") ], ), nullable: None, @@ -688,7 +694,9 @@ fn lexicon_doc_pub_quizzy_quiz() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -707,7 +715,9 @@ fn lexicon_doc_pub_quizzy_quiz() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("points"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "points", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -718,7 +728,9 @@ fn lexicon_doc_pub_quizzy_quiz() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("question"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "question", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -731,14 +743,14 @@ fn lexicon_doc_pub_quizzy_quiz() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("round"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("round"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static("A round within a quiz"), ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("questions") + ::jacquard_common::deps::smol_str::SmolStr::new_static("questions") ], ), nullable: None, @@ -746,7 +758,7 @@ fn lexicon_doc_pub_quizzy_quiz() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "questions", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -764,7 +776,9 @@ fn lexicon_doc_pub_quizzy_quiz() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -942,7 +956,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> QuestionRef<'a> { @@ -982,7 +996,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for QuestionRef<'a> { } if let Some(ref value) = self.name { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -1147,7 +1161,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Round<'a> { @@ -1212,7 +1226,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Round<'a> { } if let Some(ref value) = self.title { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) diff --git a/crates/jacquard-api/src/pub_quizzy/quiz_begin.rs b/crates/jacquard-api/src/pub_quizzy/quiz_begin.rs index 1a936e182..05994d563 100644 --- a/crates/jacquard-api/src/pub_quizzy/quiz_begin.rs +++ b/crates/jacquard-api/src/pub_quizzy/quiz_begin.rs @@ -40,67 +40,67 @@ pub mod quiz_begin_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type League; - type EndsAt; type Quiz; + type League; type StartedAt; + type EndsAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type League = Unset; - type EndsAt = Unset; type Quiz = Unset; + type League = Unset; type StartedAt = Unset; - } - ///State transition - sets the `league` field to Set - pub struct SetLeague(PhantomData S>); - impl sealed::Sealed for SetLeague {} - impl State for SetLeague { - type League = Set; - type EndsAt = S::EndsAt; - type Quiz = S::Quiz; - type StartedAt = S::StartedAt; - } - ///State transition - sets the `ends_at` field to Set - pub struct SetEndsAt(PhantomData S>); - impl sealed::Sealed for SetEndsAt {} - impl State for SetEndsAt { - type League = S::League; - type EndsAt = Set; - type Quiz = S::Quiz; - type StartedAt = S::StartedAt; + type EndsAt = Unset; } ///State transition - sets the `quiz` field to Set pub struct SetQuiz(PhantomData S>); impl sealed::Sealed for SetQuiz {} impl State for SetQuiz { + type Quiz = Set; type League = S::League; + type StartedAt = S::StartedAt; type EndsAt = S::EndsAt; - type Quiz = Set; + } + ///State transition - sets the `league` field to Set + pub struct SetLeague(PhantomData S>); + impl sealed::Sealed for SetLeague {} + impl State for SetLeague { + type Quiz = S::Quiz; + type League = Set; type StartedAt = S::StartedAt; + type EndsAt = S::EndsAt; } ///State transition - sets the `started_at` field to Set pub struct SetStartedAt(PhantomData S>); impl sealed::Sealed for SetStartedAt {} impl State for SetStartedAt { + type Quiz = S::Quiz; type League = S::League; + type StartedAt = Set; type EndsAt = S::EndsAt; + } + ///State transition - sets the `ends_at` field to Set + pub struct SetEndsAt(PhantomData S>); + impl sealed::Sealed for SetEndsAt {} + impl State for SetEndsAt { type Quiz = S::Quiz; - type StartedAt = Set; + type League = S::League; + type StartedAt = S::StartedAt; + type EndsAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `league` field - pub struct league(()); - ///Marker type for the `ends_at` field - pub struct ends_at(()); ///Marker type for the `quiz` field pub struct quiz(()); + ///Marker type for the `league` field + pub struct league(()); ///Marker type for the `started_at` field pub struct started_at(()); + ///Marker type for the `ends_at` field + pub struct ends_at(()); } } @@ -213,10 +213,10 @@ where impl<'a, S> QuizBeginBuilder<'a, S> where S: quiz_begin_state::State, - S::League: quiz_begin_state::IsSet, - S::EndsAt: quiz_begin_state::IsSet, S::Quiz: quiz_begin_state::IsSet, + S::League: quiz_begin_state::IsSet, S::StartedAt: quiz_begin_state::IsSet, + S::EndsAt: quiz_begin_state::IsSet, { /// Build the final struct pub fn build(self) -> QuizBegin<'a> { @@ -232,7 +232,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> QuizBegin<'a> { @@ -335,7 +335,7 @@ fn lexicon_doc_pub_quizzy_quizBegin() -> ::jacquard_lexicon::lexicon::LexiconDoc defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -347,10 +347,10 @@ fn lexicon_doc_pub_quizzy_quizBegin() -> ::jacquard_lexicon::lexicon::LexiconDoc description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("league"), - ::jacquard_common::smol_str::SmolStr::new_static("quiz"), - ::jacquard_common::smol_str::SmolStr::new_static("startedAt"), - ::jacquard_common::smol_str::SmolStr::new_static("endsAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("league"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("quiz"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("startedAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("endsAt") ], ), nullable: None, @@ -358,7 +358,9 @@ fn lexicon_doc_pub_quizzy_quizBegin() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("endsAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "endsAt", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("When the quiz ends"), @@ -377,7 +379,9 @@ fn lexicon_doc_pub_quizzy_quizBegin() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("league"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "league", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -386,7 +390,9 @@ fn lexicon_doc_pub_quizzy_quizBegin() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("quiz"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "quiz", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -395,7 +401,7 @@ fn lexicon_doc_pub_quizzy_quizBegin() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "startedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/pub_quizzy/quiz_done.rs b/crates/jacquard-api/src/pub_quizzy/quiz_done.rs index b9ee957f4..a26ddc339 100644 --- a/crates/jacquard-api/src/pub_quizzy/quiz_done.rs +++ b/crates/jacquard-api/src/pub_quizzy/quiz_done.rs @@ -153,7 +153,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> QuizDone<'a> { @@ -254,7 +254,7 @@ fn lexicon_doc_pub_quizzy_quizDone() -> ::jacquard_lexicon::lexicon::LexiconDoc< defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -266,8 +266,8 @@ fn lexicon_doc_pub_quizzy_quizDone() -> ::jacquard_lexicon::lexicon::LexiconDoc< description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("quizBegin"), - ::jacquard_common::smol_str::SmolStr::new_static("timestamp") + ::jacquard_common::deps::smol_str::SmolStr::new_static("quizBegin"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("timestamp") ], ), nullable: None, @@ -275,7 +275,7 @@ fn lexicon_doc_pub_quizzy_quizDone() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "quizBegin", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -286,7 +286,7 @@ fn lexicon_doc_pub_quizzy_quizDone() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "timestamp", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/pub_quizzy/quiz_score.rs b/crates/jacquard-api/src/pub_quizzy/quiz_score.rs index 3eac1f58f..ff5ce7a3a 100644 --- a/crates/jacquard-api/src/pub_quizzy/quiz_score.rs +++ b/crates/jacquard-api/src/pub_quizzy/quiz_score.rs @@ -154,7 +154,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> QuizScore<'a> { @@ -281,7 +281,7 @@ fn lexicon_doc_pub_quizzy_quizScore() -> ::jacquard_lexicon::lexicon::LexiconDoc defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -293,8 +293,8 @@ fn lexicon_doc_pub_quizzy_quizScore() -> ::jacquard_lexicon::lexicon::LexiconDoc description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("quizBegin"), - ::jacquard_common::smol_str::SmolStr::new_static("results") + ::jacquard_common::deps::smol_str::SmolStr::new_static("quizBegin"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("results") ], ), nullable: None, @@ -302,7 +302,7 @@ fn lexicon_doc_pub_quizzy_quizScore() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "quizBegin", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -313,7 +313,9 @@ fn lexicon_doc_pub_quizzy_quizScore() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("results"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "results", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -334,15 +336,15 @@ fn lexicon_doc_pub_quizzy_quizScore() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("teamResult"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("teamResult"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static("A team's final result"), ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("teamScore"), - ::jacquard_common::smol_str::SmolStr::new_static("totalScore") + ::jacquard_common::deps::smol_str::SmolStr::new_static("teamScore"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("totalScore") ], ), nullable: None, @@ -350,7 +352,7 @@ fn lexicon_doc_pub_quizzy_quizScore() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "teamScore", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -361,7 +363,7 @@ fn lexicon_doc_pub_quizzy_quizScore() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "totalScore", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -412,37 +414,37 @@ pub mod team_result_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type TeamScore; type TotalScore; + type TeamScore; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type TeamScore = Unset; type TotalScore = Unset; - } - ///State transition - sets the `team_score` field to Set - pub struct SetTeamScore(PhantomData S>); - impl sealed::Sealed for SetTeamScore {} - impl State for SetTeamScore { - type TeamScore = Set; - type TotalScore = S::TotalScore; + type TeamScore = Unset; } ///State transition - sets the `total_score` field to Set pub struct SetTotalScore(PhantomData S>); impl sealed::Sealed for SetTotalScore {} impl State for SetTotalScore { - type TeamScore = S::TeamScore; type TotalScore = Set; + type TeamScore = S::TeamScore; + } + ///State transition - sets the `team_score` field to Set + pub struct SetTeamScore(PhantomData S>); + impl sealed::Sealed for SetTeamScore {} + impl State for SetTeamScore { + type TotalScore = S::TotalScore; + type TeamScore = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `team_score` field - pub struct team_score(()); ///Marker type for the `total_score` field pub struct total_score(()); + ///Marker type for the `team_score` field + pub struct team_score(()); } } @@ -515,8 +517,8 @@ where impl<'a, S> TeamResultBuilder<'a, S> where S: team_result_state::State, - S::TeamScore: team_result_state::IsSet, S::TotalScore: team_result_state::IsSet, + S::TeamScore: team_result_state::IsSet, { /// Build the final struct pub fn build(self) -> TeamResult<'a> { @@ -530,7 +532,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> TeamResult<'a> { diff --git a/crates/jacquard-api/src/pub_quizzy/team.rs b/crates/jacquard-api/src/pub_quizzy/team.rs index fa564c2e4..908573bf6 100644 --- a/crates/jacquard-api/src/pub_quizzy/team.rs +++ b/crates/jacquard-api/src/pub_quizzy/team.rs @@ -43,37 +43,37 @@ pub mod team_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Members; type Name; + type Members; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Members = Unset; type Name = Unset; - } - ///State transition - sets the `members` field to Set - pub struct SetMembers(PhantomData S>); - impl sealed::Sealed for SetMembers {} - impl State for SetMembers { - type Members = Set; - type Name = S::Name; + type Members = Unset; } ///State transition - sets the `name` field to Set pub struct SetName(PhantomData S>); impl sealed::Sealed for SetName {} impl State for SetName { - type Members = S::Members; type Name = Set; + type Members = S::Members; + } + ///State transition - sets the `members` field to Set + pub struct SetMembers(PhantomData S>); + impl sealed::Sealed for SetMembers {} + impl State for SetMembers { + type Name = S::Name; + type Members = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `members` field - pub struct members(()); ///Marker type for the `name` field pub struct name(()); + ///Marker type for the `members` field + pub struct members(()); } } @@ -186,8 +186,8 @@ where impl<'a, S> TeamBuilder<'a, S> where S: team_state::State, - S::Members: team_state::IsSet, S::Name: team_state::IsSet, + S::Members: team_state::IsSet, { /// Build the final struct pub fn build(self) -> Team<'a> { @@ -203,7 +203,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Team<'a> { @@ -305,7 +305,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Team<'a> { } if let Some(ref value) = self.avatar_alt { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -363,7 +363,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Team<'a> { { let value = &self.name; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -392,7 +392,7 @@ fn lexicon_doc_pub_quizzy_team() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static("A quiz team"), @@ -402,8 +402,8 @@ fn lexicon_doc_pub_quizzy_team() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("members") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("members") ], ), nullable: None, @@ -411,7 +411,9 @@ fn lexicon_doc_pub_quizzy_team() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("avatar"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "avatar", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -419,7 +421,7 @@ fn lexicon_doc_pub_quizzy_team() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "avatarAlt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -436,7 +438,9 @@ fn lexicon_doc_pub_quizzy_team() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("members"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "members", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -462,7 +466,9 @@ fn lexicon_doc_pub_quizzy_team() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Team name"), diff --git a/crates/jacquard-api/src/pub_quizzy/team_score.rs b/crates/jacquard-api/src/pub_quizzy/team_score.rs index 48b953561..f6ba247f9 100644 --- a/crates/jacquard-api/src/pub_quizzy/team_score.rs +++ b/crates/jacquard-api/src/pub_quizzy/team_score.rs @@ -193,7 +193,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> TeamScore<'a> { @@ -308,7 +308,7 @@ fn lexicon_doc_pub_quizzy_teamScore() -> ::jacquard_lexicon::lexicon::LexiconDoc defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -320,9 +320,9 @@ fn lexicon_doc_pub_quizzy_teamScore() -> ::jacquard_lexicon::lexicon::LexiconDoc description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("quizBegin"), - ::jacquard_common::smol_str::SmolStr::new_static("team"), - ::jacquard_common::smol_str::SmolStr::new_static("answers") + ::jacquard_common::deps::smol_str::SmolStr::new_static("quizBegin"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("team"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("answers") ], ), nullable: None, @@ -330,7 +330,9 @@ fn lexicon_doc_pub_quizzy_teamScore() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("answers"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "answers", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -348,7 +350,7 @@ fn lexicon_doc_pub_quizzy_teamScore() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "quizBegin", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -359,7 +361,9 @@ fn lexicon_doc_pub_quizzy_teamScore() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("team"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "team", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -373,7 +377,7 @@ fn lexicon_doc_pub_quizzy_teamScore() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("scoredAnswer"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("scoredAnswer"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -382,8 +386,8 @@ fn lexicon_doc_pub_quizzy_teamScore() -> ::jacquard_lexicon::lexicon::LexiconDoc ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("answer"), - ::jacquard_common::smol_str::SmolStr::new_static("scores") + ::jacquard_common::deps::smol_str::SmolStr::new_static("answer"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("scores") ], ), nullable: None, @@ -391,7 +395,9 @@ fn lexicon_doc_pub_quizzy_teamScore() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("answer"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "answer", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -400,7 +406,7 @@ fn lexicon_doc_pub_quizzy_teamScore() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "commentary", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -421,7 +427,9 @@ fn lexicon_doc_pub_quizzy_teamScore() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("scores"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "scores", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -622,7 +630,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ScoredAnswer<'a> { @@ -662,7 +670,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ScoredAnswer<'a> { } if let Some(ref value) = self.commentary { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) diff --git a/crates/jacquard-api/src/science_alt/dataset/entry.rs b/crates/jacquard-api/src/science_alt/dataset/entry.rs index 05333e455..9010bd98e 100644 --- a/crates/jacquard-api/src/science_alt/dataset/entry.rs +++ b/crates/jacquard-api/src/science_alt/dataset/entry.rs @@ -41,7 +41,7 @@ fn lexicon_doc_science_alt_dataset_entry() -> ::jacquard_lexicon::lexicon::Lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("datasetSize"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("datasetSize"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -54,7 +54,9 @@ fn lexicon_doc_science_alt_dataset_entry() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("bytes"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "bytes", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -65,7 +67,9 @@ fn lexicon_doc_science_alt_dataset_entry() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("samples"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "samples", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -76,7 +80,9 @@ fn lexicon_doc_science_alt_dataset_entry() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("shards"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "shards", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -91,7 +97,7 @@ fn lexicon_doc_science_alt_dataset_entry() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -103,10 +109,10 @@ fn lexicon_doc_science_alt_dataset_entry() -> ::jacquard_lexicon::lexicon::Lexic description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("schemaRef"), - ::jacquard_common::smol_str::SmolStr::new_static("storage"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("schemaRef"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("storage"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -114,7 +120,7 @@ fn lexicon_doc_science_alt_dataset_entry() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentMetadata", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { @@ -122,7 +128,7 @@ fn lexicon_doc_science_alt_dataset_entry() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -145,7 +151,7 @@ fn lexicon_doc_science_alt_dataset_entry() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -166,7 +172,9 @@ fn lexicon_doc_science_alt_dataset_entry() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("license"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "license", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -185,7 +193,7 @@ fn lexicon_doc_science_alt_dataset_entry() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "metadata", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Bytes(::jacquard_lexicon::lexicon::LexBytes { @@ -195,7 +203,7 @@ fn lexicon_doc_science_alt_dataset_entry() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "metadataSchemaRef", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -218,7 +226,9 @@ fn lexicon_doc_science_alt_dataset_entry() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -237,7 +247,7 @@ fn lexicon_doc_science_alt_dataset_entry() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "schemaRef", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -260,14 +270,18 @@ fn lexicon_doc_science_alt_dataset_entry() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "size", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#datasetSize"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("storage"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "storage", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: Some( ::jacquard_common::CowStr::new_static( @@ -283,7 +297,9 @@ fn lexicon_doc_science_alt_dataset_entry() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tags", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -312,7 +328,7 @@ fn lexicon_doc_science_alt_dataset_entry() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("shardChecksum"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("shardChecksum"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -321,8 +337,8 @@ fn lexicon_doc_science_alt_dataset_entry() -> ::jacquard_lexicon::lexicon::Lexic ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("algorithm"), - ::jacquard_common::smol_str::SmolStr::new_static("digest") + ::jacquard_common::deps::smol_str::SmolStr::new_static("algorithm"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("digest") ], ), nullable: None, @@ -330,7 +346,7 @@ fn lexicon_doc_science_alt_dataset_entry() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "algorithm", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -351,7 +367,9 @@ fn lexicon_doc_science_alt_dataset_entry() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("digest"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "digest", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -458,7 +476,7 @@ pub struct Entry<'a> { /// Msgpack-encoded metadata dict for arbitrary extended key-value pairs. Use this for additional metadata beyond the core top-level fields (license, tags, size). Top-level fields are preferred for discoverable/searchable metadata. #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(default, with = "jacquard_common::opt_serde_bytes_helper")] - pub metadata: std::option::Option, + pub metadata: std::option::Option, /// Optional AT-URI reference to a schema record defining the structure of this dataset's content metadata. When present, contentMetadata is validated against this schema at write time. #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] @@ -494,65 +512,65 @@ pub mod entry_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type SchemaRef; - type Storage; type Name; + type Storage; + type SchemaRef; type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type SchemaRef = Unset; - type Storage = Unset; type Name = Unset; + type Storage = Unset; + type SchemaRef = Unset; type CreatedAt = Unset; } - ///State transition - sets the `schema_ref` field to Set - pub struct SetSchemaRef(PhantomData S>); - impl sealed::Sealed for SetSchemaRef {} - impl State for SetSchemaRef { - type SchemaRef = Set; + ///State transition - sets the `name` field to Set + pub struct SetName(PhantomData S>); + impl sealed::Sealed for SetName {} + impl State for SetName { + type Name = Set; type Storage = S::Storage; - type Name = S::Name; + type SchemaRef = S::SchemaRef; type CreatedAt = S::CreatedAt; } ///State transition - sets the `storage` field to Set pub struct SetStorage(PhantomData S>); impl sealed::Sealed for SetStorage {} impl State for SetStorage { - type SchemaRef = S::SchemaRef; - type Storage = Set; type Name = S::Name; + type Storage = Set; + type SchemaRef = S::SchemaRef; type CreatedAt = S::CreatedAt; } - ///State transition - sets the `name` field to Set - pub struct SetName(PhantomData S>); - impl sealed::Sealed for SetName {} - impl State for SetName { - type SchemaRef = S::SchemaRef; + ///State transition - sets the `schema_ref` field to Set + pub struct SetSchemaRef(PhantomData S>); + impl sealed::Sealed for SetSchemaRef {} + impl State for SetSchemaRef { + type Name = S::Name; type Storage = S::Storage; - type Name = Set; + type SchemaRef = Set; type CreatedAt = S::CreatedAt; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type SchemaRef = S::SchemaRef; - type Storage = S::Storage; type Name = S::Name; + type Storage = S::Storage; + type SchemaRef = S::SchemaRef; type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `schema_ref` field - pub struct schema_ref(()); - ///Marker type for the `storage` field - pub struct storage(()); ///Marker type for the `name` field pub struct name(()); + ///Marker type for the `storage` field + pub struct storage(()); + ///Marker type for the `schema_ref` field + pub struct schema_ref(()); ///Marker type for the `created_at` field pub struct created_at(()); } @@ -566,7 +584,7 @@ pub struct EntryBuilder<'a, S: entry_state::State> { ::core::option::Option, ::core::option::Option>, ::core::option::Option>, - ::core::option::Option, + ::core::option::Option, ::core::option::Option>, ::core::option::Option>, ::core::option::Option>, @@ -682,12 +700,18 @@ impl<'a, S: entry_state::State> EntryBuilder<'a, S> { impl<'a, S: entry_state::State> EntryBuilder<'a, S> { /// Set the `metadata` field (optional) - pub fn metadata(mut self, value: impl Into>) -> Self { + pub fn metadata( + mut self, + value: impl Into>, + ) -> Self { self.__unsafe_private_named.4 = value.into(); self } /// Set the `metadata` field to an Option value (optional) - pub fn maybe_metadata(mut self, value: Option) -> Self { + pub fn maybe_metadata( + mut self, + value: Option, + ) -> Self { self.__unsafe_private_named.4 = value; self } @@ -810,9 +834,9 @@ impl<'a, S: entry_state::State> EntryBuilder<'a, S> { impl<'a, S> EntryBuilder<'a, S> where S: entry_state::State, - S::SchemaRef: entry_state::IsSet, - S::Storage: entry_state::IsSet, S::Name: entry_state::IsSet, + S::Storage: entry_state::IsSet, + S::SchemaRef: entry_state::IsSet, S::CreatedAt: entry_state::IsSet, { /// Build the final struct @@ -836,7 +860,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Entry<'a> { diff --git a/crates/jacquard-api/src/science_alt/dataset/label.rs b/crates/jacquard-api/src/science_alt/dataset/label.rs index 7612abfe4..1d3250cb3 100644 --- a/crates/jacquard-api/src/science_alt/dataset/label.rs +++ b/crates/jacquard-api/src/science_alt/dataset/label.rs @@ -47,50 +47,50 @@ pub mod label_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type DatasetUri; - type Name; type CreatedAt; + type Name; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type DatasetUri = Unset; - type Name = Unset; type CreatedAt = Unset; + type Name = Unset; } ///State transition - sets the `dataset_uri` field to Set pub struct SetDatasetUri(PhantomData S>); impl sealed::Sealed for SetDatasetUri {} impl State for SetDatasetUri { type DatasetUri = Set; - type Name = S::Name; - type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `name` field to Set - pub struct SetName(PhantomData S>); - impl sealed::Sealed for SetName {} - impl State for SetName { - type DatasetUri = S::DatasetUri; - type Name = Set; type CreatedAt = S::CreatedAt; + type Name = S::Name; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { type DatasetUri = S::DatasetUri; - type Name = S::Name; type CreatedAt = Set; + type Name = S::Name; + } + ///State transition - sets the `name` field to Set + pub struct SetName(PhantomData S>); + impl sealed::Sealed for SetName {} + impl State for SetName { + type DatasetUri = S::DatasetUri; + type CreatedAt = S::CreatedAt; + type Name = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `dataset_uri` field pub struct dataset_uri(()); - ///Marker type for the `name` field - pub struct name(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `name` field + pub struct name(()); } } @@ -221,8 +221,8 @@ impl<'a, S> LabelBuilder<'a, S> where S: label_state::State, S::DatasetUri: label_state::IsSet, - S::Name: label_state::IsSet, S::CreatedAt: label_state::IsSet, + S::Name: label_state::IsSet, { /// Build the final struct pub fn build(self) -> Label<'a> { @@ -239,7 +239,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Label<'a> { @@ -393,7 +393,7 @@ fn lexicon_doc_science_alt_dataset_label() -> ::jacquard_lexicon::lexicon::Lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -405,9 +405,9 @@ fn lexicon_doc_science_alt_dataset_label() -> ::jacquard_lexicon::lexicon::Lexic description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("datasetUri"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("datasetUri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -415,7 +415,7 @@ fn lexicon_doc_science_alt_dataset_label() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -438,7 +438,7 @@ fn lexicon_doc_science_alt_dataset_label() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "datasetUri", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -461,7 +461,7 @@ fn lexicon_doc_science_alt_dataset_label() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -482,7 +482,9 @@ fn lexicon_doc_science_alt_dataset_label() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -501,7 +503,9 @@ fn lexicon_doc_science_alt_dataset_label() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("version"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "version", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/science_alt/dataset/lens.rs b/crates/jacquard-api/src/science_alt/dataset/lens.rs index c6ac01efe..4e827b5da 100644 --- a/crates/jacquard-api/src/science_alt/dataset/lens.rs +++ b/crates/jacquard-api/src/science_alt/dataset/lens.rs @@ -51,7 +51,7 @@ fn lexicon_doc_science_alt_dataset_lens() -> ::jacquard_lexicon::lexicon::Lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("codeReference"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("codeReference"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -60,9 +60,9 @@ fn lexicon_doc_science_alt_dataset_lens() -> ::jacquard_lexicon::lexicon::Lexico ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("repository"), - ::jacquard_common::smol_str::SmolStr::new_static("commit"), - ::jacquard_common::smol_str::SmolStr::new_static("path") + ::jacquard_common::deps::smol_str::SmolStr::new_static("repository"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("commit"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("path") ], ), nullable: None, @@ -70,7 +70,9 @@ fn lexicon_doc_science_alt_dataset_lens() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("branch"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "branch", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -89,7 +91,9 @@ fn lexicon_doc_science_alt_dataset_lens() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("commit"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "commit", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -108,7 +112,9 @@ fn lexicon_doc_science_alt_dataset_lens() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("language"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "language", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -117,7 +123,9 @@ fn lexicon_doc_science_alt_dataset_lens() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("path"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "path", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -136,7 +144,7 @@ fn lexicon_doc_science_alt_dataset_lens() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "repository", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -161,7 +169,7 @@ fn lexicon_doc_science_alt_dataset_lens() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("lensMetadata"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("lensMetadata"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -178,7 +186,7 @@ fn lexicon_doc_science_alt_dataset_lens() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -190,12 +198,12 @@ fn lexicon_doc_science_alt_dataset_lens() -> ::jacquard_lexicon::lexicon::Lexico description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("sourceSchema"), - ::jacquard_common::smol_str::SmolStr::new_static("targetSchema"), - ::jacquard_common::smol_str::SmolStr::new_static("getterCode"), - ::jacquard_common::smol_str::SmolStr::new_static("putterCode"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("sourceSchema"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("targetSchema"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("getterCode"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("putterCode"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -203,7 +211,7 @@ fn lexicon_doc_science_alt_dataset_lens() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -226,7 +234,7 @@ fn lexicon_doc_science_alt_dataset_lens() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -247,7 +255,7 @@ fn lexicon_doc_science_alt_dataset_lens() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "getterCode", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -258,7 +266,7 @@ fn lexicon_doc_science_alt_dataset_lens() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "language", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -279,7 +287,7 @@ fn lexicon_doc_science_alt_dataset_lens() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "metadata", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -290,7 +298,9 @@ fn lexicon_doc_science_alt_dataset_lens() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -309,7 +319,7 @@ fn lexicon_doc_science_alt_dataset_lens() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "putterCode", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -320,7 +330,7 @@ fn lexicon_doc_science_alt_dataset_lens() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sourceSchema", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -343,7 +353,7 @@ fn lexicon_doc_science_alt_dataset_lens() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sourceSchemaVersion", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -364,7 +374,7 @@ fn lexicon_doc_science_alt_dataset_lens() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "targetSchema", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -387,7 +397,7 @@ fn lexicon_doc_science_alt_dataset_lens() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "targetSchemaVersion", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -580,105 +590,105 @@ pub mod lens_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Name; + type SourceSchema; type GetterCode; - type PutterCode; - type CreatedAt; + type Name; type TargetSchema; - type SourceSchema; + type CreatedAt; + type PutterCode; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Name = Unset; + type SourceSchema = Unset; type GetterCode = Unset; - type PutterCode = Unset; - type CreatedAt = Unset; + type Name = Unset; type TargetSchema = Unset; - type SourceSchema = Unset; + type CreatedAt = Unset; + type PutterCode = Unset; } - ///State transition - sets the `name` field to Set - pub struct SetName(PhantomData S>); - impl sealed::Sealed for SetName {} - impl State for SetName { - type Name = Set; + ///State transition - sets the `source_schema` field to Set + pub struct SetSourceSchema(PhantomData S>); + impl sealed::Sealed for SetSourceSchema {} + impl State for SetSourceSchema { + type SourceSchema = Set; type GetterCode = S::GetterCode; - type PutterCode = S::PutterCode; - type CreatedAt = S::CreatedAt; + type Name = S::Name; type TargetSchema = S::TargetSchema; - type SourceSchema = S::SourceSchema; + type CreatedAt = S::CreatedAt; + type PutterCode = S::PutterCode; } ///State transition - sets the `getter_code` field to Set pub struct SetGetterCode(PhantomData S>); impl sealed::Sealed for SetGetterCode {} impl State for SetGetterCode { - type Name = S::Name; - type GetterCode = Set; - type PutterCode = S::PutterCode; - type CreatedAt = S::CreatedAt; - type TargetSchema = S::TargetSchema; type SourceSchema = S::SourceSchema; - } - ///State transition - sets the `putter_code` field to Set - pub struct SetPutterCode(PhantomData S>); - impl sealed::Sealed for SetPutterCode {} - impl State for SetPutterCode { + type GetterCode = Set; type Name = S::Name; - type GetterCode = S::GetterCode; - type PutterCode = Set; - type CreatedAt = S::CreatedAt; type TargetSchema = S::TargetSchema; - type SourceSchema = S::SourceSchema; + type CreatedAt = S::CreatedAt; + type PutterCode = S::PutterCode; } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type Name = S::Name; + ///State transition - sets the `name` field to Set + pub struct SetName(PhantomData S>); + impl sealed::Sealed for SetName {} + impl State for SetName { + type SourceSchema = S::SourceSchema; type GetterCode = S::GetterCode; - type PutterCode = S::PutterCode; - type CreatedAt = Set; + type Name = Set; type TargetSchema = S::TargetSchema; - type SourceSchema = S::SourceSchema; + type CreatedAt = S::CreatedAt; + type PutterCode = S::PutterCode; } ///State transition - sets the `target_schema` field to Set pub struct SetTargetSchema(PhantomData S>); impl sealed::Sealed for SetTargetSchema {} impl State for SetTargetSchema { - type Name = S::Name; + type SourceSchema = S::SourceSchema; type GetterCode = S::GetterCode; - type PutterCode = S::PutterCode; - type CreatedAt = S::CreatedAt; + type Name = S::Name; type TargetSchema = Set; - type SourceSchema = S::SourceSchema; + type CreatedAt = S::CreatedAt; + type PutterCode = S::PutterCode; } - ///State transition - sets the `source_schema` field to Set - pub struct SetSourceSchema(PhantomData S>); - impl sealed::Sealed for SetSourceSchema {} - impl State for SetSourceSchema { - type Name = S::Name; + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type SourceSchema = S::SourceSchema; type GetterCode = S::GetterCode; + type Name = S::Name; + type TargetSchema = S::TargetSchema; + type CreatedAt = Set; type PutterCode = S::PutterCode; - type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `putter_code` field to Set + pub struct SetPutterCode(PhantomData S>); + impl sealed::Sealed for SetPutterCode {} + impl State for SetPutterCode { + type SourceSchema = S::SourceSchema; + type GetterCode = S::GetterCode; + type Name = S::Name; type TargetSchema = S::TargetSchema; - type SourceSchema = Set; + type CreatedAt = S::CreatedAt; + type PutterCode = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `name` field - pub struct name(()); + ///Marker type for the `source_schema` field + pub struct source_schema(()); ///Marker type for the `getter_code` field pub struct getter_code(()); - ///Marker type for the `putter_code` field - pub struct putter_code(()); - ///Marker type for the `created_at` field - pub struct created_at(()); + ///Marker type for the `name` field + pub struct name(()); ///Marker type for the `target_schema` field pub struct target_schema(()); - ///Marker type for the `source_schema` field - pub struct source_schema(()); + ///Marker type for the `created_at` field + pub struct created_at(()); + ///Marker type for the `putter_code` field + pub struct putter_code(()); } } @@ -940,12 +950,12 @@ impl<'a, S: lens_state::State> LensBuilder<'a, S> { impl<'a, S> LensBuilder<'a, S> where S: lens_state::State, - S::Name: lens_state::IsSet, + S::SourceSchema: lens_state::IsSet, S::GetterCode: lens_state::IsSet, - S::PutterCode: lens_state::IsSet, - S::CreatedAt: lens_state::IsSet, + S::Name: lens_state::IsSet, S::TargetSchema: lens_state::IsSet, - S::SourceSchema: lens_state::IsSet, + S::CreatedAt: lens_state::IsSet, + S::PutterCode: lens_state::IsSet, { /// Build the final struct pub fn build(self) -> Lens<'a> { @@ -968,7 +978,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Lens<'a> { 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 56e54d7aa..2fbdf7b62 100644 --- a/crates/jacquard-api/src/science_alt/dataset/lens_verification.rs +++ b/crates/jacquard-api/src/science_alt/dataset/lens_verification.rs @@ -40,7 +40,7 @@ fn lexicon_doc_science_alt_dataset_lensVerification() -> ::jacquard_lexicon::lex defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("codeHash"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("codeHash"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -49,8 +49,8 @@ fn lexicon_doc_science_alt_dataset_lensVerification() -> ::jacquard_lexicon::lex ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("algorithm"), - ::jacquard_common::smol_str::SmolStr::new_static("digest") + ::jacquard_common::deps::smol_str::SmolStr::new_static("algorithm"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("digest") ], ), nullable: None, @@ -58,7 +58,7 @@ fn lexicon_doc_science_alt_dataset_lensVerification() -> ::jacquard_lexicon::lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "algorithm", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -79,7 +79,9 @@ fn lexicon_doc_science_alt_dataset_lensVerification() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("digest"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "digest", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -102,7 +104,7 @@ fn lexicon_doc_science_alt_dataset_lensVerification() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -114,10 +116,10 @@ fn lexicon_doc_science_alt_dataset_lensVerification() -> ::jacquard_lexicon::lex description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("lens"), - ::jacquard_common::smol_str::SmolStr::new_static("lensCommit"), - ::jacquard_common::smol_str::SmolStr::new_static("verificationMethod"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("lens"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("lensCommit"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("verificationMethod"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -125,7 +127,7 @@ fn lexicon_doc_science_alt_dataset_lensVerification() -> ::jacquard_lexicon::lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "codeHash", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -134,7 +136,7 @@ fn lexicon_doc_science_alt_dataset_lensVerification() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -157,7 +159,7 @@ fn lexicon_doc_science_alt_dataset_lensVerification() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -178,7 +180,9 @@ fn lexicon_doc_science_alt_dataset_lensVerification() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("lens"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "lens", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -199,7 +203,7 @@ fn lexicon_doc_science_alt_dataset_lensVerification() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "lensCommit", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -220,7 +224,7 @@ fn lexicon_doc_science_alt_dataset_lensVerification() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "proofRef", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -231,7 +235,7 @@ fn lexicon_doc_science_alt_dataset_lensVerification() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "verificationMethod", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -348,67 +352,67 @@ pub mod lens_verification_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Lens; + type CreatedAt; type VerificationMethod; type LensCommit; - type CreatedAt; - type Lens; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Lens = Unset; + type CreatedAt = Unset; type VerificationMethod = Unset; type LensCommit = Unset; - type CreatedAt = Unset; - type Lens = Unset; + } + ///State transition - sets the `lens` field to Set + pub struct SetLens(PhantomData S>); + impl sealed::Sealed for SetLens {} + impl State for SetLens { + type Lens = Set; + type CreatedAt = S::CreatedAt; + type VerificationMethod = S::VerificationMethod; + type LensCommit = S::LensCommit; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Lens = S::Lens; + type CreatedAt = Set; + type VerificationMethod = S::VerificationMethod; + type LensCommit = S::LensCommit; } ///State transition - sets the `verification_method` field to Set pub struct SetVerificationMethod(PhantomData S>); impl sealed::Sealed for SetVerificationMethod {} impl State for SetVerificationMethod { + type Lens = S::Lens; + type CreatedAt = S::CreatedAt; type VerificationMethod = Set; type LensCommit = S::LensCommit; - type CreatedAt = S::CreatedAt; - type Lens = S::Lens; } ///State transition - sets the `lens_commit` field to Set pub struct SetLensCommit(PhantomData S>); impl sealed::Sealed for SetLensCommit {} impl State for SetLensCommit { - type VerificationMethod = S::VerificationMethod; - type LensCommit = Set; - type CreatedAt = S::CreatedAt; type Lens = S::Lens; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type VerificationMethod = S::VerificationMethod; - type LensCommit = S::LensCommit; - type CreatedAt = Set; - type Lens = S::Lens; - } - ///State transition - sets the `lens` field to Set - pub struct SetLens(PhantomData S>); - impl sealed::Sealed for SetLens {} - impl State for SetLens { - type VerificationMethod = S::VerificationMethod; - type LensCommit = S::LensCommit; type CreatedAt = S::CreatedAt; - type Lens = Set; + type VerificationMethod = S::VerificationMethod; + type LensCommit = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `lens` field + pub struct lens(()); + ///Marker type for the `created_at` field + pub struct created_at(()); ///Marker type for the `verification_method` field pub struct verification_method(()); ///Marker type for the `lens_commit` field pub struct lens_commit(()); - ///Marker type for the `created_at` field - pub struct created_at(()); - ///Marker type for the `lens` field - pub struct lens(()); } } @@ -589,10 +593,10 @@ where impl<'a, S> LensVerificationBuilder<'a, S> where S: lens_verification_state::State, + S::Lens: lens_verification_state::IsSet, + S::CreatedAt: lens_verification_state::IsSet, S::VerificationMethod: lens_verification_state::IsSet, S::LensCommit: lens_verification_state::IsSet, - S::CreatedAt: lens_verification_state::IsSet, - S::Lens: lens_verification_state::IsSet, { /// Build the final struct pub fn build(self) -> LensVerification<'a> { @@ -611,7 +615,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> LensVerification<'a> { 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 79da8243a..475a8926b 100644 --- a/crates/jacquard-api/src/science_alt/dataset/storage_blobs.rs +++ b/crates/jacquard-api/src/science_alt/dataset/storage_blobs.rs @@ -144,7 +144,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> BlobEntry<'a> { @@ -167,7 +167,7 @@ fn lexicon_doc_science_alt_dataset_storageBlobs() -> ::jacquard_lexicon::lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("blobEntry"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("blobEntry"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -175,14 +175,18 @@ fn lexicon_doc_science_alt_dataset_storageBlobs() -> ::jacquard_lexicon::lexicon ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("blob")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("blob") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("blob"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "blob", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -190,7 +194,9 @@ fn lexicon_doc_science_alt_dataset_storageBlobs() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("checksum"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "checksum", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -203,7 +209,7 @@ fn lexicon_doc_science_alt_dataset_storageBlobs() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -211,14 +217,18 @@ fn lexicon_doc_science_alt_dataset_storageBlobs() -> ::jacquard_lexicon::lexicon ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("blobs")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("blobs") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("blobs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "blobs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -373,7 +383,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> StorageBlobs<'a> { 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 cbb90593c..98046c614 100644 --- a/crates/jacquard-api/src/science_alt/dataset/storage_external.rs +++ b/crates/jacquard-api/src/science_alt/dataset/storage_external.rs @@ -117,7 +117,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> StorageExternal<'a> { @@ -139,7 +139,7 @@ fn lexicon_doc_science_alt_dataset_storageExternal() -> ::jacquard_lexicon::lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -147,14 +147,18 @@ fn lexicon_doc_science_alt_dataset_storageExternal() -> ::jacquard_lexicon::lexi ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("urls")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("urls") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("urls"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "urls", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( 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 a8ffe4d2e..762a9c9fc 100644 --- a/crates/jacquard-api/src/science_alt/dataset/storage_http.rs +++ b/crates/jacquard-api/src/science_alt/dataset/storage_http.rs @@ -119,7 +119,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> StorageHttp<'a> { @@ -141,7 +141,7 @@ fn lexicon_doc_science_alt_dataset_storageHttp() -> ::jacquard_lexicon::lexicon: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -149,14 +149,18 @@ fn lexicon_doc_science_alt_dataset_storageHttp() -> ::jacquard_lexicon::lexicon: ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("shards")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("shards") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("shards"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "shards", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -176,7 +180,7 @@ fn lexicon_doc_science_alt_dataset_storageHttp() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("shardEntry"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("shardEntry"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -185,8 +189,8 @@ fn lexicon_doc_science_alt_dataset_storageHttp() -> ::jacquard_lexicon::lexicon: ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("url"), - ::jacquard_common::smol_str::SmolStr::new_static("checksum") + ::jacquard_common::deps::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("checksum") ], ), nullable: None, @@ -194,7 +198,9 @@ fn lexicon_doc_science_alt_dataset_storageHttp() -> ::jacquard_lexicon::lexicon: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("checksum"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "checksum", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -203,7 +209,9 @@ fn lexicon_doc_science_alt_dataset_storageHttp() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -411,7 +419,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ShardEntry<'a> { 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 ae019cd3e..99bd01fe7 100644 --- a/crates/jacquard-api/src/science_alt/dataset/storage_s3.rs +++ b/crates/jacquard-api/src/science_alt/dataset/storage_s3.rs @@ -203,7 +203,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> StorageS3<'a> { @@ -228,7 +228,7 @@ fn lexicon_doc_science_alt_dataset_storageS3() -> ::jacquard_lexicon::lexicon::L defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -237,8 +237,8 @@ fn lexicon_doc_science_alt_dataset_storageS3() -> ::jacquard_lexicon::lexicon::L ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("bucket"), - ::jacquard_common::smol_str::SmolStr::new_static("shards") + ::jacquard_common::deps::smol_str::SmolStr::new_static("bucket"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("shards") ], ), nullable: None, @@ -246,7 +246,9 @@ fn lexicon_doc_science_alt_dataset_storageS3() -> ::jacquard_lexicon::lexicon::L #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("bucket"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "bucket", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("S3 bucket name"), @@ -263,7 +265,9 @@ fn lexicon_doc_science_alt_dataset_storageS3() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("endpoint"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "endpoint", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -284,7 +288,9 @@ fn lexicon_doc_science_alt_dataset_storageS3() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("region"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "region", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -303,7 +309,9 @@ fn lexicon_doc_science_alt_dataset_storageS3() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("shards"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "shards", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -323,7 +331,7 @@ fn lexicon_doc_science_alt_dataset_storageS3() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("shardEntry"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("shardEntry"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -332,8 +340,8 @@ fn lexicon_doc_science_alt_dataset_storageS3() -> ::jacquard_lexicon::lexicon::L ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("key"), - ::jacquard_common::smol_str::SmolStr::new_static("checksum") + ::jacquard_common::deps::smol_str::SmolStr::new_static("key"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("checksum") ], ), nullable: None, @@ -341,7 +349,9 @@ fn lexicon_doc_science_alt_dataset_storageS3() -> ::jacquard_lexicon::lexicon::L #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("checksum"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "checksum", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -350,7 +360,9 @@ fn lexicon_doc_science_alt_dataset_storageS3() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("key"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "key", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -475,37 +487,37 @@ pub mod shard_entry_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Key; type Checksum; + type Key; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Key = Unset; type Checksum = Unset; - } - ///State transition - sets the `key` field to Set - pub struct SetKey(PhantomData S>); - impl sealed::Sealed for SetKey {} - impl State for SetKey { - type Key = Set; - type Checksum = S::Checksum; + type Key = Unset; } ///State transition - sets the `checksum` field to Set pub struct SetChecksum(PhantomData S>); impl sealed::Sealed for SetChecksum {} impl State for SetChecksum { - type Key = S::Key; type Checksum = Set; + type Key = S::Key; + } + ///State transition - sets the `key` field to Set + pub struct SetKey(PhantomData S>); + impl sealed::Sealed for SetKey {} + impl State for SetKey { + type Checksum = S::Checksum; + type Key = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `key` field - pub struct key(()); ///Marker type for the `checksum` field pub struct checksum(()); + ///Marker type for the `key` field + pub struct key(()); } } @@ -578,8 +590,8 @@ where impl<'a, S> ShardEntryBuilder<'a, S> where S: shard_entry_state::State, - S::Key: shard_entry_state::IsSet, S::Checksum: shard_entry_state::IsSet, + S::Key: shard_entry_state::IsSet, { /// Build the final struct pub fn build(self) -> ShardEntry<'a> { @@ -593,7 +605,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ShardEntry<'a> { 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 195b2f580..52d045860 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 @@ -42,37 +42,37 @@ pub mod testing_polis_poll_v1_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type Topic; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type Topic = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Topic = S::Topic; + type CreatedAt = Unset; } ///State transition - sets the `topic` field to Set pub struct SetTopic(PhantomData S>); impl sealed::Sealed for SetTopic {} impl State for SetTopic { - type CreatedAt = S::CreatedAt; type Topic = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Topic = S::Topic; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `topic` field pub struct topic(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -185,8 +185,8 @@ where impl<'a, S> TestingPolisPollV1Builder<'a, S> where S: testing_polis_poll_v1_state::State, - S::CreatedAt: testing_polis_poll_v1_state::IsSet, S::Topic: testing_polis_poll_v1_state::IsSet, + S::CreatedAt: testing_polis_poll_v1_state::IsSet, { /// Build the final struct pub fn build(self) -> TestingPolisPollV1<'a> { @@ -202,7 +202,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> TestingPolisPollV1<'a> { @@ -330,7 +330,7 @@ fn lexicon_doc_scot_comhairle_testingPolisPollV1() -> ::jacquard_lexicon::lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -342,8 +342,8 @@ fn lexicon_doc_scot_comhairle_testingPolisPollV1() -> ::jacquard_lexicon::lexico description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("topic"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("topic"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -351,7 +351,7 @@ fn lexicon_doc_scot_comhairle_testingPolisPollV1() -> ::jacquard_lexicon::lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "closedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -374,7 +374,7 @@ fn lexicon_doc_scot_comhairle_testingPolisPollV1() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -397,7 +397,7 @@ fn lexicon_doc_scot_comhairle_testingPolisPollV1() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -418,7 +418,9 @@ fn lexicon_doc_scot_comhairle_testingPolisPollV1() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("topic"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "topic", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( 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 16dffdcf0..d63d5600d 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 @@ -38,51 +38,51 @@ pub mod testing_polis_statement_v1_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; - type Poll; type Text; + type Poll; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; - type Poll = Unset; type Text = Unset; + type Poll = Unset; + type CreatedAt = Unset; } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; + ///State transition - sets the `text` field to Set + pub struct SetText(PhantomData S>); + impl sealed::Sealed for SetText {} + impl State for SetText { + type Text = Set; type Poll = S::Poll; - type Text = S::Text; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `poll` field to Set pub struct SetPoll(PhantomData S>); impl sealed::Sealed for SetPoll {} impl State for SetPoll { - type CreatedAt = S::CreatedAt; - type Poll = Set; type Text = S::Text; - } - ///State transition - sets the `text` field to Set - pub struct SetText(PhantomData S>); - impl sealed::Sealed for SetText {} - impl State for SetText { + type Poll = Set; type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Text = S::Text; type Poll = S::Poll; - type Text = Set; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); - ///Marker type for the `poll` field - pub struct poll(()); ///Marker type for the `text` field pub struct text(()); + ///Marker type for the `poll` field + pub struct poll(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -192,9 +192,9 @@ where impl<'a, S> TestingPolisStatementV1Builder<'a, S> where S: testing_polis_statement_v1_state::State, - S::CreatedAt: testing_polis_statement_v1_state::IsSet, - S::Poll: testing_polis_statement_v1_state::IsSet, S::Text: testing_polis_statement_v1_state::IsSet, + S::Poll: testing_polis_statement_v1_state::IsSet, + S::CreatedAt: testing_polis_statement_v1_state::IsSet, { /// Build the final struct pub fn build(self) -> TestingPolisStatementV1<'a> { @@ -209,7 +209,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> TestingPolisStatementV1<'a> { @@ -326,7 +326,7 @@ fn lexicon_doc_scot_comhairle_testingPolisStatementV1() -> ::jacquard_lexicon::l defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -338,9 +338,9 @@ fn lexicon_doc_scot_comhairle_testingPolisStatementV1() -> ::jacquard_lexicon::l description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("text"), - ::jacquard_common::smol_str::SmolStr::new_static("poll"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("poll"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -348,7 +348,7 @@ fn lexicon_doc_scot_comhairle_testingPolisStatementV1() -> ::jacquard_lexicon::l #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -371,14 +371,18 @@ fn lexicon_doc_scot_comhairle_testingPolisStatementV1() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("poll"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "poll", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#pollRef"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -402,7 +406,7 @@ fn lexicon_doc_scot_comhairle_testingPolisStatementV1() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("pollRef"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("pollRef"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -411,8 +415,8 @@ fn lexicon_doc_scot_comhairle_testingPolisStatementV1() -> ::jacquard_lexicon::l ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("cid") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid") ], ), nullable: None, @@ -420,7 +424,9 @@ fn lexicon_doc_scot_comhairle_testingPolisStatementV1() -> ::jacquard_lexicon::l #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -441,7 +447,9 @@ fn lexicon_doc_scot_comhairle_testingPolisStatementV1() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -501,37 +509,37 @@ pub mod poll_ref_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Cid; type Uri; + type Cid; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Cid = Unset; type Uri = Unset; - } - ///State transition - sets the `cid` field to Set - pub struct SetCid(PhantomData S>); - impl sealed::Sealed for SetCid {} - impl State for SetCid { - type Cid = Set; - type Uri = S::Uri; + type Cid = Unset; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { - type Cid = S::Cid; type Uri = Set; + type Cid = S::Cid; + } + ///State transition - sets the `cid` field to Set + pub struct SetCid(PhantomData S>); + impl sealed::Sealed for SetCid {} + impl State for SetCid { + type Uri = S::Uri; + type Cid = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `cid` field - pub struct cid(()); ///Marker type for the `uri` field pub struct uri(()); + ///Marker type for the `cid` field + pub struct cid(()); } } @@ -604,8 +612,8 @@ where impl<'a, S> PollRefBuilder<'a, S> where S: poll_ref_state::State, - S::Cid: poll_ref_state::IsSet, S::Uri: poll_ref_state::IsSet, + S::Cid: poll_ref_state::IsSet, { /// Build the final struct pub fn build(self) -> PollRef<'a> { @@ -619,7 +627,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> PollRef<'a> { 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 1785c4e3e..13dfb50f8 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 @@ -41,67 +41,67 @@ pub mod testing_polis_vote_v1_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Poll; + type Value; type Subject; type CreatedAt; - type Value; - type Poll; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Poll = Unset; + type Value = Unset; type Subject = Unset; type CreatedAt = Unset; - type Value = Unset; - type Poll = Unset; + } + ///State transition - sets the `poll` field to Set + pub struct SetPoll(PhantomData S>); + impl sealed::Sealed for SetPoll {} + impl State for SetPoll { + type Poll = Set; + type Value = S::Value; + type Subject = S::Subject; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `value` field to Set + pub struct SetValue(PhantomData S>); + impl sealed::Sealed for SetValue {} + impl State for SetValue { + type Poll = S::Poll; + type Value = Set; + type Subject = S::Subject; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `subject` field to Set pub struct SetSubject(PhantomData S>); impl sealed::Sealed for SetSubject {} impl State for SetSubject { + type Poll = S::Poll; + type Value = S::Value; type Subject = Set; type CreatedAt = S::CreatedAt; - type Value = S::Value; - type Poll = S::Poll; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Subject = S::Subject; - type CreatedAt = Set; - type Value = S::Value; type Poll = S::Poll; - } - ///State transition - sets the `value` field to Set - pub struct SetValue(PhantomData S>); - impl sealed::Sealed for SetValue {} - impl State for SetValue { - type Subject = S::Subject; - type CreatedAt = S::CreatedAt; - type Value = Set; - type Poll = S::Poll; - } - ///State transition - sets the `poll` field to Set - pub struct SetPoll(PhantomData S>); - impl sealed::Sealed for SetPoll {} - impl State for SetPoll { - type Subject = S::Subject; - type CreatedAt = S::CreatedAt; type Value = S::Value; - type Poll = Set; + type Subject = S::Subject; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `poll` field + pub struct poll(()); + ///Marker type for the `value` field + pub struct value(()); ///Marker type for the `subject` field pub struct subject(()); ///Marker type for the `created_at` field pub struct created_at(()); - ///Marker type for the `value` field - pub struct value(()); - ///Marker type for the `poll` field - pub struct poll(()); } } @@ -218,10 +218,10 @@ where impl<'a, S> TestingPolisVoteV1Builder<'a, S> where S: testing_polis_vote_v1_state::State, + S::Poll: testing_polis_vote_v1_state::IsSet, + S::Value: testing_polis_vote_v1_state::IsSet, S::Subject: testing_polis_vote_v1_state::IsSet, S::CreatedAt: testing_polis_vote_v1_state::IsSet, - S::Value: testing_polis_vote_v1_state::IsSet, - S::Poll: testing_polis_vote_v1_state::IsSet, { /// Build the final struct pub fn build(self) -> TestingPolisVoteV1<'a> { @@ -237,7 +237,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> TestingPolisVoteV1<'a> { @@ -340,7 +340,7 @@ fn lexicon_doc_scot_comhairle_testingPolisVoteV1() -> ::jacquard_lexicon::lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -352,10 +352,10 @@ fn lexicon_doc_scot_comhairle_testingPolisVoteV1() -> ::jacquard_lexicon::lexico description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("value"), - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("poll"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("value"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("poll"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -363,7 +363,7 @@ fn lexicon_doc_scot_comhairle_testingPolisVoteV1() -> ::jacquard_lexicon::lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -386,14 +386,18 @@ fn lexicon_doc_scot_comhairle_testingPolisVoteV1() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("poll"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "poll", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#pollRef"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -402,7 +406,9 @@ fn lexicon_doc_scot_comhairle_testingPolisVoteV1() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("value"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "value", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("The vote value"), @@ -424,7 +430,7 @@ fn lexicon_doc_scot_comhairle_testingPolisVoteV1() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("pollRef"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("pollRef"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -433,8 +439,8 @@ fn lexicon_doc_scot_comhairle_testingPolisVoteV1() -> ::jacquard_lexicon::lexico ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("cid") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid") ], ), nullable: None, @@ -442,7 +448,9 @@ fn lexicon_doc_scot_comhairle_testingPolisVoteV1() -> ::jacquard_lexicon::lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -463,7 +471,9 @@ fn lexicon_doc_scot_comhairle_testingPolisVoteV1() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -488,7 +498,7 @@ fn lexicon_doc_scot_comhairle_testingPolisVoteV1() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("statementRef"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("statementRef"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -497,8 +507,8 @@ fn lexicon_doc_scot_comhairle_testingPolisVoteV1() -> ::jacquard_lexicon::lexico ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("cid") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid") ], ), nullable: None, @@ -506,7 +516,9 @@ fn lexicon_doc_scot_comhairle_testingPolisVoteV1() -> ::jacquard_lexicon::lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -527,7 +539,9 @@ fn lexicon_doc_scot_comhairle_testingPolisVoteV1() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -705,7 +719,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> PollRef<'a> { @@ -883,7 +897,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> StatementRef<'a> { diff --git a/crates/jacquard-api/src/sh_tangled/actor/profile.rs b/crates/jacquard-api/src/sh_tangled/actor/profile.rs index 68c5fdbc1..d01bb2fb5 100644 --- a/crates/jacquard-api/src/sh_tangled/actor/profile.rs +++ b/crates/jacquard-api/src/sh_tangled/actor/profile.rs @@ -285,7 +285,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Profile<'a> { @@ -391,7 +391,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Profile<'a> { } if let Some(ref value) = self.description { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -445,7 +445,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Profile<'a> { } if let Some(ref value) = self.location { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -536,7 +536,7 @@ fn lexicon_doc_sh_tangled_actor_profile() -> ::jacquard_lexicon::lexicon::Lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -548,7 +548,7 @@ fn lexicon_doc_sh_tangled_actor_profile() -> ::jacquard_lexicon::lexicon::Lexico description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("bluesky") + ::jacquard_common::deps::smol_str::SmolStr::new_static("bluesky") ], ), nullable: None, @@ -556,7 +556,9 @@ fn lexicon_doc_sh_tangled_actor_profile() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("avatar"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "avatar", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -564,7 +566,9 @@ fn lexicon_doc_sh_tangled_actor_profile() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("bluesky"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "bluesky", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -572,7 +576,7 @@ fn lexicon_doc_sh_tangled_actor_profile() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -593,7 +597,9 @@ fn lexicon_doc_sh_tangled_actor_profile() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("links"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "links", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::String(::jacquard_lexicon::lexicon::LexString { @@ -619,7 +625,7 @@ fn lexicon_doc_sh_tangled_actor_profile() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "location", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -640,7 +646,7 @@ fn lexicon_doc_sh_tangled_actor_profile() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "pinnedRepositories", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -668,7 +674,7 @@ fn lexicon_doc_sh_tangled_actor_profile() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "pronouns", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -689,7 +695,9 @@ fn lexicon_doc_sh_tangled_actor_profile() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("stats"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "stats", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/sh_tangled/feed/reaction.rs b/crates/jacquard-api/src/sh_tangled/feed/reaction.rs index f3ca9bc69..94ae834bf 100644 --- a/crates/jacquard-api/src/sh_tangled/feed/reaction.rs +++ b/crates/jacquard-api/src/sh_tangled/feed/reaction.rs @@ -188,7 +188,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Reaction<'a> { @@ -290,7 +290,7 @@ fn lexicon_doc_sh_tangled_feed_reaction() -> ::jacquard_lexicon::lexicon::Lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -298,9 +298,9 @@ fn lexicon_doc_sh_tangled_feed_reaction() -> ::jacquard_lexicon::lexicon::Lexico description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("reaction"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("reaction"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -308,7 +308,7 @@ fn lexicon_doc_sh_tangled_feed_reaction() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -327,7 +327,7 @@ fn lexicon_doc_sh_tangled_feed_reaction() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "reaction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -344,7 +344,9 @@ fn lexicon_doc_sh_tangled_feed_reaction() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( diff --git a/crates/jacquard-api/src/sh_tangled/feed/star.rs b/crates/jacquard-api/src/sh_tangled/feed/star.rs index a08208443..e90811dd9 100644 --- a/crates/jacquard-api/src/sh_tangled/feed/star.rs +++ b/crates/jacquard-api/src/sh_tangled/feed/star.rs @@ -150,7 +150,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Star<'a> { @@ -251,7 +251,7 @@ fn lexicon_doc_sh_tangled_feed_star() -> ::jacquard_lexicon::lexicon::LexiconDoc defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -259,8 +259,8 @@ fn lexicon_doc_sh_tangled_feed_star() -> ::jacquard_lexicon::lexicon::LexiconDoc description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -268,7 +268,7 @@ fn lexicon_doc_sh_tangled_feed_star() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -287,7 +287,9 @@ fn lexicon_doc_sh_tangled_feed_star() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( 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 76022cbca..2fffef911 100644 --- a/crates/jacquard-api/src/sh_tangled/git/ref_update.rs +++ b/crates/jacquard-api/src/sh_tangled/git/ref_update.rs @@ -36,7 +36,9 @@ fn lexicon_doc_sh_tangled_git_refUpdate() -> ::jacquard_lexicon::lexicon::Lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("commitCountBreakdown"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "commitCountBreakdown", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some(vec![]), @@ -45,7 +47,9 @@ fn lexicon_doc_sh_tangled_git_refUpdate() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("byEmail"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "byEmail", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -63,15 +67,15 @@ fn lexicon_doc_sh_tangled_git_refUpdate() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "individualEmailCommitCount", ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("email"), - ::jacquard_common::smol_str::SmolStr::new_static("count") + ::jacquard_common::deps::smol_str::SmolStr::new_static("email"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("count") ], ), nullable: None, @@ -79,7 +83,9 @@ fn lexicon_doc_sh_tangled_git_refUpdate() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("count"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "count", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -90,7 +96,9 @@ fn lexicon_doc_sh_tangled_git_refUpdate() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("email"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "email", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -109,15 +117,15 @@ fn lexicon_doc_sh_tangled_git_refUpdate() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "individualLanguageSize", ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("lang"), - ::jacquard_common::smol_str::SmolStr::new_static("size") + ::jacquard_common::deps::smol_str::SmolStr::new_static("lang"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("size") ], ), nullable: None, @@ -125,7 +133,9 @@ fn lexicon_doc_sh_tangled_git_refUpdate() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("lang"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "lang", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -140,7 +150,9 @@ fn lexicon_doc_sh_tangled_git_refUpdate() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "size", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -155,7 +167,7 @@ fn lexicon_doc_sh_tangled_git_refUpdate() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("langBreakdown"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("langBreakdown"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -164,7 +176,9 @@ fn lexicon_doc_sh_tangled_git_refUpdate() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("inputs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "inputs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -182,7 +196,7 @@ fn lexicon_doc_sh_tangled_git_refUpdate() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -194,13 +208,13 @@ fn lexicon_doc_sh_tangled_git_refUpdate() -> ::jacquard_lexicon::lexicon::Lexico description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("ref"), - ::jacquard_common::smol_str::SmolStr::new_static("committerDid"), - ::jacquard_common::smol_str::SmolStr::new_static("repoDid"), - ::jacquard_common::smol_str::SmolStr::new_static("repoName"), - ::jacquard_common::smol_str::SmolStr::new_static("oldSha"), - ::jacquard_common::smol_str::SmolStr::new_static("newSha"), - ::jacquard_common::smol_str::SmolStr::new_static("meta") + ::jacquard_common::deps::smol_str::SmolStr::new_static("ref"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("committerDid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("repoDid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("repoName"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("oldSha"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("newSha"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("meta") ], ), nullable: None, @@ -208,7 +222,7 @@ fn lexicon_doc_sh_tangled_git_refUpdate() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "committerDid", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -231,14 +245,18 @@ fn lexicon_doc_sh_tangled_git_refUpdate() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("meta"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "meta", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#meta"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("newSha"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "newSha", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("new SHA of this ref"), @@ -255,7 +273,9 @@ fn lexicon_doc_sh_tangled_git_refUpdate() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("oldSha"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "oldSha", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("old SHA of this ref"), @@ -272,7 +292,9 @@ fn lexicon_doc_sh_tangled_git_refUpdate() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("ref"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "ref", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Ref being updated"), @@ -289,7 +311,9 @@ fn lexicon_doc_sh_tangled_git_refUpdate() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("repoDid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "repoDid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -310,7 +334,7 @@ fn lexicon_doc_sh_tangled_git_refUpdate() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "repoName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -334,13 +358,13 @@ fn lexicon_doc_sh_tangled_git_refUpdate() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("meta"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("meta"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("isDefaultRef"), - ::jacquard_common::smol_str::SmolStr::new_static("commitCount") + ::jacquard_common::deps::smol_str::SmolStr::new_static("isDefaultRef"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("commitCount") ], ), nullable: None, @@ -348,7 +372,7 @@ fn lexicon_doc_sh_tangled_git_refUpdate() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "commitCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -359,7 +383,7 @@ fn lexicon_doc_sh_tangled_git_refUpdate() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isDefaultRef", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -369,7 +393,7 @@ fn lexicon_doc_sh_tangled_git_refUpdate() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "langBreakdown", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -564,7 +588,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> IndividualEmailCommitCount<'a> { @@ -620,37 +644,37 @@ pub mod individual_language_size_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Size; type Lang; + type Size; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Size = Unset; type Lang = Unset; - } - ///State transition - sets the `size` field to Set - pub struct SetSize(PhantomData S>); - impl sealed::Sealed for SetSize {} - impl State for SetSize { - type Size = Set; - type Lang = S::Lang; + type Size = Unset; } ///State transition - sets the `lang` field to Set pub struct SetLang(PhantomData S>); impl sealed::Sealed for SetLang {} impl State for SetLang { - type Size = S::Size; type Lang = Set; + type Size = S::Size; + } + ///State transition - sets the `size` field to Set + pub struct SetSize(PhantomData S>); + impl sealed::Sealed for SetSize {} + impl State for SetSize { + type Lang = S::Lang; + type Size = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `size` field - pub struct size(()); ///Marker type for the `lang` field pub struct lang(()); + ///Marker type for the `size` field + pub struct size(()); } } @@ -726,8 +750,8 @@ where impl<'a, S> IndividualLanguageSizeBuilder<'a, S> where S: individual_language_size_state::State, - S::Size: individual_language_size_state::IsSet, S::Lang: individual_language_size_state::IsSet, + S::Size: individual_language_size_state::IsSet, { /// Build the final struct pub fn build(self) -> IndividualLanguageSize<'a> { @@ -741,7 +765,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> IndividualLanguageSize<'a> { @@ -852,127 +876,127 @@ pub mod ref_update_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type OldSha; type NewSha; - type Meta; type Ref; + type RepoDid; type CommitterDid; type RepoName; - type RepoDid; + type OldSha; + type Meta; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type OldSha = Unset; type NewSha = Unset; - type Meta = Unset; type Ref = Unset; + type RepoDid = Unset; type CommitterDid = Unset; type RepoName = Unset; - type RepoDid = Unset; - } - ///State transition - sets the `old_sha` field to Set - pub struct SetOldSha(PhantomData S>); - impl sealed::Sealed for SetOldSha {} - impl State for SetOldSha { - type OldSha = Set; - type NewSha = S::NewSha; - type Meta = S::Meta; - type Ref = S::Ref; - type CommitterDid = S::CommitterDid; - type RepoName = S::RepoName; - type RepoDid = S::RepoDid; + type OldSha = Unset; + type Meta = Unset; } ///State transition - sets the `new_sha` field to Set pub struct SetNewSha(PhantomData S>); impl sealed::Sealed for SetNewSha {} impl State for SetNewSha { - type OldSha = S::OldSha; type NewSha = Set; - type Meta = S::Meta; type Ref = S::Ref; - type CommitterDid = S::CommitterDid; - type RepoName = S::RepoName; type RepoDid = S::RepoDid; - } - ///State transition - sets the `meta` field to Set - pub struct SetMeta(PhantomData S>); - impl sealed::Sealed for SetMeta {} - impl State for SetMeta { - type OldSha = S::OldSha; - type NewSha = S::NewSha; - type Meta = Set; - type Ref = S::Ref; type CommitterDid = S::CommitterDid; type RepoName = S::RepoName; - type RepoDid = S::RepoDid; + type OldSha = S::OldSha; + type Meta = S::Meta; } ///State transition - sets the `ref` field to Set pub struct SetRef(PhantomData S>); impl sealed::Sealed for SetRef {} impl State for SetRef { - type OldSha = S::OldSha; type NewSha = S::NewSha; - type Meta = S::Meta; type Ref = Set; + type RepoDid = S::RepoDid; type CommitterDid = S::CommitterDid; type RepoName = S::RepoName; - type RepoDid = S::RepoDid; + type OldSha = S::OldSha; + type Meta = S::Meta; + } + ///State transition - sets the `repo_did` field to Set + pub struct SetRepoDid(PhantomData S>); + impl sealed::Sealed for SetRepoDid {} + impl State for SetRepoDid { + type NewSha = S::NewSha; + type Ref = S::Ref; + type RepoDid = Set; + type CommitterDid = S::CommitterDid; + type RepoName = S::RepoName; + type OldSha = S::OldSha; + type Meta = S::Meta; } ///State transition - sets the `committer_did` field to Set pub struct SetCommitterDid(PhantomData S>); impl sealed::Sealed for SetCommitterDid {} impl State for SetCommitterDid { - type OldSha = S::OldSha; type NewSha = S::NewSha; - type Meta = S::Meta; type Ref = S::Ref; + type RepoDid = S::RepoDid; type CommitterDid = Set; type RepoName = S::RepoName; - type RepoDid = S::RepoDid; + type OldSha = S::OldSha; + type Meta = S::Meta; } ///State transition - sets the `repo_name` field to Set pub struct SetRepoName(PhantomData S>); impl sealed::Sealed for SetRepoName {} impl State for SetRepoName { - type OldSha = S::OldSha; type NewSha = S::NewSha; - type Meta = S::Meta; type Ref = S::Ref; + type RepoDid = S::RepoDid; type CommitterDid = S::CommitterDid; type RepoName = Set; - type RepoDid = S::RepoDid; - } - ///State transition - sets the `repo_did` field to Set - pub struct SetRepoDid(PhantomData S>); - impl sealed::Sealed for SetRepoDid {} - impl State for SetRepoDid { type OldSha = S::OldSha; + type Meta = S::Meta; + } + ///State transition - sets the `old_sha` field to Set + pub struct SetOldSha(PhantomData S>); + impl sealed::Sealed for SetOldSha {} + impl State for SetOldSha { type NewSha = S::NewSha; + type Ref = S::Ref; + type RepoDid = S::RepoDid; + type CommitterDid = S::CommitterDid; + type RepoName = S::RepoName; + type OldSha = Set; type Meta = S::Meta; + } + ///State transition - sets the `meta` field to Set + pub struct SetMeta(PhantomData S>); + impl sealed::Sealed for SetMeta {} + impl State for SetMeta { + type NewSha = S::NewSha; type Ref = S::Ref; + type RepoDid = S::RepoDid; type CommitterDid = S::CommitterDid; type RepoName = S::RepoName; - type RepoDid = Set; + type OldSha = S::OldSha; + type Meta = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `old_sha` field - pub struct old_sha(()); ///Marker type for the `new_sha` field pub struct new_sha(()); - ///Marker type for the `meta` field - pub struct meta(()); ///Marker type for the `ref` field pub struct r#ref(()); + ///Marker type for the `repo_did` field + pub struct repo_did(()); ///Marker type for the `committer_did` field pub struct committer_did(()); ///Marker type for the `repo_name` field pub struct repo_name(()); - ///Marker type for the `repo_did` field - pub struct repo_did(()); + ///Marker type for the `old_sha` field + pub struct old_sha(()); + ///Marker type for the `meta` field + pub struct meta(()); } } @@ -1145,13 +1169,13 @@ where impl<'a, S> RefUpdateBuilder<'a, S> where S: ref_update_state::State, - S::OldSha: ref_update_state::IsSet, S::NewSha: ref_update_state::IsSet, - S::Meta: ref_update_state::IsSet, S::Ref: ref_update_state::IsSet, + S::RepoDid: ref_update_state::IsSet, S::CommitterDid: ref_update_state::IsSet, S::RepoName: ref_update_state::IsSet, - S::RepoDid: ref_update_state::IsSet, + S::OldSha: ref_update_state::IsSet, + S::Meta: ref_update_state::IsSet, { /// Build the final struct pub fn build(self) -> RefUpdate<'a> { @@ -1170,7 +1194,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> RefUpdate<'a> { @@ -1329,7 +1353,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for RefUpdate<'a> { { let value = &self.r#ref; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -1381,37 +1405,37 @@ pub mod meta_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type IsDefaultRef; type CommitCount; + type IsDefaultRef; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type IsDefaultRef = Unset; type CommitCount = Unset; - } - ///State transition - sets the `is_default_ref` field to Set - pub struct SetIsDefaultRef(PhantomData S>); - impl sealed::Sealed for SetIsDefaultRef {} - impl State for SetIsDefaultRef { - type IsDefaultRef = Set; - type CommitCount = S::CommitCount; + type IsDefaultRef = Unset; } ///State transition - sets the `commit_count` field to Set pub struct SetCommitCount(PhantomData S>); impl sealed::Sealed for SetCommitCount {} impl State for SetCommitCount { - type IsDefaultRef = S::IsDefaultRef; type CommitCount = Set; + type IsDefaultRef = S::IsDefaultRef; + } + ///State transition - sets the `is_default_ref` field to Set + pub struct SetIsDefaultRef(PhantomData S>); + impl sealed::Sealed for SetIsDefaultRef {} + impl State for SetIsDefaultRef { + type CommitCount = S::CommitCount; + type IsDefaultRef = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `is_default_ref` field - pub struct is_default_ref(()); ///Marker type for the `commit_count` field pub struct commit_count(()); + ///Marker type for the `is_default_ref` field + pub struct is_default_ref(()); } } @@ -1506,8 +1530,8 @@ impl<'a, S: meta_state::State> MetaBuilder<'a, S> { impl<'a, S> MetaBuilder<'a, S> where S: meta_state::State, - S::IsDefaultRef: meta_state::IsSet, S::CommitCount: meta_state::IsSet, + S::IsDefaultRef: meta_state::IsSet, { /// Build the final struct pub fn build(self) -> Meta<'a> { @@ -1522,7 +1546,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Meta<'a> { diff --git a/crates/jacquard-api/src/sh_tangled/graph/follow.rs b/crates/jacquard-api/src/sh_tangled/graph/follow.rs index 86c64bc66..7be8a56e8 100644 --- a/crates/jacquard-api/src/sh_tangled/graph/follow.rs +++ b/crates/jacquard-api/src/sh_tangled/graph/follow.rs @@ -150,7 +150,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Follow<'a> { @@ -251,7 +251,7 @@ fn lexicon_doc_sh_tangled_graph_follow() -> ::jacquard_lexicon::lexicon::Lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -259,8 +259,8 @@ fn lexicon_doc_sh_tangled_graph_follow() -> ::jacquard_lexicon::lexicon::Lexicon description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -268,7 +268,7 @@ fn lexicon_doc_sh_tangled_graph_follow() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -287,7 +287,9 @@ fn lexicon_doc_sh_tangled_graph_follow() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( diff --git a/crates/jacquard-api/src/sh_tangled/knot.rs b/crates/jacquard-api/src/sh_tangled/knot.rs index 4dd94edbb..594fd9a54 100644 --- a/crates/jacquard-api/src/sh_tangled/knot.rs +++ b/crates/jacquard-api/src/sh_tangled/knot.rs @@ -118,7 +118,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Knot<'a> { @@ -216,7 +216,7 @@ fn lexicon_doc_sh_tangled_knot() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("any")), @@ -224,7 +224,7 @@ fn lexicon_doc_sh_tangled_knot() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -232,7 +232,7 @@ fn lexicon_doc_sh_tangled_knot() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { 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 4de1ec083..a400df1c6 100644 --- a/crates/jacquard-api/src/sh_tangled/knot/list_keys.rs +++ b/crates/jacquard-api/src/sh_tangled/knot/list_keys.rs @@ -227,50 +227,50 @@ pub mod public_key_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Did; - type Key; type CreatedAt; + type Key; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Did = Unset; - type Key = Unset; type CreatedAt = Unset; + type Key = Unset; } ///State transition - sets the `did` field to Set pub struct SetDid(PhantomData S>); impl sealed::Sealed for SetDid {} impl State for SetDid { type Did = Set; - type Key = S::Key; - type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `key` field to Set - pub struct SetKey(PhantomData S>); - impl sealed::Sealed for SetKey {} - impl State for SetKey { - type Did = S::Did; - type Key = Set; type CreatedAt = S::CreatedAt; + type Key = S::Key; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { type Did = S::Did; - type Key = S::Key; type CreatedAt = Set; + type Key = S::Key; + } + ///State transition - sets the `key` field to Set + pub struct SetKey(PhantomData S>); + impl sealed::Sealed for SetKey {} + impl State for SetKey { + type Did = S::Did; + type CreatedAt = S::CreatedAt; + type Key = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `did` field pub struct did(()); - ///Marker type for the `key` field - pub struct key(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `key` field + pub struct key(()); } } @@ -364,8 +364,8 @@ impl<'a, S> PublicKeyBuilder<'a, S> where S: public_key_state::State, S::Did: public_key_state::IsSet, - S::Key: public_key_state::IsSet, S::CreatedAt: public_key_state::IsSet, + S::Key: public_key_state::IsSet, { /// Build the final struct pub fn build(self) -> PublicKey<'a> { @@ -380,7 +380,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> PublicKey<'a> { @@ -404,7 +404,7 @@ fn lexicon_doc_sh_tangled_knot_listKeys() -> ::jacquard_lexicon::lexicon::Lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcQuery(::jacquard_lexicon::lexicon::LexXrpcQuery { description: None, parameters: Some( @@ -415,7 +415,9 @@ fn lexicon_doc_sh_tangled_knot_listKeys() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cursor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cursor", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Pagination cursor"), @@ -432,7 +434,9 @@ fn lexicon_doc_sh_tangled_knot_listKeys() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("limit"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "limit", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -451,14 +455,14 @@ fn lexicon_doc_sh_tangled_knot_listKeys() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("publicKey"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("publicKey"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("did"), - ::jacquard_common::smol_str::SmolStr::new_static("key"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("key"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -466,7 +470,7 @@ fn lexicon_doc_sh_tangled_knot_listKeys() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -489,7 +493,9 @@ fn lexicon_doc_sh_tangled_knot_listKeys() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -510,7 +516,9 @@ fn lexicon_doc_sh_tangled_knot_listKeys() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("key"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "key", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Public key contents"), diff --git a/crates/jacquard-api/src/sh_tangled/knot/member.rs b/crates/jacquard-api/src/sh_tangled/knot/member.rs index 55859b26d..ed36c9005 100644 --- a/crates/jacquard-api/src/sh_tangled/knot/member.rs +++ b/crates/jacquard-api/src/sh_tangled/knot/member.rs @@ -35,49 +35,49 @@ pub mod member_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type Domain; + type CreatedAt; type Subject; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type Domain = Unset; + type CreatedAt = Unset; type Subject = Unset; } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Domain = S::Domain; - type Subject = S::Subject; - } ///State transition - sets the `domain` field to Set pub struct SetDomain(PhantomData S>); impl sealed::Sealed for SetDomain {} impl State for SetDomain { - type CreatedAt = S::CreatedAt; type Domain = Set; + type CreatedAt = S::CreatedAt; + type Subject = S::Subject; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Domain = S::Domain; + type CreatedAt = Set; type Subject = S::Subject; } ///State transition - sets the `subject` field to Set pub struct SetSubject(PhantomData S>); impl sealed::Sealed for SetSubject {} impl State for SetSubject { - type CreatedAt = S::CreatedAt; type Domain = S::Domain; + type CreatedAt = S::CreatedAt; type Subject = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `domain` field pub struct domain(()); + ///Marker type for the `created_at` field + pub struct created_at(()); ///Marker type for the `subject` field pub struct subject(()); } @@ -172,8 +172,8 @@ where impl<'a, S> MemberBuilder<'a, S> where S: member_state::State, - S::CreatedAt: member_state::IsSet, S::Domain: member_state::IsSet, + S::CreatedAt: member_state::IsSet, S::Subject: member_state::IsSet, { /// Build the final struct @@ -189,7 +189,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Member<'a> { @@ -291,7 +291,7 @@ fn lexicon_doc_sh_tangled_knot_member() -> ::jacquard_lexicon::lexicon::LexiconD defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -299,9 +299,9 @@ fn lexicon_doc_sh_tangled_knot_member() -> ::jacquard_lexicon::lexicon::LexiconD description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("domain"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("domain"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -309,7 +309,7 @@ fn lexicon_doc_sh_tangled_knot_member() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -328,7 +328,9 @@ fn lexicon_doc_sh_tangled_knot_member() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("domain"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "domain", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -347,7 +349,9 @@ fn lexicon_doc_sh_tangled_knot_member() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( diff --git a/crates/jacquard-api/src/sh_tangled/label/definition.rs b/crates/jacquard-api/src/sh_tangled/label/definition.rs index 31de8b80e..c6ccf7f52 100644 --- a/crates/jacquard-api/src/sh_tangled/label/definition.rs +++ b/crates/jacquard-api/src/sh_tangled/label/definition.rs @@ -47,66 +47,66 @@ pub mod definition_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type ValueType; - type Scope; - type Name; type CreatedAt; + type Name; + type Scope; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type ValueType = Unset; - type Scope = Unset; - type Name = Unset; type CreatedAt = Unset; + type Name = Unset; + type Scope = Unset; } ///State transition - sets the `value_type` field to Set pub struct SetValueType(PhantomData S>); impl sealed::Sealed for SetValueType {} impl State for SetValueType { type ValueType = Set; - type Scope = S::Scope; - type Name = S::Name; type CreatedAt = S::CreatedAt; + type Name = S::Name; + type Scope = S::Scope; } - ///State transition - sets the `scope` field to Set - pub struct SetScope(PhantomData S>); - impl sealed::Sealed for SetScope {} - impl State for SetScope { + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { type ValueType = S::ValueType; - type Scope = Set; + type CreatedAt = Set; type Name = S::Name; - type CreatedAt = S::CreatedAt; + type Scope = S::Scope; } ///State transition - sets the `name` field to Set pub struct SetName(PhantomData S>); impl sealed::Sealed for SetName {} impl State for SetName { type ValueType = S::ValueType; - type Scope = S::Scope; - type Name = Set; type CreatedAt = S::CreatedAt; + type Name = Set; + type Scope = S::Scope; } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { + ///State transition - sets the `scope` field to Set + pub struct SetScope(PhantomData S>); + impl sealed::Sealed for SetScope {} + impl State for SetScope { type ValueType = S::ValueType; - type Scope = S::Scope; + type CreatedAt = S::CreatedAt; type Name = S::Name; - type CreatedAt = Set; + type Scope = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `value_type` field pub struct value_type(()); - ///Marker type for the `scope` field - pub struct scope(()); - ///Marker type for the `name` field - pub struct name(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `name` field + pub struct name(()); + ///Marker type for the `scope` field + pub struct scope(()); } } @@ -251,9 +251,9 @@ impl<'a, S> DefinitionBuilder<'a, S> where S: definition_state::State, S::ValueType: definition_state::IsSet, - S::Scope: definition_state::IsSet, - S::Name: definition_state::IsSet, S::CreatedAt: definition_state::IsSet, + S::Name: definition_state::IsSet, + S::Scope: definition_state::IsSet, { /// Build the final struct pub fn build(self) -> Definition<'a> { @@ -271,7 +271,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Definition<'a> { @@ -364,7 +364,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Definition<'a> { { let value = &self.name; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -383,7 +383,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Definition<'a> { { let value = &self.name; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -414,7 +414,7 @@ fn lexicon_doc_sh_tangled_label_definition() -> ::jacquard_lexicon::lexicon::Lex defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("any")), @@ -422,10 +422,10 @@ fn lexicon_doc_sh_tangled_label_definition() -> ::jacquard_lexicon::lexicon::Lex description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("valueType"), - ::jacquard_common::smol_str::SmolStr::new_static("scope"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("valueType"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("scope"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -433,7 +433,9 @@ fn lexicon_doc_sh_tangled_label_definition() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("color"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "color", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -452,7 +454,7 @@ fn lexicon_doc_sh_tangled_label_definition() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -471,7 +473,7 @@ fn lexicon_doc_sh_tangled_label_definition() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "multiple", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -481,7 +483,9 @@ fn lexicon_doc_sh_tangled_label_definition() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -500,7 +504,9 @@ fn lexicon_doc_sh_tangled_label_definition() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("scope"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "scope", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -526,7 +532,7 @@ fn lexicon_doc_sh_tangled_label_definition() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "valueType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -540,13 +546,13 @@ fn lexicon_doc_sh_tangled_label_definition() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("valueType"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("valueType"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("type"), - ::jacquard_common::smol_str::SmolStr::new_static("format") + ::jacquard_common::deps::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("format") ], ), nullable: None, @@ -554,7 +560,9 @@ fn lexicon_doc_sh_tangled_label_definition() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("enum"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "enum", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -578,7 +586,9 @@ fn lexicon_doc_sh_tangled_label_definition() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("format"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "format", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -597,7 +607,9 @@ fn lexicon_doc_sh_tangled_label_definition() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "type", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/sh_tangled/label/op.rs b/crates/jacquard-api/src/sh_tangled/label/op.rs index a93888eb4..82a8b5d75 100644 --- a/crates/jacquard-api/src/sh_tangled/label/op.rs +++ b/crates/jacquard-api/src/sh_tangled/label/op.rs @@ -37,67 +37,67 @@ pub mod op_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Subject; type Add; - type PerformedAt; + type Subject; type Delete; + type PerformedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Subject = Unset; type Add = Unset; - type PerformedAt = Unset; + type Subject = Unset; type Delete = Unset; - } - ///State transition - sets the `subject` field to Set - pub struct SetSubject(PhantomData S>); - impl sealed::Sealed for SetSubject {} - impl State for SetSubject { - type Subject = Set; - type Add = S::Add; - type PerformedAt = S::PerformedAt; - type Delete = S::Delete; + type PerformedAt = Unset; } ///State transition - sets the `add` field to Set pub struct SetAdd(PhantomData S>); impl sealed::Sealed for SetAdd {} impl State for SetAdd { - type Subject = S::Subject; type Add = Set; - type PerformedAt = S::PerformedAt; + type Subject = S::Subject; type Delete = S::Delete; + type PerformedAt = S::PerformedAt; } - ///State transition - sets the `performed_at` field to Set - pub struct SetPerformedAt(PhantomData S>); - impl sealed::Sealed for SetPerformedAt {} - impl State for SetPerformedAt { - type Subject = S::Subject; + ///State transition - sets the `subject` field to Set + pub struct SetSubject(PhantomData S>); + impl sealed::Sealed for SetSubject {} + impl State for SetSubject { type Add = S::Add; - type PerformedAt = Set; + type Subject = Set; type Delete = S::Delete; + type PerformedAt = S::PerformedAt; } ///State transition - sets the `delete` field to Set pub struct SetDelete(PhantomData S>); impl sealed::Sealed for SetDelete {} impl State for SetDelete { - type Subject = S::Subject; type Add = S::Add; - type PerformedAt = S::PerformedAt; + type Subject = S::Subject; type Delete = Set; + type PerformedAt = S::PerformedAt; + } + ///State transition - sets the `performed_at` field to Set + pub struct SetPerformedAt(PhantomData S>); + impl sealed::Sealed for SetPerformedAt {} + impl State for SetPerformedAt { + type Add = S::Add; + type Subject = S::Subject; + type Delete = S::Delete; + type PerformedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `subject` field - pub struct subject(()); ///Marker type for the `add` field pub struct add(()); - ///Marker type for the `performed_at` field - pub struct performed_at(()); + ///Marker type for the `subject` field + pub struct subject(()); ///Marker type for the `delete` field pub struct delete(()); + ///Marker type for the `performed_at` field + pub struct performed_at(()); } } @@ -210,10 +210,10 @@ where impl<'a, S> OpBuilder<'a, S> where S: op_state::State, - S::Subject: op_state::IsSet, S::Add: op_state::IsSet, - S::PerformedAt: op_state::IsSet, + S::Subject: op_state::IsSet, S::Delete: op_state::IsSet, + S::PerformedAt: op_state::IsSet, { /// Build the final struct pub fn build(self) -> Op<'a> { @@ -229,7 +229,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Op<'a> { @@ -332,7 +332,7 @@ fn lexicon_doc_sh_tangled_label_op() -> ::jacquard_lexicon::lexicon::LexiconDoc< defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -340,10 +340,10 @@ fn lexicon_doc_sh_tangled_label_op() -> ::jacquard_lexicon::lexicon::LexiconDoc< description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("add"), - ::jacquard_common::smol_str::SmolStr::new_static("delete"), - ::jacquard_common::smol_str::SmolStr::new_static("performedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("add"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("delete"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("performedAt") ], ), nullable: None, @@ -351,7 +351,9 @@ fn lexicon_doc_sh_tangled_label_op() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("add"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "add", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -363,7 +365,9 @@ fn lexicon_doc_sh_tangled_label_op() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("delete"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "delete", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -375,7 +379,7 @@ fn lexicon_doc_sh_tangled_label_op() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "performedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -394,7 +398,9 @@ fn lexicon_doc_sh_tangled_label_op() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -420,13 +426,13 @@ fn lexicon_doc_sh_tangled_label_op() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("operand"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("operand"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("key"), - ::jacquard_common::smol_str::SmolStr::new_static("value") + ::jacquard_common::deps::smol_str::SmolStr::new_static("key"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("value") ], ), nullable: None, @@ -434,7 +440,9 @@ fn lexicon_doc_sh_tangled_label_op() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("key"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "key", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -455,7 +463,9 @@ fn lexicon_doc_sh_tangled_label_op() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("value"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "value", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -512,37 +522,37 @@ pub mod operand_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Key; type Value; + type Key; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Key = Unset; type Value = Unset; - } - ///State transition - sets the `key` field to Set - pub struct SetKey(PhantomData S>); - impl sealed::Sealed for SetKey {} - impl State for SetKey { - type Key = Set; - type Value = S::Value; + type Key = Unset; } ///State transition - sets the `value` field to Set pub struct SetValue(PhantomData S>); impl sealed::Sealed for SetValue {} impl State for SetValue { - type Key = S::Key; type Value = Set; + type Key = S::Key; + } + ///State transition - sets the `key` field to Set + pub struct SetKey(PhantomData S>); + impl sealed::Sealed for SetKey {} + impl State for SetKey { + type Value = S::Value; + type Key = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `key` field - pub struct key(()); ///Marker type for the `value` field pub struct value(()); + ///Marker type for the `key` field + pub struct key(()); } } @@ -615,8 +625,8 @@ where impl<'a, S> OperandBuilder<'a, S> where S: operand_state::State, - S::Key: operand_state::IsSet, S::Value: operand_state::IsSet, + S::Key: operand_state::IsSet, { /// Build the final struct pub fn build(self) -> Operand<'a> { @@ -630,7 +640,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Operand<'a> { diff --git a/crates/jacquard-api/src/sh_tangled/pipeline.rs b/crates/jacquard-api/src/sh_tangled/pipeline.rs index 303e19e39..2fd4ea6a7 100644 --- a/crates/jacquard-api/src/sh_tangled/pipeline.rs +++ b/crates/jacquard-api/src/sh_tangled/pipeline.rs @@ -35,49 +35,49 @@ pub mod clone_opts_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Depth; type Skip; + type Depth; type Submodules; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Depth = Unset; type Skip = Unset; + type Depth = Unset; type Submodules = Unset; } - ///State transition - sets the `depth` field to Set - pub struct SetDepth(PhantomData S>); - impl sealed::Sealed for SetDepth {} - impl State for SetDepth { - type Depth = Set; - type Skip = S::Skip; - type Submodules = S::Submodules; - } ///State transition - sets the `skip` field to Set pub struct SetSkip(PhantomData S>); impl sealed::Sealed for SetSkip {} impl State for SetSkip { - type Depth = S::Depth; type Skip = Set; + type Depth = S::Depth; + type Submodules = S::Submodules; + } + ///State transition - sets the `depth` field to Set + pub struct SetDepth(PhantomData S>); + impl sealed::Sealed for SetDepth {} + impl State for SetDepth { + type Skip = S::Skip; + type Depth = Set; type Submodules = S::Submodules; } ///State transition - sets the `submodules` field to Set pub struct SetSubmodules(PhantomData S>); impl sealed::Sealed for SetSubmodules {} impl State for SetSubmodules { - type Depth = S::Depth; type Skip = S::Skip; + type Depth = S::Depth; type Submodules = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `depth` field - pub struct depth(()); ///Marker type for the `skip` field pub struct skip(()); + ///Marker type for the `depth` field + pub struct depth(()); ///Marker type for the `submodules` field pub struct submodules(()); } @@ -172,8 +172,8 @@ where impl<'a, S> CloneOptsBuilder<'a, S> where S: clone_opts_state::State, - S::Depth: clone_opts_state::IsSet, S::Skip: clone_opts_state::IsSet, + S::Depth: clone_opts_state::IsSet, S::Submodules: clone_opts_state::IsSet, { /// Build the final struct @@ -189,7 +189,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> CloneOpts<'a> { @@ -213,14 +213,14 @@ fn lexicon_doc_sh_tangled_pipeline() -> ::jacquard_lexicon::lexicon::LexiconDoc< defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cloneOpts"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cloneOpts"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("skip"), - ::jacquard_common::smol_str::SmolStr::new_static("depth"), - ::jacquard_common::smol_str::SmolStr::new_static("submodules") + ::jacquard_common::deps::smol_str::SmolStr::new_static("skip"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("depth"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("submodules") ], ), nullable: None, @@ -228,7 +228,9 @@ fn lexicon_doc_sh_tangled_pipeline() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("depth"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "depth", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -239,7 +241,9 @@ fn lexicon_doc_sh_tangled_pipeline() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("skip"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "skip", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -247,7 +251,7 @@ fn lexicon_doc_sh_tangled_pipeline() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "submodules", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -261,7 +265,7 @@ fn lexicon_doc_sh_tangled_pipeline() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -269,8 +273,8 @@ fn lexicon_doc_sh_tangled_pipeline() -> ::jacquard_lexicon::lexicon::LexiconDoc< description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("triggerMetadata"), - ::jacquard_common::smol_str::SmolStr::new_static("workflows") + ::jacquard_common::deps::smol_str::SmolStr::new_static("triggerMetadata"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("workflows") ], ), nullable: None, @@ -278,7 +282,7 @@ fn lexicon_doc_sh_tangled_pipeline() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "triggerMetadata", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -289,7 +293,7 @@ fn lexicon_doc_sh_tangled_pipeline() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "workflows", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -308,7 +312,9 @@ fn lexicon_doc_sh_tangled_pipeline() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("manualTriggerData"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "manualTriggerData", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -317,7 +323,9 @@ fn lexicon_doc_sh_tangled_pipeline() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("inputs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "inputs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -333,13 +341,13 @@ fn lexicon_doc_sh_tangled_pipeline() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("pair"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("pair"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("key"), - ::jacquard_common::smol_str::SmolStr::new_static("value") + ::jacquard_common::deps::smol_str::SmolStr::new_static("key"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("value") ], ), nullable: None, @@ -347,7 +355,9 @@ fn lexicon_doc_sh_tangled_pipeline() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("key"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "key", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -362,7 +372,9 @@ fn lexicon_doc_sh_tangled_pipeline() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("value"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "value", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -381,17 +393,17 @@ fn lexicon_doc_sh_tangled_pipeline() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "pullRequestTriggerData", ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("sourceBranch"), - ::jacquard_common::smol_str::SmolStr::new_static("targetBranch"), - ::jacquard_common::smol_str::SmolStr::new_static("sourceSha"), - ::jacquard_common::smol_str::SmolStr::new_static("action") + ::jacquard_common::deps::smol_str::SmolStr::new_static("sourceBranch"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("targetBranch"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("sourceSha"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("action") ], ), nullable: None, @@ -399,7 +411,9 @@ fn lexicon_doc_sh_tangled_pipeline() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("action"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "action", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -414,7 +428,7 @@ fn lexicon_doc_sh_tangled_pipeline() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sourceBranch", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -431,7 +445,7 @@ fn lexicon_doc_sh_tangled_pipeline() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sourceSha", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -448,7 +462,7 @@ fn lexicon_doc_sh_tangled_pipeline() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "targetBranch", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -469,14 +483,16 @@ fn lexicon_doc_sh_tangled_pipeline() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("pushTriggerData"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "pushTriggerData", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("ref"), - ::jacquard_common::smol_str::SmolStr::new_static("newSha"), - ::jacquard_common::smol_str::SmolStr::new_static("oldSha") + ::jacquard_common::deps::smol_str::SmolStr::new_static("ref"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("newSha"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("oldSha") ], ), nullable: None, @@ -484,7 +500,9 @@ fn lexicon_doc_sh_tangled_pipeline() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("newSha"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "newSha", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -499,7 +517,9 @@ fn lexicon_doc_sh_tangled_pipeline() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("oldSha"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "oldSha", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -514,7 +534,9 @@ fn lexicon_doc_sh_tangled_pipeline() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("ref"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "ref", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -533,13 +555,15 @@ fn lexicon_doc_sh_tangled_pipeline() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("triggerMetadata"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "triggerMetadata", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("kind"), - ::jacquard_common::smol_str::SmolStr::new_static("repo") + ::jacquard_common::deps::smol_str::SmolStr::new_static("kind"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("repo") ], ), nullable: None, @@ -547,7 +571,9 @@ fn lexicon_doc_sh_tangled_pipeline() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("kind"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "kind", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -562,7 +588,9 @@ fn lexicon_doc_sh_tangled_pipeline() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("manual"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "manual", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -571,7 +599,7 @@ fn lexicon_doc_sh_tangled_pipeline() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "pullRequest", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -582,7 +610,9 @@ fn lexicon_doc_sh_tangled_pipeline() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("push"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "push", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -591,7 +621,9 @@ fn lexicon_doc_sh_tangled_pipeline() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("repo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "repo", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#triggerRepo"), @@ -602,15 +634,15 @@ fn lexicon_doc_sh_tangled_pipeline() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("triggerRepo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("triggerRepo"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("knot"), - ::jacquard_common::smol_str::SmolStr::new_static("did"), - ::jacquard_common::smol_str::SmolStr::new_static("repo"), - ::jacquard_common::smol_str::SmolStr::new_static("defaultBranch") + ::jacquard_common::deps::smol_str::SmolStr::new_static("knot"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("repo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("defaultBranch") ], ), nullable: None, @@ -618,7 +650,7 @@ fn lexicon_doc_sh_tangled_pipeline() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "defaultBranch", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -635,7 +667,9 @@ fn lexicon_doc_sh_tangled_pipeline() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -652,7 +686,9 @@ fn lexicon_doc_sh_tangled_pipeline() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("knot"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "knot", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -667,7 +703,9 @@ fn lexicon_doc_sh_tangled_pipeline() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("repo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "repo", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -686,15 +724,15 @@ fn lexicon_doc_sh_tangled_pipeline() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("workflow"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("workflow"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("engine"), - ::jacquard_common::smol_str::SmolStr::new_static("clone"), - ::jacquard_common::smol_str::SmolStr::new_static("raw") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("engine"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("clone"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("raw") ], ), nullable: None, @@ -702,14 +740,18 @@ fn lexicon_doc_sh_tangled_pipeline() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("clone"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "clone", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#cloneOpts"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("engine"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "engine", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -724,7 +766,9 @@ fn lexicon_doc_sh_tangled_pipeline() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -739,7 +783,9 @@ fn lexicon_doc_sh_tangled_pipeline() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("raw"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "raw", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -807,37 +853,37 @@ pub mod pipeline_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Workflows; type TriggerMetadata; + type Workflows; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Workflows = Unset; type TriggerMetadata = Unset; - } - ///State transition - sets the `workflows` field to Set - pub struct SetWorkflows(PhantomData S>); - impl sealed::Sealed for SetWorkflows {} - impl State for SetWorkflows { - type Workflows = Set; - type TriggerMetadata = S::TriggerMetadata; + type Workflows = Unset; } ///State transition - sets the `trigger_metadata` field to Set pub struct SetTriggerMetadata(PhantomData S>); impl sealed::Sealed for SetTriggerMetadata {} impl State for SetTriggerMetadata { - type Workflows = S::Workflows; type TriggerMetadata = Set; + type Workflows = S::Workflows; + } + ///State transition - sets the `workflows` field to Set + pub struct SetWorkflows(PhantomData S>); + impl sealed::Sealed for SetWorkflows {} + impl State for SetWorkflows { + type TriggerMetadata = S::TriggerMetadata; + type Workflows = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `workflows` field - pub struct workflows(()); ///Marker type for the `trigger_metadata` field pub struct trigger_metadata(()); + ///Marker type for the `workflows` field + pub struct workflows(()); } } @@ -910,8 +956,8 @@ where impl<'a, S> PipelineBuilder<'a, S> where S: pipeline_state::State, - S::Workflows: pipeline_state::IsSet, S::TriggerMetadata: pipeline_state::IsSet, + S::Workflows: pipeline_state::IsSet, { /// Build the final struct pub fn build(self) -> Pipeline<'a> { @@ -925,7 +971,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Pipeline<'a> { @@ -1462,7 +1508,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> TriggerMetadata<'a> { @@ -1526,67 +1572,67 @@ pub mod trigger_repo_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type DefaultBranch; - type Did; type Knot; + type DefaultBranch; type Repo; + type Did; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type DefaultBranch = Unset; - type Did = Unset; type Knot = Unset; + type DefaultBranch = Unset; type Repo = Unset; - } - ///State transition - sets the `default_branch` field to Set - pub struct SetDefaultBranch(PhantomData S>); - impl sealed::Sealed for SetDefaultBranch {} - impl State for SetDefaultBranch { - type DefaultBranch = Set; - type Did = S::Did; - type Knot = S::Knot; - type Repo = S::Repo; - } - ///State transition - sets the `did` field to Set - pub struct SetDid(PhantomData S>); - impl sealed::Sealed for SetDid {} - impl State for SetDid { - type DefaultBranch = S::DefaultBranch; - type Did = Set; - type Knot = S::Knot; - type Repo = S::Repo; + type Did = Unset; } ///State transition - sets the `knot` field to Set pub struct SetKnot(PhantomData S>); impl sealed::Sealed for SetKnot {} impl State for SetKnot { + type Knot = Set; type DefaultBranch = S::DefaultBranch; + type Repo = S::Repo; type Did = S::Did; - type Knot = Set; + } + ///State transition - sets the `default_branch` field to Set + pub struct SetDefaultBranch(PhantomData S>); + impl sealed::Sealed for SetDefaultBranch {} + impl State for SetDefaultBranch { + type Knot = S::Knot; + type DefaultBranch = Set; type Repo = S::Repo; + type Did = S::Did; } ///State transition - sets the `repo` field to Set pub struct SetRepo(PhantomData S>); impl sealed::Sealed for SetRepo {} impl State for SetRepo { + type Knot = S::Knot; type DefaultBranch = S::DefaultBranch; + type Repo = Set; type Did = S::Did; + } + ///State transition - sets the `did` field to Set + pub struct SetDid(PhantomData S>); + impl sealed::Sealed for SetDid {} + impl State for SetDid { type Knot = S::Knot; - type Repo = Set; + type DefaultBranch = S::DefaultBranch; + type Repo = S::Repo; + type Did = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `default_branch` field - pub struct default_branch(()); - ///Marker type for the `did` field - pub struct did(()); ///Marker type for the `knot` field pub struct knot(()); + ///Marker type for the `default_branch` field + pub struct default_branch(()); ///Marker type for the `repo` field pub struct repo(()); + ///Marker type for the `did` field + pub struct did(()); } } @@ -1699,10 +1745,10 @@ where impl<'a, S> TriggerRepoBuilder<'a, S> where S: trigger_repo_state::State, - S::DefaultBranch: trigger_repo_state::IsSet, - S::Did: trigger_repo_state::IsSet, S::Knot: trigger_repo_state::IsSet, + S::DefaultBranch: trigger_repo_state::IsSet, S::Repo: trigger_repo_state::IsSet, + S::Did: trigger_repo_state::IsSet, { /// Build the final struct pub fn build(self) -> TriggerRepo<'a> { @@ -1718,7 +1764,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> TriggerRepo<'a> { @@ -1781,67 +1827,67 @@ pub mod workflow_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Raw; type Name; type Clone; type Engine; - type Raw; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Raw = Unset; type Name = Unset; type Clone = Unset; type Engine = Unset; - type Raw = Unset; + } + ///State transition - sets the `raw` field to Set + pub struct SetRaw(PhantomData S>); + impl sealed::Sealed for SetRaw {} + impl State for SetRaw { + type Raw = Set; + type Name = S::Name; + type Clone = S::Clone; + type Engine = S::Engine; } ///State transition - sets the `name` field to Set pub struct SetName(PhantomData S>); impl sealed::Sealed for SetName {} impl State for SetName { + type Raw = S::Raw; type Name = Set; type Clone = S::Clone; type Engine = S::Engine; - type Raw = S::Raw; } ///State transition - sets the `clone` field to Set pub struct SetClone(PhantomData S>); impl sealed::Sealed for SetClone {} impl State for SetClone { + type Raw = S::Raw; type Name = S::Name; type Clone = Set; type Engine = S::Engine; - type Raw = S::Raw; } ///State transition - sets the `engine` field to Set pub struct SetEngine(PhantomData S>); impl sealed::Sealed for SetEngine {} impl State for SetEngine { - type Name = S::Name; - type Clone = S::Clone; - type Engine = Set; type Raw = S::Raw; - } - ///State transition - sets the `raw` field to Set - pub struct SetRaw(PhantomData S>); - impl sealed::Sealed for SetRaw {} - impl State for SetRaw { type Name = S::Name; type Clone = S::Clone; - type Engine = S::Engine; - type Raw = Set; + type Engine = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `raw` field + pub struct raw(()); ///Marker type for the `name` field pub struct name(()); ///Marker type for the `clone` field pub struct clone(()); ///Marker type for the `engine` field pub struct engine(()); - ///Marker type for the `raw` field - pub struct raw(()); } } @@ -1954,10 +2000,10 @@ where impl<'a, S> WorkflowBuilder<'a, S> where S: workflow_state::State, + S::Raw: workflow_state::IsSet, S::Name: workflow_state::IsSet, S::Clone: workflow_state::IsSet, S::Engine: workflow_state::IsSet, - S::Raw: workflow_state::IsSet, { /// Build the final struct pub fn build(self) -> Workflow<'a> { @@ -1973,7 +2019,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Workflow<'a> { 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 ce9fdfac0..7acd5150c 100644 --- a/crates/jacquard-api/src/sh_tangled/pipeline/cancel_pipeline.rs +++ b/crates/jacquard-api/src/sh_tangled/pipeline/cancel_pipeline.rs @@ -38,49 +38,49 @@ pub mod cancel_pipeline_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Repo; type Pipeline; + type Repo; type Workflow; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Repo = Unset; type Pipeline = Unset; + type Repo = Unset; type Workflow = Unset; } - ///State transition - sets the `repo` field to Set - pub struct SetRepo(PhantomData S>); - impl sealed::Sealed for SetRepo {} - impl State for SetRepo { - type Repo = Set; - type Pipeline = S::Pipeline; - type Workflow = S::Workflow; - } ///State transition - sets the `pipeline` field to Set pub struct SetPipeline(PhantomData S>); impl sealed::Sealed for SetPipeline {} impl State for SetPipeline { - type Repo = S::Repo; type Pipeline = Set; + type Repo = S::Repo; + type Workflow = S::Workflow; + } + ///State transition - sets the `repo` field to Set + pub struct SetRepo(PhantomData S>); + impl sealed::Sealed for SetRepo {} + impl State for SetRepo { + type Pipeline = S::Pipeline; + type Repo = Set; type Workflow = S::Workflow; } ///State transition - sets the `workflow` field to Set pub struct SetWorkflow(PhantomData S>); impl sealed::Sealed for SetWorkflow {} impl State for SetWorkflow { - type Repo = S::Repo; type Pipeline = S::Pipeline; + type Repo = S::Repo; type Workflow = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `repo` field - pub struct repo(()); ///Marker type for the `pipeline` field pub struct pipeline(()); + ///Marker type for the `repo` field + pub struct repo(()); ///Marker type for the `workflow` field pub struct workflow(()); } @@ -175,8 +175,8 @@ where impl<'a, S> CancelPipelineBuilder<'a, S> where S: cancel_pipeline_state::State, - S::Repo: cancel_pipeline_state::IsSet, S::Pipeline: cancel_pipeline_state::IsSet, + S::Repo: cancel_pipeline_state::IsSet, S::Workflow: cancel_pipeline_state::IsSet, { /// Build the final struct @@ -192,7 +192,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> CancelPipeline<'a> { diff --git a/crates/jacquard-api/src/sh_tangled/pipeline/status.rs b/crates/jacquard-api/src/sh_tangled/pipeline/status.rs index 77128c704..e0dd94558 100644 --- a/crates/jacquard-api/src/sh_tangled/pipeline/status.rs +++ b/crates/jacquard-api/src/sh_tangled/pipeline/status.rs @@ -48,66 +48,66 @@ pub mod status_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Pipeline; - type CreatedAt; type Status; type Workflow; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Pipeline = Unset; - type CreatedAt = Unset; type Status = Unset; type Workflow = Unset; + type CreatedAt = Unset; } ///State transition - sets the `pipeline` field to Set pub struct SetPipeline(PhantomData S>); impl sealed::Sealed for SetPipeline {} impl State for SetPipeline { type Pipeline = Set; - type CreatedAt = S::CreatedAt; - type Status = S::Status; - type Workflow = S::Workflow; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type Pipeline = S::Pipeline; - type CreatedAt = Set; type Status = S::Status; type Workflow = S::Workflow; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `status` field to Set pub struct SetStatus(PhantomData S>); impl sealed::Sealed for SetStatus {} impl State for SetStatus { type Pipeline = S::Pipeline; - type CreatedAt = S::CreatedAt; type Status = Set; type Workflow = S::Workflow; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `workflow` field to Set pub struct SetWorkflow(PhantomData S>); impl sealed::Sealed for SetWorkflow {} impl State for SetWorkflow { type Pipeline = S::Pipeline; - type CreatedAt = S::CreatedAt; type Status = S::Status; type Workflow = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Pipeline = S::Pipeline; + type Status = S::Status; + type Workflow = S::Workflow; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `pipeline` field pub struct pipeline(()); - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `status` field pub struct status(()); ///Marker type for the `workflow` field pub struct workflow(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -252,9 +252,9 @@ impl<'a, S> StatusBuilder<'a, S> where S: status_state::State, S::Pipeline: status_state::IsSet, - S::CreatedAt: status_state::IsSet, S::Status: status_state::IsSet, S::Workflow: status_state::IsSet, + S::CreatedAt: status_state::IsSet, { /// Build the final struct pub fn build(self) -> Status<'a> { @@ -272,7 +272,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Status<'a> { @@ -377,7 +377,7 @@ fn lexicon_doc_sh_tangled_pipeline_status() -> ::jacquard_lexicon::lexicon::Lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -385,10 +385,10 @@ fn lexicon_doc_sh_tangled_pipeline_status() -> ::jacquard_lexicon::lexicon::Lexi description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("pipeline"), - ::jacquard_common::smol_str::SmolStr::new_static("workflow"), - ::jacquard_common::smol_str::SmolStr::new_static("status"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("pipeline"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("workflow"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("status"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -396,7 +396,7 @@ fn lexicon_doc_sh_tangled_pipeline_status() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -419,7 +419,9 @@ fn lexicon_doc_sh_tangled_pipeline_status() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("error"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "error", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -438,7 +440,7 @@ fn lexicon_doc_sh_tangled_pipeline_status() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "exitCode", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -451,7 +453,7 @@ fn lexicon_doc_sh_tangled_pipeline_status() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "pipeline", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -474,7 +476,9 @@ fn lexicon_doc_sh_tangled_pipeline_status() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("status"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "status", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -493,7 +497,7 @@ fn lexicon_doc_sh_tangled_pipeline_status() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "workflow", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/sh_tangled/public_key.rs b/crates/jacquard-api/src/sh_tangled/public_key.rs index 7eec04ff5..1adbe430e 100644 --- a/crates/jacquard-api/src/sh_tangled/public_key.rs +++ b/crates/jacquard-api/src/sh_tangled/public_key.rs @@ -37,49 +37,49 @@ pub mod public_key_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Name; type Key; + type Name; type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Name = Unset; type Key = Unset; + type Name = Unset; type CreatedAt = Unset; } - ///State transition - sets the `name` field to Set - pub struct SetName(PhantomData S>); - impl sealed::Sealed for SetName {} - impl State for SetName { - type Name = Set; - type Key = S::Key; - type CreatedAt = S::CreatedAt; - } ///State transition - sets the `key` field to Set pub struct SetKey(PhantomData S>); impl sealed::Sealed for SetKey {} impl State for SetKey { - type Name = S::Name; type Key = Set; + type Name = S::Name; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `name` field to Set + pub struct SetName(PhantomData S>); + impl sealed::Sealed for SetName {} + impl State for SetName { + type Key = S::Key; + type Name = Set; type CreatedAt = S::CreatedAt; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Name = S::Name; type Key = S::Key; + type Name = S::Name; type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `name` field - pub struct name(()); ///Marker type for the `key` field pub struct key(()); + ///Marker type for the `name` field + pub struct name(()); ///Marker type for the `created_at` field pub struct created_at(()); } @@ -174,8 +174,8 @@ where impl<'a, S> PublicKeyBuilder<'a, S> where S: public_key_state::State, - S::Name: public_key_state::IsSet, S::Key: public_key_state::IsSet, + S::Name: public_key_state::IsSet, S::CreatedAt: public_key_state::IsSet, { /// Build the final struct @@ -191,7 +191,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> PublicKey<'a> { @@ -306,7 +306,7 @@ fn lexicon_doc_sh_tangled_publicKey() -> ::jacquard_lexicon::lexicon::LexiconDoc defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -314,9 +314,9 @@ fn lexicon_doc_sh_tangled_publicKey() -> ::jacquard_lexicon::lexicon::LexiconDoc description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("key"), - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("key"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -324,7 +324,7 @@ fn lexicon_doc_sh_tangled_publicKey() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -347,7 +347,9 @@ fn lexicon_doc_sh_tangled_publicKey() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("key"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "key", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("public key contents"), @@ -364,7 +366,9 @@ fn lexicon_doc_sh_tangled_publicKey() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/sh_tangled/repo.rs b/crates/jacquard-api/src/sh_tangled/repo.rs index 7b82b31d7..90e3286c1 100644 --- a/crates/jacquard-api/src/sh_tangled/repo.rs +++ b/crates/jacquard-api/src/sh_tangled/repo.rs @@ -89,50 +89,50 @@ pub mod repo_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Knot; - type Name; type CreatedAt; + type Name; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Knot = Unset; - type Name = Unset; type CreatedAt = Unset; + type Name = Unset; } ///State transition - sets the `knot` field to Set pub struct SetKnot(PhantomData S>); impl sealed::Sealed for SetKnot {} impl State for SetKnot { type Knot = Set; - type Name = S::Name; - type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `name` field to Set - pub struct SetName(PhantomData S>); - impl sealed::Sealed for SetName {} - impl State for SetName { - type Knot = S::Knot; - type Name = Set; type CreatedAt = S::CreatedAt; + type Name = S::Name; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { type Knot = S::Knot; - type Name = S::Name; type CreatedAt = Set; + type Name = S::Name; + } + ///State transition - sets the `name` field to Set + pub struct SetName(PhantomData S>); + impl sealed::Sealed for SetName {} + impl State for SetName { + type Knot = S::Knot; + type CreatedAt = S::CreatedAt; + type Name = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `knot` field pub struct knot(()); - ///Marker type for the `name` field - pub struct name(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `name` field + pub struct name(()); } } @@ -353,8 +353,8 @@ impl<'a, S> RepoBuilder<'a, S> where S: repo_state::State, S::Knot: repo_state::IsSet, - S::Name: repo_state::IsSet, S::CreatedAt: repo_state::IsSet, + S::Name: repo_state::IsSet, { /// Build the final struct pub fn build(self) -> Repo<'a> { @@ -375,7 +375,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Repo<'a> { @@ -470,7 +470,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Repo<'a> { ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { if let Some(ref value) = self.description { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -488,7 +488,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Repo<'a> { } if let Some(ref value) = self.description { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -529,7 +529,7 @@ fn lexicon_doc_sh_tangled_repo() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -537,9 +537,9 @@ fn lexicon_doc_sh_tangled_repo() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("knot"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("knot"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -547,7 +547,7 @@ fn lexicon_doc_sh_tangled_repo() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -566,7 +566,7 @@ fn lexicon_doc_sh_tangled_repo() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -583,7 +583,9 @@ fn lexicon_doc_sh_tangled_repo() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("knot"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "knot", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -602,7 +604,9 @@ fn lexicon_doc_sh_tangled_repo() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("labels"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "labels", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -628,7 +632,9 @@ fn lexicon_doc_sh_tangled_repo() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("name of the repo"), @@ -645,7 +651,9 @@ fn lexicon_doc_sh_tangled_repo() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("source"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "source", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("source of the repo"), @@ -664,7 +672,9 @@ fn lexicon_doc_sh_tangled_repo() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("spindle"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "spindle", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -683,7 +693,9 @@ fn lexicon_doc_sh_tangled_repo() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("topics"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "topics", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -707,7 +719,9 @@ fn lexicon_doc_sh_tangled_repo() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("website"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "website", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( 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 98e2648ef..503a77e17 100644 --- a/crates/jacquard-api/src/sh_tangled/repo/add_secret.rs +++ b/crates/jacquard-api/src/sh_tangled/repo/add_secret.rs @@ -35,51 +35,51 @@ pub mod add_secret_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Key; type Value; type Repo; - type Key; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Key = Unset; type Value = Unset; type Repo = Unset; - type Key = Unset; + } + ///State transition - sets the `key` field to Set + pub struct SetKey(PhantomData S>); + impl sealed::Sealed for SetKey {} + impl State for SetKey { + type Key = Set; + type Value = S::Value; + type Repo = S::Repo; } ///State transition - sets the `value` field to Set pub struct SetValue(PhantomData S>); impl sealed::Sealed for SetValue {} impl State for SetValue { + type Key = S::Key; type Value = Set; type Repo = S::Repo; - type Key = S::Key; } ///State transition - sets the `repo` field to Set pub struct SetRepo(PhantomData S>); impl sealed::Sealed for SetRepo {} impl State for SetRepo { - type Value = S::Value; - type Repo = Set; type Key = S::Key; - } - ///State transition - sets the `key` field to Set - pub struct SetKey(PhantomData S>); - impl sealed::Sealed for SetKey {} - impl State for SetKey { type Value = S::Value; - type Repo = S::Repo; - type Key = Set; + type Repo = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `key` field + pub struct key(()); ///Marker type for the `value` field pub struct value(()); ///Marker type for the `repo` field pub struct repo(()); - ///Marker type for the `key` field - pub struct key(()); } } @@ -172,9 +172,9 @@ where impl<'a, S> AddSecretBuilder<'a, S> where S: add_secret_state::State, + S::Key: add_secret_state::IsSet, S::Value: add_secret_state::IsSet, S::Repo: add_secret_state::IsSet, - S::Key: add_secret_state::IsSet, { /// Build the final struct pub fn build(self) -> AddSecret<'a> { @@ -189,7 +189,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> AddSecret<'a> { diff --git a/crates/jacquard-api/src/sh_tangled/repo/archive.rs b/crates/jacquard-api/src/sh_tangled/repo/archive.rs index aa1fcac7b..d9f675877 100644 --- a/crates/jacquard-api/src/sh_tangled/repo/archive.rs +++ b/crates/jacquard-api/src/sh_tangled/repo/archive.rs @@ -39,37 +39,37 @@ pub mod archive_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Ref; type Repo; + type Ref; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Ref = Unset; type Repo = Unset; - } - ///State transition - sets the `ref` field to Set - pub struct SetRef(PhantomData S>); - impl sealed::Sealed for SetRef {} - impl State for SetRef { - type Ref = Set; - type Repo = S::Repo; + type Ref = Unset; } ///State transition - sets the `repo` field to Set pub struct SetRepo(PhantomData S>); impl sealed::Sealed for SetRepo {} impl State for SetRepo { - type Ref = S::Ref; type Repo = Set; + type Ref = S::Ref; + } + ///State transition - sets the `ref` field to Set + pub struct SetRef(PhantomData S>); + impl sealed::Sealed for SetRef {} + impl State for SetRef { + type Repo = S::Repo; + type Ref = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `ref` field - pub struct r#ref(()); ///Marker type for the `repo` field pub struct repo(()); + ///Marker type for the `ref` field + pub struct r#ref(()); } } @@ -176,8 +176,8 @@ where impl<'a, S> ArchiveBuilder<'a, S> where S: archive_state::State, - S::Ref: archive_state::IsSet, S::Repo: archive_state::IsSet, + S::Ref: archive_state::IsSet, { /// Build the final struct pub fn build(self) -> Archive<'a> { @@ -202,7 +202,7 @@ where )] #[serde(rename_all = "camelCase")] pub struct ArchiveOutput { - pub body: bytes::Bytes, + pub body: jacquard_common::deps::bytes::Bytes, } #[jacquard_derive::open_union] @@ -290,7 +290,7 @@ impl jacquard_common::xrpc::XrpcResp for ArchiveResponse { Self::Output<'de>: serde::Deserialize<'de>, { Ok(ArchiveOutput { - body: bytes::Bytes::copy_from_slice(body), + body: jacquard_common::deps::bytes::Bytes::copy_from_slice(body), }) } } diff --git a/crates/jacquard-api/src/sh_tangled/repo/artifact.rs b/crates/jacquard-api/src/sh_tangled/repo/artifact.rs index b67a1ea36..e1abdf3a6 100644 --- a/crates/jacquard-api/src/sh_tangled/repo/artifact.rs +++ b/crates/jacquard-api/src/sh_tangled/repo/artifact.rs @@ -30,7 +30,7 @@ pub struct Artifact<'a> { pub repo: jacquard_common::types::string::AtUri<'a>, /// hash of the tag object that this artifact is attached to (only annotated tags are supported) #[serde(with = "jacquard_common::serde_bytes_helper")] - pub tag: bytes::Bytes, + pub tag: jacquard_common::deps::bytes::Bytes, } pub mod artifact_state { @@ -43,85 +43,85 @@ pub mod artifact_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Repo; type Name; + type Artifact; type Tag; type CreatedAt; - type Artifact; + type Repo; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Repo = Unset; type Name = Unset; + type Artifact = Unset; type Tag = Unset; type CreatedAt = Unset; - type Artifact = Unset; - } - ///State transition - sets the `repo` field to Set - pub struct SetRepo(PhantomData S>); - impl sealed::Sealed for SetRepo {} - impl State for SetRepo { - type Repo = Set; - type Name = S::Name; - type Tag = S::Tag; - type CreatedAt = S::CreatedAt; - type Artifact = S::Artifact; + type Repo = Unset; } ///State transition - sets the `name` field to Set pub struct SetName(PhantomData S>); impl sealed::Sealed for SetName {} impl State for SetName { - type Repo = S::Repo; type Name = Set; + type Artifact = S::Artifact; type Tag = S::Tag; type CreatedAt = S::CreatedAt; - type Artifact = S::Artifact; + type Repo = S::Repo; + } + ///State transition - sets the `artifact` field to Set + pub struct SetArtifact(PhantomData S>); + impl sealed::Sealed for SetArtifact {} + impl State for SetArtifact { + type Name = S::Name; + type Artifact = Set; + type Tag = S::Tag; + type CreatedAt = S::CreatedAt; + type Repo = S::Repo; } ///State transition - sets the `tag` field to Set pub struct SetTag(PhantomData S>); impl sealed::Sealed for SetTag {} impl State for SetTag { - type Repo = S::Repo; type Name = S::Name; + type Artifact = S::Artifact; type Tag = Set; type CreatedAt = S::CreatedAt; - type Artifact = S::Artifact; + type Repo = S::Repo; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Repo = S::Repo; type Name = S::Name; + type Artifact = S::Artifact; type Tag = S::Tag; type CreatedAt = Set; - type Artifact = S::Artifact; - } - ///State transition - sets the `artifact` field to Set - pub struct SetArtifact(PhantomData S>); - impl sealed::Sealed for SetArtifact {} - impl State for SetArtifact { type Repo = S::Repo; + } + ///State transition - sets the `repo` field to Set + pub struct SetRepo(PhantomData S>); + impl sealed::Sealed for SetRepo {} + impl State for SetRepo { type Name = S::Name; + type Artifact = S::Artifact; type Tag = S::Tag; type CreatedAt = S::CreatedAt; - type Artifact = Set; + type Repo = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `repo` field - pub struct repo(()); ///Marker type for the `name` field pub struct name(()); + ///Marker type for the `artifact` field + pub struct artifact(()); ///Marker type for the `tag` field pub struct tag(()); ///Marker type for the `created_at` field pub struct created_at(()); - ///Marker type for the `artifact` field - pub struct artifact(()); + ///Marker type for the `repo` field + pub struct repo(()); } } @@ -133,7 +133,7 @@ pub struct ArtifactBuilder<'a, S: artifact_state::State> { ::core::option::Option, ::core::option::Option>, ::core::option::Option>, - ::core::option::Option, + ::core::option::Option, ), _phantom: ::core::marker::PhantomData<&'a ()>, } @@ -240,7 +240,7 @@ where /// Set the `tag` field (required) pub fn tag( mut self, - value: impl Into, + value: impl Into, ) -> ArtifactBuilder<'a, artifact_state::SetTag> { self.__unsafe_private_named.4 = ::core::option::Option::Some(value.into()); ArtifactBuilder { @@ -254,11 +254,11 @@ where impl<'a, S> ArtifactBuilder<'a, S> where S: artifact_state::State, - S::Repo: artifact_state::IsSet, S::Name: artifact_state::IsSet, + S::Artifact: artifact_state::IsSet, S::Tag: artifact_state::IsSet, S::CreatedAt: artifact_state::IsSet, - S::Artifact: artifact_state::IsSet, + S::Repo: artifact_state::IsSet, { /// Build the final struct pub fn build(self) -> Artifact<'a> { @@ -275,7 +275,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Artifact<'a> { @@ -379,7 +379,7 @@ fn lexicon_doc_sh_tangled_repo_artifact() -> ::jacquard_lexicon::lexicon::Lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -387,11 +387,11 @@ fn lexicon_doc_sh_tangled_repo_artifact() -> ::jacquard_lexicon::lexicon::Lexico description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("repo"), - ::jacquard_common::smol_str::SmolStr::new_static("tag"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt"), - ::jacquard_common::smol_str::SmolStr::new_static("artifact") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("repo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("tag"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("artifact") ], ), nullable: None, @@ -399,7 +399,7 @@ fn lexicon_doc_sh_tangled_repo_artifact() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "artifact", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { @@ -409,7 +409,7 @@ fn lexicon_doc_sh_tangled_repo_artifact() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -432,7 +432,9 @@ fn lexicon_doc_sh_tangled_repo_artifact() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -451,7 +453,9 @@ fn lexicon_doc_sh_tangled_repo_artifact() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("repo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "repo", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -472,7 +476,9 @@ fn lexicon_doc_sh_tangled_repo_artifact() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tag"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tag", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Bytes(::jacquard_lexicon::lexicon::LexBytes { description: None, max_length: Some(20usize), diff --git a/crates/jacquard-api/src/sh_tangled/repo/blob.rs b/crates/jacquard-api/src/sh_tangled/repo/blob.rs index c285a5dd8..413486d4e 100644 --- a/crates/jacquard-api/src/sh_tangled/repo/blob.rs +++ b/crates/jacquard-api/src/sh_tangled/repo/blob.rs @@ -40,51 +40,51 @@ pub mod last_commit_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Hash; type When; type Message; + type Hash; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Hash = Unset; type When = Unset; type Message = Unset; - } - ///State transition - sets the `hash` field to Set - pub struct SetHash(PhantomData S>); - impl sealed::Sealed for SetHash {} - impl State for SetHash { - type Hash = Set; - type When = S::When; - type Message = S::Message; + type Hash = Unset; } ///State transition - sets the `when` field to Set pub struct SetWhen(PhantomData S>); impl sealed::Sealed for SetWhen {} impl State for SetWhen { - type Hash = S::Hash; type When = Set; type Message = S::Message; + type Hash = S::Hash; } ///State transition - sets the `message` field to Set pub struct SetMessage(PhantomData S>); impl sealed::Sealed for SetMessage {} impl State for SetMessage { - type Hash = S::Hash; type When = S::When; type Message = Set; + type Hash = S::Hash; + } + ///State transition - sets the `hash` field to Set + pub struct SetHash(PhantomData S>); + impl sealed::Sealed for SetHash {} + impl State for SetHash { + type When = S::When; + type Message = S::Message; + type Hash = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `hash` field - pub struct hash(()); ///Marker type for the `when` field pub struct when(()); ///Marker type for the `message` field pub struct message(()); + ///Marker type for the `hash` field + pub struct hash(()); } } @@ -197,9 +197,9 @@ where impl<'a, S> LastCommitBuilder<'a, S> where S: last_commit_state::State, - S::Hash: last_commit_state::IsSet, S::When: last_commit_state::IsSet, S::Message: last_commit_state::IsSet, + S::Hash: last_commit_state::IsSet, { /// Build the final struct pub fn build(self) -> LastCommit<'a> { @@ -215,7 +215,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> LastCommit<'a> { @@ -240,14 +240,14 @@ fn lexicon_doc_sh_tangled_repo_blob() -> ::jacquard_lexicon::lexicon::LexiconDoc defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("lastCommit"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("lastCommit"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("hash"), - ::jacquard_common::smol_str::SmolStr::new_static("message"), - ::jacquard_common::smol_str::SmolStr::new_static("when") + ::jacquard_common::deps::smol_str::SmolStr::new_static("hash"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("message"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("when") ], ), nullable: None, @@ -255,14 +255,18 @@ fn lexicon_doc_sh_tangled_repo_blob() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "author", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#signature"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hash"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "hash", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Commit hash"), @@ -279,7 +283,9 @@ fn lexicon_doc_sh_tangled_repo_blob() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("message"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "message", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Commit message"), @@ -296,7 +302,9 @@ fn lexicon_doc_sh_tangled_repo_blob() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("when"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "when", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Commit timestamp"), @@ -319,7 +327,7 @@ fn lexicon_doc_sh_tangled_repo_blob() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcQuery(::jacquard_lexicon::lexicon::LexXrpcQuery { description: None, parameters: Some( @@ -327,16 +335,18 @@ fn lexicon_doc_sh_tangled_repo_blob() -> ::jacquard_lexicon::lexicon::LexiconDoc description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("repo"), - ::jacquard_common::smol_str::SmolStr::new_static("ref"), - ::jacquard_common::smol_str::SmolStr::new_static("path") + ::jacquard_common::deps::smol_str::SmolStr::new_static("repo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("ref"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("path") ], ), properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("path"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "path", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -355,7 +365,9 @@ fn lexicon_doc_sh_tangled_repo_blob() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("raw"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "raw", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -363,7 +375,9 @@ fn lexicon_doc_sh_tangled_repo_blob() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("ref"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "ref", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -382,7 +396,9 @@ fn lexicon_doc_sh_tangled_repo_blob() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("repo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "repo", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -409,14 +425,14 @@ fn lexicon_doc_sh_tangled_repo_blob() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("signature"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("signature"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("email"), - ::jacquard_common::smol_str::SmolStr::new_static("when") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("email"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("when") ], ), nullable: None, @@ -424,7 +440,9 @@ fn lexicon_doc_sh_tangled_repo_blob() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("email"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "email", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Author email"), @@ -441,7 +459,9 @@ fn lexicon_doc_sh_tangled_repo_blob() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Author name"), @@ -458,7 +478,9 @@ fn lexicon_doc_sh_tangled_repo_blob() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("when"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "when", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Author timestamp"), @@ -481,13 +503,13 @@ fn lexicon_doc_sh_tangled_repo_blob() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("submodule"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("submodule"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("url") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("url") ], ), nullable: None, @@ -495,7 +517,9 @@ fn lexicon_doc_sh_tangled_repo_blob() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("branch"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "branch", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -514,7 +538,9 @@ fn lexicon_doc_sh_tangled_repo_blob() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Submodule name"), @@ -531,7 +557,9 @@ fn lexicon_doc_sh_tangled_repo_blob() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -608,50 +636,50 @@ pub mod blob_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Repo; - type Ref; type Path; + type Ref; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Repo = Unset; - type Ref = Unset; type Path = Unset; + type Ref = Unset; } ///State transition - sets the `repo` field to Set pub struct SetRepo(PhantomData S>); impl sealed::Sealed for SetRepo {} impl State for SetRepo { type Repo = Set; - type Ref = S::Ref; - type Path = S::Path; - } - ///State transition - sets the `ref` field to Set - pub struct SetRef(PhantomData S>); - impl sealed::Sealed for SetRef {} - impl State for SetRef { - type Repo = S::Repo; - type Ref = Set; type Path = S::Path; + type Ref = S::Ref; } ///State transition - sets the `path` field to Set pub struct SetPath(PhantomData S>); impl sealed::Sealed for SetPath {} impl State for SetPath { type Repo = S::Repo; - type Ref = S::Ref; type Path = Set; + type Ref = S::Ref; + } + ///State transition - sets the `ref` field to Set + pub struct SetRef(PhantomData S>); + impl sealed::Sealed for SetRef {} + impl State for SetRef { + type Repo = S::Repo; + type Path = S::Path; + type Ref = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `repo` field pub struct repo(()); - ///Marker type for the `ref` field - pub struct r#ref(()); ///Marker type for the `path` field pub struct path(()); + ///Marker type for the `ref` field + pub struct r#ref(()); } } @@ -759,8 +787,8 @@ impl<'a, S> BlobBuilder<'a, S> where S: blob_state::State, S::Repo: blob_state::IsSet, - S::Ref: blob_state::IsSet, S::Path: blob_state::IsSet, + S::Ref: blob_state::IsSet, { /// Build the final struct pub fn build(self) -> Blob<'a> { @@ -942,49 +970,49 @@ pub mod signature_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type When; type Email; + type When; type Name; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type When = Unset; type Email = Unset; + type When = Unset; type Name = Unset; } - ///State transition - sets the `when` field to Set - pub struct SetWhen(PhantomData S>); - impl sealed::Sealed for SetWhen {} - impl State for SetWhen { - type When = Set; - type Email = S::Email; - type Name = S::Name; - } ///State transition - sets the `email` field to Set pub struct SetEmail(PhantomData S>); impl sealed::Sealed for SetEmail {} impl State for SetEmail { - type When = S::When; type Email = Set; + type When = S::When; + type Name = S::Name; + } + ///State transition - sets the `when` field to Set + pub struct SetWhen(PhantomData S>); + impl sealed::Sealed for SetWhen {} + impl State for SetWhen { + type Email = S::Email; + type When = Set; type Name = S::Name; } ///State transition - sets the `name` field to Set pub struct SetName(PhantomData S>); impl sealed::Sealed for SetName {} impl State for SetName { - type When = S::When; type Email = S::Email; + type When = S::When; type Name = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `when` field - pub struct when(()); ///Marker type for the `email` field pub struct email(()); + ///Marker type for the `when` field + pub struct when(()); ///Marker type for the `name` field pub struct name(()); } @@ -1079,8 +1107,8 @@ where impl<'a, S> SignatureBuilder<'a, S> where S: signature_state::State, - S::When: signature_state::IsSet, S::Email: signature_state::IsSet, + S::When: signature_state::IsSet, S::Name: signature_state::IsSet, { /// Build the final struct @@ -1096,7 +1124,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Signature<'a> { diff --git a/crates/jacquard-api/src/sh_tangled/repo/branch.rs b/crates/jacquard-api/src/sh_tangled/repo/branch.rs index 371bb77b8..8a9041c24 100644 --- a/crates/jacquard-api/src/sh_tangled/repo/branch.rs +++ b/crates/jacquard-api/src/sh_tangled/repo/branch.rs @@ -297,50 +297,50 @@ pub mod signature_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Name; - type Email; type When; + type Email; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Name = Unset; - type Email = Unset; type When = Unset; + type Email = Unset; } ///State transition - sets the `name` field to Set pub struct SetName(PhantomData S>); impl sealed::Sealed for SetName {} impl State for SetName { type Name = Set; - type Email = S::Email; - type When = S::When; - } - ///State transition - sets the `email` field to Set - pub struct SetEmail(PhantomData S>); - impl sealed::Sealed for SetEmail {} - impl State for SetEmail { - type Name = S::Name; - type Email = Set; type When = S::When; + type Email = S::Email; } ///State transition - sets the `when` field to Set pub struct SetWhen(PhantomData S>); impl sealed::Sealed for SetWhen {} impl State for SetWhen { type Name = S::Name; - type Email = S::Email; type When = Set; + type Email = S::Email; + } + ///State transition - sets the `email` field to Set + pub struct SetEmail(PhantomData S>); + impl sealed::Sealed for SetEmail {} + impl State for SetEmail { + type Name = S::Name; + type When = S::When; + type Email = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `name` field pub struct name(()); - ///Marker type for the `email` field - pub struct email(()); ///Marker type for the `when` field pub struct when(()); + ///Marker type for the `email` field + pub struct email(()); } } @@ -434,8 +434,8 @@ impl<'a, S> SignatureBuilder<'a, S> where S: signature_state::State, S::Name: signature_state::IsSet, - S::Email: signature_state::IsSet, S::When: signature_state::IsSet, + S::Email: signature_state::IsSet, { /// Build the final struct pub fn build(self) -> Signature<'a> { @@ -450,7 +450,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Signature<'a> { @@ -474,7 +474,7 @@ fn lexicon_doc_sh_tangled_repo_branch() -> ::jacquard_lexicon::lexicon::LexiconD defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcQuery(::jacquard_lexicon::lexicon::LexXrpcQuery { description: None, parameters: Some( @@ -482,15 +482,17 @@ fn lexicon_doc_sh_tangled_repo_branch() -> ::jacquard_lexicon::lexicon::LexiconD description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("repo"), - ::jacquard_common::smol_str::SmolStr::new_static("name") + ::jacquard_common::deps::smol_str::SmolStr::new_static("repo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("name") ], ), properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -509,7 +511,9 @@ fn lexicon_doc_sh_tangled_repo_branch() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("repo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "repo", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -536,14 +540,14 @@ fn lexicon_doc_sh_tangled_repo_branch() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("signature"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("signature"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("email"), - ::jacquard_common::smol_str::SmolStr::new_static("when") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("email"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("when") ], ), nullable: None, @@ -551,7 +555,9 @@ fn lexicon_doc_sh_tangled_repo_branch() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("email"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "email", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Author email"), @@ -568,7 +574,9 @@ fn lexicon_doc_sh_tangled_repo_branch() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Author name"), @@ -585,7 +593,9 @@ fn lexicon_doc_sh_tangled_repo_branch() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("when"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "when", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Author timestamp"), diff --git a/crates/jacquard-api/src/sh_tangled/repo/branches.rs b/crates/jacquard-api/src/sh_tangled/repo/branches.rs index be675b925..7a351b8ee 100644 --- a/crates/jacquard-api/src/sh_tangled/repo/branches.rs +++ b/crates/jacquard-api/src/sh_tangled/repo/branches.rs @@ -161,7 +161,7 @@ where )] #[serde(rename_all = "camelCase")] pub struct BranchesOutput { - pub body: bytes::Bytes, + pub body: jacquard_common::deps::bytes::Bytes, } #[jacquard_derive::open_union] @@ -229,7 +229,7 @@ impl jacquard_common::xrpc::XrpcResp for BranchesResponse { Self::Output<'de>: serde::Deserialize<'de>, { Ok(BranchesOutput { - body: bytes::Bytes::copy_from_slice(body), + body: jacquard_common::deps::bytes::Bytes::copy_from_slice(body), }) } } diff --git a/crates/jacquard-api/src/sh_tangled/repo/collaborator.rs b/crates/jacquard-api/src/sh_tangled/repo/collaborator.rs index a9272482c..4647547f9 100644 --- a/crates/jacquard-api/src/sh_tangled/repo/collaborator.rs +++ b/crates/jacquard-api/src/sh_tangled/repo/collaborator.rs @@ -189,7 +189,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Collaborator<'a> { @@ -291,7 +291,7 @@ fn lexicon_doc_sh_tangled_repo_collaborator() -> ::jacquard_lexicon::lexicon::Le defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -299,9 +299,9 @@ fn lexicon_doc_sh_tangled_repo_collaborator() -> ::jacquard_lexicon::lexicon::Le description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("repo"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("repo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -309,7 +309,7 @@ fn lexicon_doc_sh_tangled_repo_collaborator() -> ::jacquard_lexicon::lexicon::Le #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -328,7 +328,9 @@ fn lexicon_doc_sh_tangled_repo_collaborator() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("repo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "repo", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -349,7 +351,9 @@ fn lexicon_doc_sh_tangled_repo_collaborator() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( diff --git a/crates/jacquard-api/src/sh_tangled/repo/compare.rs b/crates/jacquard-api/src/sh_tangled/repo/compare.rs index 8191fe443..4dfddd0d6 100644 --- a/crates/jacquard-api/src/sh_tangled/repo/compare.rs +++ b/crates/jacquard-api/src/sh_tangled/repo/compare.rs @@ -35,50 +35,50 @@ pub mod compare_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Repo; - type Rev1; type Rev2; + type Rev1; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Repo = Unset; - type Rev1 = Unset; type Rev2 = Unset; + type Rev1 = Unset; } ///State transition - sets the `repo` field to Set pub struct SetRepo(PhantomData S>); impl sealed::Sealed for SetRepo {} impl State for SetRepo { type Repo = Set; - type Rev1 = S::Rev1; - type Rev2 = S::Rev2; - } - ///State transition - sets the `rev1` field to Set - pub struct SetRev1(PhantomData S>); - impl sealed::Sealed for SetRev1 {} - impl State for SetRev1 { - type Repo = S::Repo; - type Rev1 = Set; type Rev2 = S::Rev2; + type Rev1 = S::Rev1; } ///State transition - sets the `rev2` field to Set pub struct SetRev2(PhantomData S>); impl sealed::Sealed for SetRev2 {} impl State for SetRev2 { type Repo = S::Repo; - type Rev1 = S::Rev1; type Rev2 = Set; + type Rev1 = S::Rev1; + } + ///State transition - sets the `rev1` field to Set + pub struct SetRev1(PhantomData S>); + impl sealed::Sealed for SetRev1 {} + impl State for SetRev1 { + type Repo = S::Repo; + type Rev2 = S::Rev2; + type Rev1 = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `repo` field pub struct repo(()); - ///Marker type for the `rev1` field - pub struct rev1(()); ///Marker type for the `rev2` field pub struct rev2(()); + ///Marker type for the `rev1` field + pub struct rev1(()); } } @@ -172,8 +172,8 @@ impl<'a, S> CompareBuilder<'a, S> where S: compare_state::State, S::Repo: compare_state::IsSet, - S::Rev1: compare_state::IsSet, S::Rev2: compare_state::IsSet, + S::Rev1: compare_state::IsSet, { /// Build the final struct pub fn build(self) -> Compare<'a> { @@ -197,7 +197,7 @@ where )] #[serde(rename_all = "camelCase")] pub struct CompareOutput { - pub body: bytes::Bytes, + pub body: jacquard_common::deps::bytes::Bytes, } #[jacquard_derive::open_union] @@ -285,7 +285,7 @@ impl jacquard_common::xrpc::XrpcResp for CompareResponse { Self::Output<'de>: serde::Deserialize<'de>, { Ok(CompareOutput { - body: bytes::Bytes::copy_from_slice(body), + body: jacquard_common::deps::bytes::Bytes::copy_from_slice(body), }) } } diff --git a/crates/jacquard-api/src/sh_tangled/repo/delete.rs b/crates/jacquard-api/src/sh_tangled/repo/delete.rs index cf2324214..6c4e12d47 100644 --- a/crates/jacquard-api/src/sh_tangled/repo/delete.rs +++ b/crates/jacquard-api/src/sh_tangled/repo/delete.rs @@ -39,50 +39,50 @@ pub mod delete_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Rkey; - type Did; type Name; + type Did; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Rkey = Unset; - type Did = Unset; type Name = Unset; + type Did = Unset; } ///State transition - sets the `rkey` field to Set pub struct SetRkey(PhantomData S>); impl sealed::Sealed for SetRkey {} impl State for SetRkey { type Rkey = Set; - type Did = S::Did; - type Name = S::Name; - } - ///State transition - sets the `did` field to Set - pub struct SetDid(PhantomData S>); - impl sealed::Sealed for SetDid {} - impl State for SetDid { - type Rkey = S::Rkey; - type Did = Set; type Name = S::Name; + type Did = S::Did; } ///State transition - sets the `name` field to Set pub struct SetName(PhantomData S>); impl sealed::Sealed for SetName {} impl State for SetName { type Rkey = S::Rkey; - type Did = S::Did; type Name = Set; + type Did = S::Did; + } + ///State transition - sets the `did` field to Set + pub struct SetDid(PhantomData S>); + impl sealed::Sealed for SetDid {} + impl State for SetDid { + type Rkey = S::Rkey; + type Name = S::Name; + type Did = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `rkey` field pub struct rkey(()); - ///Marker type for the `did` field - pub struct did(()); ///Marker type for the `name` field pub struct name(()); + ///Marker type for the `did` field + pub struct did(()); } } @@ -176,8 +176,8 @@ impl<'a, S> DeleteBuilder<'a, S> where S: delete_state::State, S::Rkey: delete_state::IsSet, - S::Did: delete_state::IsSet, S::Name: delete_state::IsSet, + S::Did: delete_state::IsSet, { /// Build the final struct pub fn build(self) -> Delete<'a> { @@ -192,7 +192,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Delete<'a> { 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 3c324b04c..f90955187 100644 --- a/crates/jacquard-api/src/sh_tangled/repo/delete_branch.rs +++ b/crates/jacquard-api/src/sh_tangled/repo/delete_branch.rs @@ -33,37 +33,37 @@ pub mod delete_branch_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Repo; type Branch; + type Repo; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Repo = Unset; type Branch = Unset; - } - ///State transition - sets the `repo` field to Set - pub struct SetRepo(PhantomData S>); - impl sealed::Sealed for SetRepo {} - impl State for SetRepo { - type Repo = Set; - type Branch = S::Branch; + type Repo = Unset; } ///State transition - sets the `branch` field to Set pub struct SetBranch(PhantomData S>); impl sealed::Sealed for SetBranch {} impl State for SetBranch { - type Repo = S::Repo; type Branch = Set; + type Repo = S::Repo; + } + ///State transition - sets the `repo` field to Set + pub struct SetRepo(PhantomData S>); + impl sealed::Sealed for SetRepo {} + impl State for SetRepo { + type Branch = S::Branch; + type Repo = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `repo` field - pub struct repo(()); ///Marker type for the `branch` field pub struct branch(()); + ///Marker type for the `repo` field + pub struct repo(()); } } @@ -136,8 +136,8 @@ where impl<'a, S> DeleteBranchBuilder<'a, S> where S: delete_branch_state::State, - S::Repo: delete_branch_state::IsSet, S::Branch: delete_branch_state::IsSet, + S::Repo: delete_branch_state::IsSet, { /// Build the final struct pub fn build(self) -> DeleteBranch<'a> { @@ -151,7 +151,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> DeleteBranch<'a> { diff --git a/crates/jacquard-api/src/sh_tangled/repo/diff.rs b/crates/jacquard-api/src/sh_tangled/repo/diff.rs index bac565476..9fe271578 100644 --- a/crates/jacquard-api/src/sh_tangled/repo/diff.rs +++ b/crates/jacquard-api/src/sh_tangled/repo/diff.rs @@ -32,37 +32,37 @@ pub mod diff_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Ref; type Repo; + type Ref; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Ref = Unset; type Repo = Unset; - } - ///State transition - sets the `ref` field to Set - pub struct SetRef(PhantomData S>); - impl sealed::Sealed for SetRef {} - impl State for SetRef { - type Ref = Set; - type Repo = S::Repo; + type Ref = Unset; } ///State transition - sets the `repo` field to Set pub struct SetRepo(PhantomData S>); impl sealed::Sealed for SetRepo {} impl State for SetRepo { - type Ref = S::Ref; type Repo = Set; + type Ref = S::Ref; + } + ///State transition - sets the `ref` field to Set + pub struct SetRef(PhantomData S>); + impl sealed::Sealed for SetRef {} + impl State for SetRef { + type Repo = S::Repo; + type Ref = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `ref` field - pub struct r#ref(()); ///Marker type for the `repo` field pub struct repo(()); + ///Marker type for the `ref` field + pub struct r#ref(()); } } @@ -135,8 +135,8 @@ where impl<'a, S> DiffBuilder<'a, S> where S: diff_state::State, - S::Ref: diff_state::IsSet, S::Repo: diff_state::IsSet, + S::Ref: diff_state::IsSet, { /// Build the final struct pub fn build(self) -> Diff<'a> { @@ -158,7 +158,7 @@ where )] #[serde(rename_all = "camelCase")] pub struct DiffOutput { - pub body: bytes::Bytes, + pub body: jacquard_common::deps::bytes::Bytes, } #[jacquard_derive::open_union] @@ -236,7 +236,7 @@ impl jacquard_common::xrpc::XrpcResp for DiffResponse { Self::Output<'de>: serde::Deserialize<'de>, { Ok(DiffOutput { - body: bytes::Bytes::copy_from_slice(body), + body: jacquard_common::deps::bytes::Bytes::copy_from_slice(body), }) } } 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 79ab250ec..5b96581c9 100644 --- a/crates/jacquard-api/src/sh_tangled/repo/fork_status.rs +++ b/crates/jacquard-api/src/sh_tangled/repo/fork_status.rs @@ -44,85 +44,85 @@ pub mod fork_status_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Name; type Source; - type Did; + type Name; type HiddenRef; type Branch; + type Did; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Name = Unset; type Source = Unset; - type Did = Unset; + type Name = Unset; type HiddenRef = Unset; type Branch = Unset; - } - ///State transition - sets the `name` field to Set - pub struct SetName(PhantomData S>); - impl sealed::Sealed for SetName {} - impl State for SetName { - type Name = Set; - type Source = S::Source; - type Did = S::Did; - type HiddenRef = S::HiddenRef; - type Branch = S::Branch; + type Did = Unset; } ///State transition - sets the `source` field to Set pub struct SetSource(PhantomData S>); impl sealed::Sealed for SetSource {} impl State for SetSource { - type Name = S::Name; type Source = Set; - type Did = S::Did; + type Name = S::Name; type HiddenRef = S::HiddenRef; type Branch = S::Branch; + type Did = S::Did; } - ///State transition - sets the `did` field to Set - pub struct SetDid(PhantomData S>); - impl sealed::Sealed for SetDid {} - impl State for SetDid { - type Name = S::Name; + ///State transition - sets the `name` field to Set + pub struct SetName(PhantomData S>); + impl sealed::Sealed for SetName {} + impl State for SetName { type Source = S::Source; - type Did = Set; + type Name = Set; type HiddenRef = S::HiddenRef; type Branch = S::Branch; + type Did = S::Did; } ///State transition - sets the `hidden_ref` field to Set pub struct SetHiddenRef(PhantomData S>); impl sealed::Sealed for SetHiddenRef {} impl State for SetHiddenRef { - type Name = S::Name; type Source = S::Source; - type Did = S::Did; + type Name = S::Name; type HiddenRef = Set; type Branch = S::Branch; + type Did = S::Did; } ///State transition - sets the `branch` field to Set pub struct SetBranch(PhantomData S>); impl sealed::Sealed for SetBranch {} impl State for SetBranch { - type Name = S::Name; type Source = S::Source; - type Did = S::Did; + type Name = S::Name; type HiddenRef = S::HiddenRef; type Branch = Set; + type Did = S::Did; + } + ///State transition - sets the `did` field to Set + pub struct SetDid(PhantomData S>); + impl sealed::Sealed for SetDid {} + impl State for SetDid { + type Source = S::Source; + type Name = S::Name; + type HiddenRef = S::HiddenRef; + type Branch = S::Branch; + type Did = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `name` field - pub struct name(()); ///Marker type for the `source` field pub struct source(()); - ///Marker type for the `did` field - pub struct did(()); + ///Marker type for the `name` field + pub struct name(()); ///Marker type for the `hidden_ref` field pub struct hidden_ref(()); ///Marker type for the `branch` field pub struct branch(()); + ///Marker type for the `did` field + pub struct did(()); } } @@ -255,11 +255,11 @@ where impl<'a, S> ForkStatusBuilder<'a, S> where S: fork_status_state::State, - S::Name: fork_status_state::IsSet, S::Source: fork_status_state::IsSet, - S::Did: fork_status_state::IsSet, + S::Name: fork_status_state::IsSet, S::HiddenRef: fork_status_state::IsSet, S::Branch: fork_status_state::IsSet, + S::Did: fork_status_state::IsSet, { /// Build the final struct pub fn build(self) -> ForkStatus<'a> { @@ -276,7 +276,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ForkStatus<'a> { 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 e37718a12..0cd4f8472 100644 --- a/crates/jacquard-api/src/sh_tangled/repo/fork_sync.rs +++ b/crates/jacquard-api/src/sh_tangled/repo/fork_sync.rs @@ -42,66 +42,66 @@ pub mod fork_sync_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Source; - type Name; - type Branch; type Did; + type Branch; + type Name; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Source = Unset; - type Name = Unset; - type Branch = Unset; type Did = Unset; + type Branch = Unset; + type Name = Unset; } ///State transition - sets the `source` field to Set pub struct SetSource(PhantomData S>); impl sealed::Sealed for SetSource {} impl State for SetSource { type Source = Set; - type Name = S::Name; - type Branch = S::Branch; type Did = S::Did; + type Branch = S::Branch; + type Name = S::Name; } - ///State transition - sets the `name` field to Set - pub struct SetName(PhantomData S>); - impl sealed::Sealed for SetName {} - impl State for SetName { + ///State transition - sets the `did` field to Set + pub struct SetDid(PhantomData S>); + impl sealed::Sealed for SetDid {} + impl State for SetDid { type Source = S::Source; - type Name = Set; + type Did = Set; type Branch = S::Branch; - type Did = S::Did; + type Name = S::Name; } ///State transition - sets the `branch` field to Set pub struct SetBranch(PhantomData S>); impl sealed::Sealed for SetBranch {} impl State for SetBranch { type Source = S::Source; - type Name = S::Name; - type Branch = Set; type Did = S::Did; + type Branch = Set; + type Name = S::Name; } - ///State transition - sets the `did` field to Set - pub struct SetDid(PhantomData S>); - impl sealed::Sealed for SetDid {} - impl State for SetDid { + ///State transition - sets the `name` field to Set + pub struct SetName(PhantomData S>); + impl sealed::Sealed for SetName {} + impl State for SetName { type Source = S::Source; - type Name = S::Name; + type Did = S::Did; type Branch = S::Branch; - type Did = Set; + type Name = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `source` field pub struct source(()); - ///Marker type for the `name` field - pub struct name(()); - ///Marker type for the `branch` field - pub struct branch(()); ///Marker type for the `did` field pub struct did(()); + ///Marker type for the `branch` field + pub struct branch(()); + ///Marker type for the `name` field + pub struct name(()); } } @@ -215,9 +215,9 @@ impl<'a, S> ForkSyncBuilder<'a, S> where S: fork_sync_state::State, S::Source: fork_sync_state::IsSet, - S::Name: fork_sync_state::IsSet, - S::Branch: fork_sync_state::IsSet, S::Did: fork_sync_state::IsSet, + S::Branch: fork_sync_state::IsSet, + S::Name: fork_sync_state::IsSet, { /// Build the final struct pub fn build(self) -> ForkSync<'a> { @@ -233,7 +233,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ForkSync<'a> { 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 79ed67d2b..73e4989ec 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 @@ -247,49 +247,49 @@ pub mod signature_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Email; type Name; + type Email; type When; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Email = Unset; type Name = Unset; + type Email = Unset; type When = Unset; } - ///State transition - sets the `email` field to Set - pub struct SetEmail(PhantomData S>); - impl sealed::Sealed for SetEmail {} - impl State for SetEmail { - type Email = Set; - type Name = S::Name; - type When = S::When; - } ///State transition - sets the `name` field to Set pub struct SetName(PhantomData S>); impl sealed::Sealed for SetName {} impl State for SetName { - type Email = S::Email; type Name = Set; + type Email = S::Email; + type When = S::When; + } + ///State transition - sets the `email` field to Set + pub struct SetEmail(PhantomData S>); + impl sealed::Sealed for SetEmail {} + impl State for SetEmail { + type Name = S::Name; + type Email = Set; type When = S::When; } ///State transition - sets the `when` field to Set pub struct SetWhen(PhantomData S>); impl sealed::Sealed for SetWhen {} impl State for SetWhen { - type Email = S::Email; type Name = S::Name; + type Email = S::Email; type When = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `email` field - pub struct email(()); ///Marker type for the `name` field pub struct name(()); + ///Marker type for the `email` field + pub struct email(()); ///Marker type for the `when` field pub struct when(()); } @@ -384,8 +384,8 @@ where impl<'a, S> SignatureBuilder<'a, S> where S: signature_state::State, - S::Email: signature_state::IsSet, S::Name: signature_state::IsSet, + S::Email: signature_state::IsSet, S::When: signature_state::IsSet, { /// Build the final struct @@ -401,7 +401,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Signature<'a> { @@ -425,7 +425,7 @@ fn lexicon_doc_sh_tangled_repo_getDefaultBranch() -> ::jacquard_lexicon::lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcQuery(::jacquard_lexicon::lexicon::LexXrpcQuery { description: None, parameters: Some( @@ -433,14 +433,16 @@ fn lexicon_doc_sh_tangled_repo_getDefaultBranch() -> ::jacquard_lexicon::lexicon description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("repo") + ::jacquard_common::deps::smol_str::SmolStr::new_static("repo") ], ), properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("repo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "repo", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -467,14 +469,14 @@ fn lexicon_doc_sh_tangled_repo_getDefaultBranch() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("signature"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("signature"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("email"), - ::jacquard_common::smol_str::SmolStr::new_static("when") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("email"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("when") ], ), nullable: None, @@ -482,7 +484,9 @@ fn lexicon_doc_sh_tangled_repo_getDefaultBranch() -> ::jacquard_lexicon::lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("email"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "email", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Author email"), @@ -499,7 +503,9 @@ fn lexicon_doc_sh_tangled_repo_getDefaultBranch() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Author name"), @@ -516,7 +522,9 @@ fn lexicon_doc_sh_tangled_repo_getDefaultBranch() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("when"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "when", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Author timestamp"), 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 0e3db515b..3f03e7efe 100644 --- a/crates/jacquard-api/src/sh_tangled/repo/hidden_ref.rs +++ b/crates/jacquard-api/src/sh_tangled/repo/hidden_ref.rs @@ -39,50 +39,50 @@ pub mod hidden_ref_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type RemoteRef; - type Repo; type ForkRef; + type Repo; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type RemoteRef = Unset; - type Repo = Unset; type ForkRef = Unset; + type Repo = Unset; } ///State transition - sets the `remote_ref` field to Set pub struct SetRemoteRef(PhantomData S>); impl sealed::Sealed for SetRemoteRef {} impl State for SetRemoteRef { type RemoteRef = Set; - type Repo = S::Repo; - type ForkRef = S::ForkRef; - } - ///State transition - sets the `repo` field to Set - pub struct SetRepo(PhantomData S>); - impl sealed::Sealed for SetRepo {} - impl State for SetRepo { - type RemoteRef = S::RemoteRef; - type Repo = Set; type ForkRef = S::ForkRef; + type Repo = S::Repo; } ///State transition - sets the `fork_ref` field to Set pub struct SetForkRef(PhantomData S>); impl sealed::Sealed for SetForkRef {} impl State for SetForkRef { type RemoteRef = S::RemoteRef; - type Repo = S::Repo; type ForkRef = Set; + type Repo = S::Repo; + } + ///State transition - sets the `repo` field to Set + pub struct SetRepo(PhantomData S>); + impl sealed::Sealed for SetRepo {} + impl State for SetRepo { + type RemoteRef = S::RemoteRef; + type ForkRef = S::ForkRef; + type Repo = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `remote_ref` field pub struct remote_ref(()); - ///Marker type for the `repo` field - pub struct repo(()); ///Marker type for the `fork_ref` field pub struct fork_ref(()); + ///Marker type for the `repo` field + pub struct repo(()); } } @@ -176,8 +176,8 @@ impl<'a, S> HiddenRefBuilder<'a, S> where S: hidden_ref_state::State, S::RemoteRef: hidden_ref_state::IsSet, - S::Repo: hidden_ref_state::IsSet, S::ForkRef: hidden_ref_state::IsSet, + S::Repo: hidden_ref_state::IsSet, { /// Build the final struct pub fn build(self) -> HiddenRef<'a> { @@ -192,7 +192,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> HiddenRef<'a> { diff --git a/crates/jacquard-api/src/sh_tangled/repo/issue.rs b/crates/jacquard-api/src/sh_tangled/repo/issue.rs index f6a8dc74c..fc3178f86 100644 --- a/crates/jacquard-api/src/sh_tangled/repo/issue.rs +++ b/crates/jacquard-api/src/sh_tangled/repo/issue.rs @@ -46,51 +46,51 @@ pub mod issue_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Repo; type Title; type CreatedAt; + type Repo; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Repo = Unset; type Title = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `repo` field to Set - pub struct SetRepo(PhantomData S>); - impl sealed::Sealed for SetRepo {} - impl State for SetRepo { - type Repo = Set; - type Title = S::Title; - type CreatedAt = S::CreatedAt; + type Repo = Unset; } ///State transition - sets the `title` field to Set pub struct SetTitle(PhantomData S>); impl sealed::Sealed for SetTitle {} impl State for SetTitle { - type Repo = S::Repo; type Title = Set; type CreatedAt = S::CreatedAt; + type Repo = S::Repo; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Repo = S::Repo; type Title = S::Title; type CreatedAt = Set; + type Repo = S::Repo; + } + ///State transition - sets the `repo` field to Set + pub struct SetRepo(PhantomData S>); + impl sealed::Sealed for SetRepo {} + impl State for SetRepo { + type Title = S::Title; + type CreatedAt = S::CreatedAt; + type Repo = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `repo` field - pub struct repo(()); ///Marker type for the `title` field pub struct title(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `repo` field + pub struct repo(()); } } @@ -240,9 +240,9 @@ where impl<'a, S> IssueBuilder<'a, S> where S: issue_state::State, - S::Repo: issue_state::IsSet, S::Title: issue_state::IsSet, S::CreatedAt: issue_state::IsSet, + S::Repo: issue_state::IsSet, { /// Build the final struct pub fn build(self) -> Issue<'a> { @@ -260,7 +260,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Issue<'a> { @@ -365,7 +365,7 @@ fn lexicon_doc_sh_tangled_repo_issue() -> ::jacquard_lexicon::lexicon::LexiconDo defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -373,9 +373,9 @@ fn lexicon_doc_sh_tangled_repo_issue() -> ::jacquard_lexicon::lexicon::LexiconDo description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("repo"), - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("repo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -383,7 +383,9 @@ fn lexicon_doc_sh_tangled_repo_issue() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("body"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "body", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -398,7 +400,7 @@ fn lexicon_doc_sh_tangled_repo_issue() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -417,7 +419,7 @@ fn lexicon_doc_sh_tangled_repo_issue() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mentions", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -441,7 +443,7 @@ fn lexicon_doc_sh_tangled_repo_issue() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "references", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -465,7 +467,9 @@ fn lexicon_doc_sh_tangled_repo_issue() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("repo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "repo", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -482,7 +486,9 @@ fn lexicon_doc_sh_tangled_repo_issue() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, 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 18c725664..f9a7249f1 100644 --- a/crates/jacquard-api/src/sh_tangled/repo/issue/comment.rs +++ b/crates/jacquard-api/src/sh_tangled/repo/issue/comment.rs @@ -43,51 +43,51 @@ pub mod comment_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Issue; type Body; type CreatedAt; - type Issue; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Issue = Unset; type Body = Unset; type CreatedAt = Unset; - type Issue = Unset; + } + ///State transition - sets the `issue` field to Set + pub struct SetIssue(PhantomData S>); + impl sealed::Sealed for SetIssue {} + impl State for SetIssue { + type Issue = Set; + type Body = S::Body; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `body` field to Set pub struct SetBody(PhantomData S>); impl sealed::Sealed for SetBody {} impl State for SetBody { + type Issue = S::Issue; type Body = Set; type CreatedAt = S::CreatedAt; - type Issue = S::Issue; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Body = S::Body; - type CreatedAt = Set; type Issue = S::Issue; - } - ///State transition - sets the `issue` field to Set - pub struct SetIssue(PhantomData S>); - impl sealed::Sealed for SetIssue {} - impl State for SetIssue { type Body = S::Body; - type CreatedAt = S::CreatedAt; - type Issue = Set; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `issue` field + pub struct issue(()); ///Marker type for the `body` field pub struct body(()); ///Marker type for the `created_at` field pub struct created_at(()); - ///Marker type for the `issue` field - pub struct issue(()); } } @@ -240,9 +240,9 @@ impl<'a, S: comment_state::State> CommentBuilder<'a, S> { impl<'a, S> CommentBuilder<'a, S> where S: comment_state::State, + S::Issue: comment_state::IsSet, S::Body: comment_state::IsSet, S::CreatedAt: comment_state::IsSet, - S::Issue: comment_state::IsSet, { /// Build the final struct pub fn build(self) -> Comment<'a> { @@ -260,7 +260,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Comment<'a> { @@ -365,7 +365,7 @@ fn lexicon_doc_sh_tangled_repo_issue_comment() -> ::jacquard_lexicon::lexicon::L defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -373,9 +373,9 @@ fn lexicon_doc_sh_tangled_repo_issue_comment() -> ::jacquard_lexicon::lexicon::L description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("issue"), - ::jacquard_common::smol_str::SmolStr::new_static("body"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("issue"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("body"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -383,7 +383,9 @@ fn lexicon_doc_sh_tangled_repo_issue_comment() -> ::jacquard_lexicon::lexicon::L #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("body"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "body", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -398,7 +400,7 @@ fn lexicon_doc_sh_tangled_repo_issue_comment() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -417,7 +419,9 @@ fn lexicon_doc_sh_tangled_repo_issue_comment() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("issue"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "issue", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -434,7 +438,7 @@ fn lexicon_doc_sh_tangled_repo_issue_comment() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mentions", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -458,7 +462,7 @@ fn lexicon_doc_sh_tangled_repo_issue_comment() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "references", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -482,7 +486,9 @@ fn lexicon_doc_sh_tangled_repo_issue_comment() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("replyTo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "replyTo", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( 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 30e0ea3ce..87457d241 100644 --- a/crates/jacquard-api/src/sh_tangled/repo/issue/state.rs +++ b/crates/jacquard-api/src/sh_tangled/repo/issue/state.rs @@ -37,37 +37,37 @@ pub mod state_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Issue; type State; + type Issue; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Issue = Unset; type State = Unset; - } - ///State transition - sets the `issue` field to Set - pub struct SetIssue(PhantomData S>); - impl sealed::Sealed for SetIssue {} - impl State for SetIssue { - type Issue = Set; - type State = S::State; + type Issue = Unset; } ///State transition - sets the `state` field to Set pub struct SetState(PhantomData S>); impl sealed::Sealed for SetState {} impl State for SetState { - type Issue = S::Issue; type State = Set; + type Issue = S::Issue; + } + ///State transition - sets the `issue` field to Set + pub struct SetIssue(PhantomData S>); + impl sealed::Sealed for SetIssue {} + impl State for SetIssue { + type State = S::State; + type Issue = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `issue` field - pub struct issue(()); ///Marker type for the `state` field pub struct state(()); + ///Marker type for the `issue` field + pub struct issue(()); } } @@ -140,8 +140,8 @@ where impl<'a, S> StateBuilder<'a, S> where S: state_state::State, - S::Issue: state_state::IsSet, S::State: state_state::IsSet, + S::Issue: state_state::IsSet, { /// Build the final struct pub fn build(self) -> State<'a> { @@ -155,7 +155,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> State<'a> { @@ -349,7 +349,7 @@ fn lexicon_doc_sh_tangled_repo_issue_state() -> ::jacquard_lexicon::lexicon::Lex defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -357,8 +357,8 @@ fn lexicon_doc_sh_tangled_repo_issue_state() -> ::jacquard_lexicon::lexicon::Lex description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("issue"), - ::jacquard_common::smol_str::SmolStr::new_static("state") + ::jacquard_common::deps::smol_str::SmolStr::new_static("issue"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("state") ], ), nullable: None, @@ -366,7 +366,9 @@ fn lexicon_doc_sh_tangled_repo_issue_state() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("issue"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "issue", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -383,7 +385,9 @@ fn lexicon_doc_sh_tangled_repo_issue_state() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("state"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "state", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("state of the issue"), diff --git a/crates/jacquard-api/src/sh_tangled/repo/languages.rs b/crates/jacquard-api/src/sh_tangled/repo/languages.rs index c305aad93..7f6daf6f7 100644 --- a/crates/jacquard-api/src/sh_tangled/repo/languages.rs +++ b/crates/jacquard-api/src/sh_tangled/repo/languages.rs @@ -47,51 +47,51 @@ pub mod language_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Percentage; type Name; type Size; + type Percentage; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Percentage = Unset; type Name = Unset; type Size = Unset; - } - ///State transition - sets the `percentage` field to Set - pub struct SetPercentage(PhantomData S>); - impl sealed::Sealed for SetPercentage {} - impl State for SetPercentage { - type Percentage = Set; - type Name = S::Name; - type Size = S::Size; + type Percentage = Unset; } ///State transition - sets the `name` field to Set pub struct SetName(PhantomData S>); impl sealed::Sealed for SetName {} impl State for SetName { - type Percentage = S::Percentage; type Name = Set; type Size = S::Size; + type Percentage = S::Percentage; } ///State transition - sets the `size` field to Set pub struct SetSize(PhantomData S>); impl sealed::Sealed for SetSize {} impl State for SetSize { - type Percentage = S::Percentage; type Name = S::Name; type Size = Set; + type Percentage = S::Percentage; + } + ///State transition - sets the `percentage` field to Set + pub struct SetPercentage(PhantomData S>); + impl sealed::Sealed for SetPercentage {} + impl State for SetPercentage { + type Name = S::Name; + type Size = S::Size; + type Percentage = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `percentage` field - pub struct percentage(()); ///Marker type for the `name` field pub struct name(()); ///Marker type for the `size` field pub struct size(()); + ///Marker type for the `percentage` field + pub struct percentage(()); } } @@ -235,9 +235,9 @@ where impl<'a, S> LanguageBuilder<'a, S> where S: language_state::State, - S::Percentage: language_state::IsSet, S::Name: language_state::IsSet, S::Size: language_state::IsSet, + S::Percentage: language_state::IsSet, { /// Build the final struct pub fn build(self) -> Language<'a> { @@ -255,7 +255,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Language<'a> { @@ -282,14 +282,14 @@ fn lexicon_doc_sh_tangled_repo_languages() -> ::jacquard_lexicon::lexicon::Lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("language"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("language"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("size"), - ::jacquard_common::smol_str::SmolStr::new_static("percentage") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("size"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("percentage") ], ), nullable: None, @@ -297,7 +297,9 @@ fn lexicon_doc_sh_tangled_repo_languages() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("color"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "color", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -316,7 +318,7 @@ fn lexicon_doc_sh_tangled_repo_languages() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "extensions", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -342,7 +344,7 @@ fn lexicon_doc_sh_tangled_repo_languages() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "fileCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -355,7 +357,9 @@ fn lexicon_doc_sh_tangled_repo_languages() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -374,7 +378,7 @@ fn lexicon_doc_sh_tangled_repo_languages() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "percentage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -387,7 +391,9 @@ fn lexicon_doc_sh_tangled_repo_languages() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "size", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -402,7 +408,7 @@ fn lexicon_doc_sh_tangled_repo_languages() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcQuery(::jacquard_lexicon::lexicon::LexXrpcQuery { description: None, parameters: Some( @@ -410,14 +416,16 @@ fn lexicon_doc_sh_tangled_repo_languages() -> ::jacquard_lexicon::lexicon::Lexic description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("repo") + ::jacquard_common::deps::smol_str::SmolStr::new_static("repo") ], ), properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("ref"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "ref", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -436,7 +444,9 @@ fn lexicon_doc_sh_tangled_repo_languages() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("repo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "repo", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( 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 6fffb7701..874ff5e84 100644 --- a/crates/jacquard-api/src/sh_tangled/repo/list_secrets.rs +++ b/crates/jacquard-api/src/sh_tangled/repo/list_secrets.rs @@ -184,67 +184,67 @@ pub mod secret_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Repo; - type Key; type CreatedAt; type CreatedBy; + type Repo; + type Key; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Repo = Unset; - type Key = Unset; type CreatedAt = Unset; type CreatedBy = Unset; - } - ///State transition - sets the `repo` field to Set - pub struct SetRepo(PhantomData S>); - impl sealed::Sealed for SetRepo {} - impl State for SetRepo { - type Repo = Set; - type Key = S::Key; - type CreatedAt = S::CreatedAt; - type CreatedBy = S::CreatedBy; - } - ///State transition - sets the `key` field to Set - pub struct SetKey(PhantomData S>); - impl sealed::Sealed for SetKey {} - impl State for SetKey { - type Repo = S::Repo; - type Key = Set; - type CreatedAt = S::CreatedAt; - type CreatedBy = S::CreatedBy; + type Repo = Unset; + type Key = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Repo = S::Repo; - type Key = S::Key; type CreatedAt = Set; type CreatedBy = S::CreatedBy; + type Repo = S::Repo; + type Key = S::Key; } ///State transition - sets the `created_by` field to Set pub struct SetCreatedBy(PhantomData S>); impl sealed::Sealed for SetCreatedBy {} impl State for SetCreatedBy { + type CreatedAt = S::CreatedAt; + type CreatedBy = Set; type Repo = S::Repo; type Key = S::Key; + } + ///State transition - sets the `repo` field to Set + pub struct SetRepo(PhantomData S>); + impl sealed::Sealed for SetRepo {} + impl State for SetRepo { type CreatedAt = S::CreatedAt; - type CreatedBy = Set; + type CreatedBy = S::CreatedBy; + type Repo = Set; + type Key = S::Key; + } + ///State transition - sets the `key` field to Set + pub struct SetKey(PhantomData S>); + impl sealed::Sealed for SetKey {} + impl State for SetKey { + type CreatedAt = S::CreatedAt; + type CreatedBy = S::CreatedBy; + type Repo = S::Repo; + type Key = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `repo` field - pub struct repo(()); - ///Marker type for the `key` field - pub struct key(()); ///Marker type for the `created_at` field pub struct created_at(()); ///Marker type for the `created_by` field pub struct created_by(()); + ///Marker type for the `repo` field + pub struct repo(()); + ///Marker type for the `key` field + pub struct key(()); } } @@ -357,10 +357,10 @@ where impl<'a, S> SecretBuilder<'a, S> where S: secret_state::State, - S::Repo: secret_state::IsSet, - S::Key: secret_state::IsSet, S::CreatedAt: secret_state::IsSet, S::CreatedBy: secret_state::IsSet, + S::Repo: secret_state::IsSet, + S::Key: secret_state::IsSet, { /// Build the final struct pub fn build(self) -> Secret<'a> { @@ -376,7 +376,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Secret<'a> { @@ -401,7 +401,7 @@ fn lexicon_doc_sh_tangled_repo_listSecrets() -> ::jacquard_lexicon::lexicon::Lex defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcQuery(::jacquard_lexicon::lexicon::LexXrpcQuery { description: None, parameters: Some( @@ -409,14 +409,16 @@ fn lexicon_doc_sh_tangled_repo_listSecrets() -> ::jacquard_lexicon::lexicon::Lex description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("repo") + ::jacquard_common::deps::smol_str::SmolStr::new_static("repo") ], ), properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("repo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "repo", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -441,15 +443,15 @@ fn lexicon_doc_sh_tangled_repo_listSecrets() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("secret"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("secret"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("repo"), - ::jacquard_common::smol_str::SmolStr::new_static("key"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt"), - ::jacquard_common::smol_str::SmolStr::new_static("createdBy") + ::jacquard_common::deps::smol_str::SmolStr::new_static("repo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("key"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdBy") ], ), nullable: None, @@ -457,7 +459,7 @@ fn lexicon_doc_sh_tangled_repo_listSecrets() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -476,7 +478,7 @@ fn lexicon_doc_sh_tangled_repo_listSecrets() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdBy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -495,7 +497,9 @@ fn lexicon_doc_sh_tangled_repo_listSecrets() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("key"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "key", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -510,7 +514,9 @@ fn lexicon_doc_sh_tangled_repo_listSecrets() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("repo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "repo", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( diff --git a/crates/jacquard-api/src/sh_tangled/repo/log.rs b/crates/jacquard-api/src/sh_tangled/repo/log.rs index d05f6008f..f7a769bac 100644 --- a/crates/jacquard-api/src/sh_tangled/repo/log.rs +++ b/crates/jacquard-api/src/sh_tangled/repo/log.rs @@ -42,37 +42,37 @@ pub mod log_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Ref; type Repo; + type Ref; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Ref = Unset; type Repo = Unset; - } - ///State transition - sets the `ref` field to Set - pub struct SetRef(PhantomData S>); - impl sealed::Sealed for SetRef {} - impl State for SetRef { - type Ref = Set; - type Repo = S::Repo; + type Ref = Unset; } ///State transition - sets the `repo` field to Set pub struct SetRepo(PhantomData S>); impl sealed::Sealed for SetRepo {} impl State for SetRepo { - type Ref = S::Ref; type Repo = Set; + type Ref = S::Ref; + } + ///State transition - sets the `ref` field to Set + pub struct SetRef(PhantomData S>); + impl sealed::Sealed for SetRef {} + impl State for SetRef { + type Repo = S::Repo; + type Ref = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `ref` field - pub struct r#ref(()); ///Marker type for the `repo` field pub struct repo(()); + ///Marker type for the `ref` field + pub struct r#ref(()); } } @@ -193,8 +193,8 @@ where impl<'a, S> LogBuilder<'a, S> where S: log_state::State, - S::Ref: log_state::IsSet, S::Repo: log_state::IsSet, + S::Ref: log_state::IsSet, { /// Build the final struct pub fn build(self) -> Log<'a> { @@ -219,7 +219,7 @@ where )] #[serde(rename_all = "camelCase")] pub struct LogOutput { - pub body: bytes::Bytes, + pub body: jacquard_common::deps::bytes::Bytes, } #[jacquard_derive::open_union] @@ -307,7 +307,7 @@ impl jacquard_common::xrpc::XrpcResp for LogResponse { Self::Output<'de>: serde::Deserialize<'de>, { Ok(LogOutput { - body: bytes::Bytes::copy_from_slice(body), + body: jacquard_common::deps::bytes::Bytes::copy_from_slice(body), }) } } diff --git a/crates/jacquard-api/src/sh_tangled/repo/merge.rs b/crates/jacquard-api/src/sh_tangled/repo/merge.rs index e55baa58a..f6508e84b 100644 --- a/crates/jacquard-api/src/sh_tangled/repo/merge.rs +++ b/crates/jacquard-api/src/sh_tangled/repo/merge.rs @@ -57,67 +57,67 @@ pub mod merge_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Patch; + type Did; type Name; type Branch; - type Did; + type Patch; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Patch = Unset; + type Did = Unset; type Name = Unset; type Branch = Unset; - type Did = Unset; + type Patch = Unset; } - ///State transition - sets the `patch` field to Set - pub struct SetPatch(PhantomData S>); - impl sealed::Sealed for SetPatch {} - impl State for SetPatch { - type Patch = Set; + ///State transition - sets the `did` field to Set + pub struct SetDid(PhantomData S>); + impl sealed::Sealed for SetDid {} + impl State for SetDid { + type Did = Set; type Name = S::Name; type Branch = S::Branch; - type Did = S::Did; + type Patch = S::Patch; } ///State transition - sets the `name` field to Set pub struct SetName(PhantomData S>); impl sealed::Sealed for SetName {} impl State for SetName { - type Patch = S::Patch; + type Did = S::Did; type Name = Set; type Branch = S::Branch; - type Did = S::Did; + type Patch = S::Patch; } ///State transition - sets the `branch` field to Set pub struct SetBranch(PhantomData S>); impl sealed::Sealed for SetBranch {} impl State for SetBranch { - type Patch = S::Patch; + type Did = S::Did; type Name = S::Name; type Branch = Set; - type Did = S::Did; - } - ///State transition - sets the `did` field to Set - pub struct SetDid(PhantomData S>); - impl sealed::Sealed for SetDid {} - impl State for SetDid { type Patch = S::Patch; + } + ///State transition - sets the `patch` field to Set + pub struct SetPatch(PhantomData S>); + impl sealed::Sealed for SetPatch {} + impl State for SetPatch { + type Did = S::Did; type Name = S::Name; type Branch = S::Branch; - type Did = Set; + type Patch = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `patch` field - pub struct patch(()); + ///Marker type for the `did` field + pub struct did(()); ///Marker type for the `name` field pub struct name(()); ///Marker type for the `branch` field pub struct branch(()); - ///Marker type for the `did` field - pub struct did(()); + ///Marker type for the `patch` field + pub struct patch(()); } } @@ -310,10 +310,10 @@ where impl<'a, S> MergeBuilder<'a, S> where S: merge_state::State, - S::Patch: merge_state::IsSet, + S::Did: merge_state::IsSet, S::Name: merge_state::IsSet, S::Branch: merge_state::IsSet, - S::Did: merge_state::IsSet, + S::Patch: merge_state::IsSet, { /// Build the final struct pub fn build(self) -> Merge<'a> { @@ -333,7 +333,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Merge<'a> { 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 872c49003..b86de8cdb 100644 --- a/crates/jacquard-api/src/sh_tangled/repo/merge_check.rs +++ b/crates/jacquard-api/src/sh_tangled/repo/merge_check.rs @@ -37,13 +37,13 @@ fn lexicon_doc_sh_tangled_repo_mergeCheck() -> ::jacquard_lexicon::lexicon::Lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("conflictInfo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("conflictInfo"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("filename"), - ::jacquard_common::smol_str::SmolStr::new_static("reason") + ::jacquard_common::deps::smol_str::SmolStr::new_static("filename"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("reason") ], ), nullable: None, @@ -51,7 +51,9 @@ fn lexicon_doc_sh_tangled_repo_mergeCheck() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("filename"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "filename", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -70,7 +72,9 @@ fn lexicon_doc_sh_tangled_repo_mergeCheck() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reason"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reason", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -93,7 +97,7 @@ fn lexicon_doc_sh_tangled_repo_mergeCheck() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcProcedure(::jacquard_lexicon::lexicon::LexXrpcProcedure { description: None, parameters: None, @@ -107,10 +111,10 @@ fn lexicon_doc_sh_tangled_repo_mergeCheck() -> ::jacquard_lexicon::lexicon::Lexi description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("did"), - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("patch"), - ::jacquard_common::smol_str::SmolStr::new_static("branch") + ::jacquard_common::deps::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("patch"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("branch") ], ), nullable: None, @@ -118,7 +122,9 @@ fn lexicon_doc_sh_tangled_repo_mergeCheck() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("branch"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "branch", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -137,7 +143,9 @@ fn lexicon_doc_sh_tangled_repo_mergeCheck() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -158,7 +166,9 @@ fn lexicon_doc_sh_tangled_repo_mergeCheck() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -177,7 +187,9 @@ fn lexicon_doc_sh_tangled_repo_mergeCheck() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("patch"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "patch", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -262,67 +274,67 @@ pub mod merge_check_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Did; type Patch; type Branch; type Name; - type Did; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Did = Unset; type Patch = Unset; type Branch = Unset; type Name = Unset; - type Did = Unset; + } + ///State transition - sets the `did` field to Set + pub struct SetDid(PhantomData S>); + impl sealed::Sealed for SetDid {} + impl State for SetDid { + type Did = Set; + type Patch = S::Patch; + type Branch = S::Branch; + type Name = S::Name; } ///State transition - sets the `patch` field to Set pub struct SetPatch(PhantomData S>); impl sealed::Sealed for SetPatch {} impl State for SetPatch { + type Did = S::Did; type Patch = Set; type Branch = S::Branch; type Name = S::Name; - type Did = S::Did; } ///State transition - sets the `branch` field to Set pub struct SetBranch(PhantomData S>); impl sealed::Sealed for SetBranch {} impl State for SetBranch { + type Did = S::Did; type Patch = S::Patch; type Branch = Set; type Name = S::Name; - type Did = S::Did; } ///State transition - sets the `name` field to Set pub struct SetName(PhantomData S>); impl sealed::Sealed for SetName {} impl State for SetName { - type Patch = S::Patch; - type Branch = S::Branch; - type Name = Set; type Did = S::Did; - } - ///State transition - sets the `did` field to Set - pub struct SetDid(PhantomData S>); - impl sealed::Sealed for SetDid {} - impl State for SetDid { type Patch = S::Patch; type Branch = S::Branch; - type Name = S::Name; - type Did = Set; + type Name = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `did` field + pub struct did(()); ///Marker type for the `patch` field pub struct patch(()); ///Marker type for the `branch` field pub struct branch(()); ///Marker type for the `name` field pub struct name(()); - ///Marker type for the `did` field - pub struct did(()); } } @@ -435,10 +447,10 @@ where impl<'a, S> MergeCheckBuilder<'a, S> where S: merge_check_state::State, + S::Did: merge_check_state::IsSet, S::Patch: merge_check_state::IsSet, S::Branch: merge_check_state::IsSet, S::Name: merge_check_state::IsSet, - S::Did: merge_check_state::IsSet, { /// Build the final struct pub fn build(self) -> MergeCheck<'a> { @@ -454,7 +466,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> MergeCheck<'a> { diff --git a/crates/jacquard-api/src/sh_tangled/repo/pull.rs b/crates/jacquard-api/src/sh_tangled/repo/pull.rs index 3149d1794..b8b8b9587 100644 --- a/crates/jacquard-api/src/sh_tangled/repo/pull.rs +++ b/crates/jacquard-api/src/sh_tangled/repo/pull.rs @@ -56,67 +56,67 @@ pub mod pull_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type PatchBlob; type CreatedAt; - type Title; type Target; + type PatchBlob; + type Title; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type PatchBlob = Unset; type CreatedAt = Unset; - type Title = Unset; type Target = Unset; - } - ///State transition - sets the `patch_blob` field to Set - pub struct SetPatchBlob(PhantomData S>); - impl sealed::Sealed for SetPatchBlob {} - impl State for SetPatchBlob { - type PatchBlob = Set; - type CreatedAt = S::CreatedAt; - type Title = S::Title; - type Target = S::Target; + type PatchBlob = Unset; + type Title = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type PatchBlob = S::PatchBlob; type CreatedAt = Set; - type Title = S::Title; type Target = S::Target; - } - ///State transition - sets the `title` field to Set - pub struct SetTitle(PhantomData S>); - impl sealed::Sealed for SetTitle {} - impl State for SetTitle { type PatchBlob = S::PatchBlob; - type CreatedAt = S::CreatedAt; - type Title = Set; - type Target = S::Target; + type Title = S::Title; } ///State transition - sets the `target` field to Set pub struct SetTarget(PhantomData S>); impl sealed::Sealed for SetTarget {} impl State for SetTarget { + type CreatedAt = S::CreatedAt; + type Target = Set; type PatchBlob = S::PatchBlob; + type Title = S::Title; + } + ///State transition - sets the `patch_blob` field to Set + pub struct SetPatchBlob(PhantomData S>); + impl sealed::Sealed for SetPatchBlob {} + impl State for SetPatchBlob { type CreatedAt = S::CreatedAt; + type Target = S::Target; + type PatchBlob = Set; type Title = S::Title; - type Target = Set; + } + ///State transition - sets the `title` field to Set + pub struct SetTitle(PhantomData S>); + impl sealed::Sealed for SetTitle {} + impl State for SetTitle { + type CreatedAt = S::CreatedAt; + type Target = S::Target; + type PatchBlob = S::PatchBlob; + type Title = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `patch_blob` field - pub struct patch_blob(()); ///Marker type for the `created_at` field pub struct created_at(()); - ///Marker type for the `title` field - pub struct title(()); ///Marker type for the `target` field pub struct target(()); + ///Marker type for the `patch_blob` field + pub struct patch_blob(()); + ///Marker type for the `title` field + pub struct title(()); } } @@ -333,10 +333,10 @@ where impl<'a, S> PullBuilder<'a, S> where S: pull_state::State, - S::PatchBlob: pull_state::IsSet, S::CreatedAt: pull_state::IsSet, - S::Title: pull_state::IsSet, S::Target: pull_state::IsSet, + S::PatchBlob: pull_state::IsSet, + S::Title: pull_state::IsSet, { /// Build the final struct pub fn build(self) -> Pull<'a> { @@ -357,7 +357,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Pull<'a> { @@ -465,7 +465,7 @@ fn lexicon_doc_sh_tangled_repo_pull() -> ::jacquard_lexicon::lexicon::LexiconDoc defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -473,10 +473,10 @@ fn lexicon_doc_sh_tangled_repo_pull() -> ::jacquard_lexicon::lexicon::LexiconDoc description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("target"), - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("patchBlob"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("target"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("patchBlob"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -484,7 +484,9 @@ fn lexicon_doc_sh_tangled_repo_pull() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("body"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "body", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -499,7 +501,7 @@ fn lexicon_doc_sh_tangled_repo_pull() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -518,7 +520,7 @@ fn lexicon_doc_sh_tangled_repo_pull() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mentions", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -542,7 +544,9 @@ fn lexicon_doc_sh_tangled_repo_pull() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("patch"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "patch", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -561,7 +565,7 @@ fn lexicon_doc_sh_tangled_repo_pull() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "patchBlob", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { @@ -571,7 +575,7 @@ fn lexicon_doc_sh_tangled_repo_pull() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "references", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -595,21 +599,27 @@ fn lexicon_doc_sh_tangled_repo_pull() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("source"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "source", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#source"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("target"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "target", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#target"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -629,13 +639,13 @@ fn lexicon_doc_sh_tangled_repo_pull() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("source"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("source"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("branch"), - ::jacquard_common::smol_str::SmolStr::new_static("sha") + ::jacquard_common::deps::smol_str::SmolStr::new_static("branch"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("sha") ], ), nullable: None, @@ -643,7 +653,9 @@ fn lexicon_doc_sh_tangled_repo_pull() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("branch"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "branch", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -658,7 +670,9 @@ fn lexicon_doc_sh_tangled_repo_pull() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("repo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "repo", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -675,7 +689,9 @@ fn lexicon_doc_sh_tangled_repo_pull() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sha"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sha", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -694,13 +710,13 @@ fn lexicon_doc_sh_tangled_repo_pull() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("target"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("target"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("repo"), - ::jacquard_common::smol_str::SmolStr::new_static("branch") + ::jacquard_common::deps::smol_str::SmolStr::new_static("repo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("branch") ], ), nullable: None, @@ -708,7 +724,9 @@ fn lexicon_doc_sh_tangled_repo_pull() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("branch"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "branch", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -723,7 +741,9 @@ fn lexicon_doc_sh_tangled_repo_pull() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("repo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "repo", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -959,7 +979,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Target<'a> { 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 e58377aae..e2e5b0642 100644 --- a/crates/jacquard-api/src/sh_tangled/repo/pull/comment.rs +++ b/crates/jacquard-api/src/sh_tangled/repo/pull/comment.rs @@ -40,51 +40,51 @@ pub mod comment_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type Pull; type Body; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type Pull = Unset; type Body = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Pull = S::Pull; - type Body = S::Body; + type CreatedAt = Unset; } ///State transition - sets the `pull` field to Set pub struct SetPull(PhantomData S>); impl sealed::Sealed for SetPull {} impl State for SetPull { - type CreatedAt = S::CreatedAt; type Pull = Set; type Body = S::Body; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `body` field to Set pub struct SetBody(PhantomData S>); impl sealed::Sealed for SetBody {} impl State for SetBody { - type CreatedAt = S::CreatedAt; type Pull = S::Pull; type Body = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Pull = S::Pull; + type Body = S::Body; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `pull` field pub struct pull(()); ///Marker type for the `body` field pub struct body(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -217,9 +217,9 @@ impl<'a, S: comment_state::State> CommentBuilder<'a, S> { impl<'a, S> CommentBuilder<'a, S> where S: comment_state::State, - S::CreatedAt: comment_state::IsSet, S::Pull: comment_state::IsSet, S::Body: comment_state::IsSet, + S::CreatedAt: comment_state::IsSet, { /// Build the final struct pub fn build(self) -> Comment<'a> { @@ -236,7 +236,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Comment<'a> { @@ -340,7 +340,7 @@ fn lexicon_doc_sh_tangled_repo_pull_comment() -> ::jacquard_lexicon::lexicon::Le defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -348,9 +348,9 @@ fn lexicon_doc_sh_tangled_repo_pull_comment() -> ::jacquard_lexicon::lexicon::Le description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("pull"), - ::jacquard_common::smol_str::SmolStr::new_static("body"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("pull"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("body"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -358,7 +358,9 @@ fn lexicon_doc_sh_tangled_repo_pull_comment() -> ::jacquard_lexicon::lexicon::Le #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("body"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "body", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -373,7 +375,7 @@ fn lexicon_doc_sh_tangled_repo_pull_comment() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -392,7 +394,7 @@ fn lexicon_doc_sh_tangled_repo_pull_comment() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mentions", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -416,7 +418,9 @@ fn lexicon_doc_sh_tangled_repo_pull_comment() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("pull"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "pull", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -433,7 +437,7 @@ fn lexicon_doc_sh_tangled_repo_pull_comment() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "references", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { 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 f4b67dae4..c7adec2a6 100644 --- a/crates/jacquard-api/src/sh_tangled/repo/pull/status.rs +++ b/crates/jacquard-api/src/sh_tangled/repo/pull/status.rs @@ -38,37 +38,37 @@ pub mod status_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Status; type Pull; + type Status; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Status = Unset; type Pull = Unset; - } - ///State transition - sets the `status` field to Set - pub struct SetStatus(PhantomData S>); - impl sealed::Sealed for SetStatus {} - impl State for SetStatus { - type Status = Set; - type Pull = S::Pull; + type Status = Unset; } ///State transition - sets the `pull` field to Set pub struct SetPull(PhantomData S>); impl sealed::Sealed for SetPull {} impl State for SetPull { - type Status = S::Status; type Pull = Set; + type Status = S::Status; + } + ///State transition - sets the `status` field to Set + pub struct SetStatus(PhantomData S>); + impl sealed::Sealed for SetStatus {} + impl State for SetStatus { + type Pull = S::Pull; + type Status = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `status` field - pub struct status(()); ///Marker type for the `pull` field pub struct pull(()); + ///Marker type for the `status` field + pub struct status(()); } } @@ -141,8 +141,8 @@ where impl<'a, S> StatusBuilder<'a, S> where S: status_state::State, - S::Status: status_state::IsSet, S::Pull: status_state::IsSet, + S::Status: status_state::IsSet, { /// Build the final struct pub fn build(self) -> Status<'a> { @@ -156,7 +156,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Status<'a> { @@ -357,7 +357,7 @@ fn lexicon_doc_sh_tangled_repo_pull_status() -> ::jacquard_lexicon::lexicon::Lex defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -365,8 +365,8 @@ fn lexicon_doc_sh_tangled_repo_pull_status() -> ::jacquard_lexicon::lexicon::Lex description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("pull"), - ::jacquard_common::smol_str::SmolStr::new_static("status") + ::jacquard_common::deps::smol_str::SmolStr::new_static("pull"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("status") ], ), nullable: None, @@ -374,7 +374,9 @@ fn lexicon_doc_sh_tangled_repo_pull_status() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("pull"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "pull", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -391,7 +393,9 @@ fn lexicon_doc_sh_tangled_repo_pull_status() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("status"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "status", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( 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 c994e075a..b96ce2d15 100644 --- a/crates/jacquard-api/src/sh_tangled/repo/remove_secret.rs +++ b/crates/jacquard-api/src/sh_tangled/repo/remove_secret.rs @@ -151,7 +151,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> RemoveSecret<'a> { 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 8d1277742..b026f81f7 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 @@ -151,7 +151,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> SetDefaultBranch<'a> { diff --git a/crates/jacquard-api/src/sh_tangled/repo/tag.rs b/crates/jacquard-api/src/sh_tangled/repo/tag.rs index 5c522aae3..02f035349 100644 --- a/crates/jacquard-api/src/sh_tangled/repo/tag.rs +++ b/crates/jacquard-api/src/sh_tangled/repo/tag.rs @@ -158,7 +158,7 @@ where )] #[serde(rename_all = "camelCase")] pub struct TagOutput { - pub body: bytes::Bytes, + pub body: jacquard_common::deps::bytes::Bytes, } #[jacquard_derive::open_union] @@ -236,7 +236,7 @@ impl jacquard_common::xrpc::XrpcResp for TagResponse { Self::Output<'de>: serde::Deserialize<'de>, { Ok(TagOutput { - body: bytes::Bytes::copy_from_slice(body), + body: jacquard_common::deps::bytes::Bytes::copy_from_slice(body), }) } } diff --git a/crates/jacquard-api/src/sh_tangled/repo/tags.rs b/crates/jacquard-api/src/sh_tangled/repo/tags.rs index 6c3ddb5ad..2a600a980 100644 --- a/crates/jacquard-api/src/sh_tangled/repo/tags.rs +++ b/crates/jacquard-api/src/sh_tangled/repo/tags.rs @@ -161,7 +161,7 @@ where )] #[serde(rename_all = "camelCase")] pub struct TagsOutput { - pub body: bytes::Bytes, + pub body: jacquard_common::deps::bytes::Bytes, } #[jacquard_derive::open_union] @@ -229,7 +229,7 @@ impl jacquard_common::xrpc::XrpcResp for TagsResponse { Self::Output<'de>: serde::Deserialize<'de>, { Ok(TagsOutput { - body: bytes::Bytes::copy_from_slice(body), + body: jacquard_common::deps::bytes::Bytes::copy_from_slice(body), }) } } diff --git a/crates/jacquard-api/src/sh_tangled/repo/tree.rs b/crates/jacquard-api/src/sh_tangled/repo/tree.rs index 4d8f03721..4a7ce35f0 100644 --- a/crates/jacquard-api/src/sh_tangled/repo/tree.rs +++ b/crates/jacquard-api/src/sh_tangled/repo/tree.rs @@ -215,7 +215,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> LastCommit<'a> { @@ -240,14 +240,14 @@ fn lexicon_doc_sh_tangled_repo_tree() -> ::jacquard_lexicon::lexicon::LexiconDoc defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("lastCommit"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("lastCommit"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("hash"), - ::jacquard_common::smol_str::SmolStr::new_static("message"), - ::jacquard_common::smol_str::SmolStr::new_static("when") + ::jacquard_common::deps::smol_str::SmolStr::new_static("hash"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("message"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("when") ], ), nullable: None, @@ -255,14 +255,18 @@ fn lexicon_doc_sh_tangled_repo_tree() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "author", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#signature"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hash"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "hash", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Commit hash"), @@ -279,7 +283,9 @@ fn lexicon_doc_sh_tangled_repo_tree() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("message"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "message", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Commit message"), @@ -296,7 +302,9 @@ fn lexicon_doc_sh_tangled_repo_tree() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("when"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "when", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Commit timestamp"), @@ -319,7 +327,7 @@ fn lexicon_doc_sh_tangled_repo_tree() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcQuery(::jacquard_lexicon::lexicon::LexXrpcQuery { description: None, parameters: Some( @@ -327,15 +335,17 @@ fn lexicon_doc_sh_tangled_repo_tree() -> ::jacquard_lexicon::lexicon::LexiconDoc description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("repo"), - ::jacquard_common::smol_str::SmolStr::new_static("ref") + ::jacquard_common::deps::smol_str::SmolStr::new_static("repo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("ref") ], ), properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("path"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "path", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -354,7 +364,9 @@ fn lexicon_doc_sh_tangled_repo_tree() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("ref"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "ref", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -373,7 +385,9 @@ fn lexicon_doc_sh_tangled_repo_tree() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("repo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "repo", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -400,13 +414,13 @@ fn lexicon_doc_sh_tangled_repo_tree() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("readme"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("readme"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("filename"), - ::jacquard_common::smol_str::SmolStr::new_static("contents") + ::jacquard_common::deps::smol_str::SmolStr::new_static("filename"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("contents") ], ), nullable: None, @@ -414,7 +428,9 @@ fn lexicon_doc_sh_tangled_repo_tree() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("contents"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "contents", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -433,7 +449,9 @@ fn lexicon_doc_sh_tangled_repo_tree() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("filename"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "filename", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -456,14 +474,14 @@ fn lexicon_doc_sh_tangled_repo_tree() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("signature"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("signature"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("email"), - ::jacquard_common::smol_str::SmolStr::new_static("when") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("email"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("when") ], ), nullable: None, @@ -471,7 +489,9 @@ fn lexicon_doc_sh_tangled_repo_tree() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("email"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "email", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Author email"), @@ -488,7 +508,9 @@ fn lexicon_doc_sh_tangled_repo_tree() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Author name"), @@ -505,7 +527,9 @@ fn lexicon_doc_sh_tangled_repo_tree() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("when"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "when", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Author timestamp"), @@ -528,14 +552,14 @@ fn lexicon_doc_sh_tangled_repo_tree() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("treeEntry"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("treeEntry"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("mode"), - ::jacquard_common::smol_str::SmolStr::new_static("size") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("mode"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("size") ], ), nullable: None, @@ -543,7 +567,7 @@ fn lexicon_doc_sh_tangled_repo_tree() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "last_commit", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -552,7 +576,9 @@ fn lexicon_doc_sh_tangled_repo_tree() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("mode"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "mode", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("File mode"), @@ -569,7 +595,9 @@ fn lexicon_doc_sh_tangled_repo_tree() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -588,7 +616,9 @@ fn lexicon_doc_sh_tangled_repo_tree() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "size", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -984,50 +1014,50 @@ pub mod signature_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Email; - type Name; type When; + type Name; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Email = Unset; - type Name = Unset; type When = Unset; + type Name = Unset; } ///State transition - sets the `email` field to Set pub struct SetEmail(PhantomData S>); impl sealed::Sealed for SetEmail {} impl State for SetEmail { type Email = Set; - type Name = S::Name; - type When = S::When; - } - ///State transition - sets the `name` field to Set - pub struct SetName(PhantomData S>); - impl sealed::Sealed for SetName {} - impl State for SetName { - type Email = S::Email; - type Name = Set; type When = S::When; + type Name = S::Name; } ///State transition - sets the `when` field to Set pub struct SetWhen(PhantomData S>); impl sealed::Sealed for SetWhen {} impl State for SetWhen { type Email = S::Email; - type Name = S::Name; type When = Set; + type Name = S::Name; + } + ///State transition - sets the `name` field to Set + pub struct SetName(PhantomData S>); + impl sealed::Sealed for SetName {} + impl State for SetName { + type Email = S::Email; + type When = S::When; + type Name = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `email` field pub struct email(()); - ///Marker type for the `name` field - pub struct name(()); ///Marker type for the `when` field pub struct when(()); + ///Marker type for the `name` field + pub struct name(()); } } @@ -1121,8 +1151,8 @@ impl<'a, S> SignatureBuilder<'a, S> where S: signature_state::State, S::Email: signature_state::IsSet, - S::Name: signature_state::IsSet, S::When: signature_state::IsSet, + S::Name: signature_state::IsSet, { /// Build the final struct pub fn build(self) -> Signature<'a> { @@ -1137,7 +1167,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Signature<'a> { @@ -1202,49 +1232,49 @@ pub mod tree_entry_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Mode; type Name; + type Mode; type Size; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Mode = Unset; type Name = Unset; + type Mode = Unset; type Size = Unset; } - ///State transition - sets the `mode` field to Set - pub struct SetMode(PhantomData S>); - impl sealed::Sealed for SetMode {} - impl State for SetMode { - type Mode = Set; - type Name = S::Name; - type Size = S::Size; - } ///State transition - sets the `name` field to Set pub struct SetName(PhantomData S>); impl sealed::Sealed for SetName {} impl State for SetName { - type Mode = S::Mode; type Name = Set; + type Mode = S::Mode; + type Size = S::Size; + } + ///State transition - sets the `mode` field to Set + pub struct SetMode(PhantomData S>); + impl sealed::Sealed for SetMode {} + impl State for SetMode { + type Name = S::Name; + type Mode = Set; type Size = S::Size; } ///State transition - sets the `size` field to Set pub struct SetSize(PhantomData S>); impl sealed::Sealed for SetSize {} impl State for SetSize { - type Mode = S::Mode; type Name = S::Name; + type Mode = S::Mode; type Size = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `mode` field - pub struct mode(()); ///Marker type for the `name` field pub struct name(()); + ///Marker type for the `mode` field + pub struct mode(()); ///Marker type for the `size` field pub struct size(()); } @@ -1359,8 +1389,8 @@ where impl<'a, S> TreeEntryBuilder<'a, S> where S: tree_entry_state::State, - S::Mode: tree_entry_state::IsSet, S::Name: tree_entry_state::IsSet, + S::Mode: tree_entry_state::IsSet, S::Size: tree_entry_state::IsSet, { /// Build the final struct @@ -1377,7 +1407,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> TreeEntry<'a> { diff --git a/crates/jacquard-api/src/sh_tangled/spindle.rs b/crates/jacquard-api/src/sh_tangled/spindle.rs index 073cbf7b9..20cb2dd5e 100644 --- a/crates/jacquard-api/src/sh_tangled/spindle.rs +++ b/crates/jacquard-api/src/sh_tangled/spindle.rs @@ -116,7 +116,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Spindle<'a> { @@ -214,7 +214,7 @@ fn lexicon_doc_sh_tangled_spindle() -> ::jacquard_lexicon::lexicon::LexiconDoc<' defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("any")), @@ -222,7 +222,7 @@ fn lexicon_doc_sh_tangled_spindle() -> ::jacquard_lexicon::lexicon::LexiconDoc<' description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -230,7 +230,7 @@ fn lexicon_doc_sh_tangled_spindle() -> ::jacquard_lexicon::lexicon::LexiconDoc<' #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/sh_tangled/spindle/member.rs b/crates/jacquard-api/src/sh_tangled/spindle/member.rs index 4e70b1350..985a6ffc6 100644 --- a/crates/jacquard-api/src/sh_tangled/spindle/member.rs +++ b/crates/jacquard-api/src/sh_tangled/spindle/member.rs @@ -35,51 +35,51 @@ pub mod member_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Instance; type CreatedAt; type Subject; + type Instance; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Instance = Unset; type CreatedAt = Unset; type Subject = Unset; - } - ///State transition - sets the `instance` field to Set - pub struct SetInstance(PhantomData S>); - impl sealed::Sealed for SetInstance {} - impl State for SetInstance { - type Instance = Set; - type CreatedAt = S::CreatedAt; - type Subject = S::Subject; + type Instance = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Instance = S::Instance; type CreatedAt = Set; type Subject = S::Subject; + type Instance = S::Instance; } ///State transition - sets the `subject` field to Set pub struct SetSubject(PhantomData S>); impl sealed::Sealed for SetSubject {} impl State for SetSubject { - type Instance = S::Instance; type CreatedAt = S::CreatedAt; type Subject = Set; + type Instance = S::Instance; + } + ///State transition - sets the `instance` field to Set + pub struct SetInstance(PhantomData S>); + impl sealed::Sealed for SetInstance {} + impl State for SetInstance { + type CreatedAt = S::CreatedAt; + type Subject = S::Subject; + type Instance = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `instance` field - pub struct instance(()); ///Marker type for the `created_at` field pub struct created_at(()); ///Marker type for the `subject` field pub struct subject(()); + ///Marker type for the `instance` field + pub struct instance(()); } } @@ -172,9 +172,9 @@ where impl<'a, S> MemberBuilder<'a, S> where S: member_state::State, - S::Instance: member_state::IsSet, S::CreatedAt: member_state::IsSet, S::Subject: member_state::IsSet, + S::Instance: member_state::IsSet, { /// Build the final struct pub fn build(self) -> Member<'a> { @@ -189,7 +189,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Member<'a> { @@ -291,7 +291,7 @@ fn lexicon_doc_sh_tangled_spindle_member() -> ::jacquard_lexicon::lexicon::Lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -299,9 +299,9 @@ fn lexicon_doc_sh_tangled_spindle_member() -> ::jacquard_lexicon::lexicon::Lexic description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("instance"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("instance"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -309,7 +309,7 @@ fn lexicon_doc_sh_tangled_spindle_member() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -328,7 +328,7 @@ fn lexicon_doc_sh_tangled_spindle_member() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "instance", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -349,7 +349,9 @@ fn lexicon_doc_sh_tangled_spindle_member() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( diff --git a/crates/jacquard-api/src/sh_tangled/string.rs b/crates/jacquard-api/src/sh_tangled/string.rs index d1b46d62c..482ec92dc 100644 --- a/crates/jacquard-api/src/sh_tangled/string.rs +++ b/crates/jacquard-api/src/sh_tangled/string.rs @@ -36,65 +36,65 @@ pub mod tangled_string_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; - type Contents; type Filename; + type Contents; + type CreatedAt; type Description; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; - type Contents = Unset; type Filename = Unset; + type Contents = Unset; + type CreatedAt = Unset; type Description = Unset; } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; + ///State transition - sets the `filename` field to Set + pub struct SetFilename(PhantomData S>); + impl sealed::Sealed for SetFilename {} + impl State for SetFilename { + type Filename = Set; type Contents = S::Contents; - type Filename = S::Filename; + type CreatedAt = S::CreatedAt; type Description = S::Description; } ///State transition - sets the `contents` field to Set pub struct SetContents(PhantomData S>); impl sealed::Sealed for SetContents {} impl State for SetContents { - type CreatedAt = S::CreatedAt; - type Contents = Set; type Filename = S::Filename; + type Contents = Set; + type CreatedAt = S::CreatedAt; type Description = S::Description; } - ///State transition - sets the `filename` field to Set - pub struct SetFilename(PhantomData S>); - impl sealed::Sealed for SetFilename {} - impl State for SetFilename { - type CreatedAt = S::CreatedAt; + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Filename = S::Filename; type Contents = S::Contents; - type Filename = Set; + type CreatedAt = Set; type Description = S::Description; } ///State transition - sets the `description` field to Set pub struct SetDescription(PhantomData S>); impl sealed::Sealed for SetDescription {} impl State for SetDescription { - type CreatedAt = S::CreatedAt; - type Contents = S::Contents; type Filename = S::Filename; + type Contents = S::Contents; + type CreatedAt = S::CreatedAt; type Description = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); - ///Marker type for the `contents` field - pub struct contents(()); ///Marker type for the `filename` field pub struct filename(()); + ///Marker type for the `contents` field + pub struct contents(()); + ///Marker type for the `created_at` field + pub struct created_at(()); ///Marker type for the `description` field pub struct description(()); } @@ -209,9 +209,9 @@ where impl<'a, S> TangledStringBuilder<'a, S> where S: tangled_string_state::State, - S::CreatedAt: tangled_string_state::IsSet, - S::Contents: tangled_string_state::IsSet, S::Filename: tangled_string_state::IsSet, + S::Contents: tangled_string_state::IsSet, + S::CreatedAt: tangled_string_state::IsSet, S::Description: tangled_string_state::IsSet, { /// Build the final struct @@ -228,7 +228,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> TangledString<'a> { @@ -319,7 +319,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for TangledString<'a> { { let value = &self.contents; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -338,7 +338,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for TangledString<'a> { { let value = &self.description; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -357,7 +357,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for TangledString<'a> { { let value = &self.filename; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -376,7 +376,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for TangledString<'a> { { let value = &self.filename; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -405,7 +405,7 @@ fn lexicon_doc_sh_tangled_string() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -413,10 +413,10 @@ fn lexicon_doc_sh_tangled_string() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("filename"), - ::jacquard_common::smol_str::SmolStr::new_static("description"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt"), - ::jacquard_common::smol_str::SmolStr::new_static("contents") + ::jacquard_common::deps::smol_str::SmolStr::new_static("filename"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("description"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("contents") ], ), nullable: None, @@ -424,7 +424,7 @@ fn lexicon_doc_sh_tangled_string() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contents", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -441,7 +441,7 @@ fn lexicon_doc_sh_tangled_string() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -460,7 +460,7 @@ fn lexicon_doc_sh_tangled_string() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -477,7 +477,7 @@ fn lexicon_doc_sh_tangled_string() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "filename", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/sh_weaver/actor.rs b/crates/jacquard-api/src/sh_weaver/actor.rs index dd02436b2..25d48c132 100644 --- a/crates/jacquard-api/src/sh_weaver/actor.rs +++ b/crates/jacquard-api/src/sh_weaver/actor.rs @@ -31,7 +31,7 @@ pub struct Author<'a> { /// signed bytes of the corresponding notebook record in the author's repo #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(default, with = "jacquard_common::opt_serde_bytes_helper")] - pub signature: std::option::Option, + pub signature: std::option::Option, } pub mod author_state { @@ -71,7 +71,7 @@ pub struct AuthorBuilder<'a, S: author_state::State> { _phantom_state: ::core::marker::PhantomData S>, __unsafe_private_named: ( ::core::option::Option>, - ::core::option::Option, + ::core::option::Option, ), _phantom: ::core::marker::PhantomData<&'a ()>, } @@ -115,12 +115,18 @@ where impl<'a, S: author_state::State> AuthorBuilder<'a, S> { /// Set the `signature` field (optional) - pub fn signature(mut self, value: impl Into>) -> Self { + pub fn signature( + mut self, + value: impl Into>, + ) -> Self { self.__unsafe_private_named.1 = value.into(); self } /// Set the `signature` field to an Option value (optional) - pub fn maybe_signature(mut self, value: Option) -> Self { + pub fn maybe_signature( + mut self, + value: Option, + ) -> Self { self.__unsafe_private_named.1 = value; self } @@ -143,7 +149,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Author<'a> { @@ -166,7 +172,7 @@ fn lexicon_doc_sh_weaver_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("author"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -174,14 +180,18 @@ fn lexicon_doc_sh_weaver_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("did")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("did") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -198,7 +208,7 @@ fn lexicon_doc_sh_weaver_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "signature", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Bytes(::jacquard_lexicon::lexicon::LexBytes { @@ -212,7 +222,7 @@ fn lexicon_doc_sh_weaver_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("pinnedList"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("pinnedList"), ::jacquard_lexicon::lexicon::LexUserType::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -226,18 +236,22 @@ fn lexicon_doc_sh_weaver_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("profileDataView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "profileDataView", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("inner")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("inner") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "collaborationCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -250,7 +264,7 @@ fn lexicon_doc_sh_weaver_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "entryCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -263,7 +277,7 @@ fn lexicon_doc_sh_weaver_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "followerCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -276,7 +290,7 @@ fn lexicon_doc_sh_weaver_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "followingCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -289,7 +303,9 @@ fn lexicon_doc_sh_weaver_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("inner"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "inner", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -301,7 +317,7 @@ fn lexicon_doc_sh_weaver_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "notebookCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -314,7 +330,9 @@ fn lexicon_doc_sh_weaver_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("viewer"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "viewer", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#viewerState"), @@ -325,18 +343,22 @@ fn lexicon_doc_sh_weaver_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("profileDataViewBasic"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "profileDataViewBasic", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("inner")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("inner") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "followerCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -349,7 +371,7 @@ fn lexicon_doc_sh_weaver_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "followingCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -362,7 +384,9 @@ fn lexicon_doc_sh_weaver_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("inner"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "inner", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -374,7 +398,9 @@ fn lexicon_doc_sh_weaver_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("viewer"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "viewer", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -387,13 +413,13 @@ fn lexicon_doc_sh_weaver_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("profileView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("profileView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("did"), - ::jacquard_common::smol_str::SmolStr::new_static("handle") + ::jacquard_common::deps::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("handle") ], ), nullable: None, @@ -401,7 +427,9 @@ fn lexicon_doc_sh_weaver_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("avatar"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "avatar", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -418,7 +446,9 @@ fn lexicon_doc_sh_weaver_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("banner"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "banner", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -435,7 +465,9 @@ fn lexicon_doc_sh_weaver_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("bluesky"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "bluesky", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -443,7 +475,7 @@ fn lexicon_doc_sh_weaver_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -462,7 +494,7 @@ fn lexicon_doc_sh_weaver_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -479,7 +511,9 @@ fn lexicon_doc_sh_weaver_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -496,7 +530,7 @@ fn lexicon_doc_sh_weaver_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "displayName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -513,7 +547,9 @@ fn lexicon_doc_sh_weaver_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("handle"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "handle", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -530,7 +566,7 @@ fn lexicon_doc_sh_weaver_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "indexedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -549,7 +585,9 @@ fn lexicon_doc_sh_weaver_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("labels"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "labels", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -563,7 +601,9 @@ fn lexicon_doc_sh_weaver_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("links"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "links", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::String(::jacquard_lexicon::lexicon::LexString { @@ -589,7 +629,9 @@ fn lexicon_doc_sh_weaver_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("location"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "location", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -608,14 +650,18 @@ fn lexicon_doc_sh_weaver_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("pinned"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "pinned", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#pinnedList"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("pronouns"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "pronouns", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -624,7 +670,7 @@ fn lexicon_doc_sh_weaver_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "streamplace", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -634,7 +680,7 @@ fn lexicon_doc_sh_weaver_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subscribedCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -647,7 +693,7 @@ fn lexicon_doc_sh_weaver_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subscriberCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -660,7 +706,9 @@ fn lexicon_doc_sh_weaver_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tangled"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tangled", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -672,13 +720,15 @@ fn lexicon_doc_sh_weaver_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("profileViewBasic"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "profileViewBasic", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("did"), - ::jacquard_common::smol_str::SmolStr::new_static("handle") + ::jacquard_common::deps::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("handle") ], ), nullable: None, @@ -686,7 +736,9 @@ fn lexicon_doc_sh_weaver_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("avatar"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "avatar", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -703,7 +755,7 @@ fn lexicon_doc_sh_weaver_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -722,7 +774,9 @@ fn lexicon_doc_sh_weaver_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -739,7 +793,7 @@ fn lexicon_doc_sh_weaver_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "displayName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -756,7 +810,9 @@ fn lexicon_doc_sh_weaver_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("handle"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "handle", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -773,7 +829,7 @@ fn lexicon_doc_sh_weaver_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "indexedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -792,7 +848,9 @@ fn lexicon_doc_sh_weaver_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("labels"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "labels", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -806,7 +864,9 @@ fn lexicon_doc_sh_weaver_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("pronouns"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "pronouns", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -819,7 +879,7 @@ fn lexicon_doc_sh_weaver_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("pronounsList"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("pronounsList"), ::jacquard_lexicon::lexicon::LexUserType::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::String(::jacquard_lexicon::lexicon::LexString { @@ -839,7 +899,9 @@ fn lexicon_doc_sh_weaver_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subscribedNotebook"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subscribedNotebook", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -847,14 +909,18 @@ fn lexicon_doc_sh_weaver_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("uri")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("path"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "path", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -869,7 +935,9 @@ fn lexicon_doc_sh_weaver_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -884,7 +952,9 @@ fn lexicon_doc_sh_weaver_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -905,14 +975,16 @@ fn lexicon_doc_sh_weaver_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tangledProfileView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tangledProfileView", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("bluesky"), - ::jacquard_common::smol_str::SmolStr::new_static("did"), - ::jacquard_common::smol_str::SmolStr::new_static("handle") + ::jacquard_common::deps::smol_str::SmolStr::new_static("bluesky"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("handle") ], ), nullable: None, @@ -920,7 +992,9 @@ fn lexicon_doc_sh_weaver_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("bluesky"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "bluesky", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -928,7 +1002,7 @@ fn lexicon_doc_sh_weaver_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -949,7 +1023,9 @@ fn lexicon_doc_sh_weaver_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -966,7 +1042,9 @@ fn lexicon_doc_sh_weaver_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("handle"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "handle", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -983,7 +1061,9 @@ fn lexicon_doc_sh_weaver_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("links"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "links", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::String(::jacquard_lexicon::lexicon::LexString { @@ -1009,7 +1089,9 @@ fn lexicon_doc_sh_weaver_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("location"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "location", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1028,7 +1110,7 @@ fn lexicon_doc_sh_weaver_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "pinnedRepositories", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -1056,7 +1138,9 @@ fn lexicon_doc_sh_weaver_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("stats"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "stats", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::String(::jacquard_lexicon::lexicon::LexString { @@ -1082,7 +1166,7 @@ fn lexicon_doc_sh_weaver_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("viewerState"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("viewerState"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -1095,7 +1179,9 @@ fn lexicon_doc_sh_weaver_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("blocked"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "blocked", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -1112,7 +1198,7 @@ fn lexicon_doc_sh_weaver_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "blockedBy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -1122,7 +1208,7 @@ fn lexicon_doc_sh_weaver_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "followRequested", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1141,7 +1227,7 @@ fn lexicon_doc_sh_weaver_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "followRequestedBy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1160,7 +1246,7 @@ fn lexicon_doc_sh_weaver_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "followedBy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1179,7 +1265,7 @@ fn lexicon_doc_sh_weaver_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "following", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1198,7 +1284,9 @@ fn lexicon_doc_sh_weaver_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("muted"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "muted", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -1215,7 +1303,7 @@ fn lexicon_doc_sh_weaver_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subscribedNotebooks", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -1235,7 +1323,9 @@ fn lexicon_doc_sh_weaver_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("viewerStateBasic"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "viewerStateBasic", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -1248,7 +1338,9 @@ fn lexicon_doc_sh_weaver_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("blocked"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "blocked", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -1265,7 +1357,7 @@ fn lexicon_doc_sh_weaver_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "blockedBy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -1275,7 +1367,7 @@ fn lexicon_doc_sh_weaver_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "followRequested", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1294,7 +1386,7 @@ fn lexicon_doc_sh_weaver_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "followRequestedBy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1313,7 +1405,7 @@ fn lexicon_doc_sh_weaver_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "followedBy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1332,7 +1424,7 @@ fn lexicon_doc_sh_weaver_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "following", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1351,7 +1443,9 @@ fn lexicon_doc_sh_weaver_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("muted"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "muted", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -1368,7 +1462,7 @@ fn lexicon_doc_sh_weaver_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subscribedNotebookCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1626,7 +1720,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ProfileDataView<'a> { @@ -1852,7 +1946,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ProfileDataViewBasic<'a> { @@ -1979,37 +2073,37 @@ pub mod profile_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Handle; type Did; + type Handle; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Handle = Unset; type Did = Unset; - } - ///State transition - sets the `handle` field to Set - pub struct SetHandle(PhantomData S>); - impl sealed::Sealed for SetHandle {} - impl State for SetHandle { - type Handle = Set; - type Did = S::Did; + type Handle = Unset; } ///State transition - sets the `did` field to Set pub struct SetDid(PhantomData S>); impl sealed::Sealed for SetDid {} impl State for SetDid { - type Handle = S::Handle; type Did = Set; + type Handle = S::Handle; + } + ///State transition - sets the `handle` field to Set + pub struct SetHandle(PhantomData S>); + impl sealed::Sealed for SetHandle {} + impl State for SetHandle { + type Did = S::Did; + type Handle = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `handle` field - pub struct handle(()); ///Marker type for the `did` field pub struct did(()); + ///Marker type for the `handle` field + pub struct handle(()); } } @@ -2388,8 +2482,8 @@ impl<'a, S: profile_view_state::State> ProfileViewBuilder<'a, S> { impl<'a, S> ProfileViewBuilder<'a, S> where S: profile_view_state::State, - S::Handle: profile_view_state::IsSet, S::Did: profile_view_state::IsSet, + S::Handle: profile_view_state::IsSet, { /// Build the final struct pub fn build(self) -> ProfileView<'a> { @@ -2419,7 +2513,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ProfileView<'a> { @@ -2474,7 +2568,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ProfileView<'a> { } if let Some(ref value) = self.description { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -2504,7 +2598,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ProfileView<'a> { } if let Some(ref value) = self.display_name { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -2558,7 +2652,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ProfileView<'a> { } if let Some(ref value) = self.location { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -2623,37 +2717,37 @@ pub mod profile_view_basic_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Did; type Handle; + type Did; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Did = Unset; type Handle = Unset; - } - ///State transition - sets the `did` field to Set - pub struct SetDid(PhantomData S>); - impl sealed::Sealed for SetDid {} - impl State for SetDid { - type Did = Set; - type Handle = S::Handle; + type Did = Unset; } ///State transition - sets the `handle` field to Set pub struct SetHandle(PhantomData S>); impl sealed::Sealed for SetHandle {} impl State for SetHandle { - type Did = S::Did; type Handle = Set; + type Did = S::Did; + } + ///State transition - sets the `did` field to Set + pub struct SetDid(PhantomData S>); + impl sealed::Sealed for SetDid {} + impl State for SetDid { + type Handle = S::Handle; + type Did = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `did` field - pub struct did(()); ///Marker type for the `handle` field pub struct handle(()); + ///Marker type for the `did` field + pub struct did(()); } } @@ -2846,8 +2940,8 @@ impl<'a, S: profile_view_basic_state::State> ProfileViewBasicBuilder<'a, S> { impl<'a, S> ProfileViewBasicBuilder<'a, S> where S: profile_view_basic_state::State, - S::Did: profile_view_basic_state::IsSet, S::Handle: profile_view_basic_state::IsSet, + S::Did: profile_view_basic_state::IsSet, { /// Build the final struct pub fn build(self) -> ProfileViewBasic<'a> { @@ -2867,7 +2961,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ProfileViewBasic<'a> { @@ -2912,7 +3006,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ProfileViewBasic<'a> { } if let Some(ref value) = self.display_name { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -3086,7 +3180,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> SubscribedNotebook<'a> { @@ -3167,50 +3261,50 @@ pub mod tangled_profile_view_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Bluesky; - type Handle; type Did; + type Handle; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Bluesky = Unset; - type Handle = Unset; type Did = Unset; + type Handle = Unset; } ///State transition - sets the `bluesky` field to Set pub struct SetBluesky(PhantomData S>); impl sealed::Sealed for SetBluesky {} impl State for SetBluesky { type Bluesky = Set; - type Handle = S::Handle; - type Did = S::Did; - } - ///State transition - sets the `handle` field to Set - pub struct SetHandle(PhantomData S>); - impl sealed::Sealed for SetHandle {} - impl State for SetHandle { - type Bluesky = S::Bluesky; - type Handle = Set; type Did = S::Did; + type Handle = S::Handle; } ///State transition - sets the `did` field to Set pub struct SetDid(PhantomData S>); impl sealed::Sealed for SetDid {} impl State for SetDid { type Bluesky = S::Bluesky; - type Handle = S::Handle; type Did = Set; + type Handle = S::Handle; + } + ///State transition - sets the `handle` field to Set + pub struct SetHandle(PhantomData S>); + impl sealed::Sealed for SetHandle {} + impl State for SetHandle { + type Bluesky = S::Bluesky; + type Did = S::Did; + type Handle = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `bluesky` field pub struct bluesky(()); - ///Marker type for the `handle` field - pub struct handle(()); ///Marker type for the `did` field pub struct did(()); + ///Marker type for the `handle` field + pub struct handle(()); } } @@ -3401,8 +3495,8 @@ impl<'a, S> TangledProfileViewBuilder<'a, S> where S: tangled_profile_view_state::State, S::Bluesky: tangled_profile_view_state::IsSet, - S::Handle: tangled_profile_view_state::IsSet, S::Did: tangled_profile_view_state::IsSet, + S::Handle: tangled_profile_view_state::IsSet, { /// Build the final struct pub fn build(self) -> TangledProfileView<'a> { @@ -3422,7 +3516,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> TangledProfileView<'a> { @@ -3467,7 +3561,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for TangledProfileView<'a> { } if let Some(ref value) = self.description { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -3521,7 +3615,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for TangledProfileView<'a> { } if let Some(ref value) = self.location { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) diff --git a/crates/jacquard-api/src/sh_weaver/actor/profile.rs b/crates/jacquard-api/src/sh_weaver/actor/profile.rs index 88a857f52..8a47c3326 100644 --- a/crates/jacquard-api/src/sh_weaver/actor/profile.rs +++ b/crates/jacquard-api/src/sh_weaver/actor/profile.rs @@ -390,7 +390,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Profile<'a> { @@ -501,7 +501,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Profile<'a> { } if let Some(ref value) = self.description { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -531,7 +531,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Profile<'a> { } if let Some(ref value) = self.display_name { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -585,7 +585,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Profile<'a> { } if let Some(ref value) = self.location { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -616,7 +616,7 @@ fn lexicon_doc_sh_weaver_actor_profile() -> ::jacquard_lexicon::lexicon::Lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -632,7 +632,9 @@ fn lexicon_doc_sh_weaver_actor_profile() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("avatar"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "avatar", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -640,7 +642,9 @@ fn lexicon_doc_sh_weaver_actor_profile() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("banner"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "banner", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -648,7 +652,9 @@ fn lexicon_doc_sh_weaver_actor_profile() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("bluesky"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "bluesky", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -656,7 +662,7 @@ fn lexicon_doc_sh_weaver_actor_profile() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -675,7 +681,7 @@ fn lexicon_doc_sh_weaver_actor_profile() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -696,7 +702,7 @@ fn lexicon_doc_sh_weaver_actor_profile() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "displayName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -713,7 +719,9 @@ fn lexicon_doc_sh_weaver_actor_profile() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("labels"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "labels", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: Some( ::jacquard_common::CowStr::new_static( @@ -727,7 +735,9 @@ fn lexicon_doc_sh_weaver_actor_profile() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("links"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "links", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::String(::jacquard_lexicon::lexicon::LexString { @@ -753,7 +763,7 @@ fn lexicon_doc_sh_weaver_actor_profile() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "location", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -774,7 +784,9 @@ fn lexicon_doc_sh_weaver_actor_profile() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("pinned"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "pinned", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -783,7 +795,7 @@ fn lexicon_doc_sh_weaver_actor_profile() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "pronouns", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -794,7 +806,7 @@ fn lexicon_doc_sh_weaver_actor_profile() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "streamplace", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -804,7 +816,9 @@ fn lexicon_doc_sh_weaver_actor_profile() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tangled"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tangled", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, diff --git a/crates/jacquard-api/src/sh_weaver/collab.rs b/crates/jacquard-api/src/sh_weaver/collab.rs index cfa46fb46..3c37503f0 100644 --- a/crates/jacquard-api/src/sh_weaver/collab.rs +++ b/crates/jacquard-api/src/sh_weaver/collab.rs @@ -94,51 +94,51 @@ pub mod collaboration_state_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Resource; type Participants; type Status; + type Resource; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Resource = Unset; type Participants = Unset; type Status = Unset; - } - ///State transition - sets the `resource` field to Set - pub struct SetResource(PhantomData S>); - impl sealed::Sealed for SetResource {} - impl State for SetResource { - type Resource = Set; - type Participants = S::Participants; - type Status = S::Status; + type Resource = Unset; } ///State transition - sets the `participants` field to Set pub struct SetParticipants(PhantomData S>); impl sealed::Sealed for SetParticipants {} impl State for SetParticipants { - type Resource = S::Resource; type Participants = Set; type Status = S::Status; + type Resource = S::Resource; } ///State transition - sets the `status` field to Set pub struct SetStatus(PhantomData S>); impl sealed::Sealed for SetStatus {} impl State for SetStatus { - type Resource = S::Resource; type Participants = S::Participants; type Status = Set; + type Resource = S::Resource; + } + ///State transition - sets the `resource` field to Set + pub struct SetResource(PhantomData S>); + impl sealed::Sealed for SetResource {} + impl State for SetResource { + type Participants = S::Participants; + type Status = S::Status; + type Resource = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `resource` field - pub struct resource(()); ///Marker type for the `participants` field pub struct participants(()); ///Marker type for the `status` field pub struct status(()); + ///Marker type for the `resource` field + pub struct resource(()); } } @@ -426,9 +426,9 @@ where impl<'a, S> CollaborationStateViewBuilder<'a, S> where S: collaboration_state_view_state::State, - S::Resource: collaboration_state_view_state::IsSet, S::Participants: collaboration_state_view_state::IsSet, S::Status: collaboration_state_view_state::IsSet, + S::Resource: collaboration_state_view_state::IsSet, { /// Build the final struct pub fn build(self) -> CollaborationStateView<'a> { @@ -452,7 +452,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> CollaborationStateView<'a> { @@ -590,13 +590,13 @@ fn lexicon_doc_sh_weaver_collab_defs() -> ::jacquard_lexicon::lexicon::LexiconDo defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("chapter"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("chapter"), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "collaborationStateView", ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { @@ -607,9 +607,9 @@ fn lexicon_doc_sh_weaver_collab_defs() -> ::jacquard_lexicon::lexicon::LexiconDo ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("resource"), - ::jacquard_common::smol_str::SmolStr::new_static("status"), - ::jacquard_common::smol_str::SmolStr::new_static("participants") + ::jacquard_common::deps::smol_str::SmolStr::new_static("resource"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("status"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("participants") ], ), nullable: None, @@ -617,7 +617,7 @@ fn lexicon_doc_sh_weaver_collab_defs() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "canonicalUri", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -640,7 +640,7 @@ fn lexicon_doc_sh_weaver_collab_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -659,7 +659,7 @@ fn lexicon_doc_sh_weaver_collab_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "firstCollaboratorAddedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -678,7 +678,7 @@ fn lexicon_doc_sh_weaver_collab_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "formerParticipants", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -698,7 +698,7 @@ fn lexicon_doc_sh_weaver_collab_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasDivergence", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -708,7 +708,7 @@ fn lexicon_doc_sh_weaver_collab_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasFormerCollaborators", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -718,7 +718,7 @@ fn lexicon_doc_sh_weaver_collab_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasOrphanedVersions", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -728,7 +728,7 @@ fn lexicon_doc_sh_weaver_collab_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "lastSyncedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -747,7 +747,7 @@ fn lexicon_doc_sh_weaver_collab_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "participants", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -767,7 +767,7 @@ fn lexicon_doc_sh_weaver_collab_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publishedVersions", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -783,7 +783,9 @@ fn lexicon_doc_sh_weaver_collab_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("resource"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "resource", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -792,7 +794,9 @@ fn lexicon_doc_sh_weaver_collab_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("status"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "status", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -815,13 +819,13 @@ fn lexicon_doc_sh_weaver_collab_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("entry"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("entry"), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "formerCollaboratorView", ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { @@ -832,10 +836,10 @@ fn lexicon_doc_sh_weaver_collab_defs() -> ::jacquard_lexicon::lexicon::LexiconDo ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("user"), - ::jacquard_common::smol_str::SmolStr::new_static("wasActiveFrom"), - ::jacquard_common::smol_str::SmolStr::new_static("wasActiveUntil"), - ::jacquard_common::smol_str::SmolStr::new_static("endReason") + ::jacquard_common::deps::smol_str::SmolStr::new_static("user"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("wasActiveFrom"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("wasActiveUntil"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("endReason") ], ), nullable: None, @@ -843,7 +847,7 @@ fn lexicon_doc_sh_weaver_collab_defs() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contributionCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -856,7 +860,7 @@ fn lexicon_doc_sh_weaver_collab_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "endReason", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -873,7 +877,7 @@ fn lexicon_doc_sh_weaver_collab_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasPublishedVersion", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -883,7 +887,7 @@ fn lexicon_doc_sh_weaver_collab_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publishedVersionUri", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -902,7 +906,9 @@ fn lexicon_doc_sh_weaver_collab_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("user"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "user", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -911,7 +917,7 @@ fn lexicon_doc_sh_weaver_collab_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "wasActiveFrom", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -930,7 +936,7 @@ fn lexicon_doc_sh_weaver_collab_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "wasActiveUntil", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -953,7 +959,7 @@ fn lexicon_doc_sh_weaver_collab_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("inviteView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("inviteView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -962,13 +968,13 @@ fn lexicon_doc_sh_weaver_collab_defs() -> ::jacquard_lexicon::lexicon::LexiconDo ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("cid"), - ::jacquard_common::smol_str::SmolStr::new_static("inviter"), - ::jacquard_common::smol_str::SmolStr::new_static("invitee"), - ::jacquard_common::smol_str::SmolStr::new_static("resource"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt"), - ::jacquard_common::smol_str::SmolStr::new_static("status") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("inviter"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("invitee"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("resource"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("status") ], ), nullable: None, @@ -976,7 +982,7 @@ fn lexicon_doc_sh_weaver_collab_defs() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "acceptUri", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -995,7 +1001,7 @@ fn lexicon_doc_sh_weaver_collab_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "acceptedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1014,7 +1020,9 @@ fn lexicon_doc_sh_weaver_collab_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -1031,7 +1039,7 @@ fn lexicon_doc_sh_weaver_collab_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1050,7 +1058,7 @@ fn lexicon_doc_sh_weaver_collab_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "expiresAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1069,7 +1077,9 @@ fn lexicon_doc_sh_weaver_collab_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("invitee"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "invitee", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -1078,7 +1088,9 @@ fn lexicon_doc_sh_weaver_collab_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("inviter"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "inviter", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -1087,7 +1099,9 @@ fn lexicon_doc_sh_weaver_collab_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("message"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "message", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -1102,7 +1116,9 @@ fn lexicon_doc_sh_weaver_collab_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("resource"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "resource", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -1111,7 +1127,7 @@ fn lexicon_doc_sh_weaver_collab_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "resourceTitle", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1128,7 +1144,9 @@ fn lexicon_doc_sh_weaver_collab_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("scope"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "scope", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -1143,7 +1161,9 @@ fn lexicon_doc_sh_weaver_collab_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("status"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "status", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -1158,7 +1178,9 @@ fn lexicon_doc_sh_weaver_collab_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -1179,13 +1201,15 @@ fn lexicon_doc_sh_weaver_collab_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("notebook"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("notebook"), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("participantStateView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "participantStateView", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -1194,9 +1218,9 @@ fn lexicon_doc_sh_weaver_collab_defs() -> ::jacquard_lexicon::lexicon::LexiconDo ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("user"), - ::jacquard_common::smol_str::SmolStr::new_static("role"), - ::jacquard_common::smol_str::SmolStr::new_static("status") + ::jacquard_common::deps::smol_str::SmolStr::new_static("user"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("role"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("status") ], ), nullable: None, @@ -1204,7 +1228,7 @@ fn lexicon_doc_sh_weaver_collab_defs() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "acceptUri", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1227,7 +1251,7 @@ fn lexicon_doc_sh_weaver_collab_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "endReason", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1248,7 +1272,7 @@ fn lexicon_doc_sh_weaver_collab_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "firstEditAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1271,7 +1295,7 @@ fn lexicon_doc_sh_weaver_collab_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "inviteUri", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1290,7 +1314,7 @@ fn lexicon_doc_sh_weaver_collab_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "lastEditAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1309,7 +1333,7 @@ fn lexicon_doc_sh_weaver_collab_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publishedVersion", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -1320,7 +1344,7 @@ fn lexicon_doc_sh_weaver_collab_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "relationshipEndedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1343,7 +1367,9 @@ fn lexicon_doc_sh_weaver_collab_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("role"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "role", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -1358,7 +1384,9 @@ fn lexicon_doc_sh_weaver_collab_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("status"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "status", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1377,7 +1405,9 @@ fn lexicon_doc_sh_weaver_collab_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("user"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "user", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -1386,7 +1416,7 @@ fn lexicon_doc_sh_weaver_collab_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "wasCollaborator", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -1400,7 +1430,7 @@ fn lexicon_doc_sh_weaver_collab_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sessionView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("sessionView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -1409,11 +1439,11 @@ fn lexicon_doc_sh_weaver_collab_defs() -> ::jacquard_lexicon::lexicon::LexiconDo ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("user"), - ::jacquard_common::smol_str::SmolStr::new_static("resource"), - ::jacquard_common::smol_str::SmolStr::new_static("nodeId"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("user"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("resource"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("nodeId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -1421,7 +1451,7 @@ fn lexicon_doc_sh_weaver_collab_defs() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1440,7 +1470,7 @@ fn lexicon_doc_sh_weaver_collab_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "expiresAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1459,7 +1489,9 @@ fn lexicon_doc_sh_weaver_collab_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("nodeId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "nodeId", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -1474,7 +1506,9 @@ fn lexicon_doc_sh_weaver_collab_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("relayUrl"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "relayUrl", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -1491,7 +1525,9 @@ fn lexicon_doc_sh_weaver_collab_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("resource"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "resource", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -1500,7 +1536,9 @@ fn lexicon_doc_sh_weaver_collab_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -1517,7 +1555,9 @@ fn lexicon_doc_sh_weaver_collab_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("user"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "user", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -1610,67 +1650,67 @@ pub mod former_collaborator_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type EndReason; - type WasActiveFrom; type User; + type EndReason; type WasActiveUntil; + type WasActiveFrom; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type EndReason = Unset; - type WasActiveFrom = Unset; type User = Unset; + type EndReason = Unset; type WasActiveUntil = Unset; - } - ///State transition - sets the `end_reason` field to Set - pub struct SetEndReason(PhantomData S>); - impl sealed::Sealed for SetEndReason {} - impl State for SetEndReason { - type EndReason = Set; - type WasActiveFrom = S::WasActiveFrom; - type User = S::User; - type WasActiveUntil = S::WasActiveUntil; - } - ///State transition - sets the `was_active_from` field to Set - pub struct SetWasActiveFrom(PhantomData S>); - impl sealed::Sealed for SetWasActiveFrom {} - impl State for SetWasActiveFrom { - type EndReason = S::EndReason; - type WasActiveFrom = Set; - type User = S::User; - type WasActiveUntil = S::WasActiveUntil; + type WasActiveFrom = Unset; } ///State transition - sets the `user` field to Set pub struct SetUser(PhantomData S>); impl sealed::Sealed for SetUser {} impl State for SetUser { + type User = Set; type EndReason = S::EndReason; + type WasActiveUntil = S::WasActiveUntil; type WasActiveFrom = S::WasActiveFrom; - type User = Set; + } + ///State transition - sets the `end_reason` field to Set + pub struct SetEndReason(PhantomData S>); + impl sealed::Sealed for SetEndReason {} + impl State for SetEndReason { + type User = S::User; + type EndReason = Set; type WasActiveUntil = S::WasActiveUntil; + type WasActiveFrom = S::WasActiveFrom; } ///State transition - sets the `was_active_until` field to Set pub struct SetWasActiveUntil(PhantomData S>); impl sealed::Sealed for SetWasActiveUntil {} impl State for SetWasActiveUntil { + type User = S::User; type EndReason = S::EndReason; + type WasActiveUntil = Set; type WasActiveFrom = S::WasActiveFrom; + } + ///State transition - sets the `was_active_from` field to Set + pub struct SetWasActiveFrom(PhantomData S>); + impl sealed::Sealed for SetWasActiveFrom {} + impl State for SetWasActiveFrom { type User = S::User; - type WasActiveUntil = Set; + type EndReason = S::EndReason; + type WasActiveUntil = S::WasActiveUntil; + type WasActiveFrom = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `end_reason` field - pub struct end_reason(()); - ///Marker type for the `was_active_from` field - pub struct was_active_from(()); ///Marker type for the `user` field pub struct user(()); + ///Marker type for the `end_reason` field + pub struct end_reason(()); ///Marker type for the `was_active_until` field pub struct was_active_until(()); + ///Marker type for the `was_active_from` field + pub struct was_active_from(()); } } @@ -1843,10 +1883,10 @@ where impl<'a, S> FormerCollaboratorViewBuilder<'a, S> where S: former_collaborator_view_state::State, - S::EndReason: former_collaborator_view_state::IsSet, - S::WasActiveFrom: former_collaborator_view_state::IsSet, S::User: former_collaborator_view_state::IsSet, + S::EndReason: former_collaborator_view_state::IsSet, S::WasActiveUntil: former_collaborator_view_state::IsSet, + S::WasActiveFrom: former_collaborator_view_state::IsSet, { /// Build the final struct pub fn build(self) -> FormerCollaboratorView<'a> { @@ -1865,7 +1905,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> FormerCollaboratorView<'a> { @@ -2061,127 +2101,127 @@ pub mod invite_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Cid; - type Resource; - type Uri; - type CreatedAt; - type Inviter; type Invitee; type Status; + type Resource; + type Inviter; + type Cid; + type CreatedAt; + type Uri; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Cid = Unset; - type Resource = Unset; - type Uri = Unset; - type CreatedAt = Unset; - type Inviter = Unset; type Invitee = Unset; type Status = Unset; + type Resource = Unset; + type Inviter = Unset; + type Cid = Unset; + type CreatedAt = Unset; + type Uri = Unset; } - ///State transition - sets the `cid` field to Set - pub struct SetCid(PhantomData S>); - impl sealed::Sealed for SetCid {} - impl State for SetCid { - type Cid = Set; + ///State transition - sets the `invitee` field to Set + pub struct SetInvitee(PhantomData S>); + impl sealed::Sealed for SetInvitee {} + impl State for SetInvitee { + type Invitee = Set; + type Status = S::Status; type Resource = S::Resource; - type Uri = S::Uri; - type CreatedAt = S::CreatedAt; type Inviter = S::Inviter; + type Cid = S::Cid; + type CreatedAt = S::CreatedAt; + type Uri = S::Uri; + } + ///State transition - sets the `status` field to Set + pub struct SetStatus(PhantomData S>); + impl sealed::Sealed for SetStatus {} + impl State for SetStatus { type Invitee = S::Invitee; - type Status = S::Status; + type Status = Set; + type Resource = S::Resource; + type Inviter = S::Inviter; + type Cid = S::Cid; + type CreatedAt = S::CreatedAt; + type Uri = S::Uri; } ///State transition - sets the `resource` field to Set pub struct SetResource(PhantomData S>); impl sealed::Sealed for SetResource {} impl State for SetResource { - type Cid = S::Cid; + type Invitee = S::Invitee; + type Status = S::Status; type Resource = Set; - type Uri = S::Uri; - type CreatedAt = S::CreatedAt; type Inviter = S::Inviter; + type Cid = S::Cid; + type CreatedAt = S::CreatedAt; + type Uri = S::Uri; + } + ///State transition - sets the `inviter` field to Set + pub struct SetInviter(PhantomData S>); + impl sealed::Sealed for SetInviter {} + impl State for SetInviter { type Invitee = S::Invitee; type Status = S::Status; - } - ///State transition - sets the `uri` field to Set - pub struct SetUri(PhantomData S>); - impl sealed::Sealed for SetUri {} - impl State for SetUri { - type Cid = S::Cid; type Resource = S::Resource; - type Uri = Set; + type Inviter = Set; + type Cid = S::Cid; type CreatedAt = S::CreatedAt; - type Inviter = S::Inviter; + type Uri = S::Uri; + } + ///State transition - sets the `cid` field to Set + pub struct SetCid(PhantomData S>); + impl sealed::Sealed for SetCid {} + impl State for SetCid { type Invitee = S::Invitee; type Status = S::Status; + type Resource = S::Resource; + type Inviter = S::Inviter; + type Cid = Set; + type CreatedAt = S::CreatedAt; + type Uri = S::Uri; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Cid = S::Cid; - type Resource = S::Resource; - type Uri = S::Uri; - type CreatedAt = Set; - type Inviter = S::Inviter; type Invitee = S::Invitee; type Status = S::Status; - } - ///State transition - sets the `inviter` field to Set - pub struct SetInviter(PhantomData S>); - impl sealed::Sealed for SetInviter {} - impl State for SetInviter { - type Cid = S::Cid; type Resource = S::Resource; + type Inviter = S::Inviter; + type Cid = S::Cid; + type CreatedAt = Set; type Uri = S::Uri; - type CreatedAt = S::CreatedAt; - type Inviter = Set; + } + ///State transition - sets the `uri` field to Set + pub struct SetUri(PhantomData S>); + impl sealed::Sealed for SetUri {} + impl State for SetUri { type Invitee = S::Invitee; type Status = S::Status; - } - ///State transition - sets the `invitee` field to Set - pub struct SetInvitee(PhantomData S>); - impl sealed::Sealed for SetInvitee {} - impl State for SetInvitee { - type Cid = S::Cid; type Resource = S::Resource; - type Uri = S::Uri; - type CreatedAt = S::CreatedAt; type Inviter = S::Inviter; - type Invitee = Set; - type Status = S::Status; - } - ///State transition - sets the `status` field to Set - pub struct SetStatus(PhantomData S>); - impl sealed::Sealed for SetStatus {} - impl State for SetStatus { type Cid = S::Cid; - type Resource = S::Resource; - type Uri = S::Uri; type CreatedAt = S::CreatedAt; - type Inviter = S::Inviter; - type Invitee = S::Invitee; - type Status = Set; + type Uri = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `cid` field - pub struct cid(()); - ///Marker type for the `resource` field - pub struct resource(()); - ///Marker type for the `uri` field - pub struct uri(()); - ///Marker type for the `created_at` field - pub struct created_at(()); - ///Marker type for the `inviter` field - pub struct inviter(()); ///Marker type for the `invitee` field pub struct invitee(()); ///Marker type for the `status` field pub struct status(()); + ///Marker type for the `resource` field + pub struct resource(()); + ///Marker type for the `inviter` field + pub struct inviter(()); + ///Marker type for the `cid` field + pub struct cid(()); + ///Marker type for the `created_at` field + pub struct created_at(()); + ///Marker type for the `uri` field + pub struct uri(()); } } @@ -2479,13 +2519,13 @@ where impl<'a, S> InviteViewBuilder<'a, S> where S: invite_view_state::State, - S::Cid: invite_view_state::IsSet, - S::Resource: invite_view_state::IsSet, - S::Uri: invite_view_state::IsSet, - S::CreatedAt: invite_view_state::IsSet, - S::Inviter: invite_view_state::IsSet, S::Invitee: invite_view_state::IsSet, S::Status: invite_view_state::IsSet, + S::Resource: invite_view_state::IsSet, + S::Inviter: invite_view_state::IsSet, + S::Cid: invite_view_state::IsSet, + S::CreatedAt: invite_view_state::IsSet, + S::Uri: invite_view_state::IsSet, { /// Build the final struct pub fn build(self) -> InviteView<'a> { @@ -2510,7 +2550,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> InviteView<'a> { @@ -2821,51 +2861,51 @@ pub mod participant_state_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Status; type Role; type User; + type Status; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Status = Unset; type Role = Unset; type User = Unset; - } - ///State transition - sets the `status` field to Set - pub struct SetStatus(PhantomData S>); - impl sealed::Sealed for SetStatus {} - impl State for SetStatus { - type Status = Set; - type Role = S::Role; - type User = S::User; + type Status = Unset; } ///State transition - sets the `role` field to Set pub struct SetRole(PhantomData S>); impl sealed::Sealed for SetRole {} impl State for SetRole { - type Status = S::Status; type Role = Set; type User = S::User; + type Status = S::Status; } ///State transition - sets the `user` field to Set pub struct SetUser(PhantomData S>); impl sealed::Sealed for SetUser {} impl State for SetUser { - type Status = S::Status; type Role = S::Role; type User = Set; + type Status = S::Status; + } + ///State transition - sets the `status` field to Set + pub struct SetStatus(PhantomData S>); + impl sealed::Sealed for SetStatus {} + impl State for SetStatus { + type Role = S::Role; + type User = S::User; + type Status = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `status` field - pub struct status(()); ///Marker type for the `role` field pub struct role(()); ///Marker type for the `user` field pub struct user(()); + ///Marker type for the `status` field + pub struct status(()); } } @@ -3127,9 +3167,9 @@ impl<'a, S: participant_state_view_state::State> ParticipantStateViewBuilder<'a, impl<'a, S> ParticipantStateViewBuilder<'a, S> where S: participant_state_view_state::State, - S::Status: participant_state_view_state::IsSet, S::Role: participant_state_view_state::IsSet, S::User: participant_state_view_state::IsSet, + S::Status: participant_state_view_state::IsSet, { /// Build the final struct pub fn build(self) -> ParticipantStateView<'a> { @@ -3152,7 +3192,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ParticipantStateView<'a> { @@ -3544,8 +3584,8 @@ pub mod session_view_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type User; - type CreatedAt; type NodeId; + type CreatedAt; type Resource; type Uri; } @@ -3554,8 +3594,8 @@ pub mod session_view_state { impl sealed::Sealed for Empty {} impl State for Empty { type User = Unset; - type CreatedAt = Unset; type NodeId = Unset; + type CreatedAt = Unset; type Resource = Unset; type Uri = Unset; } @@ -3564,18 +3604,8 @@ pub mod session_view_state { impl sealed::Sealed for SetUser {} impl State for SetUser { type User = Set; - type CreatedAt = S::CreatedAt; - type NodeId = S::NodeId; - type Resource = S::Resource; - type Uri = S::Uri; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type User = S::User; - type CreatedAt = Set; type NodeId = S::NodeId; + type CreatedAt = S::CreatedAt; type Resource = S::Resource; type Uri = S::Uri; } @@ -3584,8 +3614,18 @@ pub mod session_view_state { impl sealed::Sealed for SetNodeId {} impl State for SetNodeId { type User = S::User; - type CreatedAt = S::CreatedAt; type NodeId = Set; + type CreatedAt = S::CreatedAt; + type Resource = S::Resource; + type Uri = S::Uri; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type User = S::User; + type NodeId = S::NodeId; + type CreatedAt = Set; type Resource = S::Resource; type Uri = S::Uri; } @@ -3594,8 +3634,8 @@ pub mod session_view_state { impl sealed::Sealed for SetResource {} impl State for SetResource { type User = S::User; - type CreatedAt = S::CreatedAt; type NodeId = S::NodeId; + type CreatedAt = S::CreatedAt; type Resource = Set; type Uri = S::Uri; } @@ -3604,8 +3644,8 @@ pub mod session_view_state { impl sealed::Sealed for SetUri {} impl State for SetUri { type User = S::User; - type CreatedAt = S::CreatedAt; type NodeId = S::NodeId; + type CreatedAt = S::CreatedAt; type Resource = S::Resource; type Uri = Set; } @@ -3614,10 +3654,10 @@ pub mod session_view_state { pub mod members { ///Marker type for the `user` field pub struct user(()); - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `node_id` field pub struct node_id(()); + ///Marker type for the `created_at` field + pub struct created_at(()); ///Marker type for the `resource` field pub struct resource(()); ///Marker type for the `uri` field @@ -3795,8 +3835,8 @@ impl<'a, S> SessionViewBuilder<'a, S> where S: session_view_state::State, S::User: session_view_state::IsSet, - S::CreatedAt: session_view_state::IsSet, S::NodeId: session_view_state::IsSet, + S::CreatedAt: session_view_state::IsSet, S::Resource: session_view_state::IsSet, S::Uri: session_view_state::IsSet, { @@ -3817,7 +3857,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> SessionView<'a> { diff --git a/crates/jacquard-api/src/sh_weaver/collab/accept.rs b/crates/jacquard-api/src/sh_weaver/collab/accept.rs index b7e6103d0..933b3a878 100644 --- a/crates/jacquard-api/src/sh_weaver/collab/accept.rs +++ b/crates/jacquard-api/src/sh_weaver/collab/accept.rs @@ -37,51 +37,51 @@ pub mod accept_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Resource; type CreatedAt; type Invite; - type Resource; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Resource = Unset; type CreatedAt = Unset; type Invite = Unset; - type Resource = Unset; + } + ///State transition - sets the `resource` field to Set + pub struct SetResource(PhantomData S>); + impl sealed::Sealed for SetResource {} + impl State for SetResource { + type Resource = Set; + type CreatedAt = S::CreatedAt; + type Invite = S::Invite; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { + type Resource = S::Resource; type CreatedAt = Set; type Invite = S::Invite; - type Resource = S::Resource; } ///State transition - sets the `invite` field to Set pub struct SetInvite(PhantomData S>); impl sealed::Sealed for SetInvite {} impl State for SetInvite { - type CreatedAt = S::CreatedAt; - type Invite = Set; type Resource = S::Resource; - } - ///State transition - sets the `resource` field to Set - pub struct SetResource(PhantomData S>); - impl sealed::Sealed for SetResource {} - impl State for SetResource { type CreatedAt = S::CreatedAt; - type Invite = S::Invite; - type Resource = Set; + type Invite = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `resource` field + pub struct resource(()); ///Marker type for the `created_at` field pub struct created_at(()); ///Marker type for the `invite` field pub struct invite(()); - ///Marker type for the `resource` field - pub struct resource(()); } } @@ -174,9 +174,9 @@ where impl<'a, S> AcceptBuilder<'a, S> where S: accept_state::State, + S::Resource: accept_state::IsSet, S::CreatedAt: accept_state::IsSet, S::Invite: accept_state::IsSet, - S::Resource: accept_state::IsSet, { /// Build the final struct pub fn build(self) -> Accept<'a> { @@ -191,7 +191,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Accept<'a> { @@ -293,7 +293,7 @@ fn lexicon_doc_sh_weaver_collab_accept() -> ::jacquard_lexicon::lexicon::Lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -305,9 +305,9 @@ fn lexicon_doc_sh_weaver_collab_accept() -> ::jacquard_lexicon::lexicon::Lexicon description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("invite"), - ::jacquard_common::smol_str::SmolStr::new_static("resource"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("invite"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("resource"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -315,7 +315,7 @@ fn lexicon_doc_sh_weaver_collab_accept() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -334,7 +334,9 @@ fn lexicon_doc_sh_weaver_collab_accept() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("invite"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "invite", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -343,7 +345,7 @@ fn lexicon_doc_sh_weaver_collab_accept() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "resource", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/sh_weaver/collab/invite.rs b/crates/jacquard-api/src/sh_weaver/collab/invite.rs index e0cdd181a..885dd23f4 100644 --- a/crates/jacquard-api/src/sh_weaver/collab/invite.rs +++ b/crates/jacquard-api/src/sh_weaver/collab/invite.rs @@ -354,7 +354,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Invite<'a> { @@ -458,7 +458,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Invite<'a> { } if let Some(ref value) = self.message { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -489,7 +489,7 @@ fn lexicon_doc_sh_weaver_collab_invite() -> ::jacquard_lexicon::lexicon::Lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("collabScope"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("collabScope"), ::jacquard_lexicon::lexicon::LexUserType::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -508,7 +508,7 @@ fn lexicon_doc_sh_weaver_collab_invite() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -520,9 +520,9 @@ fn lexicon_doc_sh_weaver_collab_invite() -> ::jacquard_lexicon::lexicon::Lexicon description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("resource"), - ::jacquard_common::smol_str::SmolStr::new_static("invitee"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("resource"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("invitee"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -530,7 +530,7 @@ fn lexicon_doc_sh_weaver_collab_invite() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -549,7 +549,7 @@ fn lexicon_doc_sh_weaver_collab_invite() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "expiresAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -572,7 +572,9 @@ fn lexicon_doc_sh_weaver_collab_invite() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("invitee"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "invitee", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -593,7 +595,9 @@ fn lexicon_doc_sh_weaver_collab_invite() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("message"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "message", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -612,7 +616,7 @@ fn lexicon_doc_sh_weaver_collab_invite() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "resource", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -623,7 +627,9 @@ fn lexicon_doc_sh_weaver_collab_invite() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("scope"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "scope", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#collabScope"), diff --git a/crates/jacquard-api/src/sh_weaver/collab/session.rs b/crates/jacquard-api/src/sh_weaver/collab/session.rs index f144b74fe..ddbd1365d 100644 --- a/crates/jacquard-api/src/sh_weaver/collab/session.rs +++ b/crates/jacquard-api/src/sh_weaver/collab/session.rs @@ -44,51 +44,51 @@ pub mod session_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Resource; type CreatedAt; type NodeId; + type Resource; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Resource = Unset; type CreatedAt = Unset; type NodeId = Unset; - } - ///State transition - sets the `resource` field to Set - pub struct SetResource(PhantomData S>); - impl sealed::Sealed for SetResource {} - impl State for SetResource { - type Resource = Set; - type CreatedAt = S::CreatedAt; - type NodeId = S::NodeId; + type Resource = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Resource = S::Resource; type CreatedAt = Set; type NodeId = S::NodeId; + type Resource = S::Resource; } ///State transition - sets the `node_id` field to Set pub struct SetNodeId(PhantomData S>); impl sealed::Sealed for SetNodeId {} impl State for SetNodeId { - type Resource = S::Resource; type CreatedAt = S::CreatedAt; type NodeId = Set; + type Resource = S::Resource; + } + ///State transition - sets the `resource` field to Set + pub struct SetResource(PhantomData S>); + impl sealed::Sealed for SetResource {} + impl State for SetResource { + type CreatedAt = S::CreatedAt; + type NodeId = S::NodeId; + type Resource = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `resource` field - pub struct resource(()); ///Marker type for the `created_at` field pub struct created_at(()); ///Marker type for the `node_id` field pub struct node_id(()); + ///Marker type for the `resource` field + pub struct resource(()); } } @@ -221,9 +221,9 @@ where impl<'a, S> SessionBuilder<'a, S> where S: session_state::State, - S::Resource: session_state::IsSet, S::CreatedAt: session_state::IsSet, S::NodeId: session_state::IsSet, + S::Resource: session_state::IsSet, { /// Build the final struct pub fn build(self) -> Session<'a> { @@ -240,7 +240,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Session<'a> { @@ -344,7 +344,7 @@ fn lexicon_doc_sh_weaver_collab_session() -> ::jacquard_lexicon::lexicon::Lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -356,9 +356,9 @@ fn lexicon_doc_sh_weaver_collab_session() -> ::jacquard_lexicon::lexicon::Lexico description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("resource"), - ::jacquard_common::smol_str::SmolStr::new_static("nodeId"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("resource"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("nodeId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -366,7 +366,7 @@ fn lexicon_doc_sh_weaver_collab_session() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -385,7 +385,7 @@ fn lexicon_doc_sh_weaver_collab_session() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "expiresAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -408,7 +408,9 @@ fn lexicon_doc_sh_weaver_collab_session() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("nodeId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "nodeId", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -427,7 +429,7 @@ fn lexicon_doc_sh_weaver_collab_session() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "relayUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -450,7 +452,7 @@ fn lexicon_doc_sh_weaver_collab_session() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "resource", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { diff --git a/crates/jacquard-api/src/sh_weaver/edit.rs b/crates/jacquard-api/src/sh_weaver/edit.rs index 5c0008ef3..3c237c20b 100644 --- a/crates/jacquard-api/src/sh_weaver/edit.rs +++ b/crates/jacquard-api/src/sh_weaver/edit.rs @@ -123,7 +123,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> DocRef<'a> { @@ -166,18 +166,22 @@ fn lexicon_doc_sh_weaver_edit_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("docRef"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("docRef"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("value")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("value") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("value"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "value", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -193,12 +197,12 @@ fn lexicon_doc_sh_weaver_edit_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("draftRef"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("draftRef"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("draftKey") + ::jacquard_common::deps::smol_str::SmolStr::new_static("draftKey") ], ), nullable: None, @@ -206,7 +210,9 @@ fn lexicon_doc_sh_weaver_edit_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("draftKey"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "draftKey", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -225,7 +231,7 @@ fn lexicon_doc_sh_weaver_edit_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("editBranchView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("editBranchView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -234,10 +240,10 @@ fn lexicon_doc_sh_weaver_edit_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("head"), - ::jacquard_common::smol_str::SmolStr::new_static("author"), - ::jacquard_common::smol_str::SmolStr::new_static("length"), - ::jacquard_common::smol_str::SmolStr::new_static("lastUpdated") + ::jacquard_common::deps::smol_str::SmolStr::new_static("head"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("length"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("lastUpdated") ], ), nullable: None, @@ -245,7 +251,9 @@ fn lexicon_doc_sh_weaver_edit_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "author", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -254,7 +262,7 @@ fn lexicon_doc_sh_weaver_edit_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "divergesFrom", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -265,7 +273,9 @@ fn lexicon_doc_sh_weaver_edit_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("head"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "head", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -274,7 +284,9 @@ fn lexicon_doc_sh_weaver_edit_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("isMerged"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "isMerged", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -282,7 +294,7 @@ fn lexicon_doc_sh_weaver_edit_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "lastUpdated", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -301,7 +313,9 @@ fn lexicon_doc_sh_weaver_edit_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("length"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "length", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -312,7 +326,9 @@ fn lexicon_doc_sh_weaver_edit_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("root"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "root", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -325,7 +341,9 @@ fn lexicon_doc_sh_weaver_edit_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("editHistoryEntry"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "editHistoryEntry", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -334,11 +352,11 @@ fn lexicon_doc_sh_weaver_edit_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("cid"), - ::jacquard_common::smol_str::SmolStr::new_static("author"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt"), - ::jacquard_common::smol_str::SmolStr::new_static("type") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("type") ], ), nullable: None, @@ -346,7 +364,9 @@ fn lexicon_doc_sh_weaver_edit_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "author", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -355,7 +375,9 @@ fn lexicon_doc_sh_weaver_edit_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -372,7 +394,7 @@ fn lexicon_doc_sh_weaver_edit_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -391,7 +413,7 @@ fn lexicon_doc_sh_weaver_edit_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasInlineDiff", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -401,7 +423,9 @@ fn lexicon_doc_sh_weaver_edit_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("prevRef"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "prevRef", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -410,7 +434,9 @@ fn lexicon_doc_sh_weaver_edit_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rootRef"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "rootRef", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -419,7 +445,7 @@ fn lexicon_doc_sh_weaver_edit_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "snapshotCid", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -438,7 +464,9 @@ fn lexicon_doc_sh_weaver_edit_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "type", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -453,7 +481,9 @@ fn lexicon_doc_sh_weaver_edit_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -474,7 +504,7 @@ fn lexicon_doc_sh_weaver_edit_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("editTreeView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("editTreeView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -483,8 +513,8 @@ fn lexicon_doc_sh_weaver_edit_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("resource"), - ::jacquard_common::smol_str::SmolStr::new_static("branches") + ::jacquard_common::deps::smol_str::SmolStr::new_static("resource"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("branches") ], ), nullable: None, @@ -492,7 +522,9 @@ fn lexicon_doc_sh_weaver_edit_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("branches"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "branches", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -506,7 +538,7 @@ fn lexicon_doc_sh_weaver_edit_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "conflictPoints", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -526,7 +558,7 @@ fn lexicon_doc_sh_weaver_edit_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasConflicts", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -536,7 +568,7 @@ fn lexicon_doc_sh_weaver_edit_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainBranch", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -547,7 +579,9 @@ fn lexicon_doc_sh_weaver_edit_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("resource"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "resource", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -560,18 +594,22 @@ fn lexicon_doc_sh_weaver_edit_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("entryRef"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("entryRef"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("entry")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("entry") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("entry"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "entry", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -584,12 +622,12 @@ fn lexicon_doc_sh_weaver_edit_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("notebookRef"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("notebookRef"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("notebook") + ::jacquard_common::deps::smol_str::SmolStr::new_static("notebook") ], ), nullable: None, @@ -597,7 +635,9 @@ fn lexicon_doc_sh_weaver_edit_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("notebook"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "notebook", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -721,67 +761,67 @@ pub mod edit_branch_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type LastUpdated; type Length; - type Head; type Author; + type LastUpdated; + type Head; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type LastUpdated = Unset; type Length = Unset; - type Head = Unset; type Author = Unset; - } - ///State transition - sets the `last_updated` field to Set - pub struct SetLastUpdated(PhantomData S>); - impl sealed::Sealed for SetLastUpdated {} - impl State for SetLastUpdated { - type LastUpdated = Set; - type Length = S::Length; - type Head = S::Head; - type Author = S::Author; + type LastUpdated = Unset; + type Head = Unset; } ///State transition - sets the `length` field to Set pub struct SetLength(PhantomData S>); impl sealed::Sealed for SetLength {} impl State for SetLength { - type LastUpdated = S::LastUpdated; type Length = Set; - type Head = S::Head; type Author = S::Author; - } - ///State transition - sets the `head` field to Set - pub struct SetHead(PhantomData S>); - impl sealed::Sealed for SetHead {} - impl State for SetHead { type LastUpdated = S::LastUpdated; - type Length = S::Length; - type Head = Set; - type Author = S::Author; + type Head = S::Head; } ///State transition - sets the `author` field to Set pub struct SetAuthor(PhantomData S>); impl sealed::Sealed for SetAuthor {} impl State for SetAuthor { + type Length = S::Length; + type Author = Set; type LastUpdated = S::LastUpdated; + type Head = S::Head; + } + ///State transition - sets the `last_updated` field to Set + pub struct SetLastUpdated(PhantomData S>); + impl sealed::Sealed for SetLastUpdated {} + impl State for SetLastUpdated { type Length = S::Length; + type Author = S::Author; + type LastUpdated = Set; type Head = S::Head; - type Author = Set; + } + ///State transition - sets the `head` field to Set + pub struct SetHead(PhantomData S>); + impl sealed::Sealed for SetHead {} + impl State for SetHead { + type Length = S::Length; + type Author = S::Author; + type LastUpdated = S::LastUpdated; + type Head = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `last_updated` field - pub struct last_updated(()); ///Marker type for the `length` field pub struct length(()); - ///Marker type for the `head` field - pub struct head(()); ///Marker type for the `author` field pub struct author(()); + ///Marker type for the `last_updated` field + pub struct last_updated(()); + ///Marker type for the `head` field + pub struct head(()); } } @@ -948,10 +988,10 @@ impl<'a, S: edit_branch_view_state::State> EditBranchViewBuilder<'a, S> { impl<'a, S> EditBranchViewBuilder<'a, S> where S: edit_branch_view_state::State, - S::LastUpdated: edit_branch_view_state::IsSet, S::Length: edit_branch_view_state::IsSet, - S::Head: edit_branch_view_state::IsSet, S::Author: edit_branch_view_state::IsSet, + S::LastUpdated: edit_branch_view_state::IsSet, + S::Head: edit_branch_view_state::IsSet, { /// Build the final struct pub fn build(self) -> EditBranchView<'a> { @@ -970,7 +1010,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> EditBranchView<'a> { @@ -1053,83 +1093,83 @@ pub mod edit_history_entry_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Author; type Type; - type Cid; + type Author; type Uri; + type Cid; type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Author = Unset; type Type = Unset; - type Cid = Unset; + type Author = Unset; type Uri = Unset; + type Cid = Unset; type CreatedAt = Unset; } - ///State transition - sets the `author` field to Set - pub struct SetAuthor(PhantomData S>); - impl sealed::Sealed for SetAuthor {} - impl State for SetAuthor { - type Author = Set; - type Type = S::Type; - type Cid = S::Cid; - type Uri = S::Uri; - type CreatedAt = S::CreatedAt; - } ///State transition - sets the `type` field to Set pub struct SetType(PhantomData S>); impl sealed::Sealed for SetType {} impl State for SetType { - type Author = S::Author; type Type = Set; - type Cid = S::Cid; + type Author = S::Author; type Uri = S::Uri; + type Cid = S::Cid; type CreatedAt = S::CreatedAt; } - ///State transition - sets the `cid` field to Set - pub struct SetCid(PhantomData S>); - impl sealed::Sealed for SetCid {} - impl State for SetCid { - type Author = S::Author; + ///State transition - sets the `author` field to Set + pub struct SetAuthor(PhantomData S>); + impl sealed::Sealed for SetAuthor {} + impl State for SetAuthor { type Type = S::Type; - type Cid = Set; + type Author = Set; type Uri = S::Uri; + type Cid = S::Cid; type CreatedAt = S::CreatedAt; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { - type Author = S::Author; type Type = S::Type; - type Cid = S::Cid; + type Author = S::Author; type Uri = Set; + type Cid = S::Cid; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `cid` field to Set + pub struct SetCid(PhantomData S>); + impl sealed::Sealed for SetCid {} + impl State for SetCid { + type Type = S::Type; + type Author = S::Author; + type Uri = S::Uri; + type Cid = Set; type CreatedAt = S::CreatedAt; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Author = S::Author; type Type = S::Type; - type Cid = S::Cid; + type Author = S::Author; type Uri = S::Uri; + type Cid = S::Cid; type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `author` field - pub struct author(()); ///Marker type for the `type` field pub struct r#type(()); - ///Marker type for the `cid` field - pub struct cid(()); + ///Marker type for the `author` field + pub struct author(()); ///Marker type for the `uri` field pub struct uri(()); + ///Marker type for the `cid` field + pub struct cid(()); ///Marker type for the `created_at` field pub struct created_at(()); } @@ -1348,10 +1388,10 @@ where impl<'a, S> EditHistoryEntryBuilder<'a, S> where S: edit_history_entry_state::State, - S::Author: edit_history_entry_state::IsSet, S::Type: edit_history_entry_state::IsSet, - S::Cid: edit_history_entry_state::IsSet, + S::Author: edit_history_entry_state::IsSet, S::Uri: edit_history_entry_state::IsSet, + S::Cid: edit_history_entry_state::IsSet, S::CreatedAt: edit_history_entry_state::IsSet, { /// Build the final struct @@ -1373,7 +1413,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> EditHistoryEntry<'a> { @@ -1539,37 +1579,37 @@ pub mod edit_tree_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Branches; type Resource; + type Branches; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Branches = Unset; type Resource = Unset; - } - ///State transition - sets the `branches` field to Set - pub struct SetBranches(PhantomData S>); - impl sealed::Sealed for SetBranches {} - impl State for SetBranches { - type Branches = Set; - type Resource = S::Resource; + type Branches = Unset; } ///State transition - sets the `resource` field to Set pub struct SetResource(PhantomData S>); impl sealed::Sealed for SetResource {} impl State for SetResource { - type Branches = S::Branches; type Resource = Set; + type Branches = S::Branches; + } + ///State transition - sets the `branches` field to Set + pub struct SetBranches(PhantomData S>); + impl sealed::Sealed for SetBranches {} + impl State for SetBranches { + type Resource = S::Resource; + type Branches = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `branches` field - pub struct branches(()); ///Marker type for the `resource` field pub struct resource(()); + ///Marker type for the `branches` field + pub struct branches(()); } } @@ -1698,8 +1738,8 @@ where impl<'a, S> EditTreeViewBuilder<'a, S> where S: edit_tree_view_state::State, - S::Branches: edit_tree_view_state::IsSet, S::Resource: edit_tree_view_state::IsSet, + S::Branches: edit_tree_view_state::IsSet, { /// Build the final struct pub fn build(self) -> EditTreeView<'a> { @@ -1716,7 +1756,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> EditTreeView<'a> { @@ -1858,7 +1898,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> EntryRef<'a> { @@ -1996,7 +2036,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> NotebookRef<'a> { diff --git a/crates/jacquard-api/src/sh_weaver/edit/cursor.rs b/crates/jacquard-api/src/sh_weaver/edit/cursor.rs index 9588ba342..6572726a5 100644 --- a/crates/jacquard-api/src/sh_weaver/edit/cursor.rs +++ b/crates/jacquard-api/src/sh_weaver/edit/cursor.rs @@ -113,7 +113,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ContainerId<'a> { @@ -154,18 +154,22 @@ fn lexicon_doc_sh_weaver_edit_cursor() -> ::jacquard_lexicon::lexicon::LexiconDo defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("containerId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("containerId"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("value")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("value") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("value"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "value", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -180,18 +184,22 @@ fn lexicon_doc_sh_weaver_edit_cursor() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cursorSide"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cursorSide"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("value")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("value") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("value"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "value", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -206,13 +214,13 @@ fn lexicon_doc_sh_weaver_edit_cursor() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("peer"), - ::jacquard_common::smol_str::SmolStr::new_static("counter") + ::jacquard_common::deps::smol_str::SmolStr::new_static("peer"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("counter") ], ), nullable: None, @@ -220,7 +228,9 @@ fn lexicon_doc_sh_weaver_edit_cursor() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("counter"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "counter", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -231,7 +241,9 @@ fn lexicon_doc_sh_weaver_edit_cursor() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("peer"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "peer", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -246,7 +258,7 @@ fn lexicon_doc_sh_weaver_edit_cursor() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -258,8 +270,8 @@ fn lexicon_doc_sh_weaver_edit_cursor() -> ::jacquard_lexicon::lexicon::LexiconDo description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("container"), - ::jacquard_common::smol_str::SmolStr::new_static("id") + ::jacquard_common::deps::smol_str::SmolStr::new_static("container"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id") ], ), nullable: None, @@ -267,7 +279,7 @@ fn lexicon_doc_sh_weaver_edit_cursor() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "container", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -276,14 +288,18 @@ fn lexicon_doc_sh_weaver_edit_cursor() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "id", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#id"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("side"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "side", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#cursorSide"), @@ -295,14 +311,16 @@ fn lexicon_doc_sh_weaver_edit_cursor() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("normalContainerId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "normalContainerId", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("peer"), - ::jacquard_common::smol_str::SmolStr::new_static("counter"), - ::jacquard_common::smol_str::SmolStr::new_static("container_type") + ::jacquard_common::deps::smol_str::SmolStr::new_static("peer"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("counter"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("container_type") ], ), nullable: None, @@ -310,7 +328,7 @@ fn lexicon_doc_sh_weaver_edit_cursor() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "container_type", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -327,7 +345,9 @@ fn lexicon_doc_sh_weaver_edit_cursor() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("counter"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "counter", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -338,7 +358,9 @@ fn lexicon_doc_sh_weaver_edit_cursor() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("peer"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "peer", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -353,13 +375,15 @@ fn lexicon_doc_sh_weaver_edit_cursor() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rootContainerId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "rootContainerId", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("container_type") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("container_type") ], ), nullable: None, @@ -367,7 +391,7 @@ fn lexicon_doc_sh_weaver_edit_cursor() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "container_type", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -384,7 +408,9 @@ fn lexicon_doc_sh_weaver_edit_cursor() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -532,7 +558,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> CursorSide<'a> { @@ -586,37 +612,37 @@ pub mod id_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Peer; type Counter; + type Peer; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Peer = Unset; type Counter = Unset; - } - ///State transition - sets the `peer` field to Set - pub struct SetPeer(PhantomData S>); - impl sealed::Sealed for SetPeer {} - impl State for SetPeer { - type Peer = Set; - type Counter = S::Counter; + type Peer = Unset; } ///State transition - sets the `counter` field to Set pub struct SetCounter(PhantomData S>); impl sealed::Sealed for SetCounter {} impl State for SetCounter { - type Peer = S::Peer; type Counter = Set; + type Peer = S::Peer; + } + ///State transition - sets the `peer` field to Set + pub struct SetPeer(PhantomData S>); + impl sealed::Sealed for SetPeer {} + impl State for SetPeer { + type Counter = S::Counter; + type Peer = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `peer` field - pub struct peer(()); ///Marker type for the `counter` field pub struct counter(()); + ///Marker type for the `peer` field + pub struct peer(()); } } @@ -683,8 +709,8 @@ where impl<'a, S> IdBuilder<'a, S> where S: id_state::State, - S::Peer: id_state::IsSet, S::Counter: id_state::IsSet, + S::Peer: id_state::IsSet, { /// Build the final struct pub fn build(self) -> Id<'a> { @@ -698,7 +724,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Id<'a> { @@ -759,37 +785,37 @@ pub mod cursor_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Id; type Container; + type Id; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Id = Unset; type Container = Unset; - } - ///State transition - sets the `id` field to Set - pub struct SetId(PhantomData S>); - impl sealed::Sealed for SetId {} - impl State for SetId { - type Id = Set; - type Container = S::Container; + type Id = Unset; } ///State transition - sets the `container` field to Set pub struct SetContainer(PhantomData S>); impl sealed::Sealed for SetContainer {} impl State for SetContainer { - type Id = S::Id; type Container = Set; + type Id = S::Id; + } + ///State transition - sets the `id` field to Set + pub struct SetId(PhantomData S>); + impl sealed::Sealed for SetId {} + impl State for SetId { + type Container = S::Container; + type Id = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `id` field - pub struct id(()); ///Marker type for the `container` field pub struct container(()); + ///Marker type for the `id` field + pub struct id(()); } } @@ -882,8 +908,8 @@ impl<'a, S: cursor_state::State> CursorBuilder<'a, S> { impl<'a, S> CursorBuilder<'a, S> where S: cursor_state::State, - S::Id: cursor_state::IsSet, S::Container: cursor_state::IsSet, + S::Id: cursor_state::IsSet, { /// Build the final struct pub fn build(self) -> Cursor<'a> { @@ -898,7 +924,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Cursor<'a> { @@ -1017,51 +1043,51 @@ pub mod normal_container_id_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Counter; type ContainerType; type Peer; + type Counter; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Counter = Unset; type ContainerType = Unset; type Peer = Unset; - } - ///State transition - sets the `counter` field to Set - pub struct SetCounter(PhantomData S>); - impl sealed::Sealed for SetCounter {} - impl State for SetCounter { - type Counter = Set; - type ContainerType = S::ContainerType; - type Peer = S::Peer; + type Counter = Unset; } ///State transition - sets the `container_type` field to Set pub struct SetContainerType(PhantomData S>); impl sealed::Sealed for SetContainerType {} impl State for SetContainerType { - type Counter = S::Counter; type ContainerType = Set; type Peer = S::Peer; + type Counter = S::Counter; } ///State transition - sets the `peer` field to Set pub struct SetPeer(PhantomData S>); impl sealed::Sealed for SetPeer {} impl State for SetPeer { - type Counter = S::Counter; type ContainerType = S::ContainerType; type Peer = Set; + type Counter = S::Counter; + } + ///State transition - sets the `counter` field to Set + pub struct SetCounter(PhantomData S>); + impl sealed::Sealed for SetCounter {} + impl State for SetCounter { + type ContainerType = S::ContainerType; + type Peer = S::Peer; + type Counter = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `counter` field - pub struct counter(()); ///Marker type for the `container_type` field pub struct container_type(()); ///Marker type for the `peer` field pub struct peer(()); + ///Marker type for the `counter` field + pub struct counter(()); } } @@ -1154,9 +1180,9 @@ where impl<'a, S> NormalContainerIdBuilder<'a, S> where S: normal_container_id_state::State, - S::Counter: normal_container_id_state::IsSet, S::ContainerType: normal_container_id_state::IsSet, S::Peer: normal_container_id_state::IsSet, + S::Counter: normal_container_id_state::IsSet, { /// Build the final struct pub fn build(self) -> NormalContainerId<'a> { @@ -1171,7 +1197,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> NormalContainerId<'a> { diff --git a/crates/jacquard-api/src/sh_weaver/edit/diff.rs b/crates/jacquard-api/src/sh_weaver/edit/diff.rs index 062858f5f..196789425 100644 --- a/crates/jacquard-api/src/sh_weaver/edit/diff.rs +++ b/crates/jacquard-api/src/sh_weaver/edit/diff.rs @@ -25,7 +25,7 @@ pub struct Diff<'a> { /// An inline diff for for small edit batches. Either this or snapshot must be present to be valid #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(default, with = "jacquard_common::opt_serde_bytes_helper")] - pub inline_diff: std::option::Option, + pub inline_diff: std::option::Option, #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] pub prev: std::option::Option>, @@ -47,37 +47,37 @@ pub mod diff_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Root; type Doc; + type Root; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Root = Unset; type Doc = Unset; - } - ///State transition - sets the `root` field to Set - pub struct SetRoot(PhantomData S>); - impl sealed::Sealed for SetRoot {} - impl State for SetRoot { - type Root = Set; - type Doc = S::Doc; + type Root = Unset; } ///State transition - sets the `doc` field to Set pub struct SetDoc(PhantomData S>); impl sealed::Sealed for SetDoc {} impl State for SetDoc { - type Root = S::Root; type Doc = Set; + type Root = S::Root; + } + ///State transition - sets the `root` field to Set + pub struct SetRoot(PhantomData S>); + impl sealed::Sealed for SetRoot {} + impl State for SetRoot { + type Doc = S::Doc; + type Root = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `root` field - pub struct root(()); ///Marker type for the `doc` field pub struct doc(()); + ///Marker type for the `root` field + pub struct root(()); } } @@ -87,7 +87,7 @@ pub struct DiffBuilder<'a, S: diff_state::State> { __unsafe_private_named: ( ::core::option::Option, ::core::option::Option>, - ::core::option::Option, + ::core::option::Option, ::core::option::Option>, ::core::option::Option>, ::core::option::Option>, @@ -153,12 +153,18 @@ where impl<'a, S: diff_state::State> DiffBuilder<'a, S> { /// Set the `inlineDiff` field (optional) - pub fn inline_diff(mut self, value: impl Into>) -> Self { + pub fn inline_diff( + mut self, + value: impl Into>, + ) -> Self { self.__unsafe_private_named.2 = value.into(); self } /// Set the `inlineDiff` field to an Option value (optional) - pub fn maybe_inline_diff(mut self, value: Option) -> Self { + pub fn maybe_inline_diff( + mut self, + value: Option, + ) -> Self { self.__unsafe_private_named.2 = value; self } @@ -224,8 +230,8 @@ impl<'a, S: diff_state::State> DiffBuilder<'a, S> { impl<'a, S> DiffBuilder<'a, S> where S: diff_state::State, - S::Root: diff_state::IsSet, S::Doc: diff_state::IsSet, + S::Root: diff_state::IsSet, { /// Build the final struct pub fn build(self) -> Diff<'a> { @@ -243,7 +249,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Diff<'a> { @@ -348,7 +354,7 @@ fn lexicon_doc_sh_weaver_edit_diff() -> ::jacquard_lexicon::lexicon::LexiconDoc< defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -360,8 +366,8 @@ fn lexicon_doc_sh_weaver_edit_diff() -> ::jacquard_lexicon::lexicon::LexiconDoc< description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("root"), - ::jacquard_common::smol_str::SmolStr::new_static("doc") + ::jacquard_common::deps::smol_str::SmolStr::new_static("root"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("doc") ], ), nullable: None, @@ -369,7 +375,7 @@ fn lexicon_doc_sh_weaver_edit_diff() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -388,7 +394,9 @@ fn lexicon_doc_sh_weaver_edit_diff() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("doc"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "doc", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -397,7 +405,7 @@ fn lexicon_doc_sh_weaver_edit_diff() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "inlineDiff", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Bytes(::jacquard_lexicon::lexicon::LexBytes { @@ -407,7 +415,9 @@ fn lexicon_doc_sh_weaver_edit_diff() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("prev"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "prev", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -416,7 +426,9 @@ fn lexicon_doc_sh_weaver_edit_diff() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("root"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "root", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -425,7 +437,7 @@ fn lexicon_doc_sh_weaver_edit_diff() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "snapshot", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { diff --git a/crates/jacquard-api/src/sh_weaver/edit/draft.rs b/crates/jacquard-api/src/sh_weaver/edit/draft.rs index a7048d161..6f6daa9ae 100644 --- a/crates/jacquard-api/src/sh_weaver/edit/draft.rs +++ b/crates/jacquard-api/src/sh_weaver/edit/draft.rs @@ -115,7 +115,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Draft<'a> { @@ -215,7 +215,7 @@ fn lexicon_doc_sh_weaver_edit_draft() -> ::jacquard_lexicon::lexicon::LexiconDoc defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -227,7 +227,7 @@ fn lexicon_doc_sh_weaver_edit_draft() -> ::jacquard_lexicon::lexicon::LexiconDoc description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -235,7 +235,7 @@ fn lexicon_doc_sh_weaver_edit_draft() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { 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 91f810e51..d2287cf1a 100644 --- a/crates/jacquard-api/src/sh_weaver/edit/list_drafts.rs +++ b/crates/jacquard-api/src/sh_weaver/edit/list_drafts.rs @@ -47,51 +47,51 @@ pub mod draft_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Uri; - type Cid; type CreatedAt; + type Cid; + type Uri; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Uri = Unset; - type Cid = Unset; type CreatedAt = Unset; + type Cid = Unset; + type Uri = Unset; } - ///State transition - sets the `uri` field to Set - pub struct SetUri(PhantomData S>); - impl sealed::Sealed for SetUri {} - impl State for SetUri { - type Uri = Set; + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type CreatedAt = Set; type Cid = S::Cid; - type CreatedAt = S::CreatedAt; + type Uri = S::Uri; } ///State transition - sets the `cid` field to Set pub struct SetCid(PhantomData S>); impl sealed::Sealed for SetCid {} impl State for SetCid { - type Uri = S::Uri; - type Cid = Set; type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { + type Cid = Set; type Uri = S::Uri; + } + ///State transition - sets the `uri` field to Set + pub struct SetUri(PhantomData S>); + impl sealed::Sealed for SetUri {} + impl State for SetUri { + type CreatedAt = S::CreatedAt; type Cid = S::Cid; - type CreatedAt = Set; + type Uri = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `uri` field - pub struct uri(()); - ///Marker type for the `cid` field - pub struct cid(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `cid` field + pub struct cid(()); + ///Marker type for the `uri` field + pub struct uri(()); } } @@ -241,9 +241,9 @@ where impl<'a, S> DraftViewBuilder<'a, S> where S: draft_view_state::State, - S::Uri: draft_view_state::IsSet, - S::Cid: draft_view_state::IsSet, S::CreatedAt: draft_view_state::IsSet, + S::Cid: draft_view_state::IsSet, + S::Uri: draft_view_state::IsSet, { /// Build the final struct pub fn build(self) -> DraftView<'a> { @@ -261,7 +261,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> DraftView<'a> { @@ -288,7 +288,7 @@ fn lexicon_doc_sh_weaver_edit_listDrafts() -> ::jacquard_lexicon::lexicon::Lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("draftView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("draftView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -297,9 +297,9 @@ fn lexicon_doc_sh_weaver_edit_listDrafts() -> ::jacquard_lexicon::lexicon::Lexic ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("cid"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -307,7 +307,9 @@ fn lexicon_doc_sh_weaver_edit_listDrafts() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -324,7 +326,7 @@ fn lexicon_doc_sh_weaver_edit_listDrafts() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -343,7 +345,9 @@ fn lexicon_doc_sh_weaver_edit_listDrafts() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("editRoot"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "editRoot", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -352,7 +356,7 @@ fn lexicon_doc_sh_weaver_edit_listDrafts() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "lastEditAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -371,7 +375,9 @@ fn lexicon_doc_sh_weaver_edit_listDrafts() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -390,7 +396,9 @@ fn lexicon_doc_sh_weaver_edit_listDrafts() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -411,7 +419,7 @@ fn lexicon_doc_sh_weaver_edit_listDrafts() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcQuery(::jacquard_lexicon::lexicon::LexXrpcQuery { description: None, parameters: Some( @@ -419,14 +427,16 @@ fn lexicon_doc_sh_weaver_edit_listDrafts() -> ::jacquard_lexicon::lexicon::Lexic description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("actor") + ::jacquard_common::deps::smol_str::SmolStr::new_static("actor") ], ), properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("actor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "actor", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -447,7 +457,9 @@ fn lexicon_doc_sh_weaver_edit_listDrafts() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cursor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cursor", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -462,7 +474,9 @@ fn lexicon_doc_sh_weaver_edit_listDrafts() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("limit"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "limit", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, diff --git a/crates/jacquard-api/src/sh_weaver/edit/root.rs b/crates/jacquard-api/src/sh_weaver/edit/root.rs index 563af1734..c5021d4d3 100644 --- a/crates/jacquard-api/src/sh_weaver/edit/root.rs +++ b/crates/jacquard-api/src/sh_weaver/edit/root.rs @@ -34,37 +34,37 @@ pub mod root_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Doc; type Snapshot; + type Doc; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Doc = Unset; type Snapshot = Unset; - } - ///State transition - sets the `doc` field to Set - pub struct SetDoc(PhantomData S>); - impl sealed::Sealed for SetDoc {} - impl State for SetDoc { - type Doc = Set; - type Snapshot = S::Snapshot; + type Doc = Unset; } ///State transition - sets the `snapshot` field to Set pub struct SetSnapshot(PhantomData S>); impl sealed::Sealed for SetSnapshot {} impl State for SetSnapshot { - type Doc = S::Doc; type Snapshot = Set; + type Doc = S::Doc; + } + ///State transition - sets the `doc` field to Set + pub struct SetDoc(PhantomData S>); + impl sealed::Sealed for SetDoc {} + impl State for SetDoc { + type Snapshot = S::Snapshot; + type Doc = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `doc` field - pub struct doc(()); ///Marker type for the `snapshot` field pub struct snapshot(()); + ///Marker type for the `doc` field + pub struct doc(()); } } @@ -137,8 +137,8 @@ where impl<'a, S> RootBuilder<'a, S> where S: root_state::State, - S::Doc: root_state::IsSet, S::Snapshot: root_state::IsSet, + S::Doc: root_state::IsSet, { /// Build the final struct pub fn build(self) -> Root<'a> { @@ -152,7 +152,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Root<'a> { @@ -253,7 +253,7 @@ fn lexicon_doc_sh_weaver_edit_root() -> ::jacquard_lexicon::lexicon::LexiconDoc< defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -265,8 +265,8 @@ fn lexicon_doc_sh_weaver_edit_root() -> ::jacquard_lexicon::lexicon::LexiconDoc< description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("doc"), - ::jacquard_common::smol_str::SmolStr::new_static("snapshot") + ::jacquard_common::deps::smol_str::SmolStr::new_static("doc"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("snapshot") ], ), nullable: None, @@ -274,7 +274,9 @@ fn lexicon_doc_sh_weaver_edit_root() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("doc"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "doc", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -283,7 +285,7 @@ fn lexicon_doc_sh_weaver_edit_root() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "snapshot", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { diff --git a/crates/jacquard-api/src/sh_weaver/embed.rs b/crates/jacquard-api/src/sh_weaver/embed.rs index 7c9dccc7c..24b073059 100644 --- a/crates/jacquard-api/src/sh_weaver/embed.rs +++ b/crates/jacquard-api/src/sh_weaver/embed.rs @@ -153,7 +153,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> PercentSize<'a> { @@ -176,7 +176,7 @@ fn lexicon_doc_sh_weaver_embed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("percentSize"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("percentSize"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -185,8 +185,8 @@ fn lexicon_doc_sh_weaver_embed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("width"), - ::jacquard_common::smol_str::SmolStr::new_static("height") + ::jacquard_common::deps::smol_str::SmolStr::new_static("width"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("height") ], ), nullable: None, @@ -194,7 +194,9 @@ fn lexicon_doc_sh_weaver_embed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("height"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "height", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -205,7 +207,9 @@ fn lexicon_doc_sh_weaver_embed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("width"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "width", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -220,7 +224,7 @@ fn lexicon_doc_sh_weaver_embed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("pixelSize"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("pixelSize"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -229,8 +233,8 @@ fn lexicon_doc_sh_weaver_embed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("width"), - ::jacquard_common::smol_str::SmolStr::new_static("height") + ::jacquard_common::deps::smol_str::SmolStr::new_static("width"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("height") ], ), nullable: None, @@ -238,7 +242,9 @@ fn lexicon_doc_sh_weaver_embed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("height"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "height", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -249,7 +255,9 @@ fn lexicon_doc_sh_weaver_embed_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("width"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "width", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -427,7 +435,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> PixelSize<'a> { diff --git a/crates/jacquard-api/src/sh_weaver/embed/external.rs b/crates/jacquard-api/src/sh_weaver/embed/external.rs index 72343f981..db7b28190 100644 --- a/crates/jacquard-api/src/sh_weaver/embed/external.rs +++ b/crates/jacquard-api/src/sh_weaver/embed/external.rs @@ -38,51 +38,51 @@ pub mod external_embed_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Uri; type Title; type Description; + type Uri; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Uri = Unset; type Title = Unset; type Description = Unset; - } - ///State transition - sets the `uri` field to Set - pub struct SetUri(PhantomData S>); - impl sealed::Sealed for SetUri {} - impl State for SetUri { - type Uri = Set; - type Title = S::Title; - type Description = S::Description; + type Uri = Unset; } ///State transition - sets the `title` field to Set pub struct SetTitle(PhantomData S>); impl sealed::Sealed for SetTitle {} impl State for SetTitle { - type Uri = S::Uri; type Title = Set; type Description = S::Description; + type Uri = S::Uri; } ///State transition - sets the `description` field to Set pub struct SetDescription(PhantomData S>); impl sealed::Sealed for SetDescription {} impl State for SetDescription { - type Uri = S::Uri; type Title = S::Title; type Description = Set; + type Uri = S::Uri; + } + ///State transition - sets the `uri` field to Set + pub struct SetUri(PhantomData S>); + impl sealed::Sealed for SetUri {} + impl State for SetUri { + type Title = S::Title; + type Description = S::Description; + type Uri = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `uri` field - pub struct uri(()); ///Marker type for the `title` field pub struct title(()); ///Marker type for the `description` field pub struct description(()); + ///Marker type for the `uri` field + pub struct uri(()); } } @@ -195,9 +195,9 @@ where impl<'a, S> ExternalEmbedBuilder<'a, S> where S: external_embed_state::State, - S::Uri: external_embed_state::IsSet, S::Title: external_embed_state::IsSet, S::Description: external_embed_state::IsSet, + S::Uri: external_embed_state::IsSet, { /// Build the final struct pub fn build(self) -> ExternalEmbed<'a> { @@ -213,7 +213,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ExternalEmbed<'a> { @@ -238,14 +238,14 @@ fn lexicon_doc_sh_weaver_embed_external() -> ::jacquard_lexicon::lexicon::Lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("externalEmbed"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("externalEmbed"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("description") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("description") ], ), nullable: None, @@ -253,7 +253,7 @@ fn lexicon_doc_sh_weaver_embed_external() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -270,7 +270,9 @@ fn lexicon_doc_sh_weaver_embed_external() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("thumb"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "thumb", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -278,7 +280,9 @@ fn lexicon_doc_sh_weaver_embed_external() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -293,7 +297,9 @@ fn lexicon_doc_sh_weaver_embed_external() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -314,18 +320,22 @@ fn lexicon_doc_sh_weaver_embed_external() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("embeds")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("embeds") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("embeds"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "embeds", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -343,12 +353,12 @@ fn lexicon_doc_sh_weaver_embed_external() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("view"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("view"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("external") + ::jacquard_common::deps::smol_str::SmolStr::new_static("external") ], ), nullable: None, @@ -356,7 +366,9 @@ fn lexicon_doc_sh_weaver_embed_external() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("external"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "external", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -374,14 +386,14 @@ fn lexicon_doc_sh_weaver_embed_external() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("viewExternal"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("viewExternal"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("description") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("description") ], ), nullable: None, @@ -389,7 +401,7 @@ fn lexicon_doc_sh_weaver_embed_external() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -406,7 +418,9 @@ fn lexicon_doc_sh_weaver_embed_external() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("thumb"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "thumb", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -423,7 +437,9 @@ fn lexicon_doc_sh_weaver_embed_external() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -438,7 +454,9 @@ fn lexicon_doc_sh_weaver_embed_external() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -592,7 +610,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> External<'a> { @@ -743,7 +761,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> View<'a> { @@ -817,51 +835,51 @@ pub mod view_external_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Title; type Description; type Uri; - type Title; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Title = Unset; type Description = Unset; type Uri = Unset; - type Title = Unset; + } + ///State transition - sets the `title` field to Set + pub struct SetTitle(PhantomData S>); + impl sealed::Sealed for SetTitle {} + impl State for SetTitle { + type Title = Set; + type Description = S::Description; + type Uri = S::Uri; } ///State transition - sets the `description` field to Set pub struct SetDescription(PhantomData S>); impl sealed::Sealed for SetDescription {} impl State for SetDescription { + type Title = S::Title; type Description = Set; type Uri = S::Uri; - type Title = S::Title; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { - type Description = S::Description; - type Uri = Set; type Title = S::Title; - } - ///State transition - sets the `title` field to Set - pub struct SetTitle(PhantomData S>); - impl sealed::Sealed for SetTitle {} - impl State for SetTitle { type Description = S::Description; - type Uri = S::Uri; - type Title = Set; + type Uri = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `title` field + pub struct title(()); ///Marker type for the `description` field pub struct description(()); ///Marker type for the `uri` field pub struct uri(()); - ///Marker type for the `title` field - pub struct title(()); } } @@ -974,9 +992,9 @@ where impl<'a, S> ViewExternalBuilder<'a, S> where S: view_external_state::State, + S::Title: view_external_state::IsSet, S::Description: view_external_state::IsSet, S::Uri: view_external_state::IsSet, - S::Title: view_external_state::IsSet, { /// Build the final struct pub fn build(self) -> ViewExternal<'a> { @@ -992,7 +1010,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ViewExternal<'a> { diff --git a/crates/jacquard-api/src/sh_weaver/embed/images.rs b/crates/jacquard-api/src/sh_weaver/embed/images.rs index 51b9f79c3..f298cc556 100644 --- a/crates/jacquard-api/src/sh_weaver/embed/images.rs +++ b/crates/jacquard-api/src/sh_weaver/embed/images.rs @@ -44,37 +44,37 @@ pub mod image_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Alt; type Image; + type Alt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Alt = Unset; type Image = Unset; - } - ///State transition - sets the `alt` field to Set - pub struct SetAlt(PhantomData S>); - impl sealed::Sealed for SetAlt {} - impl State for SetAlt { - type Alt = Set; - type Image = S::Image; + type Alt = Unset; } ///State transition - sets the `image` field to Set pub struct SetImage(PhantomData S>); impl sealed::Sealed for SetImage {} impl State for SetImage { - type Alt = S::Alt; type Image = Set; + type Alt = S::Alt; + } + ///State transition - sets the `alt` field to Set + pub struct SetAlt(PhantomData S>); + impl sealed::Sealed for SetAlt {} + impl State for SetAlt { + type Image = S::Image; + type Alt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `alt` field - pub struct alt(()); ///Marker type for the `image` field pub struct image(()); + ///Marker type for the `alt` field + pub struct alt(()); } } @@ -195,8 +195,8 @@ impl<'a, S: image_state::State> ImageBuilder<'a, S> { impl<'a, S> ImageBuilder<'a, S> where S: image_state::State, - S::Alt: image_state::IsSet, S::Image: image_state::IsSet, + S::Alt: image_state::IsSet, { /// Build the final struct pub fn build(self) -> Image<'a> { @@ -213,7 +213,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Image<'a> { @@ -260,13 +260,13 @@ fn lexicon_doc_sh_weaver_embed_images() -> ::jacquard_lexicon::lexicon::LexiconD defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("image"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("image"), - ::jacquard_common::smol_str::SmolStr::new_static("alt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("alt") ], ), nullable: None, @@ -274,7 +274,9 @@ fn lexicon_doc_sh_weaver_embed_images() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("alt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "alt", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -293,7 +295,9 @@ fn lexicon_doc_sh_weaver_embed_images() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("blurhash"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "blurhash", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -312,7 +316,7 @@ fn lexicon_doc_sh_weaver_embed_images() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dimensions", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -326,7 +330,9 @@ fn lexicon_doc_sh_weaver_embed_images() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -334,7 +340,9 @@ fn lexicon_doc_sh_weaver_embed_images() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -353,18 +361,22 @@ fn lexicon_doc_sh_weaver_embed_images() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("images")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("images") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("images"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "images", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -380,18 +392,22 @@ fn lexicon_doc_sh_weaver_embed_images() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("view"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("view"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("images")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("images") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("images"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "images", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -407,14 +423,14 @@ fn lexicon_doc_sh_weaver_embed_images() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("viewImage"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("viewImage"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("thumb"), - ::jacquard_common::smol_str::SmolStr::new_static("fullsize"), - ::jacquard_common::smol_str::SmolStr::new_static("alt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("thumb"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("fullsize"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("alt") ], ), nullable: None, @@ -422,7 +438,9 @@ fn lexicon_doc_sh_weaver_embed_images() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("alt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "alt", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -441,7 +459,7 @@ fn lexicon_doc_sh_weaver_embed_images() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dimensions", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -455,7 +473,9 @@ fn lexicon_doc_sh_weaver_embed_images() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("fullsize"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "fullsize", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -476,7 +496,9 @@ fn lexicon_doc_sh_weaver_embed_images() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -491,7 +513,9 @@ fn lexicon_doc_sh_weaver_embed_images() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("thumb"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "thumb", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -671,7 +695,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Images<'a> { @@ -822,7 +846,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> View<'a> { @@ -902,51 +926,51 @@ pub mod view_image_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Alt; - type Thumb; type Fullsize; + type Thumb; + type Alt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Alt = Unset; - type Thumb = Unset; type Fullsize = Unset; + type Thumb = Unset; + type Alt = Unset; } - ///State transition - sets the `alt` field to Set - pub struct SetAlt(PhantomData S>); - impl sealed::Sealed for SetAlt {} - impl State for SetAlt { - type Alt = Set; + ///State transition - sets the `fullsize` field to Set + pub struct SetFullsize(PhantomData S>); + impl sealed::Sealed for SetFullsize {} + impl State for SetFullsize { + type Fullsize = Set; type Thumb = S::Thumb; - type Fullsize = S::Fullsize; + type Alt = S::Alt; } ///State transition - sets the `thumb` field to Set pub struct SetThumb(PhantomData S>); impl sealed::Sealed for SetThumb {} impl State for SetThumb { - type Alt = S::Alt; - type Thumb = Set; type Fullsize = S::Fullsize; - } - ///State transition - sets the `fullsize` field to Set - pub struct SetFullsize(PhantomData S>); - impl sealed::Sealed for SetFullsize {} - impl State for SetFullsize { + type Thumb = Set; type Alt = S::Alt; + } + ///State transition - sets the `alt` field to Set + pub struct SetAlt(PhantomData S>); + impl sealed::Sealed for SetAlt {} + impl State for SetAlt { + type Fullsize = S::Fullsize; type Thumb = S::Thumb; - type Fullsize = Set; + type Alt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `alt` field - pub struct alt(()); - ///Marker type for the `thumb` field - pub struct thumb(()); ///Marker type for the `fullsize` field pub struct fullsize(()); + ///Marker type for the `thumb` field + pub struct thumb(()); + ///Marker type for the `alt` field + pub struct alt(()); } } @@ -1073,9 +1097,9 @@ where impl<'a, S> ViewImageBuilder<'a, S> where S: view_image_state::State, - S::Alt: view_image_state::IsSet, - S::Thumb: view_image_state::IsSet, S::Fullsize: view_image_state::IsSet, + S::Thumb: view_image_state::IsSet, + S::Alt: view_image_state::IsSet, { /// Build the final struct pub fn build(self) -> ViewImage<'a> { @@ -1092,7 +1116,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ViewImage<'a> { 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 297864a10..ce0e3c31b 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 @@ -151,7 +151,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> RecordWithMedia<'a> { @@ -195,13 +195,13 @@ fn lexicon_doc_sh_weaver_embed_recordWithMedia() -> ::jacquard_lexicon::lexicon: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("records"), - ::jacquard_common::smol_str::SmolStr::new_static("media") + ::jacquard_common::deps::smol_str::SmolStr::new_static("records"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("media") ], ), nullable: None, @@ -209,7 +209,9 @@ fn lexicon_doc_sh_weaver_embed_recordWithMedia() -> ::jacquard_lexicon::lexicon: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("media"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "media", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -221,7 +223,9 @@ fn lexicon_doc_sh_weaver_embed_recordWithMedia() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("records"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "records", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -234,13 +238,13 @@ fn lexicon_doc_sh_weaver_embed_recordWithMedia() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("view"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("view"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("record"), - ::jacquard_common::smol_str::SmolStr::new_static("media") + ::jacquard_common::deps::smol_str::SmolStr::new_static("record"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("media") ], ), nullable: None, @@ -248,7 +252,9 @@ fn lexicon_doc_sh_weaver_embed_recordWithMedia() -> ::jacquard_lexicon::lexicon: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("media"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "media", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -260,7 +266,9 @@ fn lexicon_doc_sh_weaver_embed_recordWithMedia() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("records"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "records", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -323,37 +331,37 @@ pub mod view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Record; type Media; + type Record; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Record = Unset; type Media = Unset; - } - ///State transition - sets the `record` field to Set - pub struct SetRecord(PhantomData S>); - impl sealed::Sealed for SetRecord {} - impl State for SetRecord { - type Record = Set; - type Media = S::Media; + type Record = Unset; } ///State transition - sets the `media` field to Set pub struct SetMedia(PhantomData S>); impl sealed::Sealed for SetMedia {} impl State for SetMedia { - type Record = S::Record; type Media = Set; + type Record = S::Record; + } + ///State transition - sets the `record` field to Set + pub struct SetRecord(PhantomData S>); + impl sealed::Sealed for SetRecord {} + impl State for SetRecord { + type Media = S::Media; + type Record = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `record` field - pub struct record(()); ///Marker type for the `media` field pub struct media(()); + ///Marker type for the `record` field + pub struct record(()); } } @@ -426,8 +434,8 @@ impl<'a, S: view_state::State> ViewBuilder<'a, S> { impl<'a, S> ViewBuilder<'a, S> where S: view_state::State, - S::Record: view_state::IsSet, S::Media: view_state::IsSet, + S::Record: view_state::IsSet, { /// Build the final struct pub fn build(self) -> View<'a> { @@ -441,7 +449,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> View<'a> { diff --git a/crates/jacquard-api/src/sh_weaver/embed/records.rs b/crates/jacquard-api/src/sh_weaver/embed/records.rs index a37d64d4b..cbd327b97 100644 --- a/crates/jacquard-api/src/sh_weaver/embed/records.rs +++ b/crates/jacquard-api/src/sh_weaver/embed/records.rs @@ -115,7 +115,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Records<'a> { @@ -137,18 +137,22 @@ fn lexicon_doc_sh_weaver_embed_records() -> ::jacquard_lexicon::lexicon::Lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("records")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("records") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("records"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "records", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -164,18 +168,22 @@ fn lexicon_doc_sh_weaver_embed_records() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("recordEmbed"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("recordEmbed"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("record")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("record") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -190,7 +198,9 @@ fn lexicon_doc_sh_weaver_embed_records() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("record"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "record", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -203,12 +213,14 @@ fn lexicon_doc_sh_weaver_embed_records() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("recordEmbedView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "recordEmbedView", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("recordView") + ::jacquard_common::deps::smol_str::SmolStr::new_static("recordView") ], ), nullable: None, @@ -216,7 +228,9 @@ fn lexicon_doc_sh_weaver_embed_records() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -231,7 +245,7 @@ fn lexicon_doc_sh_weaver_embed_records() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "recordView", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -250,18 +264,22 @@ fn lexicon_doc_sh_weaver_embed_records() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("view"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("view"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("record")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("record") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("record"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "record", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -282,14 +300,14 @@ fn lexicon_doc_sh_weaver_embed_records() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("viewBlocked"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("viewBlocked"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("blocked"), - ::jacquard_common::smol_str::SmolStr::new_static("author") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("blocked"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("author") ], ), nullable: None, @@ -297,7 +315,9 @@ fn lexicon_doc_sh_weaver_embed_records() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "author", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -306,7 +326,9 @@ fn lexicon_doc_sh_weaver_embed_records() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("blocked"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "blocked", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -314,7 +336,9 @@ fn lexicon_doc_sh_weaver_embed_records() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -335,13 +359,13 @@ fn lexicon_doc_sh_weaver_embed_records() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("viewDetached"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("viewDetached"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("detached") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("detached") ], ), nullable: None, @@ -349,7 +373,9 @@ fn lexicon_doc_sh_weaver_embed_records() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("detached"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "detached", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -357,7 +383,9 @@ fn lexicon_doc_sh_weaver_embed_records() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -378,13 +406,13 @@ fn lexicon_doc_sh_weaver_embed_records() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("viewNotFound"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("viewNotFound"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("notFound") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("notFound") ], ), nullable: None, @@ -392,7 +420,9 @@ fn lexicon_doc_sh_weaver_embed_records() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("notFound"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "notFound", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -400,7 +430,9 @@ fn lexicon_doc_sh_weaver_embed_records() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -421,16 +453,16 @@ fn lexicon_doc_sh_weaver_embed_records() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("viewRecord"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("viewRecord"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("cid"), - ::jacquard_common::smol_str::SmolStr::new_static("author"), - ::jacquard_common::smol_str::SmolStr::new_static("value"), - ::jacquard_common::smol_str::SmolStr::new_static("indexedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("value"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("indexedAt") ], ), nullable: None, @@ -438,7 +470,9 @@ fn lexicon_doc_sh_weaver_embed_records() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "author", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -447,7 +481,9 @@ fn lexicon_doc_sh_weaver_embed_records() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -464,7 +500,9 @@ fn lexicon_doc_sh_weaver_embed_records() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("embeds"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "embeds", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -478,7 +516,7 @@ fn lexicon_doc_sh_weaver_embed_records() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "indexedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -497,7 +535,9 @@ fn lexicon_doc_sh_weaver_embed_records() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("labels"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "labels", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -511,7 +551,7 @@ fn lexicon_doc_sh_weaver_embed_records() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "likeCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -524,7 +564,7 @@ fn lexicon_doc_sh_weaver_embed_records() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "quoteCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -537,7 +577,7 @@ fn lexicon_doc_sh_weaver_embed_records() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "replyCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -550,7 +590,7 @@ fn lexicon_doc_sh_weaver_embed_records() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "repostCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -563,7 +603,9 @@ fn lexicon_doc_sh_weaver_embed_records() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -580,7 +622,9 @@ fn lexicon_doc_sh_weaver_embed_records() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("value"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "value", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { description: None, }), @@ -755,7 +799,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> RecordEmbed<'a> { @@ -927,7 +971,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> RecordEmbedView<'a> { @@ -1099,7 +1143,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> View<'a> { @@ -1187,51 +1231,51 @@ pub mod view_blocked_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Uri; type Blocked; type Author; - type Uri; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Uri = Unset; type Blocked = Unset; type Author = Unset; - type Uri = Unset; + } + ///State transition - sets the `uri` field to Set + pub struct SetUri(PhantomData S>); + impl sealed::Sealed for SetUri {} + impl State for SetUri { + type Uri = Set; + type Blocked = S::Blocked; + type Author = S::Author; } ///State transition - sets the `blocked` field to Set pub struct SetBlocked(PhantomData S>); impl sealed::Sealed for SetBlocked {} impl State for SetBlocked { + type Uri = S::Uri; type Blocked = Set; type Author = S::Author; - type Uri = S::Uri; } ///State transition - sets the `author` field to Set pub struct SetAuthor(PhantomData S>); impl sealed::Sealed for SetAuthor {} impl State for SetAuthor { - type Blocked = S::Blocked; - type Author = Set; type Uri = S::Uri; - } - ///State transition - sets the `uri` field to Set - pub struct SetUri(PhantomData S>); - impl sealed::Sealed for SetUri {} - impl State for SetUri { type Blocked = S::Blocked; - type Author = S::Author; - type Uri = Set; + type Author = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `uri` field + pub struct uri(()); ///Marker type for the `blocked` field pub struct blocked(()); ///Marker type for the `author` field pub struct author(()); - ///Marker type for the `uri` field - pub struct uri(()); } } @@ -1324,9 +1368,9 @@ where impl<'a, S> ViewBlockedBuilder<'a, S> where S: view_blocked_state::State, + S::Uri: view_blocked_state::IsSet, S::Blocked: view_blocked_state::IsSet, S::Author: view_blocked_state::IsSet, - S::Uri: view_blocked_state::IsSet, { /// Build the final struct pub fn build(self) -> ViewBlocked<'a> { @@ -1341,7 +1385,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ViewBlocked<'a> { @@ -1516,7 +1560,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ViewDetached<'a> { @@ -1572,37 +1616,37 @@ pub mod view_not_found_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type NotFound; type Uri; + type NotFound; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type NotFound = Unset; type Uri = Unset; - } - ///State transition - sets the `not_found` field to Set - pub struct SetNotFound(PhantomData S>); - impl sealed::Sealed for SetNotFound {} - impl State for SetNotFound { - type NotFound = Set; - type Uri = S::Uri; + type NotFound = Unset; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { - type NotFound = S::NotFound; type Uri = Set; + type NotFound = S::NotFound; + } + ///State transition - sets the `not_found` field to Set + pub struct SetNotFound(PhantomData S>); + impl sealed::Sealed for SetNotFound {} + impl State for SetNotFound { + type Uri = S::Uri; + type NotFound = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `not_found` field - pub struct not_found(()); ///Marker type for the `uri` field pub struct uri(()); + ///Marker type for the `not_found` field + pub struct not_found(()); } } @@ -1675,8 +1719,8 @@ where impl<'a, S> ViewNotFoundBuilder<'a, S> where S: view_not_found_state::State, - S::NotFound: view_not_found_state::IsSet, S::Uri: view_not_found_state::IsSet, + S::NotFound: view_not_found_state::IsSet, { /// Build the final struct pub fn build(self) -> ViewNotFound<'a> { @@ -1690,7 +1734,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ViewNotFound<'a> { @@ -1769,85 +1813,85 @@ pub mod view_record_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Author; type Uri; - type Value; - type IndexedAt; type Cid; + type Author; + type IndexedAt; + type Value; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Author = Unset; type Uri = Unset; - type Value = Unset; - type IndexedAt = Unset; type Cid = Unset; - } - ///State transition - sets the `author` field to Set - pub struct SetAuthor(PhantomData S>); - impl sealed::Sealed for SetAuthor {} - impl State for SetAuthor { - type Author = Set; - type Uri = S::Uri; - type Value = S::Value; - type IndexedAt = S::IndexedAt; - type Cid = S::Cid; + type Author = Unset; + type IndexedAt = Unset; + type Value = Unset; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { - type Author = S::Author; type Uri = Set; - type Value = S::Value; - type IndexedAt = S::IndexedAt; type Cid = S::Cid; - } - ///State transition - sets the `value` field to Set - pub struct SetValue(PhantomData S>); - impl sealed::Sealed for SetValue {} - impl State for SetValue { type Author = S::Author; + type IndexedAt = S::IndexedAt; + type Value = S::Value; + } + ///State transition - sets the `cid` field to Set + pub struct SetCid(PhantomData S>); + impl sealed::Sealed for SetCid {} + impl State for SetCid { type Uri = S::Uri; - type Value = Set; + type Cid = Set; + type Author = S::Author; type IndexedAt = S::IndexedAt; + type Value = S::Value; + } + ///State transition - sets the `author` field to Set + pub struct SetAuthor(PhantomData S>); + impl sealed::Sealed for SetAuthor {} + impl State for SetAuthor { + type Uri = S::Uri; type Cid = S::Cid; + type Author = Set; + type IndexedAt = S::IndexedAt; + type Value = S::Value; } ///State transition - sets the `indexed_at` field to Set pub struct SetIndexedAt(PhantomData S>); impl sealed::Sealed for SetIndexedAt {} impl State for SetIndexedAt { - type Author = S::Author; type Uri = S::Uri; - type Value = S::Value; - type IndexedAt = Set; type Cid = S::Cid; - } - ///State transition - sets the `cid` field to Set - pub struct SetCid(PhantomData S>); - impl sealed::Sealed for SetCid {} - impl State for SetCid { type Author = S::Author; - type Uri = S::Uri; + type IndexedAt = Set; type Value = S::Value; + } + ///State transition - sets the `value` field to Set + pub struct SetValue(PhantomData S>); + impl sealed::Sealed for SetValue {} + impl State for SetValue { + type Uri = S::Uri; + type Cid = S::Cid; + type Author = S::Author; type IndexedAt = S::IndexedAt; - type Cid = Set; + type Value = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `author` field - pub struct author(()); ///Marker type for the `uri` field pub struct uri(()); - ///Marker type for the `value` field - pub struct value(()); - ///Marker type for the `indexed_at` field - pub struct indexed_at(()); ///Marker type for the `cid` field pub struct cid(()); + ///Marker type for the `author` field + pub struct author(()); + ///Marker type for the `indexed_at` field + pub struct indexed_at(()); + ///Marker type for the `value` field + pub struct value(()); } } @@ -2092,11 +2136,11 @@ where impl<'a, S> ViewRecordBuilder<'a, S> where S: view_record_state::State, - S::Author: view_record_state::IsSet, S::Uri: view_record_state::IsSet, - S::Value: view_record_state::IsSet, - S::IndexedAt: view_record_state::IsSet, S::Cid: view_record_state::IsSet, + S::Author: view_record_state::IsSet, + S::IndexedAt: view_record_state::IsSet, + S::Value: view_record_state::IsSet, { /// Build the final struct pub fn build(self) -> ViewRecord<'a> { @@ -2119,7 +2163,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ViewRecord<'a> { diff --git a/crates/jacquard-api/src/sh_weaver/embed/video.rs b/crates/jacquard-api/src/sh_weaver/embed/video.rs index 99229fd85..f1afb6dd6 100644 --- a/crates/jacquard-api/src/sh_weaver/embed/video.rs +++ b/crates/jacquard-api/src/sh_weaver/embed/video.rs @@ -150,7 +150,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Caption<'a> { @@ -173,13 +173,13 @@ fn lexicon_doc_sh_weaver_embed_video() -> ::jacquard_lexicon::lexicon::LexiconDo defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("caption"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("caption"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("lang"), - ::jacquard_common::smol_str::SmolStr::new_static("file") + ::jacquard_common::deps::smol_str::SmolStr::new_static("lang"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("file") ], ), nullable: None, @@ -187,7 +187,9 @@ fn lexicon_doc_sh_weaver_embed_video() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("file"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "file", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -195,7 +197,9 @@ fn lexicon_doc_sh_weaver_embed_video() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("lang"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "lang", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -216,18 +220,22 @@ fn lexicon_doc_sh_weaver_embed_video() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("videos")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("videos") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("videos"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "videos", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -243,18 +251,22 @@ fn lexicon_doc_sh_weaver_embed_video() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("video"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("video"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("video")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("video") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("alt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "alt", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -273,7 +285,9 @@ fn lexicon_doc_sh_weaver_embed_video() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("captions"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "captions", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -285,7 +299,7 @@ fn lexicon_doc_sh_weaver_embed_video() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dimensions", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -299,7 +313,9 @@ fn lexicon_doc_sh_weaver_embed_video() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -314,7 +330,9 @@ fn lexicon_doc_sh_weaver_embed_video() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("video"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "video", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -326,13 +344,13 @@ fn lexicon_doc_sh_weaver_embed_video() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("view"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("view"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("cid"), - ::jacquard_common::smol_str::SmolStr::new_static("playlist") + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("playlist") ], ), nullable: None, @@ -340,7 +358,9 @@ fn lexicon_doc_sh_weaver_embed_video() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("alt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "alt", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -355,7 +375,9 @@ fn lexicon_doc_sh_weaver_embed_video() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -372,7 +394,7 @@ fn lexicon_doc_sh_weaver_embed_video() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dimensions", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -386,7 +408,9 @@ fn lexicon_doc_sh_weaver_embed_video() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -401,7 +425,9 @@ fn lexicon_doc_sh_weaver_embed_video() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("playlist"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "playlist", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -418,7 +444,7 @@ fn lexicon_doc_sh_weaver_embed_video() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "thumbnail", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -572,7 +598,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> VideoRecord<'a> { @@ -793,7 +819,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Video<'a> { @@ -856,7 +882,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Video<'a> { } if let Some(ref value) = self.alt { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -1127,7 +1153,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> View<'a> { @@ -1191,7 +1217,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for View<'a> { } if let Some(ref value) = self.alt { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) diff --git a/crates/jacquard-api/src/sh_weaver/graph.rs b/crates/jacquard-api/src/sh_weaver/graph.rs index 48087bef9..a25a022a4 100644 --- a/crates/jacquard-api/src/sh_weaver/graph.rs +++ b/crates/jacquard-api/src/sh_weaver/graph.rs @@ -59,37 +59,37 @@ pub mod community_tag_count_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Count; type Tag; + type Count; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Count = Unset; type Tag = Unset; - } - ///State transition - sets the `count` field to Set - pub struct SetCount(PhantomData S>); - impl sealed::Sealed for SetCount {} - impl State for SetCount { - type Count = Set; - type Tag = S::Tag; + type Count = Unset; } ///State transition - sets the `tag` field to Set pub struct SetTag(PhantomData S>); impl sealed::Sealed for SetTag {} impl State for SetTag { - type Count = S::Count; type Tag = Set; + type Count = S::Count; + } + ///State transition - sets the `count` field to Set + pub struct SetCount(PhantomData S>); + impl sealed::Sealed for SetCount {} + impl State for SetCount { + type Tag = S::Tag; + type Count = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `count` field - pub struct count(()); ///Marker type for the `tag` field pub struct tag(()); + ///Marker type for the `count` field + pub struct count(()); } } @@ -162,8 +162,8 @@ where impl<'a, S> CommunityTagCountBuilder<'a, S> where S: community_tag_count_state::State, - S::Count: community_tag_count_state::IsSet, S::Tag: community_tag_count_state::IsSet, + S::Count: community_tag_count_state::IsSet, { /// Build the final struct pub fn build(self) -> CommunityTagCount<'a> { @@ -177,7 +177,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> CommunityTagCount<'a> { @@ -200,7 +200,9 @@ fn lexicon_doc_sh_weaver_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("communityTagCount"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "communityTagCount", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -209,8 +211,8 @@ fn lexicon_doc_sh_weaver_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("tag"), - ::jacquard_common::smol_str::SmolStr::new_static("count") + ::jacquard_common::deps::smol_str::SmolStr::new_static("tag"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("count") ], ), nullable: None, @@ -218,7 +220,9 @@ fn lexicon_doc_sh_weaver_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("count"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "count", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -229,7 +233,9 @@ fn lexicon_doc_sh_weaver_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tag"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tag", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -248,13 +254,13 @@ fn lexicon_doc_sh_weaver_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("curatelist"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("curatelist"), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("listItemView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("listItemView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -263,8 +269,8 @@ fn lexicon_doc_sh_weaver_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("subject") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject") ], ), nullable: None, @@ -272,7 +278,9 @@ fn lexicon_doc_sh_weaver_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("addedAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "addedAt", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -289,7 +297,9 @@ fn lexicon_doc_sh_weaver_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -300,7 +310,9 @@ fn lexicon_doc_sh_weaver_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -321,7 +333,7 @@ fn lexicon_doc_sh_weaver_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("listPurpose"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("listPurpose"), ::jacquard_lexicon::lexicon::LexUserType::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -336,20 +348,20 @@ fn lexicon_doc_sh_weaver_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("listView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("listView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static("Hydrated view of a list."), ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("cid"), - ::jacquard_common::smol_str::SmolStr::new_static("creator"), - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("purpose"), - ::jacquard_common::smol_str::SmolStr::new_static("itemCount"), - ::jacquard_common::smol_str::SmolStr::new_static("indexedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("creator"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("purpose"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("itemCount"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("indexedAt") ], ), nullable: None, @@ -357,7 +369,9 @@ fn lexicon_doc_sh_weaver_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("avatar"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "avatar", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -374,7 +388,9 @@ fn lexicon_doc_sh_weaver_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -391,7 +407,9 @@ fn lexicon_doc_sh_weaver_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("creator"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "creator", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -400,7 +418,7 @@ fn lexicon_doc_sh_weaver_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -417,7 +435,7 @@ fn lexicon_doc_sh_weaver_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "indexedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -436,7 +454,7 @@ fn lexicon_doc_sh_weaver_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "itemCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -449,7 +467,9 @@ fn lexicon_doc_sh_weaver_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -464,14 +484,18 @@ fn lexicon_doc_sh_weaver_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("purpose"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "purpose", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#listPurpose"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -488,7 +512,7 @@ fn lexicon_doc_sh_weaver_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "viewerSubscribed", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -511,13 +535,15 @@ fn lexicon_doc_sh_weaver_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("readinglist"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("readinglist"), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("resourceTagsView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "resourceTagsView", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -526,9 +552,9 @@ fn lexicon_doc_sh_weaver_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("resource"), - ::jacquard_common::smol_str::SmolStr::new_static("authorTags"), - ::jacquard_common::smol_str::SmolStr::new_static("communityTags") + ::jacquard_common::deps::smol_str::SmolStr::new_static("resource"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("authorTags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("communityTags") ], ), nullable: None, @@ -536,7 +562,7 @@ fn lexicon_doc_sh_weaver_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "authorTags", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -562,7 +588,7 @@ fn lexicon_doc_sh_weaver_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "communityTags", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -582,7 +608,9 @@ fn lexicon_doc_sh_weaver_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("resource"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "resource", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -591,7 +619,7 @@ fn lexicon_doc_sh_weaver_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "viewerAppliedTags", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -621,13 +649,15 @@ fn lexicon_doc_sh_weaver_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("serieslist"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("serieslist"), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tagApplicationView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tagApplicationView", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -636,10 +666,10 @@ fn lexicon_doc_sh_weaver_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("tag"), - ::jacquard_common::smol_str::SmolStr::new_static("appliedBy"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("tag"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("appliedBy"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -647,7 +677,7 @@ fn lexicon_doc_sh_weaver_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "appliedBy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -658,7 +688,7 @@ fn lexicon_doc_sh_weaver_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -677,7 +707,9 @@ fn lexicon_doc_sh_weaver_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tag"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tag", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -692,7 +724,9 @@ fn lexicon_doc_sh_weaver_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -713,7 +747,7 @@ fn lexicon_doc_sh_weaver_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tagView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("tagView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -722,8 +756,8 @@ fn lexicon_doc_sh_weaver_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("tag"), - ::jacquard_common::smol_str::SmolStr::new_static("useCount") + ::jacquard_common::deps::smol_str::SmolStr::new_static("tag"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("useCount") ], ), nullable: None, @@ -731,7 +765,7 @@ fn lexicon_doc_sh_weaver_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "entryCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -744,7 +778,7 @@ fn lexicon_doc_sh_weaver_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "notebookCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -757,7 +791,7 @@ fn lexicon_doc_sh_weaver_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "recentUseCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -770,7 +804,9 @@ fn lexicon_doc_sh_weaver_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tag"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tag", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -785,7 +821,7 @@ fn lexicon_doc_sh_weaver_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "trendingScore", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -798,7 +834,9 @@ fn lexicon_doc_sh_weaver_graph_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("useCount"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "useCount", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -1022,7 +1060,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ListItemView<'a> { @@ -1212,127 +1250,127 @@ pub mod list_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type ItemCount; - type Cid; - type Purpose; type IndexedAt; type Name; type Uri; + type Cid; type Creator; + type Purpose; + type ItemCount; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type ItemCount = Unset; - type Cid = Unset; - type Purpose = Unset; type IndexedAt = Unset; type Name = Unset; type Uri = Unset; + type Cid = Unset; type Creator = Unset; - } - ///State transition - sets the `item_count` field to Set - pub struct SetItemCount(PhantomData S>); - impl sealed::Sealed for SetItemCount {} - impl State for SetItemCount { - type ItemCount = Set; - type Cid = S::Cid; - type Purpose = S::Purpose; - type IndexedAt = S::IndexedAt; - type Name = S::Name; - type Uri = S::Uri; - type Creator = S::Creator; - } - ///State transition - sets the `cid` field to Set - pub struct SetCid(PhantomData S>); - impl sealed::Sealed for SetCid {} - impl State for SetCid { - type ItemCount = S::ItemCount; - type Cid = Set; - type Purpose = S::Purpose; - type IndexedAt = S::IndexedAt; - type Name = S::Name; - type Uri = S::Uri; - type Creator = S::Creator; - } - ///State transition - sets the `purpose` field to Set - pub struct SetPurpose(PhantomData S>); - impl sealed::Sealed for SetPurpose {} - impl State for SetPurpose { - type ItemCount = S::ItemCount; - type Cid = S::Cid; - type Purpose = Set; - type IndexedAt = S::IndexedAt; - type Name = S::Name; - type Uri = S::Uri; - type Creator = S::Creator; + type Purpose = Unset; + type ItemCount = Unset; } ///State transition - sets the `indexed_at` field to Set pub struct SetIndexedAt(PhantomData S>); impl sealed::Sealed for SetIndexedAt {} impl State for SetIndexedAt { - type ItemCount = S::ItemCount; - type Cid = S::Cid; - type Purpose = S::Purpose; type IndexedAt = Set; type Name = S::Name; type Uri = S::Uri; + type Cid = S::Cid; type Creator = S::Creator; + type Purpose = S::Purpose; + type ItemCount = S::ItemCount; } ///State transition - sets the `name` field to Set pub struct SetName(PhantomData S>); impl sealed::Sealed for SetName {} impl State for SetName { - type ItemCount = S::ItemCount; - type Cid = S::Cid; - type Purpose = S::Purpose; type IndexedAt = S::IndexedAt; type Name = Set; type Uri = S::Uri; + type Cid = S::Cid; type Creator = S::Creator; + type Purpose = S::Purpose; + type ItemCount = S::ItemCount; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { - type ItemCount = S::ItemCount; + type IndexedAt = S::IndexedAt; + type Name = S::Name; + type Uri = Set; type Cid = S::Cid; + type Creator = S::Creator; type Purpose = S::Purpose; + type ItemCount = S::ItemCount; + } + ///State transition - sets the `cid` field to Set + pub struct SetCid(PhantomData S>); + impl sealed::Sealed for SetCid {} + impl State for SetCid { type IndexedAt = S::IndexedAt; type Name = S::Name; - type Uri = Set; + type Uri = S::Uri; + type Cid = Set; type Creator = S::Creator; + type Purpose = S::Purpose; + type ItemCount = S::ItemCount; } ///State transition - sets the `creator` field to Set pub struct SetCreator(PhantomData S>); impl sealed::Sealed for SetCreator {} impl State for SetCreator { - type ItemCount = S::ItemCount; + type IndexedAt = S::IndexedAt; + type Name = S::Name; + type Uri = S::Uri; type Cid = S::Cid; + type Creator = Set; type Purpose = S::Purpose; + type ItemCount = S::ItemCount; + } + ///State transition - sets the `purpose` field to Set + pub struct SetPurpose(PhantomData S>); + impl sealed::Sealed for SetPurpose {} + impl State for SetPurpose { type IndexedAt = S::IndexedAt; type Name = S::Name; type Uri = S::Uri; - type Creator = Set; + type Cid = S::Cid; + type Creator = S::Creator; + type Purpose = Set; + type ItemCount = S::ItemCount; + } + ///State transition - sets the `item_count` field to Set + pub struct SetItemCount(PhantomData S>); + impl sealed::Sealed for SetItemCount {} + impl State for SetItemCount { + type IndexedAt = S::IndexedAt; + type Name = S::Name; + type Uri = S::Uri; + type Cid = S::Cid; + type Creator = S::Creator; + type Purpose = S::Purpose; + type ItemCount = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `item_count` field - pub struct item_count(()); - ///Marker type for the `cid` field - pub struct cid(()); - ///Marker type for the `purpose` field - pub struct purpose(()); ///Marker type for the `indexed_at` field pub struct indexed_at(()); ///Marker type for the `name` field pub struct name(()); ///Marker type for the `uri` field pub struct uri(()); + ///Marker type for the `cid` field + pub struct cid(()); ///Marker type for the `creator` field pub struct creator(()); + ///Marker type for the `purpose` field + pub struct purpose(()); + ///Marker type for the `item_count` field + pub struct item_count(()); } } @@ -1576,13 +1614,13 @@ impl<'a, S: list_view_state::State> ListViewBuilder<'a, S> { impl<'a, S> ListViewBuilder<'a, S> where S: list_view_state::State, - S::ItemCount: list_view_state::IsSet, - S::Cid: list_view_state::IsSet, - S::Purpose: list_view_state::IsSet, S::IndexedAt: list_view_state::IsSet, S::Name: list_view_state::IsSet, S::Uri: list_view_state::IsSet, + S::Cid: list_view_state::IsSet, S::Creator: list_view_state::IsSet, + S::Purpose: list_view_state::IsSet, + S::ItemCount: list_view_state::IsSet, { /// Build the final struct pub fn build(self) -> ListView<'a> { @@ -1604,7 +1642,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ListView<'a> { @@ -1696,49 +1734,49 @@ pub mod resource_tags_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type AuthorTags; type Resource; + type AuthorTags; type CommunityTags; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type AuthorTags = Unset; type Resource = Unset; + type AuthorTags = Unset; type CommunityTags = Unset; } - ///State transition - sets the `author_tags` field to Set - pub struct SetAuthorTags(PhantomData S>); - impl sealed::Sealed for SetAuthorTags {} - impl State for SetAuthorTags { - type AuthorTags = Set; - type Resource = S::Resource; - type CommunityTags = S::CommunityTags; - } ///State transition - sets the `resource` field to Set pub struct SetResource(PhantomData S>); impl sealed::Sealed for SetResource {} impl State for SetResource { - type AuthorTags = S::AuthorTags; type Resource = Set; + type AuthorTags = S::AuthorTags; + type CommunityTags = S::CommunityTags; + } + ///State transition - sets the `author_tags` field to Set + pub struct SetAuthorTags(PhantomData S>); + impl sealed::Sealed for SetAuthorTags {} + impl State for SetAuthorTags { + type Resource = S::Resource; + type AuthorTags = Set; type CommunityTags = S::CommunityTags; } ///State transition - sets the `community_tags` field to Set pub struct SetCommunityTags(PhantomData S>); impl sealed::Sealed for SetCommunityTags {} impl State for SetCommunityTags { - type AuthorTags = S::AuthorTags; type Resource = S::Resource; + type AuthorTags = S::AuthorTags; type CommunityTags = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `author_tags` field - pub struct author_tags(()); ///Marker type for the `resource` field pub struct resource(()); + ///Marker type for the `author_tags` field + pub struct author_tags(()); ///Marker type for the `community_tags` field pub struct community_tags(()); } @@ -1853,8 +1891,8 @@ impl<'a, S: resource_tags_view_state::State> ResourceTagsViewBuilder<'a, S> { impl<'a, S> ResourceTagsViewBuilder<'a, S> where S: resource_tags_view_state::State, - S::AuthorTags: resource_tags_view_state::IsSet, S::Resource: resource_tags_view_state::IsSet, + S::AuthorTags: resource_tags_view_state::IsSet, S::CommunityTags: resource_tags_view_state::IsSet, { /// Build the final struct @@ -1871,7 +1909,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ResourceTagsView<'a> { @@ -1952,65 +1990,65 @@ pub mod tag_application_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type AppliedBy; type Tag; + type CreatedAt; type Uri; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type AppliedBy = Unset; type Tag = Unset; + type CreatedAt = Unset; type Uri = Unset; } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type AppliedBy = S::AppliedBy; - type Tag = S::Tag; - type Uri = S::Uri; - } ///State transition - sets the `applied_by` field to Set pub struct SetAppliedBy(PhantomData S>); impl sealed::Sealed for SetAppliedBy {} impl State for SetAppliedBy { - type CreatedAt = S::CreatedAt; type AppliedBy = Set; type Tag = S::Tag; + type CreatedAt = S::CreatedAt; type Uri = S::Uri; } ///State transition - sets the `tag` field to Set pub struct SetTag(PhantomData S>); impl sealed::Sealed for SetTag {} impl State for SetTag { - type CreatedAt = S::CreatedAt; type AppliedBy = S::AppliedBy; type Tag = Set; + type CreatedAt = S::CreatedAt; + type Uri = S::Uri; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type AppliedBy = S::AppliedBy; + type Tag = S::Tag; + type CreatedAt = Set; type Uri = S::Uri; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { - type CreatedAt = S::CreatedAt; type AppliedBy = S::AppliedBy; type Tag = S::Tag; + type CreatedAt = S::CreatedAt; type Uri = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `applied_by` field pub struct applied_by(()); ///Marker type for the `tag` field pub struct tag(()); + ///Marker type for the `created_at` field + pub struct created_at(()); ///Marker type for the `uri` field pub struct uri(()); } @@ -2125,9 +2163,9 @@ where impl<'a, S> TagApplicationViewBuilder<'a, S> where S: tag_application_view_state::State, - S::CreatedAt: tag_application_view_state::IsSet, S::AppliedBy: tag_application_view_state::IsSet, S::Tag: tag_application_view_state::IsSet, + S::CreatedAt: tag_application_view_state::IsSet, S::Uri: tag_application_view_state::IsSet, { /// Build the final struct @@ -2144,7 +2182,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> TagApplicationView<'a> { @@ -2392,7 +2430,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> TagView<'a> { diff --git a/crates/jacquard-api/src/sh_weaver/graph/bookmark.rs b/crates/jacquard-api/src/sh_weaver/graph/bookmark.rs index 3df9e50d0..414a20de2 100644 --- a/crates/jacquard-api/src/sh_weaver/graph/bookmark.rs +++ b/crates/jacquard-api/src/sh_weaver/graph/bookmark.rs @@ -38,37 +38,37 @@ pub mod bookmark_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type Subject; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type Subject = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Subject = S::Subject; + type CreatedAt = Unset; } ///State transition - sets the `subject` field to Set pub struct SetSubject(PhantomData S>); impl sealed::Sealed for SetSubject {} impl State for SetSubject { - type CreatedAt = S::CreatedAt; type Subject = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Subject = S::Subject; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `subject` field pub struct subject(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -158,8 +158,8 @@ where impl<'a, S> BookmarkBuilder<'a, S> where S: bookmark_state::State, - S::CreatedAt: bookmark_state::IsSet, S::Subject: bookmark_state::IsSet, + S::CreatedAt: bookmark_state::IsSet, { /// Build the final struct pub fn build(self) -> Bookmark<'a> { @@ -174,7 +174,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Bookmark<'a> { @@ -275,7 +275,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Bookmark<'a> { } if let Some(ref value) = self.note { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -306,7 +306,7 @@ fn lexicon_doc_sh_weaver_graph_bookmark() -> ::jacquard_lexicon::lexicon::Lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -318,8 +318,8 @@ fn lexicon_doc_sh_weaver_graph_bookmark() -> ::jacquard_lexicon::lexicon::Lexico description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -327,7 +327,7 @@ fn lexicon_doc_sh_weaver_graph_bookmark() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -346,7 +346,9 @@ fn lexicon_doc_sh_weaver_graph_bookmark() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("note"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "note", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -365,7 +367,9 @@ fn lexicon_doc_sh_weaver_graph_bookmark() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/sh_weaver/graph/follow.rs b/crates/jacquard-api/src/sh_weaver/graph/follow.rs index e41bb28d5..1169d3f36 100644 --- a/crates/jacquard-api/src/sh_weaver/graph/follow.rs +++ b/crates/jacquard-api/src/sh_weaver/graph/follow.rs @@ -34,37 +34,37 @@ pub mod follow_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type Subject; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type Subject = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Subject = S::Subject; + type CreatedAt = Unset; } ///State transition - sets the `subject` field to Set pub struct SetSubject(PhantomData S>); impl sealed::Sealed for SetSubject {} impl State for SetSubject { - type CreatedAt = S::CreatedAt; type Subject = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Subject = S::Subject; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `subject` field pub struct subject(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -137,8 +137,8 @@ where impl<'a, S> FollowBuilder<'a, S> where S: follow_state::State, - S::CreatedAt: follow_state::IsSet, S::Subject: follow_state::IsSet, + S::CreatedAt: follow_state::IsSet, { /// Build the final struct pub fn build(self) -> Follow<'a> { @@ -152,7 +152,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Follow<'a> { @@ -253,7 +253,7 @@ fn lexicon_doc_sh_weaver_graph_follow() -> ::jacquard_lexicon::lexicon::LexiconD defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -265,8 +265,8 @@ fn lexicon_doc_sh_weaver_graph_follow() -> ::jacquard_lexicon::lexicon::LexiconD description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -274,7 +274,7 @@ fn lexicon_doc_sh_weaver_graph_follow() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -293,7 +293,9 @@ fn lexicon_doc_sh_weaver_graph_follow() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( 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 f7c6e9e8b..b955961ff 100644 --- a/crates/jacquard-api/src/sh_weaver/graph/follow_accept.rs +++ b/crates/jacquard-api/src/sh_weaver/graph/follow_accept.rs @@ -152,7 +152,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> FollowAccept<'a> { @@ -253,7 +253,7 @@ fn lexicon_doc_sh_weaver_graph_followAccept() -> ::jacquard_lexicon::lexicon::Le defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -265,8 +265,8 @@ fn lexicon_doc_sh_weaver_graph_followAccept() -> ::jacquard_lexicon::lexicon::Le description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("follow"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("follow"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -274,7 +274,7 @@ fn lexicon_doc_sh_weaver_graph_followAccept() -> ::jacquard_lexicon::lexicon::Le #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -293,7 +293,9 @@ fn lexicon_doc_sh_weaver_graph_followAccept() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("follow"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "follow", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( 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 34c8dbe98..806ea77e4 100644 --- a/crates/jacquard-api/src/sh_weaver/graph/follow_gate.rs +++ b/crates/jacquard-api/src/sh_weaver/graph/follow_gate.rs @@ -151,7 +151,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> FollowGate<'a> { @@ -253,7 +253,7 @@ fn lexicon_doc_sh_weaver_graph_followGate() -> ::jacquard_lexicon::lexicon::Lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -265,7 +265,7 @@ fn lexicon_doc_sh_weaver_graph_followGate() -> ::jacquard_lexicon::lexicon::Lexi description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -273,7 +273,7 @@ fn lexicon_doc_sh_weaver_graph_followGate() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -292,7 +292,7 @@ fn lexicon_doc_sh_weaver_graph_followGate() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "invalidatePrior", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -302,7 +302,7 @@ fn lexicon_doc_sh_weaver_graph_followGate() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "requireApproval", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { diff --git a/crates/jacquard-api/src/sh_weaver/graph/like.rs b/crates/jacquard-api/src/sh_weaver/graph/like.rs index e26326dcf..a639e3520 100644 --- a/crates/jacquard-api/src/sh_weaver/graph/like.rs +++ b/crates/jacquard-api/src/sh_weaver/graph/like.rs @@ -152,7 +152,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Like<'a> { @@ -253,7 +253,7 @@ fn lexicon_doc_sh_weaver_graph_like() -> ::jacquard_lexicon::lexicon::LexiconDoc defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -265,8 +265,8 @@ fn lexicon_doc_sh_weaver_graph_like() -> ::jacquard_lexicon::lexicon::LexiconDoc description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -274,7 +274,7 @@ fn lexicon_doc_sh_weaver_graph_like() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -293,7 +293,9 @@ fn lexicon_doc_sh_weaver_graph_like() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/sh_weaver/graph/list.rs b/crates/jacquard-api/src/sh_weaver/graph/list.rs index 8ef67d51b..4e4ab6df7 100644 --- a/crates/jacquard-api/src/sh_weaver/graph/list.rs +++ b/crates/jacquard-api/src/sh_weaver/graph/list.rs @@ -129,51 +129,51 @@ pub mod list_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type CreatedAt; type Name; type Purpose; - type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type CreatedAt = Unset; type Name = Unset; type Purpose = Unset; - type CreatedAt = Unset; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type CreatedAt = Set; + type Name = S::Name; + type Purpose = S::Purpose; } ///State transition - sets the `name` field to Set pub struct SetName(PhantomData S>); impl sealed::Sealed for SetName {} impl State for SetName { + type CreatedAt = S::CreatedAt; type Name = Set; type Purpose = S::Purpose; - type CreatedAt = S::CreatedAt; } ///State transition - sets the `purpose` field to Set pub struct SetPurpose(PhantomData S>); impl sealed::Sealed for SetPurpose {} impl State for SetPurpose { - type Name = S::Name; - type Purpose = Set; type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { type Name = S::Name; - type Purpose = S::Purpose; - type CreatedAt = Set; + type Purpose = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `created_at` field + pub struct created_at(()); ///Marker type for the `name` field pub struct name(()); ///Marker type for the `purpose` field pub struct purpose(()); - ///Marker type for the `created_at` field - pub struct created_at(()); } } @@ -306,9 +306,9 @@ where impl<'a, S> ListBuilder<'a, S> where S: list_state::State, + S::CreatedAt: list_state::IsSet, S::Name: list_state::IsSet, S::Purpose: list_state::IsSet, - S::CreatedAt: list_state::IsSet, { /// Build the final struct pub fn build(self) -> List<'a> { @@ -325,7 +325,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> List<'a> { @@ -428,7 +428,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for List<'a> { } if let Some(ref value) = self.description { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -485,7 +485,7 @@ fn lexicon_doc_sh_weaver_graph_list() -> ::jacquard_lexicon::lexicon::LexiconDoc defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("listPurpose"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("listPurpose"), ::jacquard_lexicon::lexicon::LexUserType::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -500,7 +500,7 @@ fn lexicon_doc_sh_weaver_graph_list() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -512,9 +512,9 @@ fn lexicon_doc_sh_weaver_graph_list() -> ::jacquard_lexicon::lexicon::LexiconDoc description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("purpose"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("purpose"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -522,7 +522,9 @@ fn lexicon_doc_sh_weaver_graph_list() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("avatar"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "avatar", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -530,7 +532,7 @@ fn lexicon_doc_sh_weaver_graph_list() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -549,7 +551,7 @@ fn lexicon_doc_sh_weaver_graph_list() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -566,7 +568,9 @@ fn lexicon_doc_sh_weaver_graph_list() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -585,7 +589,9 @@ fn lexicon_doc_sh_weaver_graph_list() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("purpose"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "purpose", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#listPurpose"), diff --git a/crates/jacquard-api/src/sh_weaver/graph/listitem.rs b/crates/jacquard-api/src/sh_weaver/graph/listitem.rs index 5910dc705..2b07a3979 100644 --- a/crates/jacquard-api/src/sh_weaver/graph/listitem.rs +++ b/crates/jacquard-api/src/sh_weaver/graph/listitem.rs @@ -37,51 +37,51 @@ pub mod listitem_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Subject; type List; type CreatedAt; + type Subject; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Subject = Unset; type List = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `subject` field to Set - pub struct SetSubject(PhantomData S>); - impl sealed::Sealed for SetSubject {} - impl State for SetSubject { - type Subject = Set; - type List = S::List; - type CreatedAt = S::CreatedAt; + type Subject = Unset; } ///State transition - sets the `list` field to Set pub struct SetList(PhantomData S>); impl sealed::Sealed for SetList {} impl State for SetList { - type Subject = S::Subject; type List = Set; type CreatedAt = S::CreatedAt; + type Subject = S::Subject; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Subject = S::Subject; type List = S::List; type CreatedAt = Set; + type Subject = S::Subject; + } + ///State transition - sets the `subject` field to Set + pub struct SetSubject(PhantomData S>); + impl sealed::Sealed for SetSubject {} + impl State for SetSubject { + type List = S::List; + type CreatedAt = S::CreatedAt; + type Subject = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `subject` field - pub struct subject(()); ///Marker type for the `list` field pub struct list(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `subject` field + pub struct subject(()); } } @@ -174,9 +174,9 @@ where impl<'a, S> ListitemBuilder<'a, S> where S: listitem_state::State, - S::Subject: listitem_state::IsSet, S::List: listitem_state::IsSet, S::CreatedAt: listitem_state::IsSet, + S::Subject: listitem_state::IsSet, { /// Build the final struct pub fn build(self) -> Listitem<'a> { @@ -191,7 +191,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Listitem<'a> { @@ -293,7 +293,7 @@ fn lexicon_doc_sh_weaver_graph_listitem() -> ::jacquard_lexicon::lexicon::Lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static("An item in a list."), @@ -303,9 +303,9 @@ fn lexicon_doc_sh_weaver_graph_listitem() -> ::jacquard_lexicon::lexicon::Lexico description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("list"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("list"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -313,7 +313,7 @@ fn lexicon_doc_sh_weaver_graph_listitem() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -332,7 +332,9 @@ fn lexicon_doc_sh_weaver_graph_listitem() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("list"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "list", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -353,7 +355,9 @@ fn lexicon_doc_sh_weaver_graph_listitem() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/sh_weaver/graph/subscribe.rs b/crates/jacquard-api/src/sh_weaver/graph/subscribe.rs index 457be891a..572d9b4aa 100644 --- a/crates/jacquard-api/src/sh_weaver/graph/subscribe.rs +++ b/crates/jacquard-api/src/sh_weaver/graph/subscribe.rs @@ -34,37 +34,37 @@ pub mod subscribe_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type Notebook; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type Notebook = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Notebook = S::Notebook; + type CreatedAt = Unset; } ///State transition - sets the `notebook` field to Set pub struct SetNotebook(PhantomData S>); impl sealed::Sealed for SetNotebook {} impl State for SetNotebook { - type CreatedAt = S::CreatedAt; type Notebook = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Notebook = S::Notebook; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `notebook` field pub struct notebook(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -137,8 +137,8 @@ where impl<'a, S> SubscribeBuilder<'a, S> where S: subscribe_state::State, - S::CreatedAt: subscribe_state::IsSet, S::Notebook: subscribe_state::IsSet, + S::CreatedAt: subscribe_state::IsSet, { /// Build the final struct pub fn build(self) -> Subscribe<'a> { @@ -152,7 +152,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Subscribe<'a> { @@ -253,7 +253,7 @@ fn lexicon_doc_sh_weaver_graph_subscribe() -> ::jacquard_lexicon::lexicon::Lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -265,8 +265,8 @@ fn lexicon_doc_sh_weaver_graph_subscribe() -> ::jacquard_lexicon::lexicon::Lexic description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("notebook"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("notebook"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -274,7 +274,7 @@ fn lexicon_doc_sh_weaver_graph_subscribe() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -293,7 +293,7 @@ fn lexicon_doc_sh_weaver_graph_subscribe() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "notebook", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { 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 9037691d0..5f03a60ee 100644 --- a/crates/jacquard-api/src/sh_weaver/graph/subscribe_accept.rs +++ b/crates/jacquard-api/src/sh_weaver/graph/subscribe_accept.rs @@ -152,7 +152,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> SubscribeAccept<'a> { @@ -253,7 +253,7 @@ fn lexicon_doc_sh_weaver_graph_subscribeAccept() -> ::jacquard_lexicon::lexicon: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -265,8 +265,8 @@ fn lexicon_doc_sh_weaver_graph_subscribeAccept() -> ::jacquard_lexicon::lexicon: description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subscribe"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subscribe"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -274,7 +274,7 @@ fn lexicon_doc_sh_weaver_graph_subscribeAccept() -> ::jacquard_lexicon::lexicon: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -293,7 +293,7 @@ fn lexicon_doc_sh_weaver_graph_subscribeAccept() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subscribe", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { diff --git a/crates/jacquard-api/src/sh_weaver/graph/tag.rs b/crates/jacquard-api/src/sh_weaver/graph/tag.rs index 58c5ed713..33762eecc 100644 --- a/crates/jacquard-api/src/sh_weaver/graph/tag.rs +++ b/crates/jacquard-api/src/sh_weaver/graph/tag.rs @@ -38,50 +38,50 @@ pub mod tag_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Tag; - type Subject; type CreatedAt; + type Subject; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Tag = Unset; - type Subject = Unset; type CreatedAt = Unset; + type Subject = Unset; } ///State transition - sets the `tag` field to Set pub struct SetTag(PhantomData S>); impl sealed::Sealed for SetTag {} impl State for SetTag { type Tag = Set; - type Subject = S::Subject; - type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `subject` field to Set - pub struct SetSubject(PhantomData S>); - impl sealed::Sealed for SetSubject {} - impl State for SetSubject { - type Tag = S::Tag; - type Subject = Set; type CreatedAt = S::CreatedAt; + type Subject = S::Subject; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { type Tag = S::Tag; - type Subject = S::Subject; type CreatedAt = Set; + type Subject = S::Subject; + } + ///State transition - sets the `subject` field to Set + pub struct SetSubject(PhantomData S>); + impl sealed::Sealed for SetSubject {} + impl State for SetSubject { + type Tag = S::Tag; + type CreatedAt = S::CreatedAt; + type Subject = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `tag` field pub struct tag(()); - ///Marker type for the `subject` field - pub struct subject(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `subject` field + pub struct subject(()); } } @@ -175,8 +175,8 @@ impl<'a, S> TagBuilder<'a, S> where S: tag_state::State, S::Tag: tag_state::IsSet, - S::Subject: tag_state::IsSet, S::CreatedAt: tag_state::IsSet, + S::Subject: tag_state::IsSet, { /// Build the final struct pub fn build(self) -> Tag<'a> { @@ -191,7 +191,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Tag<'a> { @@ -319,7 +319,7 @@ fn lexicon_doc_sh_weaver_graph_tag() -> ::jacquard_lexicon::lexicon::LexiconDoc< defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -331,9 +331,9 @@ fn lexicon_doc_sh_weaver_graph_tag() -> ::jacquard_lexicon::lexicon::LexiconDoc< description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("tag"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("tag"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -341,7 +341,7 @@ fn lexicon_doc_sh_weaver_graph_tag() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -360,7 +360,9 @@ fn lexicon_doc_sh_weaver_graph_tag() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -369,7 +371,9 @@ fn lexicon_doc_sh_weaver_graph_tag() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tag"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tag", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/sh_weaver/notebook.rs b/crates/jacquard-api/src/sh_weaver/notebook.rs index 78495fbbe..4b8e276fe 100644 --- a/crates/jacquard-api/src/sh_weaver/notebook.rs +++ b/crates/jacquard-api/src/sh_weaver/notebook.rs @@ -67,37 +67,37 @@ pub mod author_list_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Record; type Index; + type Record; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Record = Unset; type Index = Unset; - } - ///State transition - sets the `record` field to Set - pub struct SetRecord(PhantomData S>); - impl sealed::Sealed for SetRecord {} - impl State for SetRecord { - type Record = Set; - type Index = S::Index; + type Record = Unset; } ///State transition - sets the `index` field to Set pub struct SetIndex(PhantomData S>); impl sealed::Sealed for SetIndex {} impl State for SetIndex { - type Record = S::Record; type Index = Set; + type Record = S::Record; + } + ///State transition - sets the `record` field to Set + pub struct SetRecord(PhantomData S>); + impl sealed::Sealed for SetRecord {} + impl State for SetRecord { + type Index = S::Index; + type Record = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `record` field - pub struct record(()); ///Marker type for the `index` field pub struct index(()); + ///Marker type for the `record` field + pub struct record(()); } } @@ -190,8 +190,8 @@ impl<'a, S: author_list_view_state::State> AuthorListViewBuilder<'a, S> { impl<'a, S> AuthorListViewBuilder<'a, S> where S: author_list_view_state::State, - S::Record: author_list_view_state::IsSet, S::Index: author_list_view_state::IsSet, + S::Record: author_list_view_state::IsSet, { /// Build the final struct pub fn build(self) -> AuthorListView<'a> { @@ -206,7 +206,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> AuthorListView<'a> { @@ -230,13 +230,13 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("authorListView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("authorListView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("record"), - ::jacquard_common::smol_str::SmolStr::new_static("index") + ::jacquard_common::deps::smol_str::SmolStr::new_static("record"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("index") ], ), nullable: None, @@ -244,7 +244,9 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("index"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "index", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -255,7 +257,9 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("record"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "record", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -264,7 +268,9 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -285,18 +291,22 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("bookEntryRef"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("bookEntryRef"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("entry")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("entry") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("entry"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "entry", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#entryView"), @@ -307,7 +317,7 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("bookEntryView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("bookEntryView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -316,8 +326,8 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("entry"), - ::jacquard_common::smol_str::SmolStr::new_static("index") + ::jacquard_common::deps::smol_str::SmolStr::new_static("entry"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("index") ], ), nullable: None, @@ -325,14 +335,18 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("entry"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "entry", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#entryView"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("index"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "index", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -343,7 +357,9 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("next"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "next", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -352,7 +368,9 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("prev"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "prev", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -365,7 +383,9 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("chapterEntryView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "chapterEntryView", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -374,8 +394,8 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("entry"), - ::jacquard_common::smol_str::SmolStr::new_static("index") + ::jacquard_common::deps::smol_str::SmolStr::new_static("entry"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("index") ], ), nullable: None, @@ -383,14 +403,18 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("entry"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "entry", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#entryView"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("index"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "index", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -401,7 +425,9 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("next"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "next", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -410,7 +436,9 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("prev"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "prev", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -423,7 +451,7 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("chapterView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("chapterView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -432,12 +460,12 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("cid"), - ::jacquard_common::smol_str::SmolStr::new_static("notebook"), - ::jacquard_common::smol_str::SmolStr::new_static("authors"), - ::jacquard_common::smol_str::SmolStr::new_static("record"), - ::jacquard_common::smol_str::SmolStr::new_static("indexedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("notebook"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("authors"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("record"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("indexedAt") ], ), nullable: None, @@ -445,7 +473,9 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("authors"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "authors", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -459,7 +489,9 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -476,7 +508,7 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "entryCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -489,7 +521,7 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "indexedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -508,7 +540,9 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("notebook"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "notebook", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -517,27 +551,35 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("record"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "record", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tags", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#tags"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#title"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -558,7 +600,7 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("contentFormat"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("contentFormat"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -571,7 +613,9 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("markdown"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "markdown", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -594,7 +638,7 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("contentRating"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("contentRating"), ::jacquard_lexicon::lexicon::LexUserType::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -613,7 +657,7 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("contentWarning"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("contentWarning"), ::jacquard_lexicon::lexicon::LexUserType::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -632,7 +676,9 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("contentWarnings"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "contentWarnings", + ), ::jacquard_lexicon::lexicon::LexUserType::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -644,16 +690,16 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("entryView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("entryView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("cid"), - ::jacquard_common::smol_str::SmolStr::new_static("authors"), - ::jacquard_common::smol_str::SmolStr::new_static("record"), - ::jacquard_common::smol_str::SmolStr::new_static("indexedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("authors"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("record"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("indexedAt") ], ), nullable: None, @@ -661,7 +707,9 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("authors"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "authors", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -675,7 +723,7 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "bookmarkCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -688,7 +736,9 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -705,7 +755,7 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "indexedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -724,7 +774,7 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "likeCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -737,14 +787,16 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("path"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "path", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#path"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "permissions", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -755,13 +807,15 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("record"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "record", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "renderedView", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -772,21 +826,27 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tags", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#tags"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#title"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -803,7 +863,7 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "viewerBookmark", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -822,7 +882,7 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "viewerLike", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -841,7 +901,7 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "viewerReadingProgress", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -856,7 +916,7 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("feedEntryView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("feedEntryView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -864,21 +924,25 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("entry")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("entry") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("entry"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "entry", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#entryView"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "notebookContext", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -889,7 +953,9 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reason"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reason", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#feedReason"), @@ -900,7 +966,9 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("feedNotebookContext"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "feedNotebookContext", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -909,8 +977,8 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("title") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("title") ], ), nullable: None, @@ -918,7 +986,9 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("path"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "path", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -933,7 +1003,9 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -948,7 +1020,9 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -969,7 +1043,7 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("feedReason"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("feedReason"), ::jacquard_lexicon::lexicon::LexUserType::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -981,16 +1055,16 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("notebookView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("notebookView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("cid"), - ::jacquard_common::smol_str::SmolStr::new_static("authors"), - ::jacquard_common::smol_str::SmolStr::new_static("record"), - ::jacquard_common::smol_str::SmolStr::new_static("indexedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("authors"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("record"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("indexedAt") ], ), nullable: None, @@ -998,7 +1072,9 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("authors"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "authors", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -1012,7 +1088,7 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "bookmarkCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1025,7 +1101,9 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -1042,7 +1120,7 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "entryCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1055,7 +1133,7 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "indexedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1074,7 +1152,7 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "likeCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1087,14 +1165,16 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("path"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "path", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#path"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "permissions", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -1105,13 +1185,15 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("record"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "record", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subscriberCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1124,21 +1206,27 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tags", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#tags"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#title"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -1155,7 +1243,7 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "viewerBookmark", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1174,7 +1262,7 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "viewerLike", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1193,7 +1281,7 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "viewerReadingProgress", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -1204,7 +1292,7 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "viewerSubscription", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1227,7 +1315,7 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("pageView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("pageView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -1236,11 +1324,11 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("cid"), - ::jacquard_common::smol_str::SmolStr::new_static("notebook"), - ::jacquard_common::smol_str::SmolStr::new_static("record"), - ::jacquard_common::smol_str::SmolStr::new_static("indexedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("notebook"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("record"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("indexedAt") ], ), nullable: None, @@ -1248,7 +1336,9 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -1265,7 +1355,7 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "entryCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1278,7 +1368,7 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "indexedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1297,7 +1387,9 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("notebook"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "notebook", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -1306,27 +1398,35 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("record"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "record", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tags", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#tags"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#title"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -1347,7 +1447,7 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("path"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("path"), ::jacquard_lexicon::lexicon::LexUserType::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1366,7 +1466,9 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("permissionGrant"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "permissionGrant", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -1375,10 +1477,10 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("did"), - ::jacquard_common::smol_str::SmolStr::new_static("scope"), - ::jacquard_common::smol_str::SmolStr::new_static("source"), - ::jacquard_common::smol_str::SmolStr::new_static("grantedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("scope"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("source"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("grantedAt") ], ), nullable: None, @@ -1386,7 +1488,9 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -1403,7 +1507,7 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "grantedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1426,7 +1530,9 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("scope"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "scope", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1445,7 +1551,9 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("source"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "source", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1470,7 +1578,9 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("permissionsState"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "permissionsState", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -1478,14 +1588,18 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("editors")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("editors") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("editors"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "editors", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -1503,7 +1617,9 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("viewers"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "viewers", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -1525,7 +1641,9 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("publishedVersionView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "publishedVersionView", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -1534,10 +1652,10 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("cid"), - ::jacquard_common::smol_str::SmolStr::new_static("publisher"), - ::jacquard_common::smol_str::SmolStr::new_static("publishedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("publisher"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("publishedAt") ], ), nullable: None, @@ -1545,7 +1663,9 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -1562,7 +1682,7 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "divergedFrom", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -1573,7 +1693,7 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isCanonical", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -1583,7 +1703,7 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publishedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1602,7 +1722,7 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publisher", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -1613,7 +1733,7 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1632,7 +1752,9 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -1653,7 +1775,9 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("readingProgress"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "readingProgress", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -1666,7 +1790,7 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "currentEntry", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1689,7 +1813,7 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "finishedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1708,7 +1832,7 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "lastReadAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1727,7 +1851,7 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "percentComplete", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1740,7 +1864,7 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "startedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1759,7 +1883,9 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("status"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "status", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -1778,13 +1904,13 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reasonBookmark"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("reasonBookmark"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("by"), - ::jacquard_common::smol_str::SmolStr::new_static("indexedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("by"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("indexedAt") ], ), nullable: None, @@ -1792,7 +1918,7 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("by"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("by"), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -1801,7 +1927,7 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "indexedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1824,13 +1950,13 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reasonLike"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("reasonLike"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("by"), - ::jacquard_common::smol_str::SmolStr::new_static("indexedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("by"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("indexedAt") ], ), nullable: None, @@ -1838,7 +1964,7 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("by"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("by"), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -1847,7 +1973,7 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "indexedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1870,12 +1996,14 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reasonSubscription"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reasonSubscription", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("indexedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("indexedAt") ], ), nullable: None, @@ -1883,7 +2011,7 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "indexedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1906,7 +2034,7 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("renderedView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("renderedView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -1914,14 +2042,18 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("html")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("html") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("css"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "css", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -1929,7 +2061,9 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("html"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "html", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -1941,7 +2075,7 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("tags"), ::jacquard_lexicon::lexicon::LexUserType::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::String(::jacquard_lexicon::lexicon::LexString { @@ -1961,7 +2095,7 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), ::jacquard_lexicon::lexicon::LexUserType::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -2111,7 +2245,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> BookEntryRef<'a> { @@ -2333,7 +2467,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> BookEntryView<'a> { @@ -2558,7 +2692,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ChapterEntryView<'a> { @@ -2633,105 +2767,105 @@ pub mod chapter_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type IndexedAt; - type Notebook; - type Authors; type Uri; + type Authors; + type IndexedAt; type Record; type Cid; + type Notebook; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type IndexedAt = Unset; - type Notebook = Unset; - type Authors = Unset; type Uri = Unset; + type Authors = Unset; + type IndexedAt = Unset; type Record = Unset; type Cid = Unset; + type Notebook = Unset; } - ///State transition - sets the `indexed_at` field to Set - pub struct SetIndexedAt(PhantomData S>); - impl sealed::Sealed for SetIndexedAt {} - impl State for SetIndexedAt { - type IndexedAt = Set; - type Notebook = S::Notebook; + ///State transition - sets the `uri` field to Set + pub struct SetUri(PhantomData S>); + impl sealed::Sealed for SetUri {} + impl State for SetUri { + type Uri = Set; type Authors = S::Authors; - type Uri = S::Uri; - type Record = S::Record; - type Cid = S::Cid; - } - ///State transition - sets the `notebook` field to Set - pub struct SetNotebook(PhantomData S>); - impl sealed::Sealed for SetNotebook {} - impl State for SetNotebook { type IndexedAt = S::IndexedAt; - type Notebook = Set; - type Authors = S::Authors; - type Uri = S::Uri; type Record = S::Record; type Cid = S::Cid; + type Notebook = S::Notebook; } ///State transition - sets the `authors` field to Set pub struct SetAuthors(PhantomData S>); impl sealed::Sealed for SetAuthors {} impl State for SetAuthors { - type IndexedAt = S::IndexedAt; - type Notebook = S::Notebook; - type Authors = Set; type Uri = S::Uri; + type Authors = Set; + type IndexedAt = S::IndexedAt; type Record = S::Record; type Cid = S::Cid; - } - ///State transition - sets the `uri` field to Set - pub struct SetUri(PhantomData S>); - impl sealed::Sealed for SetUri {} - impl State for SetUri { - type IndexedAt = S::IndexedAt; type Notebook = S::Notebook; + } + ///State transition - sets the `indexed_at` field to Set + pub struct SetIndexedAt(PhantomData S>); + impl sealed::Sealed for SetIndexedAt {} + impl State for SetIndexedAt { + type Uri = S::Uri; type Authors = S::Authors; - type Uri = Set; + type IndexedAt = Set; type Record = S::Record; type Cid = S::Cid; + type Notebook = S::Notebook; } ///State transition - sets the `record` field to Set pub struct SetRecord(PhantomData S>); impl sealed::Sealed for SetRecord {} impl State for SetRecord { - type IndexedAt = S::IndexedAt; - type Notebook = S::Notebook; - type Authors = S::Authors; type Uri = S::Uri; + type Authors = S::Authors; + type IndexedAt = S::IndexedAt; type Record = Set; type Cid = S::Cid; + type Notebook = S::Notebook; } ///State transition - sets the `cid` field to Set pub struct SetCid(PhantomData S>); impl sealed::Sealed for SetCid {} impl State for SetCid { + type Uri = S::Uri; + type Authors = S::Authors; type IndexedAt = S::IndexedAt; + type Record = S::Record; + type Cid = Set; type Notebook = S::Notebook; - type Authors = S::Authors; + } + ///State transition - sets the `notebook` field to Set + pub struct SetNotebook(PhantomData S>); + impl sealed::Sealed for SetNotebook {} + impl State for SetNotebook { type Uri = S::Uri; + type Authors = S::Authors; + type IndexedAt = S::IndexedAt; type Record = S::Record; - type Cid = Set; + type Cid = S::Cid; + type Notebook = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `indexed_at` field - pub struct indexed_at(()); - ///Marker type for the `notebook` field - pub struct notebook(()); - ///Marker type for the `authors` field - pub struct authors(()); ///Marker type for the `uri` field pub struct uri(()); + ///Marker type for the `authors` field + pub struct authors(()); + ///Marker type for the `indexed_at` field + pub struct indexed_at(()); ///Marker type for the `record` field pub struct record(()); ///Marker type for the `cid` field pub struct cid(()); + ///Marker type for the `notebook` field + pub struct notebook(()); } } @@ -2948,12 +3082,12 @@ where impl<'a, S> ChapterViewBuilder<'a, S> where S: chapter_view_state::State, - S::IndexedAt: chapter_view_state::IsSet, - S::Notebook: chapter_view_state::IsSet, - S::Authors: chapter_view_state::IsSet, S::Uri: chapter_view_state::IsSet, + S::Authors: chapter_view_state::IsSet, + S::IndexedAt: chapter_view_state::IsSet, S::Record: chapter_view_state::IsSet, S::Cid: chapter_view_state::IsSet, + S::Notebook: chapter_view_state::IsSet, { /// Build the final struct pub fn build(self) -> ChapterView<'a> { @@ -2974,7 +3108,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ChapterView<'a> { @@ -3337,85 +3471,85 @@ pub mod entry_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Cid; type Uri; type Authors; - type IndexedAt; + type Cid; type Record; + type IndexedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Cid = Unset; type Uri = Unset; type Authors = Unset; - type IndexedAt = Unset; + type Cid = Unset; type Record = Unset; - } - ///State transition - sets the `cid` field to Set - pub struct SetCid(PhantomData S>); - impl sealed::Sealed for SetCid {} - impl State for SetCid { - type Cid = Set; - type Uri = S::Uri; - type Authors = S::Authors; - type IndexedAt = S::IndexedAt; - type Record = S::Record; + type IndexedAt = Unset; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { - type Cid = S::Cid; type Uri = Set; type Authors = S::Authors; - type IndexedAt = S::IndexedAt; + type Cid = S::Cid; type Record = S::Record; + type IndexedAt = S::IndexedAt; } ///State transition - sets the `authors` field to Set pub struct SetAuthors(PhantomData S>); impl sealed::Sealed for SetAuthors {} impl State for SetAuthors { - type Cid = S::Cid; type Uri = S::Uri; type Authors = Set; - type IndexedAt = S::IndexedAt; + type Cid = S::Cid; type Record = S::Record; + type IndexedAt = S::IndexedAt; } - ///State transition - sets the `indexed_at` field to Set - pub struct SetIndexedAt(PhantomData S>); - impl sealed::Sealed for SetIndexedAt {} - impl State for SetIndexedAt { - type Cid = S::Cid; + ///State transition - sets the `cid` field to Set + pub struct SetCid(PhantomData S>); + impl sealed::Sealed for SetCid {} + impl State for SetCid { type Uri = S::Uri; type Authors = S::Authors; - type IndexedAt = Set; + type Cid = Set; type Record = S::Record; + type IndexedAt = S::IndexedAt; } ///State transition - sets the `record` field to Set pub struct SetRecord(PhantomData S>); impl sealed::Sealed for SetRecord {} impl State for SetRecord { - type Cid = S::Cid; type Uri = S::Uri; type Authors = S::Authors; - type IndexedAt = S::IndexedAt; + type Cid = S::Cid; type Record = Set; + type IndexedAt = S::IndexedAt; + } + ///State transition - sets the `indexed_at` field to Set + pub struct SetIndexedAt(PhantomData S>); + impl sealed::Sealed for SetIndexedAt {} + impl State for SetIndexedAt { + type Uri = S::Uri; + type Authors = S::Authors; + type Cid = S::Cid; + type Record = S::Record; + type IndexedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `cid` field - pub struct cid(()); ///Marker type for the `uri` field pub struct uri(()); ///Marker type for the `authors` field pub struct authors(()); - ///Marker type for the `indexed_at` field - pub struct indexed_at(()); + ///Marker type for the `cid` field + pub struct cid(()); ///Marker type for the `record` field pub struct record(()); + ///Marker type for the `indexed_at` field + pub struct indexed_at(()); } } @@ -3752,11 +3886,11 @@ impl<'a, S: entry_view_state::State> EntryViewBuilder<'a, S> { impl<'a, S> EntryViewBuilder<'a, S> where S: entry_view_state::State, - S::Cid: entry_view_state::IsSet, S::Uri: entry_view_state::IsSet, S::Authors: entry_view_state::IsSet, - S::IndexedAt: entry_view_state::IsSet, + S::Cid: entry_view_state::IsSet, S::Record: entry_view_state::IsSet, + S::IndexedAt: entry_view_state::IsSet, { /// Build the final struct pub fn build(self) -> EntryView<'a> { @@ -3783,7 +3917,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> EntryView<'a> { @@ -3986,7 +4120,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> FeedEntryView<'a> { @@ -4048,37 +4182,37 @@ pub mod feed_notebook_context_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Title; type Uri; + type Title; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Title = Unset; type Uri = Unset; - } - ///State transition - sets the `title` field to Set - pub struct SetTitle(PhantomData S>); - impl sealed::Sealed for SetTitle {} - impl State for SetTitle { - type Title = Set; - type Uri = S::Uri; + type Title = Unset; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { - type Title = S::Title; type Uri = Set; + type Title = S::Title; + } + ///State transition - sets the `title` field to Set + pub struct SetTitle(PhantomData S>); + impl sealed::Sealed for SetTitle {} + impl State for SetTitle { + type Uri = S::Uri; + type Title = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `title` field - pub struct title(()); ///Marker type for the `uri` field pub struct uri(()); + ///Marker type for the `title` field + pub struct title(()); } } @@ -4168,8 +4302,8 @@ where impl<'a, S> FeedNotebookContextBuilder<'a, S> where S: feed_notebook_context_state::State, - S::Title: feed_notebook_context_state::IsSet, S::Uri: feed_notebook_context_state::IsSet, + S::Title: feed_notebook_context_state::IsSet, { /// Build the final struct pub fn build(self) -> FeedNotebookContext<'a> { @@ -4184,7 +4318,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> FeedNotebookContext<'a> { @@ -4307,85 +4441,85 @@ pub mod notebook_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Record; - type Authors; type Uri; + type Record; type IndexedAt; type Cid; + type Authors; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Record = Unset; - type Authors = Unset; type Uri = Unset; + type Record = Unset; type IndexedAt = Unset; type Cid = Unset; - } - ///State transition - sets the `record` field to Set - pub struct SetRecord(PhantomData S>); - impl sealed::Sealed for SetRecord {} - impl State for SetRecord { - type Record = Set; - type Authors = S::Authors; - type Uri = S::Uri; - type IndexedAt = S::IndexedAt; - type Cid = S::Cid; - } - ///State transition - sets the `authors` field to Set - pub struct SetAuthors(PhantomData S>); - impl sealed::Sealed for SetAuthors {} - impl State for SetAuthors { - type Record = S::Record; - type Authors = Set; - type Uri = S::Uri; - type IndexedAt = S::IndexedAt; - type Cid = S::Cid; + type Authors = Unset; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { + type Uri = Set; type Record = S::Record; + type IndexedAt = S::IndexedAt; + type Cid = S::Cid; type Authors = S::Authors; - type Uri = Set; + } + ///State transition - sets the `record` field to Set + pub struct SetRecord(PhantomData S>); + impl sealed::Sealed for SetRecord {} + impl State for SetRecord { + type Uri = S::Uri; + type Record = Set; type IndexedAt = S::IndexedAt; type Cid = S::Cid; + type Authors = S::Authors; } ///State transition - sets the `indexed_at` field to Set pub struct SetIndexedAt(PhantomData S>); impl sealed::Sealed for SetIndexedAt {} impl State for SetIndexedAt { - type Record = S::Record; - type Authors = S::Authors; type Uri = S::Uri; + type Record = S::Record; type IndexedAt = Set; type Cid = S::Cid; + type Authors = S::Authors; } ///State transition - sets the `cid` field to Set pub struct SetCid(PhantomData S>); impl sealed::Sealed for SetCid {} impl State for SetCid { + type Uri = S::Uri; type Record = S::Record; + type IndexedAt = S::IndexedAt; + type Cid = Set; type Authors = S::Authors; + } + ///State transition - sets the `authors` field to Set + pub struct SetAuthors(PhantomData S>); + impl sealed::Sealed for SetAuthors {} + impl State for SetAuthors { type Uri = S::Uri; + type Record = S::Record; type IndexedAt = S::IndexedAt; - type Cid = Set; + type Cid = S::Cid; + type Authors = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `record` field - pub struct record(()); - ///Marker type for the `authors` field - pub struct authors(()); ///Marker type for the `uri` field pub struct uri(()); + ///Marker type for the `record` field + pub struct record(()); ///Marker type for the `indexed_at` field pub struct indexed_at(()); ///Marker type for the `cid` field pub struct cid(()); + ///Marker type for the `authors` field + pub struct authors(()); } } @@ -4752,11 +4886,11 @@ impl<'a, S: notebook_view_state::State> NotebookViewBuilder<'a, S> { impl<'a, S> NotebookViewBuilder<'a, S> where S: notebook_view_state::State, - S::Record: notebook_view_state::IsSet, - S::Authors: notebook_view_state::IsSet, S::Uri: notebook_view_state::IsSet, + S::Record: notebook_view_state::IsSet, S::IndexedAt: notebook_view_state::IsSet, S::Cid: notebook_view_state::IsSet, + S::Authors: notebook_view_state::IsSet, { /// Build the final struct pub fn build(self) -> NotebookView<'a> { @@ -4785,7 +4919,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> NotebookView<'a> { @@ -4871,85 +5005,85 @@ pub mod page_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Record; type IndexedAt; type Cid; - type Record; - type Notebook; type Uri; + type Notebook; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Record = Unset; type IndexedAt = Unset; type Cid = Unset; - type Record = Unset; - type Notebook = Unset; type Uri = Unset; + type Notebook = Unset; + } + ///State transition - sets the `record` field to Set + pub struct SetRecord(PhantomData S>); + impl sealed::Sealed for SetRecord {} + impl State for SetRecord { + type Record = Set; + type IndexedAt = S::IndexedAt; + type Cid = S::Cid; + type Uri = S::Uri; + type Notebook = S::Notebook; } ///State transition - sets the `indexed_at` field to Set pub struct SetIndexedAt(PhantomData S>); impl sealed::Sealed for SetIndexedAt {} impl State for SetIndexedAt { + type Record = S::Record; type IndexedAt = Set; type Cid = S::Cid; - type Record = S::Record; - type Notebook = S::Notebook; type Uri = S::Uri; + type Notebook = S::Notebook; } ///State transition - sets the `cid` field to Set pub struct SetCid(PhantomData S>); impl sealed::Sealed for SetCid {} impl State for SetCid { + type Record = S::Record; type IndexedAt = S::IndexedAt; type Cid = Set; - type Record = S::Record; - type Notebook = S::Notebook; type Uri = S::Uri; + type Notebook = S::Notebook; } - ///State transition - sets the `record` field to Set - pub struct SetRecord(PhantomData S>); - impl sealed::Sealed for SetRecord {} - impl State for SetRecord { + ///State transition - sets the `uri` field to Set + pub struct SetUri(PhantomData S>); + impl sealed::Sealed for SetUri {} + impl State for SetUri { + type Record = S::Record; type IndexedAt = S::IndexedAt; type Cid = S::Cid; - type Record = Set; + type Uri = Set; type Notebook = S::Notebook; - type Uri = S::Uri; } ///State transition - sets the `notebook` field to Set pub struct SetNotebook(PhantomData S>); impl sealed::Sealed for SetNotebook {} impl State for SetNotebook { - type IndexedAt = S::IndexedAt; - type Cid = S::Cid; type Record = S::Record; - type Notebook = Set; - type Uri = S::Uri; - } - ///State transition - sets the `uri` field to Set - pub struct SetUri(PhantomData S>); - impl sealed::Sealed for SetUri {} - impl State for SetUri { type IndexedAt = S::IndexedAt; type Cid = S::Cid; - type Record = S::Record; - type Notebook = S::Notebook; - type Uri = Set; + type Uri = S::Uri; + type Notebook = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `record` field + pub struct record(()); ///Marker type for the `indexed_at` field pub struct indexed_at(()); ///Marker type for the `cid` field pub struct cid(()); - ///Marker type for the `record` field - pub struct record(()); - ///Marker type for the `notebook` field - pub struct notebook(()); ///Marker type for the `uri` field pub struct uri(()); + ///Marker type for the `notebook` field + pub struct notebook(()); } } @@ -5136,11 +5270,11 @@ where impl<'a, S> PageViewBuilder<'a, S> where S: page_view_state::State, + S::Record: page_view_state::IsSet, S::IndexedAt: page_view_state::IsSet, S::Cid: page_view_state::IsSet, - S::Record: page_view_state::IsSet, - S::Notebook: page_view_state::IsSet, S::Uri: page_view_state::IsSet, + S::Notebook: page_view_state::IsSet, { /// Build the final struct pub fn build(self) -> PageView<'a> { @@ -5160,7 +5294,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> PageView<'a> { @@ -5233,66 +5367,66 @@ pub mod permission_grant_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Did; + type GrantedAt; type Scope; type Source; - type GrantedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Did = Unset; + type GrantedAt = Unset; type Scope = Unset; type Source = Unset; - type GrantedAt = Unset; } ///State transition - sets the `did` field to Set pub struct SetDid(PhantomData S>); impl sealed::Sealed for SetDid {} impl State for SetDid { type Did = Set; + type GrantedAt = S::GrantedAt; + type Scope = S::Scope; + type Source = S::Source; + } + ///State transition - sets the `granted_at` field to Set + pub struct SetGrantedAt(PhantomData S>); + impl sealed::Sealed for SetGrantedAt {} + impl State for SetGrantedAt { + type Did = S::Did; + type GrantedAt = Set; type Scope = S::Scope; type Source = S::Source; - type GrantedAt = S::GrantedAt; } ///State transition - sets the `scope` field to Set pub struct SetScope(PhantomData S>); impl sealed::Sealed for SetScope {} impl State for SetScope { type Did = S::Did; + type GrantedAt = S::GrantedAt; type Scope = Set; type Source = S::Source; - type GrantedAt = S::GrantedAt; } ///State transition - sets the `source` field to Set pub struct SetSource(PhantomData S>); impl sealed::Sealed for SetSource {} impl State for SetSource { type Did = S::Did; - type Scope = S::Scope; - type Source = Set; type GrantedAt = S::GrantedAt; - } - ///State transition - sets the `granted_at` field to Set - pub struct SetGrantedAt(PhantomData S>); - impl sealed::Sealed for SetGrantedAt {} - impl State for SetGrantedAt { - type Did = S::Did; type Scope = S::Scope; - type Source = S::Source; - type GrantedAt = Set; + type Source = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `did` field pub struct did(()); + ///Marker type for the `granted_at` field + pub struct granted_at(()); ///Marker type for the `scope` field pub struct scope(()); ///Marker type for the `source` field pub struct source(()); - ///Marker type for the `granted_at` field - pub struct granted_at(()); } } @@ -5406,9 +5540,9 @@ impl<'a, S> PermissionGrantBuilder<'a, S> where S: permission_grant_state::State, S::Did: permission_grant_state::IsSet, + S::GrantedAt: permission_grant_state::IsSet, S::Scope: permission_grant_state::IsSet, S::Source: permission_grant_state::IsSet, - S::GrantedAt: permission_grant_state::IsSet, { /// Build the final struct pub fn build(self) -> PermissionGrant<'a> { @@ -5424,7 +5558,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> PermissionGrant<'a> { @@ -5685,7 +5819,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> PermissionsState<'a> { @@ -5757,65 +5891,65 @@ pub mod published_version_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Cid; - type Uri; type Publisher; + type Uri; + type Cid; type PublishedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Cid = Unset; - type Uri = Unset; type Publisher = Unset; + type Uri = Unset; + type Cid = Unset; type PublishedAt = Unset; } - ///State transition - sets the `cid` field to Set - pub struct SetCid(PhantomData S>); - impl sealed::Sealed for SetCid {} - impl State for SetCid { - type Cid = Set; + ///State transition - sets the `publisher` field to Set + pub struct SetPublisher(PhantomData S>); + impl sealed::Sealed for SetPublisher {} + impl State for SetPublisher { + type Publisher = Set; type Uri = S::Uri; - type Publisher = S::Publisher; + type Cid = S::Cid; type PublishedAt = S::PublishedAt; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { - type Cid = S::Cid; - type Uri = Set; type Publisher = S::Publisher; + type Uri = Set; + type Cid = S::Cid; type PublishedAt = S::PublishedAt; } - ///State transition - sets the `publisher` field to Set - pub struct SetPublisher(PhantomData S>); - impl sealed::Sealed for SetPublisher {} - impl State for SetPublisher { - type Cid = S::Cid; + ///State transition - sets the `cid` field to Set + pub struct SetCid(PhantomData S>); + impl sealed::Sealed for SetCid {} + impl State for SetCid { + type Publisher = S::Publisher; type Uri = S::Uri; - type Publisher = Set; + type Cid = Set; type PublishedAt = S::PublishedAt; } ///State transition - sets the `published_at` field to Set pub struct SetPublishedAt(PhantomData S>); impl sealed::Sealed for SetPublishedAt {} impl State for SetPublishedAt { - type Cid = S::Cid; - type Uri = S::Uri; type Publisher = S::Publisher; + type Uri = S::Uri; + type Cid = S::Cid; type PublishedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `cid` field - pub struct cid(()); - ///Marker type for the `uri` field - pub struct uri(()); ///Marker type for the `publisher` field pub struct publisher(()); + ///Marker type for the `uri` field + pub struct uri(()); + ///Marker type for the `cid` field + pub struct cid(()); ///Marker type for the `published_at` field pub struct published_at(()); } @@ -5990,9 +6124,9 @@ where impl<'a, S> PublishedVersionViewBuilder<'a, S> where S: published_version_view_state::State, - S::Cid: published_version_view_state::IsSet, - S::Uri: published_version_view_state::IsSet, S::Publisher: published_version_view_state::IsSet, + S::Uri: published_version_view_state::IsSet, + S::Cid: published_version_view_state::IsSet, S::PublishedAt: published_version_view_state::IsSet, { /// Build the final struct @@ -6012,7 +6146,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> PublishedVersionView<'a> { @@ -6243,37 +6377,37 @@ pub mod reason_bookmark_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type By; type IndexedAt; + type By; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type By = Unset; type IndexedAt = Unset; - } - ///State transition - sets the `by` field to Set - pub struct SetBy(PhantomData S>); - impl sealed::Sealed for SetBy {} - impl State for SetBy { - type By = Set; - type IndexedAt = S::IndexedAt; + type By = Unset; } ///State transition - sets the `indexed_at` field to Set pub struct SetIndexedAt(PhantomData S>); impl sealed::Sealed for SetIndexedAt {} impl State for SetIndexedAt { - type By = S::By; type IndexedAt = Set; + type By = S::By; + } + ///State transition - sets the `by` field to Set + pub struct SetBy(PhantomData S>); + impl sealed::Sealed for SetBy {} + impl State for SetBy { + type IndexedAt = S::IndexedAt; + type By = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `by` field - pub struct by(()); ///Marker type for the `indexed_at` field pub struct indexed_at(()); + ///Marker type for the `by` field + pub struct by(()); } } @@ -6346,8 +6480,8 @@ where impl<'a, S> ReasonBookmarkBuilder<'a, S> where S: reason_bookmark_state::State, - S::By: reason_bookmark_state::IsSet, S::IndexedAt: reason_bookmark_state::IsSet, + S::By: reason_bookmark_state::IsSet, { /// Build the final struct pub fn build(self) -> ReasonBookmark<'a> { @@ -6361,7 +6495,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ReasonBookmark<'a> { @@ -6417,37 +6551,37 @@ pub mod reason_like_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type IndexedAt; type By; + type IndexedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type IndexedAt = Unset; type By = Unset; - } - ///State transition - sets the `indexed_at` field to Set - pub struct SetIndexedAt(PhantomData S>); - impl sealed::Sealed for SetIndexedAt {} - impl State for SetIndexedAt { - type IndexedAt = Set; - type By = S::By; + type IndexedAt = Unset; } ///State transition - sets the `by` field to Set pub struct SetBy(PhantomData S>); impl sealed::Sealed for SetBy {} impl State for SetBy { - type IndexedAt = S::IndexedAt; type By = Set; + type IndexedAt = S::IndexedAt; + } + ///State transition - sets the `indexed_at` field to Set + pub struct SetIndexedAt(PhantomData S>); + impl sealed::Sealed for SetIndexedAt {} + impl State for SetIndexedAt { + type By = S::By; + type IndexedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `indexed_at` field - pub struct indexed_at(()); ///Marker type for the `by` field pub struct by(()); + ///Marker type for the `indexed_at` field + pub struct indexed_at(()); } } @@ -6520,8 +6654,8 @@ where impl<'a, S> ReasonLikeBuilder<'a, S> where S: reason_like_state::State, - S::IndexedAt: reason_like_state::IsSet, S::By: reason_like_state::IsSet, + S::IndexedAt: reason_like_state::IsSet, { /// Build the final struct pub fn build(self) -> ReasonLike<'a> { @@ -6535,7 +6669,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ReasonLike<'a> { @@ -6673,7 +6807,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ReasonSubscription<'a> { @@ -6836,7 +6970,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> RenderedView<'a> { diff --git a/crates/jacquard-api/src/sh_weaver/notebook/authors.rs b/crates/jacquard-api/src/sh_weaver/notebook/authors.rs index b4ccdf6f4..2e12cc5bf 100644 --- a/crates/jacquard-api/src/sh_weaver/notebook/authors.rs +++ b/crates/jacquard-api/src/sh_weaver/notebook/authors.rs @@ -131,7 +131,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> AuthorListItem<'a> { @@ -173,7 +173,7 @@ fn lexicon_doc_sh_weaver_notebook_authors() -> ::jacquard_lexicon::lexicon::Lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("authorListItem"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("authorListItem"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -182,7 +182,7 @@ fn lexicon_doc_sh_weaver_notebook_authors() -> ::jacquard_lexicon::lexicon::Lexi ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("profile, index") + ::jacquard_common::deps::smol_str::SmolStr::new_static("profile, index") ], ), nullable: None, @@ -190,7 +190,9 @@ fn lexicon_doc_sh_weaver_notebook_authors() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("index"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "index", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -201,7 +203,9 @@ fn lexicon_doc_sh_weaver_notebook_authors() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("profile"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "profile", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -216,7 +220,7 @@ fn lexicon_doc_sh_weaver_notebook_authors() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -228,7 +232,7 @@ fn lexicon_doc_sh_weaver_notebook_authors() -> ::jacquard_lexicon::lexicon::Lexi description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("authorList") + ::jacquard_common::deps::smol_str::SmolStr::new_static("authorList") ], ), nullable: None, @@ -236,7 +240,7 @@ fn lexicon_doc_sh_weaver_notebook_authors() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "authorList", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -252,7 +256,7 @@ fn lexicon_doc_sh_weaver_notebook_authors() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -433,7 +437,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Authors<'a> { diff --git a/crates/jacquard-api/src/sh_weaver/notebook/book.rs b/crates/jacquard-api/src/sh_weaver/notebook/book.rs index d6b041584..e8752357a 100644 --- a/crates/jacquard-api/src/sh_weaver/notebook/book.rs +++ b/crates/jacquard-api/src/sh_weaver/notebook/book.rs @@ -376,7 +376,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Book<'a> { @@ -486,7 +486,7 @@ fn lexicon_doc_sh_weaver_notebook_book() -> ::jacquard_lexicon::lexicon::Lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -498,8 +498,8 @@ fn lexicon_doc_sh_weaver_notebook_book() -> ::jacquard_lexicon::lexicon::Lexicon description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("authors"), - ::jacquard_common::smol_str::SmolStr::new_static("entryList") + ::jacquard_common::deps::smol_str::SmolStr::new_static("authors"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("entryList") ], ), nullable: None, @@ -507,7 +507,9 @@ fn lexicon_doc_sh_weaver_notebook_book() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("authors"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "authors", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -521,7 +523,7 @@ fn lexicon_doc_sh_weaver_notebook_book() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentWarnings", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -532,7 +534,7 @@ fn lexicon_doc_sh_weaver_notebook_book() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -555,7 +557,7 @@ fn lexicon_doc_sh_weaver_notebook_book() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "entryList", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -571,7 +573,9 @@ fn lexicon_doc_sh_weaver_notebook_book() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("path"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "path", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -580,7 +584,7 @@ fn lexicon_doc_sh_weaver_notebook_book() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publishGlobal", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -590,7 +594,9 @@ fn lexicon_doc_sh_weaver_notebook_book() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rating"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "rating", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -599,7 +605,9 @@ fn lexicon_doc_sh_weaver_notebook_book() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tags", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -608,7 +616,9 @@ fn lexicon_doc_sh_weaver_notebook_book() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("theme"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "theme", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -617,7 +627,9 @@ fn lexicon_doc_sh_weaver_notebook_book() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -626,7 +638,7 @@ fn lexicon_doc_sh_weaver_notebook_book() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/sh_weaver/notebook/chapter.rs b/crates/jacquard-api/src/sh_weaver/notebook/chapter.rs index 53a70bd8b..706c78511 100644 --- a/crates/jacquard-api/src/sh_weaver/notebook/chapter.rs +++ b/crates/jacquard-api/src/sh_weaver/notebook/chapter.rs @@ -55,50 +55,50 @@ pub mod chapter_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Notebook; - type Authors; type EntryList; + type Authors; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Notebook = Unset; - type Authors = Unset; type EntryList = Unset; + type Authors = Unset; } ///State transition - sets the `notebook` field to Set pub struct SetNotebook(PhantomData S>); impl sealed::Sealed for SetNotebook {} impl State for SetNotebook { type Notebook = Set; - type Authors = S::Authors; - type EntryList = S::EntryList; - } - ///State transition - sets the `authors` field to Set - pub struct SetAuthors(PhantomData S>); - impl sealed::Sealed for SetAuthors {} - impl State for SetAuthors { - type Notebook = S::Notebook; - type Authors = Set; type EntryList = S::EntryList; + type Authors = S::Authors; } ///State transition - sets the `entry_list` field to Set pub struct SetEntryList(PhantomData S>); impl sealed::Sealed for SetEntryList {} impl State for SetEntryList { type Notebook = S::Notebook; - type Authors = S::Authors; type EntryList = Set; + type Authors = S::Authors; + } + ///State transition - sets the `authors` field to Set + pub struct SetAuthors(PhantomData S>); + impl sealed::Sealed for SetAuthors {} + impl State for SetAuthors { + type Notebook = S::Notebook; + type EntryList = S::EntryList; + type Authors = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `notebook` field pub struct notebook(()); - ///Marker type for the `authors` field - pub struct authors(()); ///Marker type for the `entry_list` field pub struct entry_list(()); + ///Marker type for the `authors` field + pub struct authors(()); } } @@ -292,8 +292,8 @@ impl<'a, S> ChapterBuilder<'a, S> where S: chapter_state::State, S::Notebook: chapter_state::IsSet, - S::Authors: chapter_state::IsSet, S::EntryList: chapter_state::IsSet, + S::Authors: chapter_state::IsSet, { /// Build the final struct pub fn build(self) -> Chapter<'a> { @@ -313,7 +313,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Chapter<'a> { @@ -420,7 +420,7 @@ fn lexicon_doc_sh_weaver_notebook_chapter() -> ::jacquard_lexicon::lexicon::Lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -432,9 +432,9 @@ fn lexicon_doc_sh_weaver_notebook_chapter() -> ::jacquard_lexicon::lexicon::Lexi description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("notebook"), - ::jacquard_common::smol_str::SmolStr::new_static("authors"), - ::jacquard_common::smol_str::SmolStr::new_static("entryList") + ::jacquard_common::deps::smol_str::SmolStr::new_static("notebook"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("authors"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("entryList") ], ), nullable: None, @@ -442,7 +442,9 @@ fn lexicon_doc_sh_weaver_notebook_chapter() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("authors"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "authors", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -456,7 +458,7 @@ fn lexicon_doc_sh_weaver_notebook_chapter() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentWarnings", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -467,7 +469,7 @@ fn lexicon_doc_sh_weaver_notebook_chapter() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -490,7 +492,7 @@ fn lexicon_doc_sh_weaver_notebook_chapter() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "entryList", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -506,7 +508,7 @@ fn lexicon_doc_sh_weaver_notebook_chapter() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "notebook", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -517,7 +519,9 @@ fn lexicon_doc_sh_weaver_notebook_chapter() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rating"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "rating", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -526,7 +530,9 @@ fn lexicon_doc_sh_weaver_notebook_chapter() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tags", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -535,7 +541,9 @@ fn lexicon_doc_sh_weaver_notebook_chapter() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( 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 c7a8e9109..874e8944b 100644 --- a/crates/jacquard-api/src/sh_weaver/notebook/colour_scheme.rs +++ b/crates/jacquard-api/src/sh_weaver/notebook/colour_scheme.rs @@ -38,51 +38,51 @@ pub mod colour_scheme_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Colours; type Name; type Variant; + type Colours; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Colours = Unset; type Name = Unset; type Variant = Unset; - } - ///State transition - sets the `colours` field to Set - pub struct SetColours(PhantomData S>); - impl sealed::Sealed for SetColours {} - impl State for SetColours { - type Colours = Set; - type Name = S::Name; - type Variant = S::Variant; + type Colours = Unset; } ///State transition - sets the `name` field to Set pub struct SetName(PhantomData S>); impl sealed::Sealed for SetName {} impl State for SetName { - type Colours = S::Colours; type Name = Set; type Variant = S::Variant; + type Colours = S::Colours; } ///State transition - sets the `variant` field to Set pub struct SetVariant(PhantomData S>); impl sealed::Sealed for SetVariant {} impl State for SetVariant { - type Colours = S::Colours; type Name = S::Name; type Variant = Set; + type Colours = S::Colours; + } + ///State transition - sets the `colours` field to Set + pub struct SetColours(PhantomData S>); + impl sealed::Sealed for SetColours {} + impl State for SetColours { + type Name = S::Name; + type Variant = S::Variant; + type Colours = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `colours` field - pub struct colours(()); ///Marker type for the `name` field pub struct name(()); ///Marker type for the `variant` field pub struct variant(()); + ///Marker type for the `colours` field + pub struct colours(()); } } @@ -175,9 +175,9 @@ where impl<'a, S> ColourSchemeBuilder<'a, S> where S: colour_scheme_state::State, - S::Colours: colour_scheme_state::IsSet, S::Name: colour_scheme_state::IsSet, S::Variant: colour_scheme_state::IsSet, + S::Colours: colour_scheme_state::IsSet, { /// Build the final struct pub fn build(self) -> ColourScheme<'a> { @@ -192,7 +192,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ColourScheme<'a> { @@ -292,7 +292,7 @@ fn lexicon_doc_sh_weaver_notebook_colourScheme() -> ::jacquard_lexicon::lexicon: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -304,9 +304,9 @@ fn lexicon_doc_sh_weaver_notebook_colourScheme() -> ::jacquard_lexicon::lexicon: description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("variant"), - ::jacquard_common::smol_str::SmolStr::new_static("colours") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("variant"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("colours") ], ), nullable: None, @@ -314,27 +314,29 @@ fn lexicon_doc_sh_weaver_notebook_colourScheme() -> ::jacquard_lexicon::lexicon: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("colours"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "colours", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("base"), - ::jacquard_common::smol_str::SmolStr::new_static("surface"), - ::jacquard_common::smol_str::SmolStr::new_static("overlay"), - ::jacquard_common::smol_str::SmolStr::new_static("text"), - ::jacquard_common::smol_str::SmolStr::new_static("muted"), - ::jacquard_common::smol_str::SmolStr::new_static("subtle"), - ::jacquard_common::smol_str::SmolStr::new_static("emphasis"), - ::jacquard_common::smol_str::SmolStr::new_static("primary"), - ::jacquard_common::smol_str::SmolStr::new_static("secondary"), - ::jacquard_common::smol_str::SmolStr::new_static("tertiary"), - ::jacquard_common::smol_str::SmolStr::new_static("error"), - ::jacquard_common::smol_str::SmolStr::new_static("warning"), - ::jacquard_common::smol_str::SmolStr::new_static("success"), - ::jacquard_common::smol_str::SmolStr::new_static("border"), - ::jacquard_common::smol_str::SmolStr::new_static("link"), - ::jacquard_common::smol_str::SmolStr::new_static("highlight") + ::jacquard_common::deps::smol_str::SmolStr::new_static("base"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("surface"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("overlay"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("muted"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("subtle"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("emphasis"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("primary"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("secondary"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("tertiary"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("error"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("warning"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("success"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("border"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("link"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("highlight") ], ), nullable: None, @@ -342,7 +344,9 @@ fn lexicon_doc_sh_weaver_notebook_colourScheme() -> ::jacquard_lexicon::lexicon: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("base"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "base", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -361,7 +365,9 @@ fn lexicon_doc_sh_weaver_notebook_colourScheme() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("border"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "border", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -380,7 +386,7 @@ fn lexicon_doc_sh_weaver_notebook_colourScheme() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "emphasis", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -401,7 +407,9 @@ fn lexicon_doc_sh_weaver_notebook_colourScheme() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("error"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "error", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Error state colour"), @@ -418,7 +426,7 @@ fn lexicon_doc_sh_weaver_notebook_colourScheme() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "highlight", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -439,7 +447,9 @@ fn lexicon_doc_sh_weaver_notebook_colourScheme() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("link"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "link", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Hyperlink colour"), @@ -456,7 +466,9 @@ fn lexicon_doc_sh_weaver_notebook_colourScheme() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("muted"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "muted", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -475,7 +487,9 @@ fn lexicon_doc_sh_weaver_notebook_colourScheme() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("overlay"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "overlay", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -494,7 +508,9 @@ fn lexicon_doc_sh_weaver_notebook_colourScheme() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("primary"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "primary", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -513,7 +529,7 @@ fn lexicon_doc_sh_weaver_notebook_colourScheme() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "secondary", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -534,7 +550,9 @@ fn lexicon_doc_sh_weaver_notebook_colourScheme() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subtle"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subtle", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -553,7 +571,9 @@ fn lexicon_doc_sh_weaver_notebook_colourScheme() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("success"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "success", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -572,7 +592,9 @@ fn lexicon_doc_sh_weaver_notebook_colourScheme() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("surface"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "surface", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -591,7 +613,7 @@ fn lexicon_doc_sh_weaver_notebook_colourScheme() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "tertiary", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -612,7 +634,9 @@ fn lexicon_doc_sh_weaver_notebook_colourScheme() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -631,7 +655,9 @@ fn lexicon_doc_sh_weaver_notebook_colourScheme() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("warning"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "warning", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -654,7 +680,9 @@ fn lexicon_doc_sh_weaver_notebook_colourScheme() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -673,7 +701,9 @@ fn lexicon_doc_sh_weaver_notebook_colourScheme() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("variant"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "variant", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/sh_weaver/notebook/entry.rs b/crates/jacquard-api/src/sh_weaver/notebook/entry.rs index 3edc016c1..bd290342a 100644 --- a/crates/jacquard-api/src/sh_weaver/notebook/entry.rs +++ b/crates/jacquard-api/src/sh_weaver/notebook/entry.rs @@ -61,8 +61,8 @@ pub mod entry_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Path; - type Title; type Content; + type Title; type CreatedAt; } /// Empty state - all required fields are unset @@ -70,8 +70,8 @@ pub mod entry_state { impl sealed::Sealed for Empty {} impl State for Empty { type Path = Unset; - type Title = Unset; type Content = Unset; + type Title = Unset; type CreatedAt = Unset; } ///State transition - sets the `path` field to Set @@ -79,17 +79,8 @@ pub mod entry_state { impl sealed::Sealed for SetPath {} impl State for SetPath { type Path = Set; - type Title = S::Title; - type Content = S::Content; - type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `title` field to Set - pub struct SetTitle(PhantomData S>); - impl sealed::Sealed for SetTitle {} - impl State for SetTitle { - type Path = S::Path; - type Title = Set; type Content = S::Content; + type Title = S::Title; type CreatedAt = S::CreatedAt; } ///State transition - sets the `content` field to Set @@ -97,8 +88,17 @@ pub mod entry_state { impl sealed::Sealed for SetContent {} impl State for SetContent { type Path = S::Path; - type Title = S::Title; type Content = Set; + type Title = S::Title; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `title` field to Set + pub struct SetTitle(PhantomData S>); + impl sealed::Sealed for SetTitle {} + impl State for SetTitle { + type Path = S::Path; + type Content = S::Content; + type Title = Set; type CreatedAt = S::CreatedAt; } ///State transition - sets the `created_at` field to Set @@ -106,8 +106,8 @@ pub mod entry_state { impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { type Path = S::Path; - type Title = S::Title; type Content = S::Content; + type Title = S::Title; type CreatedAt = Set; } /// Marker types for field names @@ -115,10 +115,10 @@ pub mod entry_state { pub mod members { ///Marker type for the `path` field pub struct path(()); - ///Marker type for the `title` field - pub struct title(()); ///Marker type for the `content` field pub struct content(()); + ///Marker type for the `title` field + pub struct title(()); ///Marker type for the `created_at` field pub struct created_at(()); } @@ -359,8 +359,8 @@ impl<'a, S> EntryBuilder<'a, S> where S: entry_state::State, S::Path: entry_state::IsSet, - S::Title: entry_state::IsSet, S::Content: entry_state::IsSet, + S::Title: entry_state::IsSet, S::CreatedAt: entry_state::IsSet, { /// Build the final struct @@ -383,7 +383,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Entry<'a> { @@ -460,7 +460,7 @@ fn lexicon_doc_sh_weaver_notebook_entry() -> ::jacquard_lexicon::lexicon::Lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static("A notebook entry"), @@ -470,10 +470,10 @@ fn lexicon_doc_sh_weaver_notebook_entry() -> ::jacquard_lexicon::lexicon::Lexico description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("content"), - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("path"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("path"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -481,7 +481,9 @@ fn lexicon_doc_sh_weaver_notebook_entry() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("authors"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "authors", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -495,7 +497,9 @@ fn lexicon_doc_sh_weaver_notebook_entry() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "content", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -514,7 +518,7 @@ fn lexicon_doc_sh_weaver_notebook_entry() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentWarnings", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -525,7 +529,7 @@ fn lexicon_doc_sh_weaver_notebook_entry() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -548,7 +552,9 @@ fn lexicon_doc_sh_weaver_notebook_entry() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("embeds"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "embeds", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -561,7 +567,7 @@ fn lexicon_doc_sh_weaver_notebook_entry() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "externals", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -572,7 +578,9 @@ fn lexicon_doc_sh_weaver_notebook_entry() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("images"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "images", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -581,7 +589,9 @@ fn lexicon_doc_sh_weaver_notebook_entry() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("records"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "records", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -590,7 +600,7 @@ fn lexicon_doc_sh_weaver_notebook_entry() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "recordsWithMedia", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -606,7 +616,9 @@ fn lexicon_doc_sh_weaver_notebook_entry() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("videos"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "videos", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -619,7 +631,9 @@ fn lexicon_doc_sh_weaver_notebook_entry() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("path"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "path", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -628,7 +642,9 @@ fn lexicon_doc_sh_weaver_notebook_entry() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rating"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "rating", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -637,7 +653,9 @@ fn lexicon_doc_sh_weaver_notebook_entry() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tags", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -646,7 +664,9 @@ fn lexicon_doc_sh_weaver_notebook_entry() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -655,7 +675,7 @@ fn lexicon_doc_sh_weaver_notebook_entry() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { 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 10e5538a8..996063c66 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 @@ -188,37 +188,37 @@ pub mod notebook_ref_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Uri; type Cid; + type Uri; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Uri = Unset; type Cid = Unset; - } - ///State transition - sets the `uri` field to Set - pub struct SetUri(PhantomData S>); - impl sealed::Sealed for SetUri {} - impl State for SetUri { - type Uri = Set; - type Cid = S::Cid; + type Uri = Unset; } ///State transition - sets the `cid` field to Set pub struct SetCid(PhantomData S>); impl sealed::Sealed for SetCid {} impl State for SetCid { - type Uri = S::Uri; type Cid = Set; + type Uri = S::Uri; + } + ///State transition - sets the `uri` field to Set + pub struct SetUri(PhantomData S>); + impl sealed::Sealed for SetUri {} + impl State for SetUri { + type Cid = S::Cid; + type Uri = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `uri` field - pub struct uri(()); ///Marker type for the `cid` field pub struct cid(()); + ///Marker type for the `uri` field + pub struct uri(()); } } @@ -328,8 +328,8 @@ where impl<'a, S> NotebookRefBuilder<'a, S> where S: notebook_ref_state::State, - S::Uri: notebook_ref_state::IsSet, S::Cid: notebook_ref_state::IsSet, + S::Uri: notebook_ref_state::IsSet, { /// Build the final struct pub fn build(self) -> NotebookRef<'a> { @@ -345,7 +345,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> NotebookRef<'a> { @@ -372,7 +372,7 @@ fn lexicon_doc_sh_weaver_notebook_getEntryNotebooks() -> ::jacquard_lexicon::lex defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcQuery(::jacquard_lexicon::lexicon::LexXrpcQuery { description: None, parameters: Some( @@ -380,14 +380,16 @@ fn lexicon_doc_sh_weaver_notebook_getEntryNotebooks() -> ::jacquard_lexicon::lex description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("entry") + ::jacquard_common::deps::smol_str::SmolStr::new_static("entry") ], ), properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("entry"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "entry", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("AT URI of the entry"), @@ -414,7 +416,7 @@ fn lexicon_doc_sh_weaver_notebook_getEntryNotebooks() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("notebookRef"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("notebookRef"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -423,8 +425,8 @@ fn lexicon_doc_sh_weaver_notebook_getEntryNotebooks() -> ::jacquard_lexicon::lex ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("cid") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid") ], ), nullable: None, @@ -432,7 +434,9 @@ fn lexicon_doc_sh_weaver_notebook_getEntryNotebooks() -> ::jacquard_lexicon::lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -449,7 +453,9 @@ fn lexicon_doc_sh_weaver_notebook_getEntryNotebooks() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("owner"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "owner", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -458,7 +464,9 @@ fn lexicon_doc_sh_weaver_notebook_getEntryNotebooks() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -473,7 +481,9 @@ fn lexicon_doc_sh_weaver_notebook_getEntryNotebooks() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( 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 0b245421d..02411c0d3 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 @@ -214,37 +214,37 @@ pub mod reading_history_item_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Notebook; type Progress; + type Notebook; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Notebook = Unset; type Progress = Unset; - } - ///State transition - sets the `notebook` field to Set - pub struct SetNotebook(PhantomData S>); - impl sealed::Sealed for SetNotebook {} - impl State for SetNotebook { - type Notebook = Set; - type Progress = S::Progress; + type Notebook = Unset; } ///State transition - sets the `progress` field to Set pub struct SetProgress(PhantomData S>); impl sealed::Sealed for SetProgress {} impl State for SetProgress { - type Notebook = S::Notebook; type Progress = Set; + type Notebook = S::Notebook; + } + ///State transition - sets the `notebook` field to Set + pub struct SetNotebook(PhantomData S>); + impl sealed::Sealed for SetNotebook {} + impl State for SetNotebook { + type Progress = S::Progress; + type Notebook = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `notebook` field - pub struct notebook(()); ///Marker type for the `progress` field pub struct progress(()); + ///Marker type for the `notebook` field + pub struct notebook(()); } } @@ -337,8 +337,8 @@ where impl<'a, S> ReadingHistoryItemBuilder<'a, S> where S: reading_history_item_state::State, - S::Notebook: reading_history_item_state::IsSet, S::Progress: reading_history_item_state::IsSet, + S::Notebook: reading_history_item_state::IsSet, { /// Build the final struct pub fn build(self) -> ReadingHistoryItem<'a> { @@ -353,7 +353,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ReadingHistoryItem<'a> { @@ -379,7 +379,7 @@ fn lexicon_doc_sh_weaver_notebook_getReadingHistory() -> ::jacquard_lexicon::lex defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcQuery(::jacquard_lexicon::lexicon::LexXrpcQuery { description: None, parameters: Some( @@ -390,7 +390,9 @@ fn lexicon_doc_sh_weaver_notebook_getReadingHistory() -> ::jacquard_lexicon::lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cursor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cursor", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -405,7 +407,9 @@ fn lexicon_doc_sh_weaver_notebook_getReadingHistory() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("limit"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "limit", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -416,7 +420,9 @@ fn lexicon_doc_sh_weaver_notebook_getReadingHistory() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("status"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "status", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -443,13 +449,15 @@ fn lexicon_doc_sh_weaver_notebook_getReadingHistory() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("readingHistoryItem"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "readingHistoryItem", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("notebook"), - ::jacquard_common::smol_str::SmolStr::new_static("progress") + ::jacquard_common::deps::smol_str::SmolStr::new_static("notebook"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("progress") ], ), nullable: None, @@ -457,7 +465,7 @@ fn lexicon_doc_sh_weaver_notebook_getReadingHistory() -> ::jacquard_lexicon::lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "currentEntry", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -468,7 +476,9 @@ fn lexicon_doc_sh_weaver_notebook_getReadingHistory() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("notebook"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "notebook", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -477,7 +487,9 @@ fn lexicon_doc_sh_weaver_notebook_getReadingHistory() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("progress"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "progress", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( 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 3258a7053..9e19a136b 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 @@ -165,37 +165,37 @@ pub mod suggested_notebook_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Reason; type Notebook; + type Reason; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Reason = Unset; type Notebook = Unset; - } - ///State transition - sets the `reason` field to Set - pub struct SetReason(PhantomData S>); - impl sealed::Sealed for SetReason {} - impl State for SetReason { - type Reason = Set; - type Notebook = S::Notebook; + type Reason = Unset; } ///State transition - sets the `notebook` field to Set pub struct SetNotebook(PhantomData S>); impl sealed::Sealed for SetNotebook {} impl State for SetNotebook { - type Reason = S::Reason; type Notebook = Set; + type Reason = S::Reason; + } + ///State transition - sets the `reason` field to Set + pub struct SetReason(PhantomData S>); + impl sealed::Sealed for SetReason {} + impl State for SetReason { + type Notebook = S::Notebook; + type Reason = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `reason` field - pub struct reason(()); ///Marker type for the `notebook` field pub struct notebook(()); + ///Marker type for the `reason` field + pub struct reason(()); } } @@ -286,8 +286,8 @@ impl<'a, S: suggested_notebook_state::State> SuggestedNotebookBuilder<'a, S> { impl<'a, S> SuggestedNotebookBuilder<'a, S> where S: suggested_notebook_state::State, - S::Reason: suggested_notebook_state::IsSet, S::Notebook: suggested_notebook_state::IsSet, + S::Reason: suggested_notebook_state::IsSet, { /// Build the final struct pub fn build(self) -> SuggestedNotebook<'a> { @@ -302,7 +302,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> SuggestedNotebook<'a> { @@ -328,7 +328,7 @@ fn lexicon_doc_sh_weaver_notebook_getSuggestedNotebooks() -> ::jacquard_lexicon: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcQuery(::jacquard_lexicon::lexicon::LexXrpcQuery { description: None, parameters: Some( @@ -339,7 +339,9 @@ fn lexicon_doc_sh_weaver_notebook_getSuggestedNotebooks() -> ::jacquard_lexicon: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("limit"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "limit", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -358,13 +360,15 @@ fn lexicon_doc_sh_weaver_notebook_getSuggestedNotebooks() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("suggestedNotebook"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "suggestedNotebook", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("notebook"), - ::jacquard_common::smol_str::SmolStr::new_static("reason") + ::jacquard_common::deps::smol_str::SmolStr::new_static("notebook"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("reason") ], ), nullable: None, @@ -372,7 +376,9 @@ fn lexicon_doc_sh_weaver_notebook_getSuggestedNotebooks() -> ::jacquard_lexicon: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("notebook"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "notebook", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -381,7 +387,9 @@ fn lexicon_doc_sh_weaver_notebook_getSuggestedNotebooks() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reason"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reason", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -390,7 +398,9 @@ fn lexicon_doc_sh_weaver_notebook_getSuggestedNotebooks() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("score"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "score", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -405,7 +415,9 @@ fn lexicon_doc_sh_weaver_notebook_getSuggestedNotebooks() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("suggestionReason"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "suggestionReason", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -413,14 +425,16 @@ fn lexicon_doc_sh_weaver_notebook_getSuggestedNotebooks() -> ::jacquard_lexicon: ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("type")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("type") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "relatedAuthor", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -431,7 +445,7 @@ fn lexicon_doc_sh_weaver_notebook_getSuggestedNotebooks() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "relatedList", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -442,7 +456,7 @@ fn lexicon_doc_sh_weaver_notebook_getSuggestedNotebooks() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "relatedNotebook", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -453,7 +467,7 @@ fn lexicon_doc_sh_weaver_notebook_getSuggestedNotebooks() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "relatedTags", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -477,7 +491,9 @@ fn lexicon_doc_sh_weaver_notebook_getSuggestedNotebooks() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "type", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, diff --git a/crates/jacquard-api/src/sh_weaver/notebook/page.rs b/crates/jacquard-api/src/sh_weaver/notebook/page.rs index c212080de..7193b02d9 100644 --- a/crates/jacquard-api/src/sh_weaver/notebook/page.rs +++ b/crates/jacquard-api/src/sh_weaver/notebook/page.rs @@ -45,50 +45,50 @@ pub mod page_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Notebook; - type EntryList; type Authors; + type EntryList; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Notebook = Unset; - type EntryList = Unset; type Authors = Unset; + type EntryList = Unset; } ///State transition - sets the `notebook` field to Set pub struct SetNotebook(PhantomData S>); impl sealed::Sealed for SetNotebook {} impl State for SetNotebook { type Notebook = Set; - type EntryList = S::EntryList; - type Authors = S::Authors; - } - ///State transition - sets the `entry_list` field to Set - pub struct SetEntryList(PhantomData S>); - impl sealed::Sealed for SetEntryList {} - impl State for SetEntryList { - type Notebook = S::Notebook; - type EntryList = Set; type Authors = S::Authors; + type EntryList = S::EntryList; } ///State transition - sets the `authors` field to Set pub struct SetAuthors(PhantomData S>); impl sealed::Sealed for SetAuthors {} impl State for SetAuthors { type Notebook = S::Notebook; - type EntryList = S::EntryList; type Authors = Set; + type EntryList = S::EntryList; + } + ///State transition - sets the `entry_list` field to Set + pub struct SetEntryList(PhantomData S>); + impl sealed::Sealed for SetEntryList {} + impl State for SetEntryList { + type Notebook = S::Notebook; + type Authors = S::Authors; + type EntryList = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `notebook` field pub struct notebook(()); - ///Marker type for the `entry_list` field - pub struct entry_list(()); ///Marker type for the `authors` field pub struct authors(()); + ///Marker type for the `entry_list` field + pub struct entry_list(()); } } @@ -222,8 +222,8 @@ impl<'a, S> PageBuilder<'a, S> where S: page_state::State, S::Notebook: page_state::IsSet, - S::EntryList: page_state::IsSet, S::Authors: page_state::IsSet, + S::EntryList: page_state::IsSet, { /// Build the final struct pub fn build(self) -> Page<'a> { @@ -240,7 +240,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Page<'a> { @@ -344,7 +344,7 @@ fn lexicon_doc_sh_weaver_notebook_page() -> ::jacquard_lexicon::lexicon::Lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -356,9 +356,9 @@ fn lexicon_doc_sh_weaver_notebook_page() -> ::jacquard_lexicon::lexicon::Lexicon description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("notebook"), - ::jacquard_common::smol_str::SmolStr::new_static("authors"), - ::jacquard_common::smol_str::SmolStr::new_static("entryList") + ::jacquard_common::deps::smol_str::SmolStr::new_static("notebook"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("authors"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("entryList") ], ), nullable: None, @@ -366,7 +366,7 @@ fn lexicon_doc_sh_weaver_notebook_page() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -389,7 +389,7 @@ fn lexicon_doc_sh_weaver_notebook_page() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "entryList", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -405,7 +405,7 @@ fn lexicon_doc_sh_weaver_notebook_page() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "notebook", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -416,7 +416,9 @@ fn lexicon_doc_sh_weaver_notebook_page() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tags", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -425,7 +427,9 @@ fn lexicon_doc_sh_weaver_notebook_page() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/sh_weaver/notebook/theme.rs b/crates/jacquard-api/src/sh_weaver/notebook/theme.rs index 9768048e8..55a52a512 100644 --- a/crates/jacquard-api/src/sh_weaver/notebook/theme.rs +++ b/crates/jacquard-api/src/sh_weaver/notebook/theme.rs @@ -190,7 +190,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> CodeThemeFile<'a> { @@ -214,7 +214,7 @@ fn lexicon_doc_sh_weaver_notebook_theme() -> ::jacquard_lexicon::lexicon::Lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("codeThemeFile"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("codeThemeFile"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -223,9 +223,9 @@ fn lexicon_doc_sh_weaver_notebook_theme() -> ::jacquard_lexicon::lexicon::Lexico ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("did"), - ::jacquard_common::smol_str::SmolStr::new_static("content") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("content") ], ), nullable: None, @@ -233,7 +233,9 @@ fn lexicon_doc_sh_weaver_notebook_theme() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "content", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -241,7 +243,9 @@ fn lexicon_doc_sh_weaver_notebook_theme() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -258,7 +262,9 @@ fn lexicon_doc_sh_weaver_notebook_theme() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -277,7 +283,7 @@ fn lexicon_doc_sh_weaver_notebook_theme() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("codeThemeName"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("codeThemeName"), ::jacquard_lexicon::lexicon::LexUserType::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -292,18 +298,22 @@ fn lexicon_doc_sh_weaver_notebook_theme() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("font"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("font"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("value")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("value") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("value"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "value", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: Some( ::jacquard_common::CowStr::new_static("Font for a notebook"), @@ -320,7 +330,7 @@ fn lexicon_doc_sh_weaver_notebook_theme() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("fontFile"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("fontFile"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -329,9 +339,9 @@ fn lexicon_doc_sh_weaver_notebook_theme() -> ::jacquard_lexicon::lexicon::Lexico ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("did"), - ::jacquard_common::smol_str::SmolStr::new_static("content") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("content") ], ), nullable: None, @@ -339,7 +349,9 @@ fn lexicon_doc_sh_weaver_notebook_theme() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "content", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -347,7 +359,9 @@ fn lexicon_doc_sh_weaver_notebook_theme() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -364,7 +378,9 @@ fn lexicon_doc_sh_weaver_notebook_theme() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -383,7 +399,7 @@ fn lexicon_doc_sh_weaver_notebook_theme() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("fontName"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("fontName"), ::jacquard_lexicon::lexicon::LexUserType::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -398,7 +414,7 @@ fn lexicon_doc_sh_weaver_notebook_theme() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static("Theme for a notebook"), @@ -408,12 +424,12 @@ fn lexicon_doc_sh_weaver_notebook_theme() -> ::jacquard_lexicon::lexicon::Lexico description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("darkScheme"), - ::jacquard_common::smol_str::SmolStr::new_static("lightScheme"), - ::jacquard_common::smol_str::SmolStr::new_static("fonts"), - ::jacquard_common::smol_str::SmolStr::new_static("spacing"), - ::jacquard_common::smol_str::SmolStr::new_static("darkCodeTheme"), - ::jacquard_common::smol_str::SmolStr::new_static("lightCodeTheme") + ::jacquard_common::deps::smol_str::SmolStr::new_static("darkScheme"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("lightScheme"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("fonts"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("spacing"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("darkCodeTheme"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("lightCodeTheme") ], ), nullable: None, @@ -421,7 +437,7 @@ fn lexicon_doc_sh_weaver_notebook_theme() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "darkCodeTheme", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -438,7 +454,7 @@ fn lexicon_doc_sh_weaver_notebook_theme() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "darkScheme", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -449,7 +465,7 @@ fn lexicon_doc_sh_weaver_notebook_theme() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "defaultTheme", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -466,7 +482,9 @@ fn lexicon_doc_sh_weaver_notebook_theme() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("fonts"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "fonts", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -475,9 +493,9 @@ fn lexicon_doc_sh_weaver_notebook_theme() -> ::jacquard_lexicon::lexicon::Lexico ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("body"), - ::jacquard_common::smol_str::SmolStr::new_static("heading"), - ::jacquard_common::smol_str::SmolStr::new_static("monospace") + ::jacquard_common::deps::smol_str::SmolStr::new_static("body"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("heading"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("monospace") ], ), nullable: None, @@ -485,7 +503,9 @@ fn lexicon_doc_sh_weaver_notebook_theme() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("body"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "body", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -497,7 +517,9 @@ fn lexicon_doc_sh_weaver_notebook_theme() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("heading"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "heading", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -509,7 +531,7 @@ fn lexicon_doc_sh_weaver_notebook_theme() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "monospace", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -527,7 +549,7 @@ fn lexicon_doc_sh_weaver_notebook_theme() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "lightCodeTheme", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -544,7 +566,7 @@ fn lexicon_doc_sh_weaver_notebook_theme() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "lightScheme", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -555,14 +577,16 @@ fn lexicon_doc_sh_weaver_notebook_theme() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("spacing"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "spacing", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("baseSize"), - ::jacquard_common::smol_str::SmolStr::new_static("lineHeight"), - ::jacquard_common::smol_str::SmolStr::new_static("scale") + ::jacquard_common::deps::smol_str::SmolStr::new_static("baseSize"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("lineHeight"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("scale") ], ), nullable: None, @@ -570,7 +594,7 @@ fn lexicon_doc_sh_weaver_notebook_theme() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "baseSize", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -587,7 +611,7 @@ fn lexicon_doc_sh_weaver_notebook_theme() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "lineHeight", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -604,7 +628,9 @@ fn lexicon_doc_sh_weaver_notebook_theme() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("scale"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "scale", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -759,7 +785,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Font<'a> { @@ -837,51 +863,51 @@ pub mod font_file_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Did; - type Name; type Content; + type Name; + type Did; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Did = Unset; - type Name = Unset; type Content = Unset; + type Name = Unset; + type Did = Unset; } - ///State transition - sets the `did` field to Set - pub struct SetDid(PhantomData S>); - impl sealed::Sealed for SetDid {} - impl State for SetDid { - type Did = Set; + ///State transition - sets the `content` field to Set + pub struct SetContent(PhantomData S>); + impl sealed::Sealed for SetContent {} + impl State for SetContent { + type Content = Set; type Name = S::Name; - type Content = S::Content; + type Did = S::Did; } ///State transition - sets the `name` field to Set pub struct SetName(PhantomData S>); impl sealed::Sealed for SetName {} impl State for SetName { - type Did = S::Did; - type Name = Set; type Content = S::Content; - } - ///State transition - sets the `content` field to Set - pub struct SetContent(PhantomData S>); - impl sealed::Sealed for SetContent {} - impl State for SetContent { + type Name = Set; type Did = S::Did; + } + ///State transition - sets the `did` field to Set + pub struct SetDid(PhantomData S>); + impl sealed::Sealed for SetDid {} + impl State for SetDid { + type Content = S::Content; type Name = S::Name; - type Content = Set; + type Did = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `did` field - pub struct did(()); - ///Marker type for the `name` field - pub struct name(()); ///Marker type for the `content` field pub struct content(()); + ///Marker type for the `name` field + pub struct name(()); + ///Marker type for the `did` field + pub struct did(()); } } @@ -974,9 +1000,9 @@ where impl<'a, S> FontFileBuilder<'a, S> where S: font_file_state::State, - S::Did: font_file_state::IsSet, - S::Name: font_file_state::IsSet, S::Content: font_file_state::IsSet, + S::Name: font_file_state::IsSet, + S::Did: font_file_state::IsSet, { /// Build the final struct pub fn build(self) -> FontFile<'a> { @@ -991,7 +1017,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> FontFile<'a> { @@ -1068,104 +1094,104 @@ pub mod theme_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type DarkScheme; + type Fonts; + type LightScheme; type Spacing; type DarkCodeTheme; type LightCodeTheme; - type Fonts; - type LightScheme; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type DarkScheme = Unset; + type Fonts = Unset; + type LightScheme = Unset; type Spacing = Unset; type DarkCodeTheme = Unset; type LightCodeTheme = Unset; - type Fonts = Unset; - type LightScheme = Unset; } ///State transition - sets the `dark_scheme` field to Set pub struct SetDarkScheme(PhantomData S>); impl sealed::Sealed for SetDarkScheme {} impl State for SetDarkScheme { type DarkScheme = Set; + type Fonts = S::Fonts; + type LightScheme = S::LightScheme; type Spacing = S::Spacing; type DarkCodeTheme = S::DarkCodeTheme; type LightCodeTheme = S::LightCodeTheme; - type Fonts = S::Fonts; + } + ///State transition - sets the `fonts` field to Set + pub struct SetFonts(PhantomData S>); + impl sealed::Sealed for SetFonts {} + impl State for SetFonts { + type DarkScheme = S::DarkScheme; + type Fonts = Set; type LightScheme = S::LightScheme; + type Spacing = S::Spacing; + type DarkCodeTheme = S::DarkCodeTheme; + type LightCodeTheme = S::LightCodeTheme; + } + ///State transition - sets the `light_scheme` field to Set + pub struct SetLightScheme(PhantomData S>); + impl sealed::Sealed for SetLightScheme {} + impl State for SetLightScheme { + type DarkScheme = S::DarkScheme; + type Fonts = S::Fonts; + type LightScheme = Set; + type Spacing = S::Spacing; + type DarkCodeTheme = S::DarkCodeTheme; + type LightCodeTheme = S::LightCodeTheme; } ///State transition - sets the `spacing` field to Set pub struct SetSpacing(PhantomData S>); impl sealed::Sealed for SetSpacing {} impl State for SetSpacing { type DarkScheme = S::DarkScheme; + type Fonts = S::Fonts; + type LightScheme = S::LightScheme; type Spacing = Set; type DarkCodeTheme = S::DarkCodeTheme; type LightCodeTheme = S::LightCodeTheme; - type Fonts = S::Fonts; - type LightScheme = S::LightScheme; } ///State transition - sets the `dark_code_theme` field to Set pub struct SetDarkCodeTheme(PhantomData S>); impl sealed::Sealed for SetDarkCodeTheme {} impl State for SetDarkCodeTheme { type DarkScheme = S::DarkScheme; + type Fonts = S::Fonts; + type LightScheme = S::LightScheme; type Spacing = S::Spacing; type DarkCodeTheme = Set; type LightCodeTheme = S::LightCodeTheme; - type Fonts = S::Fonts; - type LightScheme = S::LightScheme; } ///State transition - sets the `light_code_theme` field to Set pub struct SetLightCodeTheme(PhantomData S>); impl sealed::Sealed for SetLightCodeTheme {} impl State for SetLightCodeTheme { type DarkScheme = S::DarkScheme; - type Spacing = S::Spacing; - type DarkCodeTheme = S::DarkCodeTheme; - type LightCodeTheme = Set; type Fonts = S::Fonts; type LightScheme = S::LightScheme; - } - ///State transition - sets the `fonts` field to Set - pub struct SetFonts(PhantomData S>); - impl sealed::Sealed for SetFonts {} - impl State for SetFonts { - type DarkScheme = S::DarkScheme; - type Spacing = S::Spacing; - type DarkCodeTheme = S::DarkCodeTheme; - type LightCodeTheme = S::LightCodeTheme; - type Fonts = Set; - type LightScheme = S::LightScheme; - } - ///State transition - sets the `light_scheme` field to Set - pub struct SetLightScheme(PhantomData S>); - impl sealed::Sealed for SetLightScheme {} - impl State for SetLightScheme { - type DarkScheme = S::DarkScheme; type Spacing = S::Spacing; type DarkCodeTheme = S::DarkCodeTheme; - type LightCodeTheme = S::LightCodeTheme; - type Fonts = S::Fonts; - type LightScheme = Set; + type LightCodeTheme = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `dark_scheme` field pub struct dark_scheme(()); + ///Marker type for the `fonts` field + pub struct fonts(()); + ///Marker type for the `light_scheme` field + pub struct light_scheme(()); ///Marker type for the `spacing` field pub struct spacing(()); ///Marker type for the `dark_code_theme` field pub struct dark_code_theme(()); ///Marker type for the `light_code_theme` field pub struct light_code_theme(()); - ///Marker type for the `fonts` field - pub struct fonts(()); - ///Marker type for the `light_scheme` field - pub struct light_scheme(()); } } @@ -1339,11 +1365,11 @@ impl<'a, S> ThemeBuilder<'a, S> where S: theme_state::State, S::DarkScheme: theme_state::IsSet, + S::Fonts: theme_state::IsSet, + S::LightScheme: theme_state::IsSet, S::Spacing: theme_state::IsSet, S::DarkCodeTheme: theme_state::IsSet, S::LightCodeTheme: theme_state::IsSet, - S::Fonts: theme_state::IsSet, - S::LightScheme: theme_state::IsSet, { /// Build the final struct pub fn build(self) -> Theme<'a> { @@ -1362,7 +1388,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Theme<'a> { @@ -1442,49 +1468,49 @@ pub mod theme_fonts_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Body; type Monospace; + type Body; type Heading; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Body = Unset; type Monospace = Unset; + type Body = Unset; type Heading = Unset; } - ///State transition - sets the `body` field to Set - pub struct SetBody(PhantomData S>); - impl sealed::Sealed for SetBody {} - impl State for SetBody { - type Body = Set; - type Monospace = S::Monospace; - type Heading = S::Heading; - } ///State transition - sets the `monospace` field to Set pub struct SetMonospace(PhantomData S>); impl sealed::Sealed for SetMonospace {} impl State for SetMonospace { - type Body = S::Body; type Monospace = Set; + type Body = S::Body; + type Heading = S::Heading; + } + ///State transition - sets the `body` field to Set + pub struct SetBody(PhantomData S>); + impl sealed::Sealed for SetBody {} + impl State for SetBody { + type Monospace = S::Monospace; + type Body = Set; type Heading = S::Heading; } ///State transition - sets the `heading` field to Set pub struct SetHeading(PhantomData S>); impl sealed::Sealed for SetHeading {} impl State for SetHeading { - type Body = S::Body; type Monospace = S::Monospace; + type Body = S::Body; type Heading = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `body` field - pub struct body(()); ///Marker type for the `monospace` field pub struct monospace(()); + ///Marker type for the `body` field + pub struct body(()); ///Marker type for the `heading` field pub struct heading(()); } @@ -1579,8 +1605,8 @@ where impl<'a, S> ThemeFontsBuilder<'a, S> where S: theme_fonts_state::State, - S::Body: theme_fonts_state::IsSet, S::Monospace: theme_fonts_state::IsSet, + S::Body: theme_fonts_state::IsSet, S::Heading: theme_fonts_state::IsSet, { /// Build the final struct @@ -1596,7 +1622,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ThemeFonts<'a> { 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 1fce387d1..5509d566a 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 @@ -187,7 +187,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> UpdateReadingProgress<'a> { diff --git a/crates/jacquard-api/src/sh_weaver/notification.rs b/crates/jacquard-api/src/sh_weaver/notification.rs index b2b67dfa5..7782fd64b 100644 --- a/crates/jacquard-api/src/sh_weaver/notification.rs +++ b/crates/jacquard-api/src/sh_weaver/notification.rs @@ -52,95 +52,93 @@ pub mod notification_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type IsRead; type Uri; type Cid; type IndexedAt; type Author; type Reason; + type IsRead; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type IsRead = Unset; type Uri = Unset; type Cid = Unset; type IndexedAt = Unset; type Author = Unset; type Reason = Unset; - } - ///State transition - sets the `is_read` field to Set - pub struct SetIsRead(PhantomData S>); - impl sealed::Sealed for SetIsRead {} - impl State for SetIsRead { - type IsRead = Set; - type Uri = S::Uri; - type Cid = S::Cid; - type IndexedAt = S::IndexedAt; - type Author = S::Author; - type Reason = S::Reason; + type IsRead = Unset; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { - type IsRead = S::IsRead; type Uri = Set; type Cid = S::Cid; type IndexedAt = S::IndexedAt; type Author = S::Author; type Reason = S::Reason; + type IsRead = S::IsRead; } ///State transition - sets the `cid` field to Set pub struct SetCid(PhantomData S>); impl sealed::Sealed for SetCid {} impl State for SetCid { - type IsRead = S::IsRead; type Uri = S::Uri; type Cid = Set; type IndexedAt = S::IndexedAt; type Author = S::Author; type Reason = S::Reason; + type IsRead = S::IsRead; } ///State transition - sets the `indexed_at` field to Set pub struct SetIndexedAt(PhantomData S>); impl sealed::Sealed for SetIndexedAt {} impl State for SetIndexedAt { - type IsRead = S::IsRead; type Uri = S::Uri; type Cid = S::Cid; type IndexedAt = Set; type Author = S::Author; type Reason = S::Reason; + type IsRead = S::IsRead; } ///State transition - sets the `author` field to Set pub struct SetAuthor(PhantomData S>); impl sealed::Sealed for SetAuthor {} impl State for SetAuthor { - type IsRead = S::IsRead; type Uri = S::Uri; type Cid = S::Cid; type IndexedAt = S::IndexedAt; type Author = Set; type Reason = S::Reason; + type IsRead = S::IsRead; } ///State transition - sets the `reason` field to Set pub struct SetReason(PhantomData S>); impl sealed::Sealed for SetReason {} impl State for SetReason { - type IsRead = S::IsRead; type Uri = S::Uri; type Cid = S::Cid; type IndexedAt = S::IndexedAt; type Author = S::Author; type Reason = Set; + type IsRead = S::IsRead; + } + ///State transition - sets the `is_read` field to Set + pub struct SetIsRead(PhantomData S>); + impl sealed::Sealed for SetIsRead {} + impl State for SetIsRead { + type Uri = S::Uri; + type Cid = S::Cid; + type IndexedAt = S::IndexedAt; + type Author = S::Author; + type Reason = S::Reason; + type IsRead = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `is_read` field - pub struct is_read(()); ///Marker type for the `uri` field pub struct uri(()); ///Marker type for the `cid` field @@ -151,6 +149,8 @@ pub mod notification_state { pub struct author(()); ///Marker type for the `reason` field pub struct reason(()); + ///Marker type for the `is_read` field + pub struct is_read(()); } } @@ -343,12 +343,12 @@ where impl<'a, S> NotificationBuilder<'a, S> where S: notification_state::State, - S::IsRead: notification_state::IsSet, S::Uri: notification_state::IsSet, S::Cid: notification_state::IsSet, S::IndexedAt: notification_state::IsSet, S::Author: notification_state::IsSet, S::Reason: notification_state::IsSet, + S::IsRead: notification_state::IsSet, { /// Build the final struct pub fn build(self) -> Notification<'a> { @@ -368,7 +368,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Notification<'a> { @@ -397,7 +397,7 @@ fn lexicon_doc_sh_weaver_notification_defs() -> ::jacquard_lexicon::lexicon::Lex defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("notification"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("notification"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -406,12 +406,12 @@ fn lexicon_doc_sh_weaver_notification_defs() -> ::jacquard_lexicon::lexicon::Lex ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("cid"), - ::jacquard_common::smol_str::SmolStr::new_static("author"), - ::jacquard_common::smol_str::SmolStr::new_static("reason"), - ::jacquard_common::smol_str::SmolStr::new_static("isRead"), - ::jacquard_common::smol_str::SmolStr::new_static("indexedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("reason"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("isRead"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("indexedAt") ], ), nullable: None, @@ -419,7 +419,9 @@ fn lexicon_doc_sh_weaver_notification_defs() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "author", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -428,7 +430,9 @@ fn lexicon_doc_sh_weaver_notification_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -445,7 +449,7 @@ fn lexicon_doc_sh_weaver_notification_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "indexedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -464,7 +468,9 @@ fn lexicon_doc_sh_weaver_notification_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("isRead"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "isRead", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -472,7 +478,9 @@ fn lexicon_doc_sh_weaver_notification_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reason"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reason", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -481,7 +489,7 @@ fn lexicon_doc_sh_weaver_notification_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "reasonSubject", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -504,13 +512,17 @@ fn lexicon_doc_sh_weaver_notification_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("record"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "record", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -531,7 +543,9 @@ fn lexicon_doc_sh_weaver_notification_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("notificationGroup"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "notificationGroup", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -540,11 +554,11 @@ fn lexicon_doc_sh_weaver_notification_defs() -> ::jacquard_lexicon::lexicon::Lex ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("reason"), - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("count"), - ::jacquard_common::smol_str::SmolStr::new_static("actors"), - ::jacquard_common::smol_str::SmolStr::new_static("mostRecentAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("reason"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("count"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("actors"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("mostRecentAt") ], ), nullable: None, @@ -552,7 +566,9 @@ fn lexicon_doc_sh_weaver_notification_defs() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("actors"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "actors", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -570,7 +586,9 @@ fn lexicon_doc_sh_weaver_notification_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("count"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "count", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -581,7 +599,9 @@ fn lexicon_doc_sh_weaver_notification_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("isRead"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "isRead", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -589,7 +609,7 @@ fn lexicon_doc_sh_weaver_notification_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mostRecentAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -608,7 +628,9 @@ fn lexicon_doc_sh_weaver_notification_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reason"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reason", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -617,7 +639,9 @@ fn lexicon_doc_sh_weaver_notification_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -632,7 +656,9 @@ fn lexicon_doc_sh_weaver_notification_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("notificationReason"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "notificationReason", + ), ::jacquard_lexicon::lexicon::LexUserType::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -651,7 +677,7 @@ fn lexicon_doc_sh_weaver_notification_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subscriptionUpdateView", ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { @@ -662,9 +688,9 @@ fn lexicon_doc_sh_weaver_notification_defs() -> ::jacquard_lexicon::lexicon::Lex ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("notebook"), - ::jacquard_common::smol_str::SmolStr::new_static("newEntries"), - ::jacquard_common::smol_str::SmolStr::new_static("updatedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("notebook"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("newEntries"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("updatedAt") ], ), nullable: None, @@ -672,7 +698,7 @@ fn lexicon_doc_sh_weaver_notification_defs() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "newEntries", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -692,7 +718,9 @@ fn lexicon_doc_sh_weaver_notification_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("notebook"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "notebook", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -701,7 +729,7 @@ fn lexicon_doc_sh_weaver_notification_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -720,7 +748,7 @@ fn lexicon_doc_sh_weaver_notification_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedEntries", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -801,85 +829,85 @@ pub mod notification_group_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Reason; - type Actors; + type MostRecentAt; type Subject; + type Reason; type Count; - type MostRecentAt; + type Actors; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Reason = Unset; - type Actors = Unset; + type MostRecentAt = Unset; type Subject = Unset; + type Reason = Unset; type Count = Unset; - type MostRecentAt = Unset; + type Actors = Unset; } - ///State transition - sets the `reason` field to Set - pub struct SetReason(PhantomData S>); - impl sealed::Sealed for SetReason {} - impl State for SetReason { - type Reason = Set; - type Actors = S::Actors; + ///State transition - sets the `most_recent_at` field to Set + pub struct SetMostRecentAt(PhantomData S>); + impl sealed::Sealed for SetMostRecentAt {} + impl State for SetMostRecentAt { + type MostRecentAt = Set; type Subject = S::Subject; - type Count = S::Count; - type MostRecentAt = S::MostRecentAt; - } - ///State transition - sets the `actors` field to Set - pub struct SetActors(PhantomData S>); - impl sealed::Sealed for SetActors {} - impl State for SetActors { type Reason = S::Reason; - type Actors = Set; - type Subject = S::Subject; type Count = S::Count; - type MostRecentAt = S::MostRecentAt; + type Actors = S::Actors; } ///State transition - sets the `subject` field to Set pub struct SetSubject(PhantomData S>); impl sealed::Sealed for SetSubject {} impl State for SetSubject { - type Reason = S::Reason; - type Actors = S::Actors; + type MostRecentAt = S::MostRecentAt; type Subject = Set; + type Reason = S::Reason; type Count = S::Count; + type Actors = S::Actors; + } + ///State transition - sets the `reason` field to Set + pub struct SetReason(PhantomData S>); + impl sealed::Sealed for SetReason {} + impl State for SetReason { type MostRecentAt = S::MostRecentAt; + type Subject = S::Subject; + type Reason = Set; + type Count = S::Count; + type Actors = S::Actors; } ///State transition - sets the `count` field to Set pub struct SetCount(PhantomData S>); impl sealed::Sealed for SetCount {} impl State for SetCount { - type Reason = S::Reason; - type Actors = S::Actors; - type Subject = S::Subject; - type Count = Set; type MostRecentAt = S::MostRecentAt; - } - ///State transition - sets the `most_recent_at` field to Set - pub struct SetMostRecentAt(PhantomData S>); - impl sealed::Sealed for SetMostRecentAt {} - impl State for SetMostRecentAt { + type Subject = S::Subject; type Reason = S::Reason; + type Count = Set; type Actors = S::Actors; + } + ///State transition - sets the `actors` field to Set + pub struct SetActors(PhantomData S>); + impl sealed::Sealed for SetActors {} + impl State for SetActors { + type MostRecentAt = S::MostRecentAt; type Subject = S::Subject; + type Reason = S::Reason; type Count = S::Count; - type MostRecentAt = Set; + type Actors = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `reason` field - pub struct reason(()); - ///Marker type for the `actors` field - pub struct actors(()); + ///Marker type for the `most_recent_at` field + pub struct most_recent_at(()); ///Marker type for the `subject` field pub struct subject(()); + ///Marker type for the `reason` field + pub struct reason(()); ///Marker type for the `count` field pub struct count(()); - ///Marker type for the `most_recent_at` field - pub struct most_recent_at(()); + ///Marker type for the `actors` field + pub struct actors(()); } } @@ -1026,11 +1054,11 @@ where impl<'a, S> NotificationGroupBuilder<'a, S> where S: notification_group_state::State, - S::Reason: notification_group_state::IsSet, - S::Actors: notification_group_state::IsSet, + S::MostRecentAt: notification_group_state::IsSet, S::Subject: notification_group_state::IsSet, + S::Reason: notification_group_state::IsSet, S::Count: notification_group_state::IsSet, - S::MostRecentAt: notification_group_state::IsSet, + S::Actors: notification_group_state::IsSet, { /// Build the final struct pub fn build(self) -> NotificationGroup<'a> { @@ -1048,7 +1076,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> NotificationGroup<'a> { @@ -1479,7 +1507,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> SubscriptionUpdateView<'a> { 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 5dc1198db..a8c506096 100644 --- a/crates/jacquard-api/src/sh_weaver/notification/update_seen.rs +++ b/crates/jacquard-api/src/sh_weaver/notification/update_seen.rs @@ -114,7 +114,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> UpdateSeen<'a> { diff --git a/crates/jacquard-api/src/sh_weaver/publish/blob.rs b/crates/jacquard-api/src/sh_weaver/publish/blob.rs index b122ec28f..55be34537 100644 --- a/crates/jacquard-api/src/sh_weaver/publish/blob.rs +++ b/crates/jacquard-api/src/sh_weaver/publish/blob.rs @@ -36,37 +36,37 @@ pub mod blob_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Path; type Upload; + type Path; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Path = Unset; type Upload = Unset; - } - ///State transition - sets the `path` field to Set - pub struct SetPath(PhantomData S>); - impl sealed::Sealed for SetPath {} - impl State for SetPath { - type Path = Set; - type Upload = S::Upload; + type Path = Unset; } ///State transition - sets the `upload` field to Set pub struct SetUpload(PhantomData S>); impl sealed::Sealed for SetUpload {} impl State for SetUpload { - type Path = S::Path; type Upload = Set; + type Path = S::Path; + } + ///State transition - sets the `path` field to Set + pub struct SetPath(PhantomData S>); + impl sealed::Sealed for SetPath {} + impl State for SetPath { + type Upload = S::Upload; + type Path = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `path` field - pub struct path(()); ///Marker type for the `upload` field pub struct upload(()); + ///Marker type for the `path` field + pub struct path(()); } } @@ -139,8 +139,8 @@ where impl<'a, S> BlobBuilder<'a, S> where S: blob_state::State, - S::Path: blob_state::IsSet, S::Upload: blob_state::IsSet, + S::Path: blob_state::IsSet, { /// Build the final struct pub fn build(self) -> Blob<'a> { @@ -154,7 +154,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Blob<'a> { @@ -268,7 +268,7 @@ fn lexicon_doc_sh_weaver_publish_blob() -> ::jacquard_lexicon::lexicon::LexiconD defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -280,8 +280,8 @@ fn lexicon_doc_sh_weaver_publish_blob() -> ::jacquard_lexicon::lexicon::LexiconD description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("upload"), - ::jacquard_common::smol_str::SmolStr::new_static("path") + ::jacquard_common::deps::smol_str::SmolStr::new_static("upload"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("path") ], ), nullable: None, @@ -289,7 +289,9 @@ fn lexicon_doc_sh_weaver_publish_blob() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("path"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "path", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -308,7 +310,9 @@ fn lexicon_doc_sh_weaver_publish_blob() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("upload"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "upload", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, diff --git a/crates/jacquard-api/src/site_standard/document.rs b/crates/jacquard-api/src/site_standard/document.rs index 686d6d33c..eeff46211 100644 --- a/crates/jacquard-api/src/site_standard/document.rs +++ b/crates/jacquard-api/src/site_standard/document.rs @@ -70,49 +70,49 @@ pub mod document_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Site; type Title; + type Site; type PublishedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Site = Unset; type Title = Unset; + type Site = Unset; type PublishedAt = Unset; } - ///State transition - sets the `site` field to Set - pub struct SetSite(PhantomData S>); - impl sealed::Sealed for SetSite {} - impl State for SetSite { - type Site = Set; - type Title = S::Title; - type PublishedAt = S::PublishedAt; - } ///State transition - sets the `title` field to Set pub struct SetTitle(PhantomData S>); impl sealed::Sealed for SetTitle {} impl State for SetTitle { - type Site = S::Site; type Title = Set; + type Site = S::Site; + type PublishedAt = S::PublishedAt; + } + ///State transition - sets the `site` field to Set + pub struct SetSite(PhantomData S>); + impl sealed::Sealed for SetSite {} + impl State for SetSite { + type Title = S::Title; + type Site = Set; type PublishedAt = S::PublishedAt; } ///State transition - sets the `published_at` field to Set pub struct SetPublishedAt(PhantomData S>); impl sealed::Sealed for SetPublishedAt {} impl State for SetPublishedAt { - type Site = S::Site; type Title = S::Title; + type Site = S::Site; type PublishedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `site` field - pub struct site(()); ///Marker type for the `title` field pub struct title(()); + ///Marker type for the `site` field + pub struct site(()); ///Marker type for the `published_at` field pub struct published_at(()); } @@ -418,8 +418,8 @@ impl<'a, S: document_state::State> DocumentBuilder<'a, S> { impl<'a, S> DocumentBuilder<'a, S> where S: document_state::State, - S::Site: document_state::IsSet, S::Title: document_state::IsSet, + S::Site: document_state::IsSet, S::PublishedAt: document_state::IsSet, { /// Build the final struct @@ -445,7 +445,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Document<'a> { @@ -556,7 +556,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Document<'a> { } if let Some(ref value) = self.description { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -588,7 +588,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Document<'a> { { let value = &self.title; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -619,7 +619,7 @@ fn lexicon_doc_site_standard_document() -> ::jacquard_lexicon::lexicon::LexiconD defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -627,9 +627,9 @@ fn lexicon_doc_site_standard_document() -> ::jacquard_lexicon::lexicon::LexiconD description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("site"), - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("publishedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("site"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("publishedAt") ], ), nullable: None, @@ -637,7 +637,7 @@ fn lexicon_doc_site_standard_document() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "bskyPostRef", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -648,7 +648,9 @@ fn lexicon_doc_site_standard_document() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "content", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -658,7 +660,7 @@ fn lexicon_doc_site_standard_document() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "coverImage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { @@ -668,7 +670,7 @@ fn lexicon_doc_site_standard_document() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -685,7 +687,9 @@ fn lexicon_doc_site_standard_document() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("path"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "path", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -704,7 +708,7 @@ fn lexicon_doc_site_standard_document() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "preferences", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -716,7 +720,7 @@ fn lexicon_doc_site_standard_document() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publishedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -735,7 +739,9 @@ fn lexicon_doc_site_standard_document() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("site"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "site", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -756,7 +762,9 @@ fn lexicon_doc_site_standard_document() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tags", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::String(::jacquard_lexicon::lexicon::LexString { @@ -776,7 +784,7 @@ fn lexicon_doc_site_standard_document() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "textContent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -793,7 +801,9 @@ fn lexicon_doc_site_standard_document() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("theme"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "theme", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -802,7 +812,9 @@ fn lexicon_doc_site_standard_document() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -817,7 +829,7 @@ fn lexicon_doc_site_standard_document() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/site_standard/graph/subscription.rs b/crates/jacquard-api/src/site_standard/graph/subscription.rs index 909f4a7fc..2480903c3 100644 --- a/crates/jacquard-api/src/site_standard/graph/subscription.rs +++ b/crates/jacquard-api/src/site_standard/graph/subscription.rs @@ -116,7 +116,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Subscription<'a> { @@ -216,7 +216,7 @@ fn lexicon_doc_site_standard_graph_subscription() -> ::jacquard_lexicon::lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -228,7 +228,7 @@ fn lexicon_doc_site_standard_graph_subscription() -> ::jacquard_lexicon::lexicon description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("publication") + ::jacquard_common::deps::smol_str::SmolStr::new_static("publication") ], ), nullable: None, @@ -236,7 +236,7 @@ fn lexicon_doc_site_standard_graph_subscription() -> ::jacquard_lexicon::lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publication", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/site_standard/publication.rs b/crates/jacquard-api/src/site_standard/publication.rs index 588f02127..9d99e48b2 100644 --- a/crates/jacquard-api/src/site_standard/publication.rs +++ b/crates/jacquard-api/src/site_standard/publication.rs @@ -273,7 +273,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Publication<'a> { @@ -378,7 +378,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Publication<'a> { } if let Some(ref value) = self.description { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -410,7 +410,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Publication<'a> { { let value = &self.name; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -441,7 +441,7 @@ fn lexicon_doc_site_standard_publication() -> ::jacquard_lexicon::lexicon::Lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -449,8 +449,8 @@ fn lexicon_doc_site_standard_publication() -> ::jacquard_lexicon::lexicon::Lexic description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("url"), - ::jacquard_common::smol_str::SmolStr::new_static("name") + ::jacquard_common::deps::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("name") ], ), nullable: None, @@ -458,7 +458,7 @@ fn lexicon_doc_site_standard_publication() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "basicTheme", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -469,7 +469,7 @@ fn lexicon_doc_site_standard_publication() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -486,7 +486,9 @@ fn lexicon_doc_site_standard_publication() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("icon"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "icon", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -494,7 +496,9 @@ fn lexicon_doc_site_standard_publication() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -509,7 +513,7 @@ fn lexicon_doc_site_standard_publication() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "preferences", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -518,7 +522,9 @@ fn lexicon_doc_site_standard_publication() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("theme"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "theme", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -528,7 +534,9 @@ fn lexicon_doc_site_standard_publication() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -550,7 +558,7 @@ fn lexicon_doc_site_standard_publication() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("preferences"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("preferences"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -559,7 +567,7 @@ fn lexicon_doc_site_standard_publication() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "showComments", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -569,7 +577,7 @@ fn lexicon_doc_site_standard_publication() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "showInDiscover", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -579,7 +587,7 @@ fn lexicon_doc_site_standard_publication() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "showMentions", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -589,7 +597,7 @@ fn lexicon_doc_site_standard_publication() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "showPrevNext", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -599,7 +607,7 @@ fn lexicon_doc_site_standard_publication() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "showRecommends", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { diff --git a/crates/jacquard-api/src/site_standard/theme/basic.rs b/crates/jacquard-api/src/site_standard/theme/basic.rs index 9fc76f375..1f51acd00 100644 --- a/crates/jacquard-api/src/site_standard/theme/basic.rs +++ b/crates/jacquard-api/src/site_standard/theme/basic.rs @@ -38,66 +38,66 @@ pub mod basic_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Background; - type Accent; type Foreground; type AccentForeground; + type Accent; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Background = Unset; - type Accent = Unset; type Foreground = Unset; type AccentForeground = Unset; + type Accent = Unset; } ///State transition - sets the `background` field to Set pub struct SetBackground(PhantomData S>); impl sealed::Sealed for SetBackground {} impl State for SetBackground { type Background = Set; - type Accent = S::Accent; - type Foreground = S::Foreground; - type AccentForeground = S::AccentForeground; - } - ///State transition - sets the `accent` field to Set - pub struct SetAccent(PhantomData S>); - impl sealed::Sealed for SetAccent {} - impl State for SetAccent { - type Background = S::Background; - type Accent = Set; type Foreground = S::Foreground; type AccentForeground = S::AccentForeground; + type Accent = S::Accent; } ///State transition - sets the `foreground` field to Set pub struct SetForeground(PhantomData S>); impl sealed::Sealed for SetForeground {} impl State for SetForeground { type Background = S::Background; - type Accent = S::Accent; type Foreground = Set; type AccentForeground = S::AccentForeground; + type Accent = S::Accent; } ///State transition - sets the `accent_foreground` field to Set pub struct SetAccentForeground(PhantomData S>); impl sealed::Sealed for SetAccentForeground {} impl State for SetAccentForeground { type Background = S::Background; - type Accent = S::Accent; type Foreground = S::Foreground; type AccentForeground = Set; + type Accent = S::Accent; + } + ///State transition - sets the `accent` field to Set + pub struct SetAccent(PhantomData S>); + impl sealed::Sealed for SetAccent {} + impl State for SetAccent { + type Background = S::Background; + type Foreground = S::Foreground; + type AccentForeground = S::AccentForeground; + type Accent = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `background` field pub struct background(()); - ///Marker type for the `accent` field - pub struct accent(()); ///Marker type for the `foreground` field pub struct foreground(()); ///Marker type for the `accent_foreground` field pub struct accent_foreground(()); + ///Marker type for the `accent` field + pub struct accent(()); } } @@ -211,9 +211,9 @@ impl<'a, S> BasicBuilder<'a, S> where S: basic_state::State, S::Background: basic_state::IsSet, - S::Accent: basic_state::IsSet, S::Foreground: basic_state::IsSet, S::AccentForeground: basic_state::IsSet, + S::Accent: basic_state::IsSet, { /// Build the final struct pub fn build(self) -> Basic<'a> { @@ -229,7 +229,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Basic<'a> { @@ -254,15 +254,15 @@ fn lexicon_doc_site_standard_theme_basic() -> ::jacquard_lexicon::lexicon::Lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("background"), - ::jacquard_common::smol_str::SmolStr::new_static("foreground"), - ::jacquard_common::smol_str::SmolStr::new_static("accent"), - ::jacquard_common::smol_str::SmolStr::new_static("accentForeground") + ::jacquard_common::deps::smol_str::SmolStr::new_static("background"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("foreground"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("accent"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("accentForeground") ], ), nullable: None, @@ -270,7 +270,9 @@ fn lexicon_doc_site_standard_theme_basic() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("accent"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "accent", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -280,7 +282,7 @@ fn lexicon_doc_site_standard_theme_basic() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accentForeground", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -292,7 +294,7 @@ fn lexicon_doc_site_standard_theme_basic() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "background", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -304,7 +306,7 @@ fn lexicon_doc_site_standard_theme_basic() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "foreground", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { diff --git a/crates/jacquard-api/src/site_standard/theme/color.rs b/crates/jacquard-api/src/site_standard/theme/color.rs index 9be3b0781..11acd18cc 100644 --- a/crates/jacquard-api/src/site_standard/theme/color.rs +++ b/crates/jacquard-api/src/site_standard/theme/color.rs @@ -177,7 +177,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Rgb<'a> { @@ -201,14 +201,14 @@ fn lexicon_doc_site_standard_theme_color() -> ::jacquard_lexicon::lexicon::Lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rgb"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("rgb"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("r"), - ::jacquard_common::smol_str::SmolStr::new_static("g"), - ::jacquard_common::smol_str::SmolStr::new_static("b") + ::jacquard_common::deps::smol_str::SmolStr::new_static("r"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("g"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("b") ], ), nullable: None, @@ -216,7 +216,7 @@ fn lexicon_doc_site_standard_theme_color() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("b"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("b"), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -227,7 +227,7 @@ fn lexicon_doc_site_standard_theme_color() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("g"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("g"), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -238,7 +238,7 @@ fn lexicon_doc_site_standard_theme_color() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("r"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("r"), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -253,15 +253,15 @@ fn lexicon_doc_site_standard_theme_color() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rgba"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("rgba"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("r"), - ::jacquard_common::smol_str::SmolStr::new_static("g"), - ::jacquard_common::smol_str::SmolStr::new_static("b"), - ::jacquard_common::smol_str::SmolStr::new_static("a") + ::jacquard_common::deps::smol_str::SmolStr::new_static("r"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("g"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("b"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("a") ], ), nullable: None, @@ -269,7 +269,7 @@ fn lexicon_doc_site_standard_theme_color() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("a"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("a"), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -280,7 +280,7 @@ fn lexicon_doc_site_standard_theme_color() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("b"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("b"), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -291,7 +291,7 @@ fn lexicon_doc_site_standard_theme_color() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("g"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("g"), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -302,7 +302,7 @@ fn lexicon_doc_site_standard_theme_color() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("r"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("r"), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -438,67 +438,67 @@ pub mod rgba_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type R; - type A; - type B; type G; + type B; + type A; + type R; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type R = Unset; - type A = Unset; - type B = Unset; type G = Unset; + type B = Unset; + type A = Unset; + type R = Unset; } - ///State transition - sets the `r` field to Set - pub struct SetR(PhantomData S>); - impl sealed::Sealed for SetR {} - impl State for SetR { - type R = Set; - type A = S::A; + ///State transition - sets the `g` field to Set + pub struct SetG(PhantomData S>); + impl sealed::Sealed for SetG {} + impl State for SetG { + type G = Set; type B = S::B; - type G = S::G; - } - ///State transition - sets the `a` field to Set - pub struct SetA(PhantomData S>); - impl sealed::Sealed for SetA {} - impl State for SetA { + type A = S::A; type R = S::R; - type A = Set; - type B = S::B; - type G = S::G; } ///State transition - sets the `b` field to Set pub struct SetB(PhantomData S>); impl sealed::Sealed for SetB {} impl State for SetB { - type R = S::R; - type A = S::A; - type B = Set; type G = S::G; + type B = Set; + type A = S::A; + type R = S::R; } - ///State transition - sets the `g` field to Set - pub struct SetG(PhantomData S>); - impl sealed::Sealed for SetG {} - impl State for SetG { + ///State transition - sets the `a` field to Set + pub struct SetA(PhantomData S>); + impl sealed::Sealed for SetA {} + impl State for SetA { + type G = S::G; + type B = S::B; + type A = Set; type R = S::R; - type A = S::A; + } + ///State transition - sets the `r` field to Set + pub struct SetR(PhantomData S>); + impl sealed::Sealed for SetR {} + impl State for SetR { + type G = S::G; type B = S::B; - type G = Set; + type A = S::A; + type R = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `r` field - pub struct r(()); - ///Marker type for the `a` field - pub struct a(()); - ///Marker type for the `b` field - pub struct b(()); ///Marker type for the `g` field pub struct g(()); + ///Marker type for the `b` field + pub struct b(()); + ///Marker type for the `a` field + pub struct a(()); + ///Marker type for the `r` field + pub struct r(()); } } @@ -599,10 +599,10 @@ where impl<'a, S> RgbaBuilder<'a, S> where S: rgba_state::State, - S::R: rgba_state::IsSet, - S::A: rgba_state::IsSet, - S::B: rgba_state::IsSet, S::G: rgba_state::IsSet, + S::B: rgba_state::IsSet, + S::A: rgba_state::IsSet, + S::R: rgba_state::IsSet, { /// Build the final struct pub fn build(self) -> Rgba<'a> { @@ -618,7 +618,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Rgba<'a> { diff --git a/crates/jacquard-api/src/social_clippr/actor.rs b/crates/jacquard-api/src/social_clippr/actor.rs index 80b0e31c6..ff1f8ff90 100644 --- a/crates/jacquard-api/src/social_clippr/actor.rs +++ b/crates/jacquard-api/src/social_clippr/actor.rs @@ -77,49 +77,49 @@ pub mod profile_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Did; type Handle; + type Did; type DisplayName; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Did = Unset; type Handle = Unset; + type Did = Unset; type DisplayName = Unset; } - ///State transition - sets the `did` field to Set - pub struct SetDid(PhantomData S>); - impl sealed::Sealed for SetDid {} - impl State for SetDid { - type Did = Set; - type Handle = S::Handle; - type DisplayName = S::DisplayName; - } ///State transition - sets the `handle` field to Set pub struct SetHandle(PhantomData S>); impl sealed::Sealed for SetHandle {} impl State for SetHandle { - type Did = S::Did; type Handle = Set; + type Did = S::Did; + type DisplayName = S::DisplayName; + } + ///State transition - sets the `did` field to Set + pub struct SetDid(PhantomData S>); + impl sealed::Sealed for SetDid {} + impl State for SetDid { + type Handle = S::Handle; + type Did = Set; type DisplayName = S::DisplayName; } ///State transition - sets the `display_name` field to Set pub struct SetDisplayName(PhantomData S>); impl sealed::Sealed for SetDisplayName {} impl State for SetDisplayName { - type Did = S::Did; type Handle = S::Handle; + type Did = S::Did; type DisplayName = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `did` field - pub struct did(()); ///Marker type for the `handle` field pub struct handle(()); + ///Marker type for the `did` field + pub struct did(()); ///Marker type for the `display_name` field pub struct display_name(()); } @@ -274,8 +274,8 @@ where impl<'a, S> ProfileViewBuilder<'a, S> where S: profile_view_state::State, - S::Did: profile_view_state::IsSet, S::Handle: profile_view_state::IsSet, + S::Did: profile_view_state::IsSet, S::DisplayName: profile_view_state::IsSet, { /// Build the final struct @@ -294,7 +294,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ProfileView<'a> { @@ -321,7 +321,7 @@ fn lexicon_doc_social_clippr_actor_defs() -> ::jacquard_lexicon::lexicon::Lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("preferences"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("preferences"), ::jacquard_lexicon::lexicon::LexUserType::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -336,7 +336,7 @@ fn lexicon_doc_social_clippr_actor_defs() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("profileView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("profileView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -345,9 +345,9 @@ fn lexicon_doc_social_clippr_actor_defs() -> ::jacquard_lexicon::lexicon::Lexico ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("did"), - ::jacquard_common::smol_str::SmolStr::new_static("handle"), - ::jacquard_common::smol_str::SmolStr::new_static("displayName") + ::jacquard_common::deps::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("handle"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("displayName") ], ), nullable: None, @@ -355,7 +355,9 @@ fn lexicon_doc_social_clippr_actor_defs() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("avatar"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "avatar", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -376,7 +378,7 @@ fn lexicon_doc_social_clippr_actor_defs() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -399,7 +401,7 @@ fn lexicon_doc_social_clippr_actor_defs() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -420,7 +422,9 @@ fn lexicon_doc_social_clippr_actor_defs() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -441,7 +445,7 @@ fn lexicon_doc_social_clippr_actor_defs() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "displayName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -462,7 +466,9 @@ fn lexicon_doc_social_clippr_actor_defs() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("handle"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "handle", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -487,7 +493,9 @@ fn lexicon_doc_social_clippr_actor_defs() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("publishingScopesPref"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "publishingScopesPref", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -496,7 +504,7 @@ fn lexicon_doc_social_clippr_actor_defs() -> ::jacquard_lexicon::lexicon::Lexico ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("defaultScope") + ::jacquard_common::deps::smol_str::SmolStr::new_static("defaultScope") ], ), nullable: None, @@ -504,7 +512,7 @@ fn lexicon_doc_social_clippr_actor_defs() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "defaultScope", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -560,7 +568,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ProfileView<'a> { } if let Some(ref value) = self.description { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -592,7 +600,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ProfileView<'a> { { let value = &self.display_name; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) diff --git a/crates/jacquard-api/src/social_clippr/actor/profile.rs b/crates/jacquard-api/src/social_clippr/actor/profile.rs index 26e5cd5d0..866fa3402 100644 --- a/crates/jacquard-api/src/social_clippr/actor/profile.rs +++ b/crates/jacquard-api/src/social_clippr/actor/profile.rs @@ -43,37 +43,37 @@ pub mod profile_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type DisplayName; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type DisplayName = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type DisplayName = S::DisplayName; + type CreatedAt = Unset; } ///State transition - sets the `display_name` field to Set pub struct SetDisplayName(PhantomData S>); impl sealed::Sealed for SetDisplayName {} impl State for SetDisplayName { - type CreatedAt = S::CreatedAt; type DisplayName = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type DisplayName = S::DisplayName; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `display_name` field pub struct display_name(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -186,8 +186,8 @@ where impl<'a, S> ProfileBuilder<'a, S> where S: profile_state::State, - S::CreatedAt: profile_state::IsSet, S::DisplayName: profile_state::IsSet, + S::CreatedAt: profile_state::IsSet, { /// Build the final struct pub fn build(self) -> Profile<'a> { @@ -203,7 +203,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Profile<'a> { @@ -305,7 +305,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Profile<'a> { } if let Some(ref value) = self.description { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -337,7 +337,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Profile<'a> { { let value = &self.display_name; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -368,7 +368,7 @@ fn lexicon_doc_social_clippr_actor_profile() -> ::jacquard_lexicon::lexicon::Lex defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -380,8 +380,8 @@ fn lexicon_doc_social_clippr_actor_profile() -> ::jacquard_lexicon::lexicon::Lex description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("createdAt"), - ::jacquard_common::smol_str::SmolStr::new_static("displayName") + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("displayName") ], ), nullable: None, @@ -389,7 +389,9 @@ fn lexicon_doc_social_clippr_actor_profile() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("avatar"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "avatar", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -397,7 +399,7 @@ fn lexicon_doc_social_clippr_actor_profile() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -420,7 +422,7 @@ fn lexicon_doc_social_clippr_actor_profile() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -441,7 +443,7 @@ fn lexicon_doc_social_clippr_actor_profile() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "displayName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { 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 f218660f9..1c735b4fc 100644 --- a/crates/jacquard-api/src/social_clippr/actor/put_preferences.rs +++ b/crates/jacquard-api/src/social_clippr/actor/put_preferences.rs @@ -116,7 +116,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> PutPreferences<'a> { diff --git a/crates/jacquard-api/src/social_clippr/feed.rs b/crates/jacquard-api/src/social_clippr/feed.rs index 5167af339..101b5fed9 100644 --- a/crates/jacquard-api/src/social_clippr/feed.rs +++ b/crates/jacquard-api/src/social_clippr/feed.rs @@ -53,84 +53,84 @@ pub mod clip_view_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type IndexedAt; + type Record; type Cid; type Author; type Uri; - type Record; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type IndexedAt = Unset; + type Record = Unset; type Cid = Unset; type Author = Unset; type Uri = Unset; - type Record = Unset; } ///State transition - sets the `indexed_at` field to Set pub struct SetIndexedAt(PhantomData S>); impl sealed::Sealed for SetIndexedAt {} impl State for SetIndexedAt { type IndexedAt = Set; + type Record = S::Record; + type Cid = S::Cid; + type Author = S::Author; + type Uri = S::Uri; + } + ///State transition - sets the `record` field to Set + pub struct SetRecord(PhantomData S>); + impl sealed::Sealed for SetRecord {} + impl State for SetRecord { + type IndexedAt = S::IndexedAt; + type Record = Set; type Cid = S::Cid; type Author = S::Author; type Uri = S::Uri; - type Record = S::Record; } ///State transition - sets the `cid` field to Set pub struct SetCid(PhantomData S>); impl sealed::Sealed for SetCid {} impl State for SetCid { type IndexedAt = S::IndexedAt; + type Record = S::Record; type Cid = Set; type Author = S::Author; type Uri = S::Uri; - type Record = S::Record; } ///State transition - sets the `author` field to Set pub struct SetAuthor(PhantomData S>); impl sealed::Sealed for SetAuthor {} impl State for SetAuthor { type IndexedAt = S::IndexedAt; + type Record = S::Record; type Cid = S::Cid; type Author = Set; type Uri = S::Uri; - type Record = S::Record; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { type IndexedAt = S::IndexedAt; - type Cid = S::Cid; - type Author = S::Author; - type Uri = Set; type Record = S::Record; - } - ///State transition - sets the `record` field to Set - pub struct SetRecord(PhantomData S>); - impl sealed::Sealed for SetRecord {} - impl State for SetRecord { - type IndexedAt = S::IndexedAt; type Cid = S::Cid; type Author = S::Author; - type Uri = S::Uri; - type Record = Set; + type Uri = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `indexed_at` field pub struct indexed_at(()); + ///Marker type for the `record` field + pub struct record(()); ///Marker type for the `cid` field pub struct cid(()); ///Marker type for the `author` field pub struct author(()); ///Marker type for the `uri` field pub struct uri(()); - ///Marker type for the `record` field - pub struct record(()); } } @@ -264,10 +264,10 @@ impl<'a, S> ClipViewBuilder<'a, S> where S: clip_view_state::State, S::IndexedAt: clip_view_state::IsSet, + S::Record: clip_view_state::IsSet, S::Cid: clip_view_state::IsSet, S::Author: clip_view_state::IsSet, S::Uri: clip_view_state::IsSet, - S::Record: clip_view_state::IsSet, { /// Build the final struct pub fn build(self) -> ClipView<'a> { @@ -284,7 +284,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ClipView<'a> { @@ -310,7 +310,7 @@ fn lexicon_doc_social_clippr_feed_defs() -> ::jacquard_lexicon::lexicon::Lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("clipView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("clipView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -319,11 +319,11 @@ fn lexicon_doc_social_clippr_feed_defs() -> ::jacquard_lexicon::lexicon::Lexicon ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("cid"), - ::jacquard_common::smol_str::SmolStr::new_static("author"), - ::jacquard_common::smol_str::SmolStr::new_static("record"), - ::jacquard_common::smol_str::SmolStr::new_static("indexedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("record"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("indexedAt") ], ), nullable: None, @@ -331,7 +331,9 @@ fn lexicon_doc_social_clippr_feed_defs() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "author", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -340,7 +342,9 @@ fn lexicon_doc_social_clippr_feed_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("The CID of the clip"), @@ -359,7 +363,7 @@ fn lexicon_doc_social_clippr_feed_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "indexedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -382,13 +386,17 @@ fn lexicon_doc_social_clippr_feed_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("record"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "record", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -413,18 +421,18 @@ fn lexicon_doc_social_clippr_feed_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tagView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("tagView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static("A view of a single tag."), ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("cid"), - ::jacquard_common::smol_str::SmolStr::new_static("author"), - ::jacquard_common::smol_str::SmolStr::new_static("record"), - ::jacquard_common::smol_str::SmolStr::new_static("indexedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("record"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("indexedAt") ], ), nullable: None, @@ -432,7 +440,9 @@ fn lexicon_doc_social_clippr_feed_defs() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "author", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -441,7 +451,9 @@ fn lexicon_doc_social_clippr_feed_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("The CID of the tag"), @@ -460,7 +472,7 @@ fn lexicon_doc_social_clippr_feed_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "indexedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -483,13 +495,17 @@ fn lexicon_doc_social_clippr_feed_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("record"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "record", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -806,7 +822,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> TagView<'a> { diff --git a/crates/jacquard-api/src/social_clippr/feed/clip.rs b/crates/jacquard-api/src/social_clippr/feed/clip.rs index ae71f9b05..f6c30c112 100644 --- a/crates/jacquard-api/src/social_clippr/feed/clip.rs +++ b/crates/jacquard-api/src/social_clippr/feed/clip.rs @@ -59,85 +59,85 @@ pub mod clip_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; + type Url; + type Title; type Unlisted; type Description; - type Title; - type Url; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; + type Url = Unset; + type Title = Unset; type Unlisted = Unset; type Description = Unset; - type Title = Unset; - type Url = Unset; + type CreatedAt = Unset; } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; + ///State transition - sets the `url` field to Set + pub struct SetUrl(PhantomData S>); + impl sealed::Sealed for SetUrl {} + impl State for SetUrl { + type Url = Set; + type Title = S::Title; type Unlisted = S::Unlisted; type Description = S::Description; - type Title = S::Title; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `title` field to Set + pub struct SetTitle(PhantomData S>); + impl sealed::Sealed for SetTitle {} + impl State for SetTitle { type Url = S::Url; + type Title = Set; + type Unlisted = S::Unlisted; + type Description = S::Description; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `unlisted` field to Set pub struct SetUnlisted(PhantomData S>); impl sealed::Sealed for SetUnlisted {} impl State for SetUnlisted { - type CreatedAt = S::CreatedAt; + type Url = S::Url; + type Title = S::Title; type Unlisted = Set; type Description = S::Description; - type Title = S::Title; - type Url = S::Url; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `description` field to Set pub struct SetDescription(PhantomData S>); impl sealed::Sealed for SetDescription {} impl State for SetDescription { - type CreatedAt = S::CreatedAt; + type Url = S::Url; + type Title = S::Title; type Unlisted = S::Unlisted; type Description = Set; - type Title = S::Title; - type Url = S::Url; - } - ///State transition - sets the `title` field to Set - pub struct SetTitle(PhantomData S>); - impl sealed::Sealed for SetTitle {} - impl State for SetTitle { type CreatedAt = S::CreatedAt; - type Unlisted = S::Unlisted; - type Description = S::Description; - type Title = Set; - type Url = S::Url; } - ///State transition - sets the `url` field to Set - pub struct SetUrl(PhantomData S>); - impl sealed::Sealed for SetUrl {} - impl State for SetUrl { - type CreatedAt = S::CreatedAt; + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Url = S::Url; + type Title = S::Title; type Unlisted = S::Unlisted; type Description = S::Description; - type Title = S::Title; - type Url = Set; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); + ///Marker type for the `url` field + pub struct url(()); + ///Marker type for the `title` field + pub struct title(()); ///Marker type for the `unlisted` field pub struct unlisted(()); ///Marker type for the `description` field pub struct description(()); - ///Marker type for the `title` field - pub struct title(()); - ///Marker type for the `url` field - pub struct url(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -353,11 +353,11 @@ where impl<'a, S> ClipBuilder<'a, S> where S: clip_state::State, - S::CreatedAt: clip_state::IsSet, + S::Url: clip_state::IsSet, + S::Title: clip_state::IsSet, S::Unlisted: clip_state::IsSet, S::Description: clip_state::IsSet, - S::Title: clip_state::IsSet, - S::Url: clip_state::IsSet, + S::CreatedAt: clip_state::IsSet, { /// Build the final struct pub fn build(self) -> Clip<'a> { @@ -378,7 +378,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Clip<'a> { @@ -487,7 +487,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Clip<'a> { { let value = &self.description; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -529,7 +529,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Clip<'a> { } if let Some(ref value) = self.notes { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -561,7 +561,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Clip<'a> { { let value = &self.title; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -593,7 +593,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Clip<'a> { { let value = &self.url; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -624,7 +624,7 @@ fn lexicon_doc_social_clippr_feed_clip() -> ::jacquard_lexicon::lexicon::Lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -636,11 +636,11 @@ fn lexicon_doc_social_clippr_feed_clip() -> ::jacquard_lexicon::lexicon::Lexicon description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("url"), - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("description"), - ::jacquard_common::smol_str::SmolStr::new_static("unlisted"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("description"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("unlisted"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -648,7 +648,7 @@ fn lexicon_doc_social_clippr_feed_clip() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -671,7 +671,7 @@ fn lexicon_doc_social_clippr_feed_clip() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -692,7 +692,7 @@ fn lexicon_doc_social_clippr_feed_clip() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "languages", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -720,7 +720,9 @@ fn lexicon_doc_social_clippr_feed_clip() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("notes"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "notes", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -739,7 +741,9 @@ fn lexicon_doc_social_clippr_feed_clip() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tags", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -757,7 +761,9 @@ fn lexicon_doc_social_clippr_feed_clip() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -776,7 +782,7 @@ fn lexicon_doc_social_clippr_feed_clip() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "unlisted", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -786,7 +792,9 @@ fn lexicon_doc_social_clippr_feed_clip() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("unread"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "unread", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -794,7 +802,9 @@ fn lexicon_doc_social_clippr_feed_clip() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/social_clippr/feed/tag.rs b/crates/jacquard-api/src/social_clippr/feed/tag.rs index ff9c59a08..a001b6f8a 100644 --- a/crates/jacquard-api/src/social_clippr/feed/tag.rs +++ b/crates/jacquard-api/src/social_clippr/feed/tag.rs @@ -200,7 +200,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Tag<'a> { @@ -302,7 +302,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Tag<'a> { } if let Some(ref value) = self.color { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -332,7 +332,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Tag<'a> { } if let Some(ref value) = self.description { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -364,7 +364,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Tag<'a> { { let value = &self.name; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -395,7 +395,7 @@ fn lexicon_doc_social_clippr_feed_tag() -> ::jacquard_lexicon::lexicon::LexiconD defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -407,8 +407,8 @@ fn lexicon_doc_social_clippr_feed_tag() -> ::jacquard_lexicon::lexicon::LexiconD description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -416,7 +416,9 @@ fn lexicon_doc_social_clippr_feed_tag() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("color"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "color", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -435,7 +437,7 @@ fn lexicon_doc_social_clippr_feed_tag() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -458,7 +460,7 @@ fn lexicon_doc_social_clippr_feed_tag() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -479,7 +481,9 @@ fn lexicon_doc_social_clippr_feed_tag() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/social_colibri/approval.rs b/crates/jacquard-api/src/social_colibri/approval.rs index 5e951ce85..2d2877614 100644 --- a/crates/jacquard-api/src/social_colibri/approval.rs +++ b/crates/jacquard-api/src/social_colibri/approval.rs @@ -37,50 +37,50 @@ pub mod approval_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Community; - type CreatedAt; type Membership; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Community = Unset; - type CreatedAt = Unset; type Membership = Unset; + type CreatedAt = Unset; } ///State transition - sets the `community` field to Set pub struct SetCommunity(PhantomData S>); impl sealed::Sealed for SetCommunity {} impl State for SetCommunity { type Community = Set; - type CreatedAt = S::CreatedAt; - type Membership = S::Membership; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type Community = S::Community; - type CreatedAt = Set; type Membership = S::Membership; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `membership` field to Set pub struct SetMembership(PhantomData S>); impl sealed::Sealed for SetMembership {} impl State for SetMembership { type Community = S::Community; - type CreatedAt = S::CreatedAt; type Membership = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Community = S::Community; + type Membership = S::Membership; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `community` field pub struct community(()); - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `membership` field pub struct membership(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -174,8 +174,8 @@ impl<'a, S> ApprovalBuilder<'a, S> where S: approval_state::State, S::Community: approval_state::IsSet, - S::CreatedAt: approval_state::IsSet, S::Membership: approval_state::IsSet, + S::CreatedAt: approval_state::IsSet, { /// Build the final struct pub fn build(self) -> Approval<'a> { @@ -190,7 +190,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Approval<'a> { @@ -292,7 +292,7 @@ fn lexicon_doc_social_colibri_approval() -> ::jacquard_lexicon::lexicon::Lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -300,9 +300,9 @@ fn lexicon_doc_social_colibri_approval() -> ::jacquard_lexicon::lexicon::Lexicon description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("membership"), - ::jacquard_common::smol_str::SmolStr::new_static("community"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("membership"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("community"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -310,7 +310,7 @@ fn lexicon_doc_social_colibri_approval() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "community", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -333,7 +333,7 @@ fn lexicon_doc_social_colibri_approval() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -352,7 +352,7 @@ fn lexicon_doc_social_colibri_approval() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "membership", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/social_colibri/membership.rs b/crates/jacquard-api/src/social_colibri/membership.rs index d0363eeed..dd1a8073a 100644 --- a/crates/jacquard-api/src/social_colibri/membership.rs +++ b/crates/jacquard-api/src/social_colibri/membership.rs @@ -33,37 +33,37 @@ pub mod membership_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type Community; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type Community = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Community = S::Community; + type CreatedAt = Unset; } ///State transition - sets the `community` field to Set pub struct SetCommunity(PhantomData S>); impl sealed::Sealed for SetCommunity {} impl State for SetCommunity { - type CreatedAt = S::CreatedAt; type Community = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Community = S::Community; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `community` field pub struct community(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -136,8 +136,8 @@ where impl<'a, S> MembershipBuilder<'a, S> where S: membership_state::State, - S::CreatedAt: membership_state::IsSet, S::Community: membership_state::IsSet, + S::CreatedAt: membership_state::IsSet, { /// Build the final struct pub fn build(self) -> Membership<'a> { @@ -151,7 +151,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Membership<'a> { @@ -252,7 +252,7 @@ fn lexicon_doc_social_colibri_membership() -> ::jacquard_lexicon::lexicon::Lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -260,8 +260,8 @@ fn lexicon_doc_social_colibri_membership() -> ::jacquard_lexicon::lexicon::Lexic description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("community"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("community"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -269,7 +269,7 @@ fn lexicon_doc_social_colibri_membership() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "community", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -292,7 +292,7 @@ fn lexicon_doc_social_colibri_membership() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/social_drydown/fragrance.rs b/crates/jacquard-api/src/social_drydown/fragrance.rs index ec0df6e49..de6b90cec 100644 --- a/crates/jacquard-api/src/social_drydown/fragrance.rs +++ b/crates/jacquard-api/src/social_drydown/fragrance.rs @@ -44,49 +44,49 @@ pub mod fragrance_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Name; type House; + type Name; type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Name = Unset; type House = Unset; + type Name = Unset; type CreatedAt = Unset; } - ///State transition - sets the `name` field to Set - pub struct SetName(PhantomData S>); - impl sealed::Sealed for SetName {} - impl State for SetName { - type Name = Set; - type House = S::House; - type CreatedAt = S::CreatedAt; - } ///State transition - sets the `house` field to Set pub struct SetHouse(PhantomData S>); impl sealed::Sealed for SetHouse {} impl State for SetHouse { - type Name = S::Name; type House = Set; + type Name = S::Name; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `name` field to Set + pub struct SetName(PhantomData S>); + impl sealed::Sealed for SetName {} + impl State for SetName { + type House = S::House; + type Name = Set; type CreatedAt = S::CreatedAt; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Name = S::Name; type House = S::House; + type Name = S::Name; type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `name` field - pub struct name(()); ///Marker type for the `house` field pub struct house(()); + ///Marker type for the `name` field + pub struct name(()); ///Marker type for the `created_at` field pub struct created_at(()); } @@ -215,8 +215,8 @@ impl<'a, S: fragrance_state::State> FragranceBuilder<'a, S> { impl<'a, S> FragranceBuilder<'a, S> where S: fragrance_state::State, - S::Name: fragrance_state::IsSet, S::House: fragrance_state::IsSet, + S::Name: fragrance_state::IsSet, S::CreatedAt: fragrance_state::IsSet, { /// Build the final struct @@ -234,7 +234,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Fragrance<'a> { @@ -386,7 +386,7 @@ fn lexicon_doc_social_drydown_fragrance() -> ::jacquard_lexicon::lexicon::Lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -398,9 +398,9 @@ fn lexicon_doc_social_drydown_fragrance() -> ::jacquard_lexicon::lexicon::Lexico description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("house"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("house"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -408,7 +408,7 @@ fn lexicon_doc_social_drydown_fragrance() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -431,7 +431,9 @@ fn lexicon_doc_social_drydown_fragrance() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("house"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "house", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -452,7 +454,9 @@ fn lexicon_doc_social_drydown_fragrance() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Fragrance name"), @@ -469,7 +473,7 @@ fn lexicon_doc_social_drydown_fragrance() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -492,7 +496,9 @@ fn lexicon_doc_social_drydown_fragrance() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("year"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "year", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, diff --git a/crates/jacquard-api/src/social_drydown/house.rs b/crates/jacquard-api/src/social_drydown/house.rs index c352b68b7..4d695d9ae 100644 --- a/crates/jacquard-api/src/social_drydown/house.rs +++ b/crates/jacquard-api/src/social_drydown/house.rs @@ -38,37 +38,37 @@ pub mod house_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type Name; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type Name = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Name = S::Name; + type CreatedAt = Unset; } ///State transition - sets the `name` field to Set pub struct SetName(PhantomData S>); impl sealed::Sealed for SetName {} impl State for SetName { - type CreatedAt = S::CreatedAt; type Name = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Name = S::Name; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `name` field pub struct name(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -161,8 +161,8 @@ impl<'a, S: house_state::State> HouseBuilder<'a, S> { impl<'a, S> HouseBuilder<'a, S> where S: house_state::State, - S::CreatedAt: house_state::IsSet, S::Name: house_state::IsSet, + S::CreatedAt: house_state::IsSet, { /// Build the final struct pub fn build(self) -> House<'a> { @@ -177,7 +177,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> House<'a> { @@ -305,7 +305,7 @@ fn lexicon_doc_social_drydown_house() -> ::jacquard_lexicon::lexicon::LexiconDoc defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -317,8 +317,8 @@ fn lexicon_doc_social_drydown_house() -> ::jacquard_lexicon::lexicon::LexiconDoc description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -326,7 +326,7 @@ fn lexicon_doc_social_drydown_house() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -349,7 +349,9 @@ fn lexicon_doc_social_drydown_house() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -368,7 +370,7 @@ fn lexicon_doc_social_drydown_house() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/social_drydown/review.rs b/crates/jacquard-api/src/social_drydown/review.rs index 3d714e6b8..8fc6d5b5e 100644 --- a/crates/jacquard-api/src/social_drydown/review.rs +++ b/crates/jacquard-api/src/social_drydown/review.rs @@ -510,7 +510,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Review<'a> { @@ -826,7 +826,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Review<'a> { } if let Some(ref value) = self.text { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -879,7 +879,7 @@ fn lexicon_doc_social_drydown_review() -> ::jacquard_lexicon::lexicon::LexiconDo defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -891,8 +891,8 @@ fn lexicon_doc_social_drydown_review() -> ::jacquard_lexicon::lexicon::LexiconDo description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("fragrance"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("fragrance"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -900,7 +900,7 @@ fn lexicon_doc_social_drydown_review() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "complexity", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -913,7 +913,7 @@ fn lexicon_doc_social_drydown_review() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -936,7 +936,7 @@ fn lexicon_doc_social_drydown_review() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "drydownRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -949,7 +949,7 @@ fn lexicon_doc_social_drydown_review() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "elevation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -962,7 +962,7 @@ fn lexicon_doc_social_drydown_review() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "endRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -975,7 +975,7 @@ fn lexicon_doc_social_drydown_review() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "fragrance", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -998,7 +998,7 @@ fn lexicon_doc_social_drydown_review() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "longevity", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1011,7 +1011,7 @@ fn lexicon_doc_social_drydown_review() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "midProjection", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1024,7 +1024,7 @@ fn lexicon_doc_social_drydown_review() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "openingProjection", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1037,7 +1037,7 @@ fn lexicon_doc_social_drydown_review() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "openingRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1050,7 +1050,7 @@ fn lexicon_doc_social_drydown_review() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "overallRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1063,7 +1063,9 @@ fn lexicon_doc_social_drydown_review() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sillage"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sillage", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -1074,7 +1076,7 @@ fn lexicon_doc_social_drydown_review() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "stage1Temp", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1087,7 +1089,7 @@ fn lexicon_doc_social_drydown_review() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "stage2CompletedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1110,7 +1112,7 @@ fn lexicon_doc_social_drydown_review() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "stage2Temp", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1123,7 +1125,7 @@ fn lexicon_doc_social_drydown_review() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "stage3Temp", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1136,7 +1138,9 @@ fn lexicon_doc_social_drydown_review() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1155,7 +1159,9 @@ fn lexicon_doc_social_drydown_review() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uvIndex"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uvIndex", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -1166,7 +1172,7 @@ fn lexicon_doc_social_drydown_review() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "weatherOptIn", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -1176,7 +1182,7 @@ fn lexicon_doc_social_drydown_review() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "weightedScore", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { diff --git a/crates/jacquard-api/src/social_drydown/settings.rs b/crates/jacquard-api/src/social_drydown/settings.rs index 8394eaf14..a5c66e964 100644 --- a/crates/jacquard-api/src/social_drydown/settings.rs +++ b/crates/jacquard-api/src/social_drydown/settings.rs @@ -234,7 +234,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Settings<'a> { @@ -529,7 +529,7 @@ fn lexicon_doc_social_drydown_settings() -> ::jacquard_lexicon::lexicon::Lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -541,7 +541,7 @@ fn lexicon_doc_social_drydown_settings() -> ::jacquard_lexicon::lexicon::Lexicon description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -549,7 +549,7 @@ fn lexicon_doc_social_drydown_settings() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "complexityPreference", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -562,7 +562,7 @@ fn lexicon_doc_social_drydown_settings() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -585,7 +585,7 @@ fn lexicon_doc_social_drydown_settings() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "longevityPriority", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -598,7 +598,7 @@ fn lexicon_doc_social_drydown_settings() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "presenceStyle", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -611,7 +611,7 @@ fn lexicon_doc_social_drydown_settings() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "scoreLens", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -632,7 +632,7 @@ fn lexicon_doc_social_drydown_settings() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "scoringApproach", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -645,7 +645,7 @@ fn lexicon_doc_social_drydown_settings() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { 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 ca0a634a8..f2ca98cfc 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 @@ -2454,7 +2454,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("embedded"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("embedded"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -2467,7 +2467,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("about"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "about", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2478,7 +2480,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("abstract"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "abstract", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2489,7 +2493,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessMode", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2502,7 +2506,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessModeSufficient", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2515,7 +2519,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityAPI", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2528,7 +2532,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityControl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2541,7 +2545,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityFeature", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2554,7 +2558,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityHazard", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2567,7 +2571,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilitySummary", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2580,7 +2584,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accountablePerson", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2593,7 +2597,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "acquireLicensePage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2607,7 +2611,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "additionalType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2620,7 +2624,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "aggregateRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2633,7 +2637,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternateName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2646,7 +2650,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternativeHeadline", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2659,7 +2663,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "archivedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2673,7 +2677,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "articleBody", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2686,7 +2690,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "articleSection", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2699,7 +2703,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("assembly"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "assembly", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2710,7 +2716,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "assemblyVersion", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2723,7 +2729,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("assesses"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "assesses", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2735,7 +2743,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "associatedMedia", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2748,7 +2756,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("audience"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "audience", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2759,7 +2769,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("audio"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "audio", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2772,7 +2784,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "author", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2784,7 +2798,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "award", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2795,7 +2811,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "awards", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2806,7 +2824,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "backstory", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2820,7 +2838,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "character", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2833,7 +2851,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("citation"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "citation", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2845,7 +2865,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "comment", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2856,7 +2878,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "commentCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2869,7 +2891,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "conditionsOfAccess", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2882,7 +2904,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentLocation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2895,7 +2917,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2909,7 +2931,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentReferenceTime", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2922,7 +2944,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contributor", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2936,7 +2958,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightHolder", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2950,7 +2972,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightNotice", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2963,7 +2985,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightYear", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2976,7 +2998,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "correction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2990,7 +3012,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "countryOfOrigin", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3003,7 +3025,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "creativeWorkStatus", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3017,7 +3039,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("creator"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "creator", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3029,7 +3053,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "creditText", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3042,7 +3066,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dateCreated", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3055,7 +3079,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dateModified", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3068,7 +3092,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "datePublished", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3081,7 +3105,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dependencies", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3094,7 +3118,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3108,7 +3132,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "digitalSourceType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3122,7 +3146,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "disambiguatingDescription", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3135,7 +3159,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "discussionUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3148,7 +3172,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("editEIDR"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "editEIDR", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3159,7 +3185,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("editor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "editor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3170,7 +3198,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalAlignment", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3183,7 +3211,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalLevel", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3197,7 +3225,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalUse", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3211,7 +3239,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("encoding"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "encoding", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3222,7 +3252,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "encodingFormat", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3235,7 +3265,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "encodings", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3248,7 +3278,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "exampleOfWork", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3261,7 +3291,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "executableLibraryName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3274,7 +3304,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("expires"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "expires", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3285,7 +3317,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "fileFormat", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3298,7 +3330,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funder", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3310,7 +3344,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funding", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3321,7 +3357,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("genre"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "genre", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3332,7 +3370,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hasPart"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "hasPart", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3343,7 +3383,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("headline"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "headline", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3354,7 +3396,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "identifier", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3368,7 +3410,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3380,7 +3424,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "inLanguage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3394,7 +3438,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interactionStatistic", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3407,7 +3451,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interactivityType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3420,7 +3464,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interpretedAsClaim", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3433,7 +3477,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isAccessibleForFree", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3446,7 +3490,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isBasedOn", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3461,7 +3505,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isBasedOnUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3476,7 +3520,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isFamilyFriendly", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3489,7 +3533,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("isPartOf"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "isPartOf", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3501,7 +3547,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("keywords"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "keywords", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3513,7 +3561,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "learningResourceType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3527,7 +3575,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("license"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "license", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3539,7 +3589,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "locationCreated", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3552,7 +3602,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntity", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3565,7 +3615,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntityOfPage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3579,7 +3629,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "maintainer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3593,7 +3643,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("material"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "material", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3605,7 +3657,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "materialExtent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3619,7 +3671,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("mentions"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "mentions", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3630,7 +3684,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3641,7 +3697,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("offers"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "offers", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3653,7 +3711,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("pageEnd"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "pageEnd", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3664,7 +3724,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "pageStart", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3677,7 +3737,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "pagination", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3690,7 +3750,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("pattern"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "pattern", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3702,7 +3764,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("position"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "position", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3713,7 +3777,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "potentialAction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3726,7 +3790,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("producer"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "producer", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3738,7 +3804,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "proficiencyLevel", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3751,7 +3817,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "programmingModel", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3764,7 +3830,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("provider"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "provider", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3776,7 +3844,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publication", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3789,7 +3857,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publisher", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3803,7 +3871,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publisherImprint", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3816,7 +3884,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publishingPrinciples", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3830,7 +3898,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "recordedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3843,7 +3911,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "releasedEvent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3856,7 +3924,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "review", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3867,7 +3937,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reviews", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3878,7 +3950,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sameAs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3889,7 +3963,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "schemaVersion", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3902,7 +3976,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdDatePublished", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3915,7 +3989,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdLicense", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3929,7 +4003,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdPublisher", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3943,7 +4017,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "size", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3957,7 +4033,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sourceOrganization", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3970,7 +4046,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("spatial"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "spatial", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3981,7 +4059,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "spatialCoverage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3994,7 +4072,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "speakable", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4008,7 +4086,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sponsor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4020,7 +4100,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjectOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4034,7 +4114,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "targetPlatform", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4047,7 +4127,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("teaches"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "teaches", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4059,7 +4141,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("temporal"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "temporal", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4070,7 +4154,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "temporalCoverage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4083,7 +4167,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4094,7 +4180,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "thumbnail", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4107,7 +4193,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "thumbnailUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4120,7 +4206,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "timeRequired", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4133,7 +4219,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "translationOfWork", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4146,7 +4232,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "translator", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4160,7 +4246,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "typicalAgeRange", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4173,7 +4259,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4184,7 +4272,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "usageInfo", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4198,7 +4286,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("version"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "version", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4209,7 +4299,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("video"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "video", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4221,7 +4313,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "wordCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4234,7 +4326,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "workExample", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4247,7 +4339,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "workTranslation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4264,7 +4356,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -4280,7 +4372,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("about"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "about", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4291,7 +4385,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "abstract", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4304,7 +4398,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessMode", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4317,7 +4411,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessModeSufficient", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4330,7 +4424,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityAPI", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4343,7 +4437,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityControl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4356,7 +4450,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityFeature", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4369,7 +4463,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityHazard", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4382,7 +4476,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilitySummary", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4395,7 +4489,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accountablePerson", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4408,7 +4502,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "acquireLicensePage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4422,7 +4516,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "additionalType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4435,7 +4529,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "aggregateRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4448,7 +4542,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternateName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4461,7 +4555,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternativeHeadline", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4474,7 +4568,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "archivedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4488,7 +4582,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "articleBody", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4501,7 +4595,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "articleSection", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4514,7 +4608,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "assembly", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4527,7 +4621,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "assemblyVersion", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4540,7 +4634,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "assesses", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4554,7 +4648,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "associatedMedia", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4567,7 +4661,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "audience", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4580,7 +4674,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("audio"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "audio", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4593,7 +4689,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "author", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4605,7 +4703,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "award", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4616,7 +4716,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "awards", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4627,7 +4729,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "backstory", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4641,7 +4743,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "character", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4654,7 +4756,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "citation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4668,7 +4770,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "comment", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4679,7 +4783,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "commentCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4692,7 +4796,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "conditionsOfAccess", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4705,7 +4809,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentLocation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4718,7 +4822,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4732,7 +4836,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentReferenceTime", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4745,7 +4849,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contributor", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4759,7 +4863,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightHolder", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4773,7 +4877,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightNotice", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4786,7 +4890,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightYear", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4799,7 +4903,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "correction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4813,7 +4917,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "countryOfOrigin", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4826,7 +4930,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "creativeWorkStatus", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4840,7 +4944,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("creator"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "creator", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4852,7 +4958,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "creditText", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4865,7 +4971,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dateCreated", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4878,7 +4984,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dateModified", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4891,7 +4997,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "datePublished", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4904,7 +5010,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dependencies", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4917,7 +5023,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4931,7 +5037,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "digitalSourceType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4945,7 +5051,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "disambiguatingDescription", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4958,7 +5064,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "discussionUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4971,7 +5077,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "editEIDR", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4984,7 +5090,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("editor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "editor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4995,7 +5103,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalAlignment", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5008,7 +5116,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalLevel", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5022,7 +5130,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalUse", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5036,7 +5144,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "encoding", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5049,7 +5157,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "encodingFormat", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5062,7 +5170,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "encodings", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5075,7 +5183,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "exampleOfWork", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5088,7 +5196,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "executableLibraryName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5101,7 +5209,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("expires"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "expires", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5112,7 +5222,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "fileFormat", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5125,7 +5235,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funder", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5137,7 +5249,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funding", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5148,7 +5262,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("genre"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "genre", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5159,7 +5275,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hasPart"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "hasPart", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5170,7 +5288,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "headline", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5183,7 +5301,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "identifier", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5197,7 +5315,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5209,7 +5329,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "inLanguage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5223,7 +5343,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interactionStatistic", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5236,7 +5356,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interactivityType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5249,7 +5369,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interpretedAsClaim", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5262,7 +5382,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isAccessibleForFree", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5275,7 +5395,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isBasedOn", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5290,7 +5410,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isBasedOnUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5305,7 +5425,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isFamilyFriendly", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5318,7 +5438,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isPartOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5332,7 +5452,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "keywords", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5346,7 +5466,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "learningResourceType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5360,7 +5480,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("license"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "license", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5372,7 +5494,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "locationCreated", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5385,7 +5507,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntity", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5398,7 +5520,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntityOfPage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5412,7 +5534,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "maintainer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5426,7 +5548,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "material", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5440,7 +5562,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "materialExtent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5454,7 +5576,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mentions", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5467,7 +5589,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5478,7 +5602,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("offers"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "offers", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5490,7 +5616,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("pageEnd"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "pageEnd", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5501,7 +5629,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "pageStart", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5514,7 +5642,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "pagination", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5527,7 +5655,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("pattern"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "pattern", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5539,7 +5669,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "position", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5552,7 +5682,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "potentialAction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5565,7 +5695,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "producer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5579,7 +5709,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "proficiencyLevel", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5592,7 +5722,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "programmingModel", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5605,7 +5735,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "provider", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5619,7 +5749,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publication", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5632,7 +5762,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publisher", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5646,7 +5776,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publisherImprint", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5659,7 +5789,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publishingPrinciples", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5673,7 +5803,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "recordedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5686,7 +5816,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "releasedEvent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5699,7 +5829,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "review", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5710,7 +5842,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reviews", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5721,7 +5855,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sameAs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5732,7 +5868,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "schemaVersion", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5745,7 +5881,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdDatePublished", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5758,7 +5894,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdLicense", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5772,7 +5908,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdPublisher", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5786,7 +5922,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "size", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5800,7 +5938,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sourceOrganization", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5813,7 +5951,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("spatial"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "spatial", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5824,7 +5964,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "spatialCoverage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5837,7 +5977,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "speakable", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5851,7 +5991,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sponsor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5863,7 +6005,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjectOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5877,7 +6019,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "targetPlatform", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5890,7 +6032,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("teaches"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "teaches", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5902,7 +6046,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "temporal", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5915,7 +6059,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "temporalCoverage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5928,7 +6072,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5939,7 +6085,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "thumbnail", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5952,7 +6098,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "thumbnailUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5965,7 +6111,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "timeRequired", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5978,7 +6124,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "translationOfWork", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5991,7 +6137,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "translator", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -6005,7 +6151,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "typicalAgeRange", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -6018,7 +6164,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -6029,7 +6177,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "usageInfo", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -6043,7 +6191,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("version"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "version", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -6054,7 +6204,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("video"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "video", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -6066,7 +6218,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "wordCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -6079,7 +6231,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "workExample", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -6092,7 +6244,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "workTranslation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -9485,7 +9637,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ApiReference<'a> { 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 1d88450c7..e5b999512 100644 --- a/crates/jacquard-api/src/social_flockfeeds/lexical/type/article.rs +++ b/crates/jacquard-api/src/social_flockfeeds/lexical/type/article.rs @@ -2342,7 +2342,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("embedded"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("embedded"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -2355,7 +2355,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("about"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "about", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2366,7 +2368,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("abstract"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "abstract", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2377,7 +2381,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessMode", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2390,7 +2394,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessModeSufficient", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2403,7 +2407,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityAPI", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2416,7 +2420,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityControl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2429,7 +2433,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityFeature", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2442,7 +2446,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityHazard", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2455,7 +2459,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilitySummary", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2468,7 +2472,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accountablePerson", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2481,7 +2485,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "acquireLicensePage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2495,7 +2499,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "additionalType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2508,7 +2512,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "aggregateRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2521,7 +2525,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternateName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2534,7 +2538,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternativeHeadline", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2547,7 +2551,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "archivedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2561,7 +2565,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "articleBody", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2574,7 +2578,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "articleSection", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2587,7 +2591,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("assesses"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "assesses", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2599,7 +2605,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "associatedMedia", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2612,7 +2618,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("audience"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "audience", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2623,7 +2631,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("audio"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "audio", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2636,7 +2646,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "author", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2648,7 +2660,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "award", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2659,7 +2673,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "awards", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2670,7 +2686,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "backstory", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2684,7 +2700,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "character", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2697,7 +2713,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("citation"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "citation", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2709,7 +2727,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "comment", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2720,7 +2740,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "commentCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2733,7 +2753,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "conditionsOfAccess", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2746,7 +2766,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentLocation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2759,7 +2779,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2773,7 +2793,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentReferenceTime", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2786,7 +2806,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contributor", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2800,7 +2820,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightHolder", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2814,7 +2834,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightNotice", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2827,7 +2847,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightYear", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2840,7 +2860,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "correction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2854,7 +2874,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "countryOfOrigin", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2867,7 +2887,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "creativeWorkStatus", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2881,7 +2901,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("creator"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "creator", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2893,7 +2915,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "creditText", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2906,7 +2928,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dateCreated", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2919,7 +2941,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dateModified", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2932,7 +2954,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "datePublished", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2945,7 +2967,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2959,7 +2981,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "digitalSourceType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2973,7 +2995,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "disambiguatingDescription", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2986,7 +3008,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "discussionUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2999,7 +3021,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("editEIDR"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "editEIDR", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3010,7 +3034,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("editor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "editor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3021,7 +3047,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalAlignment", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3034,7 +3060,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalLevel", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3048,7 +3074,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalUse", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3062,7 +3088,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("encoding"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "encoding", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3073,7 +3101,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "encodingFormat", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3086,7 +3114,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "encodings", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3099,7 +3127,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "exampleOfWork", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3112,7 +3140,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("expires"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "expires", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3123,7 +3153,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "fileFormat", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3136,7 +3166,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funder", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3148,7 +3180,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funding", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3159,7 +3193,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("genre"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "genre", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3170,7 +3206,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hasPart"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "hasPart", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3181,7 +3219,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("headline"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "headline", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3192,7 +3232,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "identifier", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3206,7 +3246,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3218,7 +3260,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "inLanguage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3232,7 +3274,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interactionStatistic", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3245,7 +3287,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interactivityType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3258,7 +3300,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interpretedAsClaim", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3271,7 +3313,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isAccessibleForFree", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3284,7 +3326,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isBasedOn", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3299,7 +3341,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isBasedOnUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3314,7 +3356,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isFamilyFriendly", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3327,7 +3369,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("isPartOf"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "isPartOf", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3339,7 +3383,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("keywords"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "keywords", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3351,7 +3397,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "learningResourceType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3365,7 +3411,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("license"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "license", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3377,7 +3425,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "locationCreated", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3390,7 +3438,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntity", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3403,7 +3451,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntityOfPage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3417,7 +3465,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "maintainer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3431,7 +3479,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("material"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "material", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3443,7 +3493,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "materialExtent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3457,7 +3507,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("mentions"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "mentions", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3468,7 +3520,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3479,7 +3533,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("offers"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "offers", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3491,7 +3547,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("pageEnd"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "pageEnd", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3502,7 +3560,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "pageStart", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3515,7 +3573,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "pagination", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3528,7 +3586,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("pattern"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "pattern", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3540,7 +3600,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("position"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "position", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3551,7 +3613,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "potentialAction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3564,7 +3626,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("producer"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "producer", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3576,7 +3640,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("provider"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "provider", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3588,7 +3654,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publication", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3601,7 +3667,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publisher", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3615,7 +3681,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publisherImprint", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3628,7 +3694,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publishingPrinciples", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3642,7 +3708,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "recordedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3655,7 +3721,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "releasedEvent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3668,7 +3734,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "review", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3679,7 +3747,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reviews", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3690,7 +3760,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sameAs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3701,7 +3773,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "schemaVersion", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3714,7 +3786,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdDatePublished", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3727,7 +3799,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdLicense", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3741,7 +3813,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdPublisher", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3755,7 +3827,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "size", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3769,7 +3843,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sourceOrganization", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3782,7 +3856,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("spatial"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "spatial", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3793,7 +3869,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "spatialCoverage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3806,7 +3882,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "speakable", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3820,7 +3896,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sponsor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3832,7 +3910,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjectOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3846,7 +3924,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("teaches"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "teaches", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3858,7 +3938,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("temporal"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "temporal", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3869,7 +3951,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "temporalCoverage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3882,7 +3964,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3893,7 +3977,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "thumbnail", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3906,7 +3990,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "thumbnailUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3919,7 +4003,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "timeRequired", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3932,7 +4016,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "translationOfWork", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3945,7 +4029,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "translator", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3959,7 +4043,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "typicalAgeRange", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3972,7 +4056,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3983,7 +4069,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "usageInfo", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3997,7 +4083,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("version"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "version", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4008,7 +4096,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("video"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "video", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4020,7 +4110,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "wordCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4033,7 +4123,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "workExample", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4046,7 +4136,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "workTranslation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4063,7 +4153,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -4079,7 +4169,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("about"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "about", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4090,7 +4182,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "abstract", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4103,7 +4195,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessMode", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4116,7 +4208,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessModeSufficient", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4129,7 +4221,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityAPI", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4142,7 +4234,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityControl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4155,7 +4247,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityFeature", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4168,7 +4260,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityHazard", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4181,7 +4273,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilitySummary", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4194,7 +4286,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accountablePerson", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4207,7 +4299,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "acquireLicensePage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4221,7 +4313,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "additionalType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4234,7 +4326,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "aggregateRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4247,7 +4339,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternateName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4260,7 +4352,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternativeHeadline", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4273,7 +4365,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "archivedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4287,7 +4379,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "articleBody", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4300,7 +4392,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "articleSection", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4313,7 +4405,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "assesses", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4327,7 +4419,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "associatedMedia", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4340,7 +4432,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "audience", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4353,7 +4445,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("audio"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "audio", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4366,7 +4460,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "author", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4378,7 +4474,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "award", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4389,7 +4487,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "awards", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4400,7 +4500,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "backstory", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4414,7 +4514,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "character", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4427,7 +4527,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "citation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4441,7 +4541,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "comment", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4452,7 +4554,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "commentCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4465,7 +4567,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "conditionsOfAccess", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4478,7 +4580,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentLocation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4491,7 +4593,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4505,7 +4607,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentReferenceTime", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4518,7 +4620,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contributor", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4532,7 +4634,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightHolder", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4546,7 +4648,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightNotice", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4559,7 +4661,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightYear", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4572,7 +4674,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "correction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4586,7 +4688,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "countryOfOrigin", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4599,7 +4701,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "creativeWorkStatus", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4613,7 +4715,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("creator"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "creator", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4625,7 +4729,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "creditText", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4638,7 +4742,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dateCreated", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4651,7 +4755,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dateModified", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4664,7 +4768,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "datePublished", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4677,7 +4781,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4691,7 +4795,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "digitalSourceType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4705,7 +4809,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "disambiguatingDescription", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4718,7 +4822,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "discussionUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4731,7 +4835,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "editEIDR", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4744,7 +4848,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("editor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "editor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4755,7 +4861,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalAlignment", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4768,7 +4874,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalLevel", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4782,7 +4888,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalUse", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4796,7 +4902,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "encoding", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4809,7 +4915,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "encodingFormat", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4822,7 +4928,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "encodings", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4835,7 +4941,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "exampleOfWork", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4848,7 +4954,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("expires"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "expires", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4859,7 +4967,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "fileFormat", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4872,7 +4980,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funder", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4884,7 +4994,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funding", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4895,7 +5007,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("genre"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "genre", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4906,7 +5020,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hasPart"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "hasPart", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4917,7 +5033,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "headline", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4930,7 +5046,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "identifier", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4944,7 +5060,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4956,7 +5074,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "inLanguage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4970,7 +5088,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interactionStatistic", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4983,7 +5101,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interactivityType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4996,7 +5114,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interpretedAsClaim", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5009,7 +5127,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isAccessibleForFree", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5022,7 +5140,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isBasedOn", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5037,7 +5155,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isBasedOnUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5052,7 +5170,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isFamilyFriendly", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5065,7 +5183,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isPartOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5079,7 +5197,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "keywords", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5093,7 +5211,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "learningResourceType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5107,7 +5225,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("license"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "license", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5119,7 +5239,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "locationCreated", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5132,7 +5252,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntity", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5145,7 +5265,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntityOfPage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5159,7 +5279,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "maintainer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5173,7 +5293,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "material", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5187,7 +5307,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "materialExtent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5201,7 +5321,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mentions", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5214,7 +5334,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5225,7 +5347,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("offers"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "offers", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5237,7 +5361,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("pageEnd"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "pageEnd", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5248,7 +5374,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "pageStart", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5261,7 +5387,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "pagination", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5274,7 +5400,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("pattern"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "pattern", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5286,7 +5414,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "position", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5299,7 +5427,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "potentialAction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5312,7 +5440,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "producer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5326,7 +5454,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "provider", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5340,7 +5468,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publication", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5353,7 +5481,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publisher", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5367,7 +5495,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publisherImprint", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5380,7 +5508,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publishingPrinciples", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5394,7 +5522,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "recordedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5407,7 +5535,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "releasedEvent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5420,7 +5548,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "review", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5431,7 +5561,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reviews", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5442,7 +5574,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sameAs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5453,7 +5587,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "schemaVersion", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5466,7 +5600,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdDatePublished", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5479,7 +5613,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdLicense", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5493,7 +5627,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdPublisher", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5507,7 +5641,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "size", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5521,7 +5657,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sourceOrganization", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5534,7 +5670,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("spatial"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "spatial", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5545,7 +5683,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "spatialCoverage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5558,7 +5696,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "speakable", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5572,7 +5710,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sponsor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5584,7 +5724,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjectOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5598,7 +5738,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("teaches"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "teaches", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5610,7 +5752,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "temporal", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5623,7 +5765,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "temporalCoverage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5636,7 +5778,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5647,7 +5791,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "thumbnail", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5660,7 +5804,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "thumbnailUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5673,7 +5817,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "timeRequired", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5686,7 +5830,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "translationOfWork", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5699,7 +5843,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "translator", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5713,7 +5857,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "typicalAgeRange", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5726,7 +5870,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5737,7 +5883,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "usageInfo", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5751,7 +5897,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("version"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "version", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5762,7 +5910,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("video"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "video", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5774,7 +5924,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "wordCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5787,7 +5937,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "workExample", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5800,7 +5950,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "workTranslation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -8869,7 +9019,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Article<'a> { 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 479554c7f..d1757e5d8 100644 --- a/crates/jacquard-api/src/social_flockfeeds/lexical/type/book.rs +++ b/crates/jacquard-api/src/social_flockfeeds/lexical/type/book.rs @@ -2328,7 +2328,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("embedded"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("embedded"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some(::jacquard_common::CowStr::new_static("A book.")), required: None, @@ -2337,7 +2337,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("about"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "about", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2348,7 +2350,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("abridged"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "abridged", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2359,7 +2363,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("abstract"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "abstract", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2370,7 +2376,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessMode", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2383,7 +2389,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessModeSufficient", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2396,7 +2402,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityAPI", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2409,7 +2415,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityControl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2422,7 +2428,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityFeature", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2435,7 +2441,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityHazard", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2448,7 +2454,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilitySummary", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2461,7 +2467,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accountablePerson", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2474,7 +2480,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "acquireLicensePage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2488,7 +2494,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "additionalType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2501,7 +2507,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "aggregateRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2514,7 +2520,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternateName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2527,7 +2533,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternativeHeadline", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2540,7 +2546,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "archivedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2554,7 +2560,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("assesses"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "assesses", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2566,7 +2574,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "associatedMedia", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2579,7 +2587,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("audience"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "audience", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2590,7 +2600,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("audio"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "audio", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2603,7 +2615,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "author", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2615,7 +2629,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "award", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2626,7 +2642,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "awards", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2637,7 +2655,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "bookEdition", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2650,7 +2668,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "bookFormat", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2664,7 +2682,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "character", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2677,7 +2695,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("citation"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "citation", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2689,7 +2709,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "comment", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2700,7 +2722,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "commentCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2713,7 +2735,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "conditionsOfAccess", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2726,7 +2748,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentLocation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2739,7 +2761,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2753,7 +2775,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentReferenceTime", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2766,7 +2788,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contributor", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2780,7 +2802,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightHolder", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2794,7 +2816,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightNotice", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2807,7 +2829,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightYear", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2820,7 +2842,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "correction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2834,7 +2856,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "countryOfOrigin", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2847,7 +2869,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "creativeWorkStatus", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2861,7 +2883,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("creator"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "creator", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2873,7 +2897,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "creditText", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2886,7 +2910,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dateCreated", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2899,7 +2923,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dateModified", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2912,7 +2936,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "datePublished", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2925,7 +2949,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2939,7 +2963,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "digitalSourceType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2953,7 +2977,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "disambiguatingDescription", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2966,7 +2990,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "discussionUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2979,7 +3003,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("editEIDR"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "editEIDR", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2990,7 +3016,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("editor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "editor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3001,7 +3029,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalAlignment", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3014,7 +3042,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalLevel", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3028,7 +3056,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalUse", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3042,7 +3070,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("encoding"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "encoding", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3053,7 +3083,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "encodingFormat", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3066,7 +3096,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "encodings", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3079,7 +3109,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "exampleOfWork", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3092,7 +3122,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("expires"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "expires", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3103,7 +3135,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "fileFormat", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3116,7 +3148,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funder", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3128,7 +3162,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funding", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3139,7 +3175,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("genre"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "genre", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3150,7 +3188,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hasPart"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "hasPart", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3161,7 +3201,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("headline"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "headline", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3172,7 +3214,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "identifier", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3186,7 +3228,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "illustrator", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3199,7 +3241,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3211,7 +3255,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "inLanguage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3225,7 +3269,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interactionStatistic", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3238,7 +3282,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interactivityType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3251,7 +3295,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interpretedAsClaim", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3264,7 +3308,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isAccessibleForFree", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3277,7 +3321,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isBasedOn", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3292,7 +3336,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isBasedOnUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3307,7 +3351,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isFamilyFriendly", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3320,7 +3364,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("isPartOf"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "isPartOf", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3332,7 +3378,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("isbn"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "isbn", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3343,7 +3391,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("keywords"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "keywords", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3355,7 +3405,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "learningResourceType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3369,7 +3419,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("license"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "license", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3381,7 +3433,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "locationCreated", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3394,7 +3446,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntity", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3407,7 +3459,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntityOfPage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3421,7 +3473,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "maintainer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3435,7 +3487,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("material"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "material", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3447,7 +3501,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "materialExtent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3461,7 +3515,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("mentions"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "mentions", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3472,7 +3528,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3483,7 +3541,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "numberOfPages", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3496,7 +3554,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("offers"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "offers", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3508,7 +3568,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("pattern"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "pattern", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3520,7 +3582,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("position"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "position", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3531,7 +3595,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "potentialAction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3544,7 +3608,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("producer"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "producer", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3556,7 +3622,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("provider"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "provider", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3568,7 +3636,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publication", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3581,7 +3649,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publisher", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3595,7 +3663,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publisherImprint", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3608,7 +3676,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publishingPrinciples", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3622,7 +3690,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "recordedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3635,7 +3703,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "releasedEvent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3648,7 +3716,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "review", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3659,7 +3729,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reviews", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3670,7 +3742,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sameAs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3681,7 +3755,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "schemaVersion", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3694,7 +3768,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdDatePublished", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3707,7 +3781,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdLicense", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3721,7 +3795,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdPublisher", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3735,7 +3809,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "size", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3749,7 +3825,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sourceOrganization", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3762,7 +3838,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("spatial"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "spatial", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3773,7 +3851,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "spatialCoverage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3786,7 +3864,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sponsor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3798,7 +3878,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjectOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3812,7 +3892,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("teaches"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "teaches", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3824,7 +3906,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("temporal"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "temporal", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3835,7 +3919,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "temporalCoverage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3848,7 +3932,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3859,7 +3945,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "thumbnail", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3872,7 +3958,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "thumbnailUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3885,7 +3971,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "timeRequired", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3898,7 +3984,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "translationOfWork", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3911,7 +3997,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "translator", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3925,7 +4011,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "typicalAgeRange", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3938,7 +4024,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3949,7 +4037,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "usageInfo", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3963,7 +4051,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("version"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "version", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3974,7 +4064,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("video"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "video", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3986,7 +4078,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "wordCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3999,7 +4091,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "workExample", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4012,7 +4104,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "workTranslation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4029,7 +4121,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -4043,7 +4135,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("about"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "about", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4054,7 +4148,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "abridged", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4067,7 +4161,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "abstract", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4080,7 +4174,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessMode", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4093,7 +4187,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessModeSufficient", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4106,7 +4200,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityAPI", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4119,7 +4213,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityControl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4132,7 +4226,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityFeature", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4145,7 +4239,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityHazard", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4158,7 +4252,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilitySummary", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4171,7 +4265,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accountablePerson", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4184,7 +4278,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "acquireLicensePage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4198,7 +4292,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "additionalType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4211,7 +4305,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "aggregateRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4224,7 +4318,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternateName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4237,7 +4331,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternativeHeadline", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4250,7 +4344,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "archivedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4264,7 +4358,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "assesses", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4278,7 +4372,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "associatedMedia", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4291,7 +4385,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "audience", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4304,7 +4398,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("audio"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "audio", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4317,7 +4413,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "author", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4329,7 +4427,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "award", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4340,7 +4440,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "awards", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4351,7 +4453,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "bookEdition", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4364,7 +4466,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "bookFormat", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4378,7 +4480,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "character", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4391,7 +4493,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "citation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4405,7 +4507,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "comment", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4416,7 +4520,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "commentCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4429,7 +4533,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "conditionsOfAccess", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4442,7 +4546,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentLocation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4455,7 +4559,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4469,7 +4573,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentReferenceTime", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4482,7 +4586,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contributor", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4496,7 +4600,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightHolder", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4510,7 +4614,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightNotice", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4523,7 +4627,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightYear", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4536,7 +4640,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "correction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4550,7 +4654,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "countryOfOrigin", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4563,7 +4667,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "creativeWorkStatus", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4577,7 +4681,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("creator"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "creator", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4589,7 +4695,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "creditText", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4602,7 +4708,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dateCreated", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4615,7 +4721,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dateModified", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4628,7 +4734,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "datePublished", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4641,7 +4747,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4655,7 +4761,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "digitalSourceType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4669,7 +4775,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "disambiguatingDescription", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4682,7 +4788,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "discussionUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4695,7 +4801,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "editEIDR", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4708,7 +4814,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("editor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "editor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4719,7 +4827,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalAlignment", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4732,7 +4840,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalLevel", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4746,7 +4854,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalUse", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4760,7 +4868,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "encoding", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4773,7 +4881,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "encodingFormat", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4786,7 +4894,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "encodings", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4799,7 +4907,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "exampleOfWork", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4812,7 +4920,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("expires"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "expires", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4823,7 +4933,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "fileFormat", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4836,7 +4946,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funder", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4848,7 +4960,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funding", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4859,7 +4973,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("genre"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "genre", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4870,7 +4986,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hasPart"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "hasPart", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4881,7 +4999,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "headline", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4894,7 +5012,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "identifier", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4908,7 +5026,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "illustrator", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4921,7 +5039,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4933,7 +5053,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "inLanguage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4947,7 +5067,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interactionStatistic", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4960,7 +5080,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interactivityType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4973,7 +5093,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interpretedAsClaim", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4986,7 +5106,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isAccessibleForFree", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4999,7 +5119,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isBasedOn", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5014,7 +5134,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isBasedOnUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5029,7 +5149,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isFamilyFriendly", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5042,7 +5162,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isPartOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5056,7 +5176,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("isbn"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "isbn", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5067,7 +5189,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "keywords", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5081,7 +5203,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "learningResourceType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5095,7 +5217,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("license"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "license", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5107,7 +5231,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "locationCreated", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5120,7 +5244,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntity", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5133,7 +5257,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntityOfPage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5147,7 +5271,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "maintainer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5161,7 +5285,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "material", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5175,7 +5299,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "materialExtent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5189,7 +5313,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mentions", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5202,7 +5326,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5213,7 +5339,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "numberOfPages", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5226,7 +5352,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("offers"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "offers", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5238,7 +5366,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("pattern"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "pattern", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5250,7 +5380,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "position", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5263,7 +5393,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "potentialAction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5276,7 +5406,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "producer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5290,7 +5420,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "provider", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5304,7 +5434,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publication", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5317,7 +5447,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publisher", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5331,7 +5461,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publisherImprint", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5344,7 +5474,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publishingPrinciples", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5358,7 +5488,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "recordedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5371,7 +5501,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "releasedEvent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5384,7 +5514,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "review", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5395,7 +5527,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reviews", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5406,7 +5540,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sameAs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5417,7 +5553,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "schemaVersion", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5430,7 +5566,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdDatePublished", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5443,7 +5579,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdLicense", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5457,7 +5593,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdPublisher", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5471,7 +5607,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "size", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5485,7 +5623,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sourceOrganization", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5498,7 +5636,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("spatial"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "spatial", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5509,7 +5649,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "spatialCoverage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5522,7 +5662,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sponsor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5534,7 +5676,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjectOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5548,7 +5690,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("teaches"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "teaches", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5560,7 +5704,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "temporal", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5573,7 +5717,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "temporalCoverage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5586,7 +5730,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5597,7 +5743,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "thumbnail", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5610,7 +5756,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "thumbnailUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5623,7 +5769,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "timeRequired", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5636,7 +5782,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "translationOfWork", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5649,7 +5795,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "translator", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5663,7 +5809,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "typicalAgeRange", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5676,7 +5822,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5687,7 +5835,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "usageInfo", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5701,7 +5849,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("version"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "version", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5712,7 +5862,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("video"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "video", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5724,7 +5876,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "wordCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5737,7 +5889,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "workExample", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5750,7 +5902,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "workTranslation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -8716,7 +8868,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Book<'a> { 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 7a7a009f4..3f7dfe717 100644 --- a/crates/jacquard-api/src/social_flockfeeds/lexical/type/brand.rs +++ b/crates/jacquard-api/src/social_flockfeeds/lexical/type/brand.rs @@ -308,7 +308,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Brand() -> ::jacquard_lexicon::lex defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("embedded"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("embedded"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -321,7 +321,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Brand() -> ::jacquard_lexicon::lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "additionalType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -334,7 +334,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Brand() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "aggregateRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -347,7 +347,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Brand() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternateName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -360,7 +360,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Brand() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -374,7 +374,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Brand() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "disambiguatingDescription", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -387,7 +387,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Brand() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "identifier", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -401,7 +401,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Brand() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -413,7 +415,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Brand() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("logo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "logo", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -425,7 +429,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Brand() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntityOfPage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -439,7 +443,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Brand() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -450,7 +456,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Brand() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "potentialAction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -463,7 +469,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Brand() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "review", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -474,7 +482,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Brand() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sameAs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -485,7 +495,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Brand() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("slogan"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "slogan", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -496,7 +508,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Brand() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjectOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -510,7 +522,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Brand() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -525,7 +539,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Brand() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -541,7 +555,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Brand() -> ::jacquard_lexicon::lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "additionalType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -554,7 +568,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Brand() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "aggregateRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -567,7 +581,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Brand() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternateName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -580,7 +594,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Brand() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -594,7 +608,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Brand() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "disambiguatingDescription", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -607,7 +621,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Brand() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "identifier", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -621,7 +635,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Brand() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -633,7 +649,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Brand() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("logo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "logo", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -645,7 +663,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Brand() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntityOfPage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -659,7 +677,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Brand() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -670,7 +690,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Brand() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "potentialAction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -683,7 +703,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Brand() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "review", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -694,7 +716,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Brand() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sameAs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -705,7 +729,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Brand() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("slogan"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "slogan", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -716,7 +742,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Brand() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjectOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -730,7 +756,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Brand() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1186,7 +1214,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Brand<'a> { 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 370c08612..47591ed48 100644 --- a/crates/jacquard-api/src/social_flockfeeds/lexical/type/episode.rs +++ b/crates/jacquard-api/src/social_flockfeeds/lexical/type/episode.rs @@ -2436,7 +2436,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("embedded"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("embedded"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -2449,7 +2449,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("about"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "about", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2460,7 +2462,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("abstract"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "abstract", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2471,7 +2475,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessMode", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2484,7 +2488,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessModeSufficient", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2497,7 +2501,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityAPI", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2510,7 +2514,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityControl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2523,7 +2527,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityFeature", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2536,7 +2540,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityHazard", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2549,7 +2553,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilitySummary", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2562,7 +2566,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accountablePerson", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2575,7 +2579,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "acquireLicensePage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2589,7 +2593,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("actor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "actor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2601,7 +2607,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("actors"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "actors", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2612,7 +2620,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "additionalType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2625,7 +2633,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "aggregateRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2638,7 +2646,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternateName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2651,7 +2659,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternativeHeadline", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2664,7 +2672,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "archivedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2678,7 +2686,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("assesses"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "assesses", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2690,7 +2700,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "associatedMedia", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2703,7 +2713,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("audience"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "audience", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2714,7 +2726,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("audio"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "audio", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2727,7 +2741,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "author", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2739,7 +2755,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "award", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2750,7 +2768,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "awards", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2761,7 +2781,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "character", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2774,7 +2794,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("citation"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "citation", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2786,7 +2808,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "comment", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2797,7 +2821,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "commentCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2810,7 +2834,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "conditionsOfAccess", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2823,7 +2847,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentLocation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2836,7 +2860,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2850,7 +2874,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentReferenceTime", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2863,7 +2887,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contributor", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2877,7 +2901,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightHolder", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2891,7 +2915,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightNotice", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2904,7 +2928,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightYear", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2917,7 +2941,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "correction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2931,7 +2955,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "countryOfOrigin", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2944,7 +2968,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "creativeWorkStatus", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2958,7 +2982,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("creator"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "creator", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2970,7 +2996,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "creditText", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2983,7 +3009,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dateCreated", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2996,7 +3022,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dateModified", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3009,7 +3035,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "datePublished", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3022,7 +3048,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3036,7 +3062,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "digitalSourceType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3050,7 +3076,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("director"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "director", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3061,7 +3089,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "directors", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3074,7 +3102,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "disambiguatingDescription", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3087,7 +3115,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "discussionUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3100,7 +3128,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("duration"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "duration", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3112,7 +3142,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("editEIDR"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "editEIDR", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3123,7 +3155,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("editor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "editor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3134,7 +3168,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalAlignment", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3147,7 +3181,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalLevel", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3161,7 +3195,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalUse", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3175,7 +3209,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("encoding"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "encoding", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3186,7 +3222,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "encodingFormat", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3199,7 +3235,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "encodings", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3212,7 +3248,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "episodeNumber", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3225,7 +3261,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "exampleOfWork", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3238,7 +3274,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("expires"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "expires", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3249,7 +3287,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "fileFormat", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3262,7 +3300,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funder", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3274,7 +3314,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funding", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3285,7 +3327,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("genre"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "genre", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3296,7 +3340,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hasPart"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "hasPart", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3307,7 +3353,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("headline"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "headline", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3318,7 +3366,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "identifier", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3332,7 +3380,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3344,7 +3394,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "inLanguage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3358,7 +3408,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interactionStatistic", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3371,7 +3421,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interactivityType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3384,7 +3434,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interpretedAsClaim", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3397,7 +3447,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isAccessibleForFree", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3410,7 +3460,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isBasedOn", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3425,7 +3475,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isBasedOnUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3440,7 +3490,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isFamilyFriendly", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3453,7 +3503,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("isPartOf"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "isPartOf", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3465,7 +3517,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("keywords"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "keywords", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3477,7 +3531,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "learningResourceType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3491,7 +3545,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("license"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "license", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3503,7 +3559,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "locationCreated", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3516,7 +3572,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntity", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3529,7 +3585,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntityOfPage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3543,7 +3599,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "maintainer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3557,7 +3613,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("material"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "material", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3569,7 +3627,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "materialExtent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3583,7 +3641,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("mentions"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "mentions", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3594,7 +3654,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("musicBy"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "musicBy", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3606,7 +3668,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3617,7 +3681,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("offers"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "offers", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3629,7 +3695,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "partOfSeason", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3642,7 +3708,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "partOfSeries", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3655,7 +3721,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("pattern"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "pattern", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3667,7 +3735,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("position"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "position", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3678,7 +3748,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "potentialAction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3691,7 +3761,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("producer"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "producer", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3703,7 +3775,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "productionCompany", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3716,7 +3788,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("provider"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "provider", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3728,7 +3802,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publication", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3741,7 +3815,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publisher", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3755,7 +3829,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publisherImprint", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3768,7 +3842,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publishingPrinciples", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3782,7 +3856,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "recordedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3795,7 +3869,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "releasedEvent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3808,7 +3882,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "review", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3819,7 +3895,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reviews", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3830,7 +3908,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sameAs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3841,7 +3921,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "schemaVersion", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3854,7 +3934,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdDatePublished", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3867,7 +3947,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdLicense", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3881,7 +3961,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdPublisher", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3895,7 +3975,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "size", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3909,7 +3991,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sourceOrganization", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3922,7 +4004,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("spatial"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "spatial", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3933,7 +4017,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "spatialCoverage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3946,7 +4030,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sponsor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3958,7 +4044,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjectOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3972,7 +4058,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("teaches"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "teaches", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3984,7 +4072,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("temporal"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "temporal", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3995,7 +4085,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "temporalCoverage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4008,7 +4098,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4019,7 +4111,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "thumbnail", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4032,7 +4124,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "thumbnailUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4045,7 +4137,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "timeRequired", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4058,7 +4150,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("trailer"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "trailer", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4069,7 +4163,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "translationOfWork", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4082,7 +4176,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "translator", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4096,7 +4190,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "typicalAgeRange", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4109,7 +4203,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4120,7 +4216,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "usageInfo", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4134,7 +4230,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("version"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "version", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4145,7 +4243,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("video"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "video", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4157,7 +4257,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "wordCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4170,7 +4270,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "workExample", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4183,7 +4283,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "workTranslation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4200,7 +4300,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -4213,7 +4313,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("about"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "about", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4224,7 +4326,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("abstract"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "abstract", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4235,7 +4339,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessMode", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4248,7 +4352,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessModeSufficient", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4261,7 +4365,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityAPI", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4274,7 +4378,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityControl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4287,7 +4391,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityFeature", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4300,7 +4404,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityHazard", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4313,7 +4417,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilitySummary", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4326,7 +4430,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accountablePerson", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4339,7 +4443,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "acquireLicensePage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4353,7 +4457,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("actor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "actor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4365,7 +4471,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("actors"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "actors", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4376,7 +4484,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "additionalType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4389,7 +4497,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "aggregateRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4402,7 +4510,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternateName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4415,7 +4523,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternativeHeadline", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4428,7 +4536,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "archivedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4442,7 +4550,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("assesses"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "assesses", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4454,7 +4564,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "associatedMedia", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4467,7 +4577,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("audience"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "audience", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4478,7 +4590,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("audio"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "audio", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4491,7 +4605,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "author", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4503,7 +4619,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "award", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4514,7 +4632,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "awards", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4525,7 +4645,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "character", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4538,7 +4658,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("citation"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "citation", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4550,7 +4672,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "comment", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4561,7 +4685,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "commentCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4574,7 +4698,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "conditionsOfAccess", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4587,7 +4711,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentLocation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4600,7 +4724,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4614,7 +4738,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentReferenceTime", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4627,7 +4751,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contributor", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4641,7 +4765,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightHolder", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4655,7 +4779,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightNotice", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4668,7 +4792,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightYear", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4681,7 +4805,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "correction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4695,7 +4819,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "countryOfOrigin", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4708,7 +4832,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "creativeWorkStatus", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4722,7 +4846,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("creator"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "creator", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4734,7 +4860,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "creditText", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4747,7 +4873,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dateCreated", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4760,7 +4886,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dateModified", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4773,7 +4899,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "datePublished", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4786,7 +4912,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4800,7 +4926,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "digitalSourceType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4814,7 +4940,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("director"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "director", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4825,7 +4953,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "directors", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4838,7 +4966,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "disambiguatingDescription", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4851,7 +4979,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "discussionUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4864,7 +4992,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("duration"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "duration", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4876,7 +5006,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("editEIDR"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "editEIDR", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4887,7 +5019,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("editor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "editor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4898,7 +5032,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalAlignment", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4911,7 +5045,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalLevel", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4925,7 +5059,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalUse", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4939,7 +5073,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("encoding"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "encoding", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4950,7 +5086,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "encodingFormat", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4963,7 +5099,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "encodings", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4976,7 +5112,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "episodeNumber", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4989,7 +5125,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "exampleOfWork", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5002,7 +5138,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("expires"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "expires", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5013,7 +5151,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "fileFormat", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5026,7 +5164,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funder", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5038,7 +5178,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funding", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5049,7 +5191,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("genre"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "genre", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5060,7 +5204,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hasPart"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "hasPart", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5071,7 +5217,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("headline"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "headline", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5082,7 +5230,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "identifier", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5096,7 +5244,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5108,7 +5258,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "inLanguage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5122,7 +5272,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interactionStatistic", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5135,7 +5285,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interactivityType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5148,7 +5298,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interpretedAsClaim", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5161,7 +5311,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isAccessibleForFree", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5174,7 +5324,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isBasedOn", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5189,7 +5339,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isBasedOnUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5204,7 +5354,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isFamilyFriendly", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5217,7 +5367,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("isPartOf"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "isPartOf", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5229,7 +5381,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("keywords"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "keywords", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5241,7 +5395,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "learningResourceType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5255,7 +5409,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("license"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "license", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5267,7 +5423,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "locationCreated", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5280,7 +5436,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntity", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5293,7 +5449,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntityOfPage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5307,7 +5463,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "maintainer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5321,7 +5477,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("material"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "material", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5333,7 +5491,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "materialExtent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5347,7 +5505,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("mentions"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "mentions", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5358,7 +5518,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("musicBy"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "musicBy", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5370,7 +5532,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5381,7 +5545,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("offers"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "offers", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5393,7 +5559,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "partOfSeason", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5406,7 +5572,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "partOfSeries", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5419,7 +5585,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("pattern"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "pattern", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5431,7 +5599,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("position"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "position", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5442,7 +5612,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "potentialAction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5455,7 +5625,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("producer"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "producer", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5467,7 +5639,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "productionCompany", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5480,7 +5652,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("provider"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "provider", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5492,7 +5666,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publication", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5505,7 +5679,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publisher", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5519,7 +5693,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publisherImprint", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5532,7 +5706,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publishingPrinciples", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5546,7 +5720,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "recordedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5559,7 +5733,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "releasedEvent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5572,7 +5746,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "review", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5583,7 +5759,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reviews", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5594,7 +5772,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sameAs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5605,7 +5785,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "schemaVersion", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5618,7 +5798,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdDatePublished", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5631,7 +5811,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdLicense", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5645,7 +5825,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdPublisher", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5659,7 +5839,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "size", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5673,7 +5855,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sourceOrganization", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5686,7 +5868,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("spatial"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "spatial", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5697,7 +5881,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "spatialCoverage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5710,7 +5894,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sponsor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5722,7 +5908,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjectOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5736,7 +5922,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("teaches"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "teaches", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5748,7 +5936,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("temporal"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "temporal", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5759,7 +5949,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "temporalCoverage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5772,7 +5962,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5783,7 +5975,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "thumbnail", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5796,7 +5988,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "thumbnailUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5809,7 +6001,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "timeRequired", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5822,7 +6014,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("trailer"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "trailer", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5833,7 +6027,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "translationOfWork", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5846,7 +6040,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "translator", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5860,7 +6054,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "typicalAgeRange", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5873,7 +6067,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5884,7 +6080,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "usageInfo", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5898,7 +6094,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("version"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "version", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5909,7 +6107,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("video"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "video", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5921,7 +6121,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "wordCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5934,7 +6134,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "workExample", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5947,7 +6147,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "workTranslation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { 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 fff4047ca..946f54fde 100644 --- a/crates/jacquard-api/src/social_flockfeeds/lexical/type/event.rs +++ b/crates/jacquard-api/src/social_flockfeeds/lexical/type/event.rs @@ -1006,7 +1006,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("embedded"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("embedded"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -1019,7 +1019,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("about"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "about", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1030,7 +1032,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("actor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "actor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1042,7 +1046,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "additionalType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1055,7 +1059,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "aggregateRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1068,7 +1072,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternateName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1081,7 +1085,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("attendee"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "attendee", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1093,7 +1099,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "attendees", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1107,7 +1113,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("audience"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "audience", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1118,7 +1126,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("composer"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "composer", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1130,7 +1140,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contributor", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1144,7 +1154,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1158,7 +1168,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("director"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "director", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1169,7 +1181,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "disambiguatingDescription", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1182,7 +1194,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("doorTime"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "doorTime", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1193,7 +1207,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("duration"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "duration", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1205,7 +1221,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("endDate"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "endDate", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1216,7 +1234,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "eventAttendanceMode", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1230,7 +1248,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "eventSchedule", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1243,7 +1261,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "eventStatus", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1257,7 +1275,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funder", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1269,7 +1289,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funding", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1280,7 +1302,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "identifier", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1294,7 +1316,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1306,7 +1330,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "inLanguage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1320,7 +1344,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isAccessibleForFree", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1333,7 +1357,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("keywords"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "keywords", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1345,7 +1371,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("location"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "location", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1359,7 +1387,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntityOfPage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1373,7 +1401,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "maximumAttendeeCapacity", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1386,7 +1414,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "maximumPhysicalAttendeeCapacity", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1399,7 +1427,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "maximumVirtualAttendeeCapacity", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1412,7 +1440,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1423,7 +1453,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("offers"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "offers", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1435,7 +1467,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "organizer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1449,7 +1481,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "performer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1463,7 +1495,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "performers", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1477,7 +1509,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "potentialAction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1490,7 +1522,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "previousStartDate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1503,7 +1535,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "recordedIn", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1516,7 +1548,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "remainingAttendeeCapacity", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1529,7 +1561,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "review", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1540,7 +1574,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sameAs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1551,7 +1587,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sponsor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1563,7 +1601,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "startDate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1576,7 +1614,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subEvent"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subEvent", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1587,7 +1627,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subEvents", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1600,7 +1640,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjectOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1614,7 +1654,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "superEvent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1627,7 +1667,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "translator", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1641,7 +1681,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "typicalAgeRange", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1654,7 +1694,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1665,7 +1707,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "workFeatured", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1678,7 +1720,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "workPerformed", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1695,7 +1737,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -1711,7 +1753,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("about"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "about", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1722,7 +1766,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("actor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "actor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1734,7 +1780,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "additionalType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1747,7 +1793,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "aggregateRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1760,7 +1806,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternateName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1773,7 +1819,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "attendee", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1787,7 +1833,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "attendees", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1801,7 +1847,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "audience", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1814,7 +1860,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "composer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1828,7 +1874,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contributor", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1842,7 +1888,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1856,7 +1902,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "director", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1869,7 +1915,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "disambiguatingDescription", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1882,7 +1928,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "doorTime", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1895,7 +1941,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "duration", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1909,7 +1955,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("endDate"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "endDate", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1920,7 +1968,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "eventAttendanceMode", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1934,7 +1982,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "eventSchedule", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1947,7 +1995,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "eventStatus", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1961,7 +2009,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funder", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1973,7 +2023,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funding", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1984,7 +2036,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "identifier", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1998,7 +2050,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2010,7 +2064,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "inLanguage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2024,7 +2078,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isAccessibleForFree", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2037,7 +2091,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "keywords", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2051,7 +2105,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "location", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2067,7 +2121,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntityOfPage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2081,7 +2135,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "maximumAttendeeCapacity", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2094,7 +2148,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "maximumPhysicalAttendeeCapacity", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2107,7 +2161,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "maximumVirtualAttendeeCapacity", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2120,7 +2174,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2131,7 +2187,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("offers"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "offers", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2143,7 +2201,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "organizer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2157,7 +2215,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "performer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2171,7 +2229,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "performers", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2185,7 +2243,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "potentialAction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2198,7 +2256,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "previousStartDate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2211,7 +2269,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "recordedIn", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2224,7 +2282,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "remainingAttendeeCapacity", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2237,7 +2295,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "review", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2248,7 +2308,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sameAs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2259,7 +2321,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sponsor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2271,7 +2335,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "startDate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2284,7 +2348,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subEvent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2297,7 +2361,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subEvents", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2310,7 +2374,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjectOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2324,7 +2388,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "superEvent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2337,7 +2401,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "translator", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2351,7 +2415,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "typicalAgeRange", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2364,7 +2428,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2375,7 +2441,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "workFeatured", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2388,7 +2454,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "workPerformed", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3624,7 +3690,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Event<'a> { 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 61df58926..da8f6306b 100644 --- a/crates/jacquard-api/src/social_flockfeeds/lexical/type/hotel.rs +++ b/crates/jacquard-api/src/social_flockfeeds/lexical/type/hotel.rs @@ -2334,7 +2334,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("embedded"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("embedded"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -2347,7 +2347,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "acceptedPaymentMethod", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2362,7 +2362,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "actionableFeedbackPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2376,7 +2376,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "additionalProperty", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2389,7 +2389,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "additionalType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2402,7 +2402,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("address"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "address", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2414,7 +2416,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "agentInteractionStatistic", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2427,7 +2429,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "aggregateRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2440,7 +2442,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternateName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2453,7 +2455,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("alumni"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "alumni", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2464,7 +2468,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "amenityFeature", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2477,7 +2481,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "areaServed", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2493,7 +2497,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("audience"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "audience", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2504,7 +2510,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "availableLanguage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2518,7 +2524,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "award", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2529,7 +2537,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "awards", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2540,7 +2550,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "branchCode", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2553,7 +2563,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("branchOf"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "branchOf", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2564,7 +2576,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("brand"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "brand", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2576,7 +2590,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "checkinTime", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2589,7 +2603,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "checkoutTime", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2602,7 +2616,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "companyRegistration", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2615,7 +2629,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contactPoint", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2628,7 +2642,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contactPoints", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2641,7 +2655,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "containedIn", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2654,7 +2668,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "containedInPlace", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2667,7 +2681,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "containsPlace", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2680,7 +2694,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "correctionsPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2694,7 +2708,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "currenciesAccepted", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2707,7 +2721,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "department", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2720,7 +2734,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2734,7 +2748,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "disambiguatingDescription", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2747,7 +2761,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dissolutionDate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2760,7 +2774,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "diversityPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2774,7 +2788,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "diversityStaffingReport", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2788,7 +2802,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("duns"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "duns", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2799,7 +2815,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("email"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "email", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2810,7 +2828,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("employee"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "employee", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2821,7 +2841,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "employees", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2834,7 +2854,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "ethicsPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2848,7 +2868,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("event"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "event", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2859,7 +2881,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("events"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "events", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2870,7 +2894,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "faxNumber", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2883,7 +2907,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("founder"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "founder", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2895,7 +2921,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("founders"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "founders", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2906,7 +2934,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "foundingDate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2919,7 +2947,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "foundingLocation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2932,7 +2960,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funder", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2944,7 +2974,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funding", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2955,7 +2987,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("geo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "geo", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2967,7 +3001,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "geoContains", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2981,7 +3015,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "geoCoveredBy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2995,7 +3029,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "geoCovers", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3009,7 +3043,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "geoCrosses", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3023,7 +3057,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "geoDisjoint", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3037,7 +3071,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "geoEquals", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3051,7 +3085,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "geoIntersects", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3065,7 +3099,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "geoOverlaps", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3079,7 +3113,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "geoTouches", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3093,7 +3127,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "geoWithin", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3107,7 +3141,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "globalLocationNumber", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3120,7 +3154,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasCertification", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3133,7 +3167,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasCredential", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3146,7 +3180,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasDriveThroughService", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3159,7 +3193,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasGS1DigitalLink", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3172,7 +3206,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hasMap"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "hasMap", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3184,7 +3220,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasMemberProgram", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3197,7 +3233,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasMerchantReturnPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3210,7 +3246,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasOfferCatalog", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3223,7 +3259,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hasPOS"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "hasPOS", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3234,7 +3272,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasProductReturnPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3247,7 +3285,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasShippingService", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3260,7 +3298,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "identifier", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3274,7 +3312,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3286,7 +3326,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interactionStatistic", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3299,7 +3339,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isAccessibleForFree", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3312,7 +3352,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("isicV4"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "isicV4", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3323,7 +3365,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "iso6523Code", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3336,7 +3378,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("keywords"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "keywords", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3348,7 +3392,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "knowsAbout", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3362,7 +3406,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "knowsLanguage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3376,7 +3420,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("latitude"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "latitude", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3387,7 +3433,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "legalAddress", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3400,7 +3446,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "legalName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3413,7 +3459,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "legalRepresentative", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3426,7 +3472,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("leiCode"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "leiCode", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3437,7 +3485,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("location"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "location", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3451,7 +3501,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("logo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "logo", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3463,7 +3515,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "longitude", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3476,7 +3528,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntityOfPage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3490,7 +3542,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "makesOffer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3503,7 +3555,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("map"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "map", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3514,7 +3568,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("maps"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "maps", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3525,7 +3581,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "maximumAttendeeCapacity", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3538,7 +3594,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("member"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "member", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3550,7 +3608,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("memberOf"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "memberOf", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3563,7 +3623,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("members"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "members", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3575,7 +3637,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("naics"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "naics", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3586,7 +3650,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3597,7 +3663,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "nonprofitStatus", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3611,7 +3677,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "numberOfEmployees", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3624,7 +3690,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "numberOfRooms", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3638,7 +3704,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "openingHours", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3651,7 +3717,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "openingHoursSpecification", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3664,7 +3730,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "ownershipFundingInfo", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3679,7 +3745,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("owns"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "owns", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3691,7 +3759,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "parentOrganization", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3704,7 +3772,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "paymentAccepted", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3717,7 +3785,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "petsAllowed", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3730,7 +3798,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("photo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "photo", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3742,7 +3812,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("photos"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "photos", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3754,7 +3826,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "potentialAction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3767,7 +3839,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "priceRange", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3780,7 +3852,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publicAccess", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3793,7 +3865,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publishingPrinciples", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3807,7 +3879,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "review", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3818,7 +3892,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reviews", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3829,7 +3905,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sameAs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3840,7 +3918,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("seeks"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "seeks", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3851,7 +3931,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "serviceArea", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3866,7 +3946,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("skills"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "skills", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3878,7 +3960,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("slogan"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "slogan", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3889,7 +3973,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "smokingAllowed", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3902,7 +3986,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "specialOpeningHoursSpecification", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3915,7 +3999,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sponsor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3927,7 +4013,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "starRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3940,7 +4026,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subOrganization", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3953,7 +4039,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjectOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3967,7 +4053,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("taxID"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "taxID", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3978,7 +4066,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "telephone", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3991,7 +4079,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "tourBookingPage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4004,7 +4092,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "unnamedSourcesPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4018,7 +4106,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4029,7 +4119,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("vatID"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "vatID", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4044,7 +4136,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -4060,7 +4152,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "acceptedPaymentMethod", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4075,7 +4167,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "actionableFeedbackPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4089,7 +4181,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "additionalProperty", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4102,7 +4194,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "additionalType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4115,7 +4207,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("address"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "address", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4127,7 +4221,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "agentInteractionStatistic", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4140,7 +4234,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "aggregateRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4153,7 +4247,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternateName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4166,7 +4260,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("alumni"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "alumni", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4177,7 +4273,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "amenityFeature", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4190,7 +4286,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "areaServed", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4206,7 +4302,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "audience", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4219,7 +4315,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "availableLanguage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4233,7 +4329,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "award", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4244,7 +4342,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "awards", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4255,7 +4355,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "branchCode", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4268,7 +4368,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "branchOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4281,7 +4381,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("brand"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "brand", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4293,7 +4395,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "checkinTime", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4306,7 +4408,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "checkoutTime", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4319,7 +4421,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "companyRegistration", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4332,7 +4434,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contactPoint", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4345,7 +4447,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contactPoints", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4358,7 +4460,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "containedIn", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4371,7 +4473,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "containedInPlace", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4384,7 +4486,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "containsPlace", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4397,7 +4499,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "correctionsPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4411,7 +4513,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "currenciesAccepted", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4424,7 +4526,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "department", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4437,7 +4539,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4451,7 +4553,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "disambiguatingDescription", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4464,7 +4566,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dissolutionDate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4477,7 +4579,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "diversityPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4491,7 +4593,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "diversityStaffingReport", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4505,7 +4607,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("duns"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "duns", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4516,7 +4620,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("email"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "email", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4527,7 +4633,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "employee", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4540,7 +4646,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "employees", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4553,7 +4659,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "ethicsPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4567,7 +4673,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("event"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "event", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4578,7 +4686,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("events"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "events", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4589,7 +4699,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "faxNumber", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4602,7 +4712,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("founder"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "founder", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4614,7 +4726,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "founders", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4627,7 +4739,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "foundingDate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4640,7 +4752,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "foundingLocation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4653,7 +4765,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funder", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4665,7 +4779,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funding", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4676,7 +4792,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("geo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "geo", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4688,7 +4806,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "geoContains", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4702,7 +4820,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "geoCoveredBy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4716,7 +4834,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "geoCovers", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4730,7 +4848,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "geoCrosses", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4744,7 +4862,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "geoDisjoint", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4758,7 +4876,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "geoEquals", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4772,7 +4890,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "geoIntersects", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4786,7 +4904,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "geoOverlaps", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4800,7 +4918,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "geoTouches", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4814,7 +4932,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "geoWithin", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4828,7 +4946,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "globalLocationNumber", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4841,7 +4959,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasCertification", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4854,7 +4972,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasCredential", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4867,7 +4985,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasDriveThroughService", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4880,7 +4998,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasGS1DigitalLink", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4893,7 +5011,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hasMap"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "hasMap", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4905,7 +5025,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasMemberProgram", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4918,7 +5038,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasMerchantReturnPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4931,7 +5051,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasOfferCatalog", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4944,7 +5064,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hasPOS"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "hasPOS", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4955,7 +5077,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasProductReturnPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4968,7 +5090,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasShippingService", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4981,7 +5103,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "identifier", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4995,7 +5117,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5007,7 +5131,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interactionStatistic", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5020,7 +5144,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isAccessibleForFree", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5033,7 +5157,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("isicV4"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "isicV4", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5044,7 +5170,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "iso6523Code", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5057,7 +5183,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "keywords", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5071,7 +5197,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "knowsAbout", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5085,7 +5211,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "knowsLanguage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5099,7 +5225,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "latitude", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5112,7 +5238,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "legalAddress", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5125,7 +5251,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "legalName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5138,7 +5264,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "legalRepresentative", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5151,7 +5277,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("leiCode"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "leiCode", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5162,7 +5290,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "location", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5178,7 +5306,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("logo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "logo", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5190,7 +5320,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "longitude", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5203,7 +5333,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntityOfPage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5217,7 +5347,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "makesOffer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5230,7 +5360,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("map"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "map", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5241,7 +5373,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("maps"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "maps", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5252,7 +5386,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "maximumAttendeeCapacity", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5265,7 +5399,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("member"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "member", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5277,7 +5413,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "memberOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5292,7 +5428,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("members"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "members", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5304,7 +5442,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("naics"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "naics", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5315,7 +5455,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5326,7 +5468,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "nonprofitStatus", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5340,7 +5482,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "numberOfEmployees", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5353,7 +5495,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "numberOfRooms", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5367,7 +5509,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "openingHours", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5380,7 +5522,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "openingHoursSpecification", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5393,7 +5535,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "ownershipFundingInfo", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5408,7 +5550,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("owns"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "owns", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5420,7 +5564,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "parentOrganization", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5433,7 +5577,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "paymentAccepted", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5446,7 +5590,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "petsAllowed", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5459,7 +5603,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("photo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "photo", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5471,7 +5617,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("photos"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "photos", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5483,7 +5631,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "potentialAction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5496,7 +5644,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "priceRange", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5509,7 +5657,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publicAccess", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5522,7 +5670,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publishingPrinciples", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5536,7 +5684,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "review", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5547,7 +5697,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reviews", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5558,7 +5710,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sameAs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5569,7 +5723,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("seeks"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "seeks", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5580,7 +5736,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "serviceArea", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5595,7 +5751,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("skills"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "skills", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5607,7 +5765,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("slogan"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "slogan", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5618,7 +5778,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "smokingAllowed", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5631,7 +5791,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "specialOpeningHoursSpecification", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5644,7 +5804,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sponsor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5656,7 +5818,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "starRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5669,7 +5831,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subOrganization", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5682,7 +5844,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjectOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5696,7 +5858,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("taxID"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "taxID", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5707,7 +5871,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "telephone", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5720,7 +5884,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "tourBookingPage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5733,7 +5897,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "unnamedSourcesPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5747,7 +5911,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5758,7 +5924,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("vatID"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "vatID", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -8765,7 +8933,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Hotel<'a> { 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 210818f70..75d9ca1f1 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 @@ -2590,7 +2590,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("embedded"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("embedded"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static("An image file."), @@ -2601,7 +2601,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("about"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "about", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2612,7 +2614,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("abstract"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "abstract", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2623,7 +2627,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessMode", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2636,7 +2640,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessModeSufficient", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2649,7 +2653,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityAPI", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2662,7 +2666,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityControl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2675,7 +2679,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityFeature", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2688,7 +2692,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityHazard", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2701,7 +2705,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilitySummary", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2714,7 +2718,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accountablePerson", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2727,7 +2731,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "acquireLicensePage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2741,7 +2745,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "additionalType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2754,7 +2758,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "aggregateRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2767,7 +2771,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternateName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2780,7 +2784,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternativeHeadline", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2793,7 +2797,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "archivedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2807,7 +2811,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("assesses"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "assesses", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2819,7 +2825,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "associatedArticle", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2832,7 +2838,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "associatedMedia", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2845,7 +2851,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("audience"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "audience", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2856,7 +2864,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("audio"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "audio", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2869,7 +2879,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "author", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2881,7 +2893,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "award", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2892,7 +2906,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "awards", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2903,7 +2919,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("bitrate"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "bitrate", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2914,7 +2932,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("caption"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "caption", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2926,7 +2946,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "character", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2939,7 +2959,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("citation"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "citation", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2951,7 +2973,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "comment", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2962,7 +2986,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "commentCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2975,7 +2999,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "conditionsOfAccess", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2988,7 +3012,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentLocation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3001,7 +3025,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3015,7 +3039,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentReferenceTime", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3028,7 +3052,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentSize", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3041,7 +3065,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3054,7 +3078,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contributor", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3068,7 +3092,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightHolder", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3082,7 +3106,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightNotice", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3095,7 +3119,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightYear", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3108,7 +3132,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "correction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3122,7 +3146,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "countryOfOrigin", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3135,7 +3159,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "creativeWorkStatus", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3149,7 +3173,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("creator"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "creator", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3161,7 +3187,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "creditText", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3174,7 +3200,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dateCreated", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3187,7 +3213,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dateModified", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3200,7 +3226,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "datePublished", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3213,7 +3239,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3227,7 +3253,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "digitalSourceType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3241,7 +3267,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "disambiguatingDescription", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3254,7 +3280,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "discussionUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3267,7 +3293,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("duration"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "duration", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3279,7 +3307,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("editEIDR"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "editEIDR", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3290,7 +3320,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("editor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "editor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3301,7 +3333,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalAlignment", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3314,7 +3346,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalLevel", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3328,7 +3360,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalUse", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3342,7 +3374,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("embedUrl"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "embedUrl", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3353,7 +3387,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "embeddedTextCaption", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3366,7 +3400,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "encodesCreativeWork", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3379,7 +3413,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("encoding"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "encoding", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3390,7 +3426,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "encodingFormat", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3403,7 +3439,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "encodings", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3416,7 +3452,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("endTime"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "endTime", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3427,7 +3465,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "exampleOfWork", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3440,7 +3478,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("exifData"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "exifData", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3452,7 +3492,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("expires"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "expires", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3463,7 +3505,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "fileFormat", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3476,7 +3518,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funder", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3488,7 +3532,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funding", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3499,7 +3545,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("genre"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "genre", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3510,7 +3558,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hasPart"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "hasPart", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3521,7 +3571,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("headline"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "headline", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3532,7 +3584,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("height"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "height", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3545,7 +3599,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "identifier", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3559,7 +3613,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3571,7 +3627,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "inLanguage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3585,7 +3641,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "ineligibleRegion", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3600,7 +3656,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interactionStatistic", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3613,7 +3669,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interactivityType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3626,7 +3682,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interpretedAsClaim", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3639,7 +3695,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isAccessibleForFree", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3652,7 +3708,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isBasedOn", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3667,7 +3723,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isBasedOnUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3682,7 +3738,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isFamilyFriendly", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3695,7 +3751,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("isPartOf"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "isPartOf", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3707,7 +3765,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("keywords"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "keywords", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3719,7 +3779,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "learningResourceType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3733,7 +3793,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("license"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "license", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3745,7 +3807,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "locationCreated", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3758,7 +3820,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntity", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3771,7 +3833,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntityOfPage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3785,7 +3847,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "maintainer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3799,7 +3861,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("material"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "material", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3811,7 +3875,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "materialExtent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3825,7 +3889,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("mentions"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "mentions", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3836,7 +3902,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3847,7 +3915,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("offers"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "offers", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3859,7 +3929,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("pattern"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "pattern", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3871,7 +3943,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "playerType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3884,7 +3956,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("position"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "position", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3895,7 +3969,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "potentialAction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3908,7 +3982,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("producer"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "producer", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3920,7 +3996,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "productionCompany", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3933,7 +4009,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("provider"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "provider", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3945,7 +4023,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publication", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3958,7 +4036,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publisher", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3972,7 +4050,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publisherImprint", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3985,7 +4063,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publishingPrinciples", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3999,7 +4077,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "recordedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4012,7 +4090,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "regionsAllowed", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4025,7 +4103,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "releasedEvent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4038,7 +4116,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "representativeOfPage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4051,7 +4129,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "requiresSubscription", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4065,7 +4143,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "review", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4076,7 +4156,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reviews", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4087,7 +4169,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sameAs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4098,7 +4182,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "schemaVersion", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4111,7 +4195,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdDatePublished", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4124,7 +4208,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdLicense", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4138,7 +4222,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdPublisher", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4152,7 +4236,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sha256"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sha256", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4163,7 +4249,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "size", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4177,7 +4265,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sourceOrganization", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4190,7 +4278,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("spatial"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "spatial", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4201,7 +4291,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "spatialCoverage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4214,7 +4304,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sponsor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4226,7 +4318,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "startTime", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4239,7 +4331,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjectOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4253,7 +4345,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("teaches"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "teaches", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4265,7 +4359,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("temporal"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "temporal", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4276,7 +4372,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "temporalCoverage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4289,7 +4385,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4300,7 +4398,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "thumbnail", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4313,7 +4411,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "thumbnailUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4326,7 +4424,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "timeRequired", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4339,7 +4437,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "translationOfWork", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4352,7 +4450,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "translator", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4366,7 +4464,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "typicalAgeRange", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4379,7 +4477,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "uploadDate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4392,7 +4490,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4403,7 +4503,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "usageInfo", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4417,7 +4517,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("version"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "version", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4428,7 +4530,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("video"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "video", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4440,7 +4544,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("width"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "width", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4453,7 +4559,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "wordCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4466,7 +4572,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "workExample", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4479,7 +4585,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "workTranslation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4496,7 +4602,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -4510,7 +4616,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("about"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "about", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4521,7 +4629,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "abstract", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4534,7 +4642,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessMode", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4547,7 +4655,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessModeSufficient", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4560,7 +4668,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityAPI", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4573,7 +4681,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityControl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4586,7 +4694,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityFeature", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4599,7 +4707,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityHazard", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4612,7 +4720,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilitySummary", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4625,7 +4733,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accountablePerson", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4638,7 +4746,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "acquireLicensePage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4652,7 +4760,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "additionalType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4665,7 +4773,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "aggregateRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4678,7 +4786,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternateName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4691,7 +4799,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternativeHeadline", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4704,7 +4812,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "archivedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4718,7 +4826,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "assesses", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4732,7 +4840,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "associatedArticle", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4745,7 +4853,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "associatedMedia", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4758,7 +4866,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "audience", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4771,7 +4879,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("audio"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "audio", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4784,7 +4894,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "author", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4796,7 +4908,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "award", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4807,7 +4921,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "awards", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4818,7 +4934,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("bitrate"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "bitrate", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4829,7 +4947,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("caption"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "caption", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4841,7 +4961,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "character", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4854,7 +4974,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "citation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4868,7 +4988,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "comment", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4879,7 +5001,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "commentCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4892,7 +5014,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "conditionsOfAccess", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4905,7 +5027,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentLocation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4918,7 +5040,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4932,7 +5054,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentReferenceTime", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4945,7 +5067,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentSize", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4958,7 +5080,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4971,7 +5093,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contributor", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4985,7 +5107,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightHolder", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4999,7 +5121,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightNotice", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5012,7 +5134,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightYear", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5025,7 +5147,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "correction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5039,7 +5161,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "countryOfOrigin", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5052,7 +5174,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "creativeWorkStatus", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5066,7 +5188,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("creator"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "creator", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5078,7 +5202,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "creditText", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5091,7 +5215,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dateCreated", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5104,7 +5228,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dateModified", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5117,7 +5241,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "datePublished", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5130,7 +5254,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5144,7 +5268,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "digitalSourceType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5158,7 +5282,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "disambiguatingDescription", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5171,7 +5295,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "discussionUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5184,7 +5308,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "duration", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5198,7 +5322,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "editEIDR", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5211,7 +5335,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("editor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "editor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5222,7 +5348,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalAlignment", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5235,7 +5361,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalLevel", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5249,7 +5375,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalUse", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5263,7 +5389,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "embedUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5276,7 +5402,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "embeddedTextCaption", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5289,7 +5415,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "encodesCreativeWork", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5302,7 +5428,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "encoding", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5315,7 +5441,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "encodingFormat", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5328,7 +5454,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "encodings", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5341,7 +5467,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("endTime"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "endTime", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5352,7 +5480,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "exampleOfWork", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5365,7 +5493,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "exifData", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5379,7 +5507,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("expires"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "expires", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5390,7 +5520,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "fileFormat", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5403,7 +5533,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funder", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5415,7 +5547,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funding", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5426,7 +5560,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("genre"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "genre", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5437,7 +5573,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hasPart"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "hasPart", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5448,7 +5586,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "headline", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5461,7 +5599,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("height"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "height", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5474,7 +5614,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "identifier", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5488,7 +5628,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5500,7 +5642,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "inLanguage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5514,7 +5656,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "ineligibleRegion", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5529,7 +5671,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interactionStatistic", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5542,7 +5684,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interactivityType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5555,7 +5697,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interpretedAsClaim", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5568,7 +5710,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isAccessibleForFree", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5581,7 +5723,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isBasedOn", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5596,7 +5738,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isBasedOnUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5611,7 +5753,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isFamilyFriendly", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5624,7 +5766,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isPartOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5638,7 +5780,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "keywords", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5652,7 +5794,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "learningResourceType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5666,7 +5808,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("license"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "license", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5678,7 +5822,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "locationCreated", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5691,7 +5835,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntity", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5704,7 +5848,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntityOfPage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5718,7 +5862,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "maintainer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5732,7 +5876,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "material", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5746,7 +5890,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "materialExtent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5760,7 +5904,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mentions", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5773,7 +5917,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5784,7 +5930,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("offers"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "offers", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5796,7 +5944,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("pattern"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "pattern", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5808,7 +5958,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "playerType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5821,7 +5971,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "position", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5834,7 +5984,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "potentialAction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5847,7 +5997,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "producer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5861,7 +6011,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "productionCompany", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5874,7 +6024,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "provider", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5888,7 +6038,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publication", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5901,7 +6051,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publisher", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5915,7 +6065,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publisherImprint", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5928,7 +6078,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publishingPrinciples", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5942,7 +6092,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "recordedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5955,7 +6105,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "regionsAllowed", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5968,7 +6118,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "releasedEvent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5981,7 +6131,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "representativeOfPage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5994,7 +6144,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "requiresSubscription", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -6008,7 +6158,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "review", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -6019,7 +6171,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reviews", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -6030,7 +6184,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sameAs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -6041,7 +6197,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "schemaVersion", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -6054,7 +6210,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdDatePublished", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -6067,7 +6223,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdLicense", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -6081,7 +6237,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdPublisher", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -6095,7 +6251,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sha256"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sha256", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -6106,7 +6264,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "size", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -6120,7 +6280,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sourceOrganization", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -6133,7 +6293,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("spatial"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "spatial", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -6144,7 +6306,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "spatialCoverage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -6157,7 +6319,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sponsor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -6169,7 +6333,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "startTime", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -6182,7 +6346,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjectOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -6196,7 +6360,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("teaches"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "teaches", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -6208,7 +6374,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "temporal", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -6221,7 +6387,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "temporalCoverage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -6234,7 +6400,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -6245,7 +6413,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "thumbnail", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -6258,7 +6426,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "thumbnailUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -6271,7 +6439,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "timeRequired", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -6284,7 +6452,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "translationOfWork", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -6297,7 +6465,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "translator", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -6311,7 +6479,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "typicalAgeRange", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -6324,7 +6492,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "uploadDate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -6337,7 +6505,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -6348,7 +6518,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "usageInfo", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -6362,7 +6532,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("version"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "version", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -6373,7 +6545,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("video"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "video", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -6385,7 +6559,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("width"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "width", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -6398,7 +6574,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "wordCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -6411,7 +6587,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "workExample", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -6424,7 +6600,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "workTranslation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -9958,7 +10134,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ImageObject<'a> { 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 d76bfcfa0..fe1ffba14 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 @@ -2220,7 +2220,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("embedded"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("embedded"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -2233,7 +2233,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "acceptedPaymentMethod", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2248,7 +2248,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "actionableFeedbackPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2262,7 +2262,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "additionalProperty", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2275,7 +2275,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "additionalType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2288,7 +2288,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("address"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "address", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2300,7 +2302,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "agentInteractionStatistic", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2313,7 +2315,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "aggregateRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2326,7 +2328,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternateName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2339,7 +2341,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("alumni"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "alumni", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2350,7 +2354,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "amenityFeature", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2363,7 +2367,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "areaServed", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2379,7 +2383,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "award", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2390,7 +2396,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "awards", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2401,7 +2409,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "branchCode", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2414,7 +2422,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("branchOf"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "branchOf", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2425,7 +2435,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("brand"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "brand", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2437,7 +2449,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "companyRegistration", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2450,7 +2462,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contactPoint", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2463,7 +2475,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contactPoints", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2476,7 +2488,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "containedIn", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2489,7 +2501,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "containedInPlace", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2502,7 +2514,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "containsPlace", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2515,7 +2527,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "correctionsPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2529,7 +2541,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "currenciesAccepted", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2542,7 +2554,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "department", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2555,7 +2567,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2569,7 +2581,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "disambiguatingDescription", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2582,7 +2594,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dissolutionDate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2595,7 +2607,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "diversityPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2609,7 +2621,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "diversityStaffingReport", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2623,7 +2635,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("duns"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "duns", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2634,7 +2648,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("email"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "email", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2645,7 +2661,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("employee"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "employee", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2656,7 +2674,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "employees", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2669,7 +2687,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "ethicsPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2683,7 +2701,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("event"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "event", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2694,7 +2714,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("events"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "events", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2705,7 +2727,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "faxNumber", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2718,7 +2740,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("founder"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "founder", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2730,7 +2754,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("founders"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "founders", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2741,7 +2767,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "foundingDate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2754,7 +2780,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "foundingLocation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2767,7 +2793,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funder", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2779,7 +2807,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funding", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2790,7 +2820,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("geo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "geo", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2802,7 +2834,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "geoContains", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2816,7 +2848,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "geoCoveredBy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2830,7 +2862,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "geoCovers", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2844,7 +2876,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "geoCrosses", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2858,7 +2890,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "geoDisjoint", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2872,7 +2904,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "geoEquals", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2886,7 +2918,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "geoIntersects", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2900,7 +2932,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "geoOverlaps", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2914,7 +2946,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "geoTouches", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2928,7 +2960,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "geoWithin", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2942,7 +2974,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "globalLocationNumber", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2955,7 +2987,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasCertification", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2968,7 +3000,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasCredential", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2981,7 +3013,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasDriveThroughService", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2994,7 +3026,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasGS1DigitalLink", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3007,7 +3039,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hasMap"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "hasMap", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3019,7 +3053,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasMemberProgram", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3032,7 +3066,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasMerchantReturnPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3045,7 +3079,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasOfferCatalog", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3058,7 +3092,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hasPOS"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "hasPOS", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3069,7 +3105,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasProductReturnPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3082,7 +3118,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasShippingService", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3095,7 +3131,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "identifier", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3109,7 +3145,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3121,7 +3159,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interactionStatistic", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3134,7 +3172,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isAccessibleForFree", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3147,7 +3185,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("isicV4"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "isicV4", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3158,7 +3198,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "iso6523Code", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3171,7 +3211,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("keywords"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "keywords", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3183,7 +3225,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "knowsAbout", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3197,7 +3239,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "knowsLanguage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3211,7 +3253,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("latitude"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "latitude", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3222,7 +3266,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "legalAddress", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3235,7 +3279,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "legalName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3248,7 +3292,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "legalRepresentative", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3261,7 +3305,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("leiCode"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "leiCode", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3272,7 +3318,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("location"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "location", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3286,7 +3334,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("logo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "logo", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3298,7 +3348,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "longitude", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3311,7 +3361,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntityOfPage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3325,7 +3375,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "makesOffer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3338,7 +3388,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("map"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "map", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3349,7 +3401,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("maps"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "maps", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3360,7 +3414,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "maximumAttendeeCapacity", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3373,7 +3427,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("member"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "member", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3385,7 +3441,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("memberOf"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "memberOf", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3398,7 +3456,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("members"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "members", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3410,7 +3470,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("naics"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "naics", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3421,7 +3483,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3432,7 +3496,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "nonprofitStatus", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3446,7 +3510,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "numberOfEmployees", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3459,7 +3523,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "openingHours", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3472,7 +3536,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "openingHoursSpecification", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3485,7 +3549,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "ownershipFundingInfo", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3500,7 +3564,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("owns"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "owns", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3512,7 +3578,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "parentOrganization", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3525,7 +3591,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "paymentAccepted", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3538,7 +3604,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("photo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "photo", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3550,7 +3618,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("photos"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "photos", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3562,7 +3632,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "potentialAction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3575,7 +3645,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "priceRange", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3588,7 +3658,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publicAccess", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3601,7 +3671,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publishingPrinciples", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3615,7 +3685,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "review", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3626,7 +3698,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reviews", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3637,7 +3711,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sameAs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3648,7 +3724,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("seeks"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "seeks", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3659,7 +3737,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "serviceArea", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3674,7 +3752,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("skills"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "skills", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3686,7 +3766,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("slogan"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "slogan", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3697,7 +3779,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "smokingAllowed", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3710,7 +3792,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "specialOpeningHoursSpecification", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3723,7 +3805,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sponsor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3735,7 +3819,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subOrganization", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3748,7 +3832,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjectOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3762,7 +3846,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("taxID"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "taxID", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3773,7 +3859,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "telephone", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3786,7 +3872,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "tourBookingPage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3799,7 +3885,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "unnamedSourcesPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3813,7 +3899,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3824,7 +3912,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("vatID"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "vatID", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3839,7 +3929,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -3855,7 +3945,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "acceptedPaymentMethod", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3870,7 +3960,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "actionableFeedbackPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3884,7 +3974,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "additionalProperty", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3897,7 +3987,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "additionalType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3910,7 +4000,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("address"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "address", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3922,7 +4014,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "agentInteractionStatistic", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3935,7 +4027,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "aggregateRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3948,7 +4040,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternateName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3961,7 +4053,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("alumni"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "alumni", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3972,7 +4066,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "amenityFeature", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3985,7 +4079,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "areaServed", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4001,7 +4095,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "award", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4012,7 +4108,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "awards", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4023,7 +4121,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "branchCode", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4036,7 +4134,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "branchOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4049,7 +4147,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("brand"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "brand", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4061,7 +4161,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "companyRegistration", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4074,7 +4174,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contactPoint", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4087,7 +4187,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contactPoints", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4100,7 +4200,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "containedIn", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4113,7 +4213,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "containedInPlace", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4126,7 +4226,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "containsPlace", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4139,7 +4239,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "correctionsPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4153,7 +4253,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "currenciesAccepted", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4166,7 +4266,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "department", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4179,7 +4279,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4193,7 +4293,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "disambiguatingDescription", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4206,7 +4306,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dissolutionDate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4219,7 +4319,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "diversityPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4233,7 +4333,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "diversityStaffingReport", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4247,7 +4347,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("duns"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "duns", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4258,7 +4360,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("email"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "email", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4269,7 +4373,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "employee", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4282,7 +4386,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "employees", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4295,7 +4399,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "ethicsPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4309,7 +4413,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("event"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "event", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4320,7 +4426,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("events"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "events", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4331,7 +4439,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "faxNumber", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4344,7 +4452,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("founder"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "founder", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4356,7 +4466,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "founders", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4369,7 +4479,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "foundingDate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4382,7 +4492,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "foundingLocation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4395,7 +4505,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funder", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4407,7 +4519,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funding", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4418,7 +4532,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("geo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "geo", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4430,7 +4546,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "geoContains", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4444,7 +4560,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "geoCoveredBy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4458,7 +4574,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "geoCovers", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4472,7 +4588,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "geoCrosses", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4486,7 +4602,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "geoDisjoint", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4500,7 +4616,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "geoEquals", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4514,7 +4630,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "geoIntersects", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4528,7 +4644,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "geoOverlaps", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4542,7 +4658,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "geoTouches", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4556,7 +4672,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "geoWithin", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4570,7 +4686,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "globalLocationNumber", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4583,7 +4699,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasCertification", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4596,7 +4712,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasCredential", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4609,7 +4725,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasDriveThroughService", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4622,7 +4738,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasGS1DigitalLink", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4635,7 +4751,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hasMap"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "hasMap", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4647,7 +4765,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasMemberProgram", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4660,7 +4778,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasMerchantReturnPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4673,7 +4791,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasOfferCatalog", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4686,7 +4804,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hasPOS"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "hasPOS", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4697,7 +4817,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasProductReturnPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4710,7 +4830,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasShippingService", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4723,7 +4843,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "identifier", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4737,7 +4857,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4749,7 +4871,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interactionStatistic", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4762,7 +4884,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isAccessibleForFree", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4775,7 +4897,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("isicV4"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "isicV4", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4786,7 +4910,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "iso6523Code", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4799,7 +4923,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "keywords", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4813,7 +4937,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "knowsAbout", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4827,7 +4951,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "knowsLanguage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4841,7 +4965,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "latitude", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4854,7 +4978,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "legalAddress", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4867,7 +4991,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "legalName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4880,7 +5004,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "legalRepresentative", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4893,7 +5017,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("leiCode"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "leiCode", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4904,7 +5030,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "location", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4920,7 +5046,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("logo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "logo", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4932,7 +5060,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "longitude", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4945,7 +5073,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntityOfPage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4959,7 +5087,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "makesOffer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4972,7 +5100,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("map"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "map", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4983,7 +5113,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("maps"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "maps", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4994,7 +5126,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "maximumAttendeeCapacity", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5007,7 +5139,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("member"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "member", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5019,7 +5153,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "memberOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5034,7 +5168,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("members"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "members", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5046,7 +5182,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("naics"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "naics", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5057,7 +5195,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5068,7 +5208,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "nonprofitStatus", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5082,7 +5222,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "numberOfEmployees", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5095,7 +5235,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "openingHours", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5108,7 +5248,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "openingHoursSpecification", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5121,7 +5261,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "ownershipFundingInfo", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5136,7 +5276,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("owns"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "owns", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5148,7 +5290,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "parentOrganization", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5161,7 +5303,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "paymentAccepted", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5174,7 +5316,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("photo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "photo", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5186,7 +5330,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("photos"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "photos", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5198,7 +5344,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "potentialAction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5211,7 +5357,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "priceRange", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5224,7 +5370,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publicAccess", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5237,7 +5383,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publishingPrinciples", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5251,7 +5397,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "review", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5262,7 +5410,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reviews", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5273,7 +5423,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sameAs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5284,7 +5436,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("seeks"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "seeks", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5295,7 +5449,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "serviceArea", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5310,7 +5464,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("skills"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "skills", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5322,7 +5478,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("slogan"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "slogan", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5333,7 +5491,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "smokingAllowed", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5346,7 +5504,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "specialOpeningHoursSpecification", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5359,7 +5517,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sponsor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5371,7 +5531,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subOrganization", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5384,7 +5544,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjectOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5398,7 +5558,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("taxID"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "taxID", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5409,7 +5571,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "telephone", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5422,7 +5584,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "tourBookingPage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5435,7 +5597,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "unnamedSourcesPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5449,7 +5611,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5460,7 +5624,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("vatID"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "vatID", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -8518,7 +8684,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> LocalBusiness<'a> { 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 e02083cb6..2044ae86e 100644 --- a/crates/jacquard-api/src/social_flockfeeds/lexical/type/movie.rs +++ b/crates/jacquard-api/src/social_flockfeeds/lexical/type/movie.rs @@ -2420,7 +2420,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("embedded"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("embedded"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some(::jacquard_common::CowStr::new_static("A movie.")), required: None, @@ -2429,7 +2429,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("about"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "about", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2440,7 +2442,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("abstract"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "abstract", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2451,7 +2455,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessMode", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2464,7 +2468,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessModeSufficient", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2477,7 +2481,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityAPI", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2490,7 +2494,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityControl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2503,7 +2507,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityFeature", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2516,7 +2520,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityHazard", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2529,7 +2533,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilitySummary", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2542,7 +2546,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accountablePerson", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2555,7 +2559,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "acquireLicensePage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2569,7 +2573,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("actor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "actor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2581,7 +2587,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("actors"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "actors", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2592,7 +2600,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "additionalType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2605,7 +2613,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "aggregateRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2618,7 +2626,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternateName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2631,7 +2639,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternativeHeadline", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2644,7 +2652,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "archivedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2658,7 +2666,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("assesses"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "assesses", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2670,7 +2680,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "associatedMedia", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2683,7 +2693,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("audience"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "audience", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2694,7 +2706,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("audio"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "audio", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2707,7 +2721,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "author", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2719,7 +2735,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "award", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2730,7 +2748,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "awards", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2741,7 +2761,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "character", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2754,7 +2774,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("citation"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "citation", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2766,7 +2788,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "comment", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2777,7 +2801,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "commentCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2790,7 +2814,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "conditionsOfAccess", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2803,7 +2827,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentLocation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2816,7 +2840,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2830,7 +2854,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentReferenceTime", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2843,7 +2867,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contributor", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2857,7 +2881,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightHolder", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2871,7 +2895,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightNotice", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2884,7 +2908,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightYear", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2897,7 +2921,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "correction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2911,7 +2935,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "countryOfOrigin", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2924,7 +2948,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "creativeWorkStatus", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2938,7 +2962,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("creator"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "creator", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2950,7 +2976,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "creditText", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2963,7 +2989,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dateCreated", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2976,7 +3002,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dateModified", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2989,7 +3015,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "datePublished", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3002,7 +3028,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3016,7 +3042,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "digitalSourceType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3030,7 +3056,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("director"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "director", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3041,7 +3069,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "directors", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3054,7 +3082,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "disambiguatingDescription", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3067,7 +3095,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "discussionUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3080,7 +3108,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("duration"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "duration", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3092,7 +3122,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("editEIDR"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "editEIDR", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3103,7 +3135,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("editor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "editor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3114,7 +3148,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalAlignment", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3127,7 +3161,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalLevel", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3141,7 +3175,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalUse", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3155,7 +3189,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("encoding"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "encoding", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3166,7 +3202,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "encodingFormat", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3179,7 +3215,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "encodings", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3192,7 +3228,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "exampleOfWork", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3205,7 +3241,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("expires"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "expires", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3216,7 +3254,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "fileFormat", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3229,7 +3267,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funder", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3241,7 +3281,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funding", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3252,7 +3294,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("genre"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "genre", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3263,7 +3307,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hasPart"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "hasPart", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3274,7 +3320,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("headline"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "headline", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3285,7 +3333,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "identifier", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3299,7 +3347,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3311,7 +3361,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "inLanguage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3325,7 +3375,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interactionStatistic", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3338,7 +3388,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interactivityType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3351,7 +3401,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interpretedAsClaim", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3364,7 +3414,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isAccessibleForFree", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3377,7 +3427,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isBasedOn", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3392,7 +3442,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isBasedOnUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3407,7 +3457,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isFamilyFriendly", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3420,7 +3470,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("isPartOf"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "isPartOf", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3432,7 +3484,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("keywords"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "keywords", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3444,7 +3498,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "learningResourceType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3458,7 +3512,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("license"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "license", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3470,7 +3526,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "locationCreated", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3483,7 +3539,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntity", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3496,7 +3552,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntityOfPage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3510,7 +3566,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "maintainer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3524,7 +3580,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("material"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "material", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3536,7 +3594,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "materialExtent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3550,7 +3608,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("mentions"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "mentions", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3561,7 +3621,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("musicBy"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "musicBy", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3573,7 +3635,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3584,7 +3648,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("offers"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "offers", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3596,7 +3662,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("pattern"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "pattern", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3608,7 +3676,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("position"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "position", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3619,7 +3689,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "potentialAction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3632,7 +3702,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("producer"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "producer", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3644,7 +3716,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "productionCompany", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3657,7 +3729,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("provider"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "provider", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3669,7 +3743,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publication", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3682,7 +3756,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publisher", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3696,7 +3770,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publisherImprint", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3709,7 +3783,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publishingPrinciples", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3723,7 +3797,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "recordedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3736,7 +3810,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "releasedEvent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3749,7 +3823,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "review", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3760,7 +3836,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reviews", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3771,7 +3849,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sameAs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3782,7 +3862,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "schemaVersion", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3795,7 +3875,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdDatePublished", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3808,7 +3888,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdLicense", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3822,7 +3902,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdPublisher", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3836,7 +3916,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "size", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3850,7 +3932,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sourceOrganization", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3863,7 +3945,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("spatial"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "spatial", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3874,7 +3958,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "spatialCoverage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3887,7 +3971,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sponsor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3899,7 +3985,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjectOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3913,7 +3999,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subtitleLanguage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3927,7 +4013,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("teaches"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "teaches", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3939,7 +4027,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("temporal"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "temporal", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3950,7 +4040,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "temporalCoverage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3963,7 +4053,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3974,7 +4066,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "thumbnail", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3987,7 +4079,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "thumbnailUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4000,7 +4092,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "timeRequired", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4013,7 +4105,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "titleEIDR", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4026,7 +4118,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("trailer"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "trailer", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4037,7 +4131,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "translationOfWork", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4050,7 +4144,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "translator", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4064,7 +4158,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "typicalAgeRange", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4077,7 +4171,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4088,7 +4184,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "usageInfo", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4102,7 +4198,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("version"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "version", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4113,7 +4211,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("video"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "video", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4125,7 +4225,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "wordCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4138,7 +4238,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "workExample", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4151,7 +4251,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "workTranslation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4168,7 +4268,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -4182,7 +4282,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("about"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "about", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4193,7 +4295,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "abstract", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4206,7 +4308,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessMode", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4219,7 +4321,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessModeSufficient", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4232,7 +4334,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityAPI", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4245,7 +4347,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityControl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4258,7 +4360,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityFeature", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4271,7 +4373,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityHazard", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4284,7 +4386,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilitySummary", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4297,7 +4399,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accountablePerson", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4310,7 +4412,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "acquireLicensePage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4324,7 +4426,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("actor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "actor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4336,7 +4440,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("actors"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "actors", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4347,7 +4453,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "additionalType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4360,7 +4466,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "aggregateRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4373,7 +4479,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternateName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4386,7 +4492,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternativeHeadline", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4399,7 +4505,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "archivedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4413,7 +4519,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "assesses", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4427,7 +4533,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "associatedMedia", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4440,7 +4546,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "audience", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4453,7 +4559,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("audio"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "audio", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4466,7 +4574,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "author", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4478,7 +4588,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "award", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4489,7 +4601,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "awards", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4500,7 +4614,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "character", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4513,7 +4627,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "citation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4527,7 +4641,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "comment", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4538,7 +4654,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "commentCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4551,7 +4667,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "conditionsOfAccess", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4564,7 +4680,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentLocation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4577,7 +4693,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4591,7 +4707,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentReferenceTime", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4604,7 +4720,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contributor", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4618,7 +4734,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightHolder", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4632,7 +4748,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightNotice", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4645,7 +4761,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightYear", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4658,7 +4774,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "correction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4672,7 +4788,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "countryOfOrigin", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4685,7 +4801,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "creativeWorkStatus", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4699,7 +4815,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("creator"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "creator", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4711,7 +4829,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "creditText", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4724,7 +4842,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dateCreated", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4737,7 +4855,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dateModified", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4750,7 +4868,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "datePublished", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4763,7 +4881,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4777,7 +4895,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "digitalSourceType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4791,7 +4909,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "director", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4804,7 +4922,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "directors", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4817,7 +4935,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "disambiguatingDescription", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4830,7 +4948,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "discussionUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4843,7 +4961,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "duration", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4857,7 +4975,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "editEIDR", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4870,7 +4988,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("editor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "editor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4881,7 +5001,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalAlignment", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4894,7 +5014,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalLevel", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4908,7 +5028,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalUse", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4922,7 +5042,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "encoding", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4935,7 +5055,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "encodingFormat", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4948,7 +5068,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "encodings", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4961,7 +5081,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "exampleOfWork", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4974,7 +5094,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("expires"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "expires", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4985,7 +5107,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "fileFormat", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4998,7 +5120,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funder", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5010,7 +5134,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funding", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5021,7 +5147,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("genre"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "genre", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5032,7 +5160,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hasPart"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "hasPart", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5043,7 +5173,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "headline", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5056,7 +5186,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "identifier", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5070,7 +5200,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5082,7 +5214,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "inLanguage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5096,7 +5228,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interactionStatistic", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5109,7 +5241,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interactivityType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5122,7 +5254,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interpretedAsClaim", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5135,7 +5267,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isAccessibleForFree", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5148,7 +5280,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isBasedOn", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5163,7 +5295,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isBasedOnUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5178,7 +5310,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isFamilyFriendly", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5191,7 +5323,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isPartOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5205,7 +5337,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "keywords", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5219,7 +5351,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "learningResourceType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5233,7 +5365,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("license"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "license", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5245,7 +5379,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "locationCreated", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5258,7 +5392,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntity", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5271,7 +5405,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntityOfPage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5285,7 +5419,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "maintainer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5299,7 +5433,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "material", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5313,7 +5447,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "materialExtent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5327,7 +5461,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mentions", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5340,7 +5474,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("musicBy"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "musicBy", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5352,7 +5488,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5363,7 +5501,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("offers"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "offers", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5375,7 +5515,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("pattern"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "pattern", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5387,7 +5529,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "position", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5400,7 +5542,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "potentialAction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5413,7 +5555,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "producer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5427,7 +5569,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "productionCompany", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5440,7 +5582,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "provider", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5454,7 +5596,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publication", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5467,7 +5609,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publisher", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5481,7 +5623,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publisherImprint", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5494,7 +5636,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publishingPrinciples", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5508,7 +5650,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "recordedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5521,7 +5663,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "releasedEvent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5534,7 +5676,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "review", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5545,7 +5689,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reviews", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5556,7 +5702,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sameAs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5567,7 +5715,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "schemaVersion", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5580,7 +5728,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdDatePublished", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5593,7 +5741,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdLicense", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5607,7 +5755,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdPublisher", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5621,7 +5769,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "size", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5635,7 +5785,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sourceOrganization", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5648,7 +5798,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("spatial"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "spatial", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5659,7 +5811,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "spatialCoverage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5672,7 +5824,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sponsor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5684,7 +5838,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjectOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5698,7 +5852,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subtitleLanguage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5712,7 +5866,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("teaches"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "teaches", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5724,7 +5880,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "temporal", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5737,7 +5893,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "temporalCoverage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5750,7 +5906,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5761,7 +5919,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "thumbnail", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5774,7 +5932,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "thumbnailUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5787,7 +5945,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "timeRequired", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5800,7 +5958,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "titleEIDR", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5813,7 +5971,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("trailer"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "trailer", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5824,7 +5984,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "translationOfWork", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5837,7 +5997,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "translator", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5851,7 +6011,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "typicalAgeRange", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5864,7 +6024,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5875,7 +6037,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "usageInfo", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5889,7 +6051,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("version"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "version", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5900,7 +6064,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("video"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "video", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5912,7 +6078,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "wordCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5925,7 +6091,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "workExample", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5938,7 +6104,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "workTranslation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -9016,7 +9182,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Movie<'a> { 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 dc89c36c4..fa229af21 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 @@ -1006,7 +1006,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("embedded"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("embedded"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static("Event type: Music event."), @@ -1017,7 +1017,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("about"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "about", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1028,7 +1030,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("actor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "actor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1040,7 +1044,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "additionalType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1053,7 +1057,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "aggregateRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1066,7 +1070,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternateName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1079,7 +1083,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("attendee"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "attendee", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1091,7 +1097,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "attendees", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1105,7 +1111,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("audience"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "audience", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1116,7 +1124,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("composer"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "composer", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1128,7 +1138,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contributor", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1142,7 +1152,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1156,7 +1166,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("director"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "director", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1167,7 +1179,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "disambiguatingDescription", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1180,7 +1192,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("doorTime"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "doorTime", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1191,7 +1205,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("duration"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "duration", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1203,7 +1219,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("endDate"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "endDate", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1214,7 +1232,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "eventAttendanceMode", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1228,7 +1246,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "eventSchedule", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1241,7 +1259,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "eventStatus", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1255,7 +1273,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funder", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1267,7 +1287,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funding", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1278,7 +1300,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "identifier", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1292,7 +1314,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1304,7 +1328,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "inLanguage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1318,7 +1342,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isAccessibleForFree", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1331,7 +1355,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("keywords"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "keywords", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1343,7 +1369,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("location"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "location", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1357,7 +1385,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntityOfPage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1371,7 +1399,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "maximumAttendeeCapacity", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1384,7 +1412,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "maximumPhysicalAttendeeCapacity", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1397,7 +1425,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "maximumVirtualAttendeeCapacity", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1410,7 +1438,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1421,7 +1451,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("offers"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "offers", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1433,7 +1465,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "organizer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1447,7 +1479,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "performer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1461,7 +1493,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "performers", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1475,7 +1507,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "potentialAction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1488,7 +1520,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "previousStartDate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1501,7 +1533,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "recordedIn", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1514,7 +1546,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "remainingAttendeeCapacity", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1527,7 +1559,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "review", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1538,7 +1572,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sameAs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1549,7 +1585,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sponsor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1561,7 +1599,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "startDate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1574,7 +1612,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subEvent"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subEvent", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1585,7 +1625,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subEvents", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1598,7 +1638,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjectOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1612,7 +1652,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "superEvent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1625,7 +1665,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "translator", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1639,7 +1679,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "typicalAgeRange", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1652,7 +1692,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1663,7 +1705,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "workFeatured", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1676,7 +1718,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "workPerformed", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1693,7 +1735,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -1709,7 +1751,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("about"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "about", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1720,7 +1764,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("actor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "actor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1732,7 +1778,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "additionalType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1745,7 +1791,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "aggregateRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1758,7 +1804,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternateName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1771,7 +1817,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "attendee", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1785,7 +1831,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "attendees", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1799,7 +1845,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "audience", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1812,7 +1858,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "composer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1826,7 +1872,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contributor", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1840,7 +1886,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1854,7 +1900,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "director", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1867,7 +1913,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "disambiguatingDescription", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1880,7 +1926,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "doorTime", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1893,7 +1939,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "duration", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1907,7 +1953,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("endDate"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "endDate", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1918,7 +1966,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "eventAttendanceMode", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1932,7 +1980,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "eventSchedule", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1945,7 +1993,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "eventStatus", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1959,7 +2007,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funder", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1971,7 +2021,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funding", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1982,7 +2034,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "identifier", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1996,7 +2048,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2008,7 +2062,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "inLanguage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2022,7 +2076,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isAccessibleForFree", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2035,7 +2089,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "keywords", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2049,7 +2103,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "location", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2065,7 +2119,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntityOfPage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2079,7 +2133,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "maximumAttendeeCapacity", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2092,7 +2146,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "maximumPhysicalAttendeeCapacity", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2105,7 +2159,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "maximumVirtualAttendeeCapacity", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2118,7 +2172,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2129,7 +2185,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("offers"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "offers", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2141,7 +2199,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "organizer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2155,7 +2213,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "performer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2169,7 +2227,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "performers", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2183,7 +2241,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "potentialAction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2196,7 +2254,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "previousStartDate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2209,7 +2267,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "recordedIn", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2222,7 +2280,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "remainingAttendeeCapacity", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2235,7 +2293,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "review", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2246,7 +2306,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sameAs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2257,7 +2319,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sponsor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2269,7 +2333,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "startDate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2282,7 +2346,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subEvent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2295,7 +2359,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subEvents", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2308,7 +2372,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjectOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2322,7 +2386,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "superEvent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2335,7 +2399,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "translator", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2349,7 +2413,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "typicalAgeRange", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2362,7 +2426,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2373,7 +2439,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "workFeatured", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2386,7 +2452,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "workPerformed", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3678,7 +3744,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> MusicEvent<'a> { 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 c3f0123f2..a2933a7c7 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 @@ -1702,7 +1702,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("embedded"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("embedded"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -1715,7 +1715,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "acceptedPaymentMethod", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1730,7 +1730,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "actionableFeedbackPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1744,7 +1744,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "additionalType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1757,7 +1757,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("address"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "address", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1769,7 +1771,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "agentInteractionStatistic", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1782,7 +1784,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "aggregateRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1795,7 +1797,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("album"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "album", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1806,7 +1810,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("albums"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "albums", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1817,7 +1823,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternateName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1830,7 +1836,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("alumni"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "alumni", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1841,7 +1849,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "areaServed", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1857,7 +1865,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "award", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1868,7 +1878,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "awards", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1879,7 +1891,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("brand"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "brand", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1891,7 +1905,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "companyRegistration", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1904,7 +1918,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contactPoint", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1917,7 +1931,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contactPoints", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1930,7 +1944,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "correctionsPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1944,7 +1958,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "department", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1957,7 +1971,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1971,7 +1985,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "disambiguatingDescription", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1984,7 +1998,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dissolutionDate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1997,7 +2011,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "diversityPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2011,7 +2025,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "diversityStaffingReport", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2025,7 +2039,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("duns"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "duns", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2036,7 +2052,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("email"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "email", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2047,7 +2065,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("employee"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "employee", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2058,7 +2078,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "employees", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2071,7 +2091,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "ethicsPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2085,7 +2105,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("event"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "event", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2096,7 +2118,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("events"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "events", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2107,7 +2131,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "faxNumber", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2120,7 +2144,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("founder"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "founder", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2132,7 +2158,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("founders"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "founders", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2143,7 +2171,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "foundingDate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2156,7 +2184,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "foundingLocation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2169,7 +2197,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funder", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2181,7 +2211,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funding", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2192,7 +2224,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("genre"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "genre", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2203,7 +2237,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "globalLocationNumber", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2216,7 +2250,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasCertification", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2229,7 +2263,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasCredential", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2242,7 +2276,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasGS1DigitalLink", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2255,7 +2289,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasMemberProgram", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2268,7 +2302,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasMerchantReturnPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2281,7 +2315,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasOfferCatalog", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2294,7 +2328,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hasPOS"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "hasPOS", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2305,7 +2341,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasProductReturnPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2318,7 +2354,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasShippingService", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2331,7 +2367,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "identifier", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2345,7 +2381,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2357,7 +2395,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interactionStatistic", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2370,7 +2408,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("isicV4"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "isicV4", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2381,7 +2421,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "iso6523Code", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2394,7 +2434,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("keywords"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "keywords", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2406,7 +2448,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "knowsAbout", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2420,7 +2462,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "knowsLanguage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2434,7 +2476,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "legalAddress", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2447,7 +2489,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "legalName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2460,7 +2502,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "legalRepresentative", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2473,7 +2515,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("leiCode"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "leiCode", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2484,7 +2528,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("location"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "location", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2498,7 +2544,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("logo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "logo", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2510,7 +2558,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntityOfPage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2524,7 +2572,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "makesOffer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2537,7 +2585,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("member"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "member", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2549,7 +2599,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("memberOf"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "memberOf", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2562,7 +2614,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("members"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "members", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2574,7 +2628,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "musicGroupMember", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2587,7 +2641,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("naics"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "naics", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2598,7 +2654,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2609,7 +2667,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "nonprofitStatus", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2623,7 +2681,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "numberOfEmployees", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2636,7 +2694,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "ownershipFundingInfo", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2651,7 +2709,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("owns"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "owns", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2663,7 +2723,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "parentOrganization", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2676,7 +2736,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "potentialAction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2689,7 +2749,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publishingPrinciples", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2703,7 +2763,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "review", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2714,7 +2776,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reviews", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2725,7 +2789,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sameAs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2736,7 +2802,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("seeks"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "seeks", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2747,7 +2815,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "serviceArea", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2762,7 +2830,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("skills"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "skills", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2774,7 +2844,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("slogan"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "slogan", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2785,7 +2857,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sponsor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2797,7 +2871,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subOrganization", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2810,7 +2884,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjectOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2824,7 +2898,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("taxID"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "taxID", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2835,7 +2911,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "telephone", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2848,7 +2924,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("track"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "track", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2860,7 +2938,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tracks"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tracks", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2871,7 +2951,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "unnamedSourcesPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2885,7 +2965,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2896,7 +2978,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("vatID"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "vatID", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2911,7 +2995,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -2927,7 +3011,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "acceptedPaymentMethod", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2942,7 +3026,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "actionableFeedbackPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2956,7 +3040,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "additionalType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2969,7 +3053,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("address"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "address", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2981,7 +3067,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "agentInteractionStatistic", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2994,7 +3080,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "aggregateRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3007,7 +3093,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("album"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "album", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3018,7 +3106,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("albums"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "albums", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3029,7 +3119,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternateName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3042,7 +3132,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("alumni"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "alumni", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3053,7 +3145,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "areaServed", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3069,7 +3161,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "award", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3080,7 +3174,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "awards", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3091,7 +3187,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("brand"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "brand", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3103,7 +3201,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "companyRegistration", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3116,7 +3214,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contactPoint", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3129,7 +3227,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contactPoints", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3142,7 +3240,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "correctionsPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3156,7 +3254,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "department", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3169,7 +3267,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3183,7 +3281,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "disambiguatingDescription", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3196,7 +3294,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dissolutionDate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3209,7 +3307,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "diversityPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3223,7 +3321,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "diversityStaffingReport", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3237,7 +3335,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("duns"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "duns", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3248,7 +3348,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("email"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "email", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3259,7 +3361,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "employee", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3272,7 +3374,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "employees", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3285,7 +3387,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "ethicsPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3299,7 +3401,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("event"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "event", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3310,7 +3414,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("events"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "events", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3321,7 +3427,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "faxNumber", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3334,7 +3440,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("founder"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "founder", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3346,7 +3454,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "founders", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3359,7 +3467,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "foundingDate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3372,7 +3480,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "foundingLocation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3385,7 +3493,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funder", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3397,7 +3507,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funding", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3408,7 +3520,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("genre"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "genre", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3419,7 +3533,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "globalLocationNumber", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3432,7 +3546,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasCertification", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3445,7 +3559,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasCredential", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3458,7 +3572,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasGS1DigitalLink", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3471,7 +3585,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasMemberProgram", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3484,7 +3598,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasMerchantReturnPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3497,7 +3611,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasOfferCatalog", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3510,7 +3624,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hasPOS"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "hasPOS", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3521,7 +3637,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasProductReturnPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3534,7 +3650,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasShippingService", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3547,7 +3663,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "identifier", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3561,7 +3677,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3573,7 +3691,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interactionStatistic", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3586,7 +3704,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("isicV4"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "isicV4", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3597,7 +3717,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "iso6523Code", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3610,7 +3730,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "keywords", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3624,7 +3744,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "knowsAbout", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3638,7 +3758,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "knowsLanguage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3652,7 +3772,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "legalAddress", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3665,7 +3785,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "legalName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3678,7 +3798,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "legalRepresentative", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3691,7 +3811,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("leiCode"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "leiCode", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3702,7 +3824,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "location", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3718,7 +3840,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("logo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "logo", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3730,7 +3854,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntityOfPage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3744,7 +3868,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "makesOffer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3757,7 +3881,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("member"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "member", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3769,7 +3895,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "memberOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3784,7 +3910,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("members"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "members", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3796,7 +3924,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "musicGroupMember", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3809,7 +3937,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("naics"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "naics", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3820,7 +3950,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3831,7 +3963,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "nonprofitStatus", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3845,7 +3977,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "numberOfEmployees", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3858,7 +3990,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "ownershipFundingInfo", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3873,7 +4005,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("owns"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "owns", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3885,7 +4019,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "parentOrganization", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3898,7 +4032,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "potentialAction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3911,7 +4045,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publishingPrinciples", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3925,7 +4059,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "review", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3936,7 +4072,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reviews", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3947,7 +4085,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sameAs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3958,7 +4098,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("seeks"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "seeks", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3969,7 +4111,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "serviceArea", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3984,7 +4126,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("skills"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "skills", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3996,7 +4140,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("slogan"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "slogan", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4007,7 +4153,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sponsor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4019,7 +4167,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subOrganization", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4032,7 +4180,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjectOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4046,7 +4194,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("taxID"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "taxID", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4057,7 +4207,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "telephone", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4070,7 +4220,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("track"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "track", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4082,7 +4234,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tracks"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tracks", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4093,7 +4247,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "unnamedSourcesPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4107,7 +4261,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4118,7 +4274,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("vatID"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "vatID", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -6339,7 +6497,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> MusicGroup<'a> { 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 80a706460..0f08d200d 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 @@ -2424,7 +2424,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("embedded"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("embedded"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -2437,7 +2437,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("about"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "about", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2448,7 +2450,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("abstract"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "abstract", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2459,7 +2463,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessMode", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2472,7 +2476,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessModeSufficient", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2485,7 +2489,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityAPI", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2498,7 +2502,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityControl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2511,7 +2515,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityFeature", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2524,7 +2528,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityHazard", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2537,7 +2541,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilitySummary", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2550,7 +2554,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accountablePerson", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2563,7 +2567,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "acquireLicensePage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2577,7 +2581,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "additionalType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2590,7 +2594,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "aggregateRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2603,7 +2607,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternateName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2616,7 +2620,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternativeHeadline", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2629,7 +2633,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "archivedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2643,7 +2647,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "articleBody", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2656,7 +2660,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "articleSection", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2669,7 +2673,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("assesses"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "assesses", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2681,7 +2687,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "associatedMedia", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2694,7 +2700,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("audience"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "audience", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2705,7 +2713,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("audio"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "audio", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2718,7 +2728,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "author", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2730,7 +2742,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "award", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2741,7 +2755,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "awards", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2752,7 +2768,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "backstory", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2766,7 +2782,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "character", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2779,7 +2795,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("citation"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "citation", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2791,7 +2809,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "comment", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2802,7 +2822,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "commentCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2815,7 +2835,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "conditionsOfAccess", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2828,7 +2848,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentLocation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2841,7 +2861,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2855,7 +2875,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentReferenceTime", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2868,7 +2888,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contributor", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2882,7 +2902,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightHolder", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2896,7 +2916,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightNotice", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2909,7 +2929,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightYear", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2922,7 +2942,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "correction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2936,7 +2956,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "countryOfOrigin", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2949,7 +2969,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "creativeWorkStatus", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2963,7 +2983,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("creator"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "creator", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2975,7 +2997,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "creditText", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2988,7 +3010,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dateCreated", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3001,7 +3023,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dateModified", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3014,7 +3036,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "datePublished", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3027,7 +3049,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("dateline"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "dateline", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3038,7 +3062,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3052,7 +3076,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "digitalSourceType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3066,7 +3090,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "disambiguatingDescription", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3079,7 +3103,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "discussionUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3092,7 +3116,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("editEIDR"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "editEIDR", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3103,7 +3129,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("editor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "editor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3114,7 +3142,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalAlignment", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3127,7 +3155,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalLevel", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3141,7 +3169,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalUse", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3155,7 +3183,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("encoding"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "encoding", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3166,7 +3196,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "encodingFormat", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3179,7 +3209,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "encodings", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3192,7 +3222,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "exampleOfWork", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3205,7 +3235,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("expires"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "expires", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3216,7 +3248,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "fileFormat", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3229,7 +3261,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funder", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3241,7 +3275,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funding", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3252,7 +3288,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("genre"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "genre", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3263,7 +3301,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hasPart"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "hasPart", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3274,7 +3314,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("headline"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "headline", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3285,7 +3327,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "identifier", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3299,7 +3341,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3311,7 +3355,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "inLanguage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3325,7 +3369,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interactionStatistic", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3338,7 +3382,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interactivityType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3351,7 +3395,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interpretedAsClaim", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3364,7 +3408,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isAccessibleForFree", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3377,7 +3421,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isBasedOn", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3392,7 +3436,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isBasedOnUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3407,7 +3451,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isFamilyFriendly", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3420,7 +3464,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("isPartOf"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "isPartOf", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3432,7 +3478,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("keywords"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "keywords", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3444,7 +3492,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "learningResourceType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3458,7 +3506,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("license"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "license", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3470,7 +3520,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "locationCreated", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3483,7 +3533,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntity", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3496,7 +3546,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntityOfPage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3510,7 +3560,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "maintainer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3524,7 +3574,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("material"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "material", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3536,7 +3588,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "materialExtent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3550,7 +3602,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("mentions"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "mentions", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3561,7 +3615,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3572,7 +3628,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("offers"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "offers", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3584,7 +3642,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("pageEnd"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "pageEnd", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3595,7 +3655,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "pageStart", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3608,7 +3668,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "pagination", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3621,7 +3681,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("pattern"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "pattern", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3633,7 +3695,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("position"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "position", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3644,7 +3708,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "potentialAction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3657,7 +3721,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "printColumn", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3670,7 +3734,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "printEdition", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3683,7 +3747,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "printPage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3696,7 +3760,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "printSection", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3709,7 +3773,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("producer"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "producer", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3721,7 +3787,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("provider"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "provider", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3733,7 +3801,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publication", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3746,7 +3814,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publisher", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3760,7 +3828,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publisherImprint", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3773,7 +3841,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publishingPrinciples", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3787,7 +3855,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "recordedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3800,7 +3868,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "releasedEvent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3813,7 +3881,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "review", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3824,7 +3894,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reviews", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3835,7 +3907,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sameAs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3846,7 +3920,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "schemaVersion", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3859,7 +3933,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdDatePublished", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3872,7 +3946,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdLicense", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3886,7 +3960,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdPublisher", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3900,7 +3974,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "size", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3914,7 +3990,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sourceOrganization", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3927,7 +4003,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("spatial"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "spatial", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3938,7 +4016,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "spatialCoverage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3951,7 +4029,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "speakable", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3965,7 +4043,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sponsor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3977,7 +4057,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjectOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3991,7 +4071,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("teaches"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "teaches", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4003,7 +4085,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("temporal"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "temporal", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4014,7 +4098,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "temporalCoverage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4027,7 +4111,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4038,7 +4124,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "thumbnail", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4051,7 +4137,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "thumbnailUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4064,7 +4150,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "timeRequired", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4077,7 +4163,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "translationOfWork", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4090,7 +4176,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "translator", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4104,7 +4190,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "typicalAgeRange", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4117,7 +4203,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4128,7 +4216,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "usageInfo", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4142,7 +4230,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("version"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "version", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4153,7 +4243,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("video"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "video", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4165,7 +4257,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "wordCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4178,7 +4270,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "workExample", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4191,7 +4283,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "workTranslation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4208,7 +4300,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -4221,7 +4313,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("about"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "about", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4232,7 +4326,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("abstract"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "abstract", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4243,7 +4339,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessMode", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4256,7 +4352,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessModeSufficient", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4269,7 +4365,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityAPI", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4282,7 +4378,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityControl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4295,7 +4391,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityFeature", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4308,7 +4404,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityHazard", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4321,7 +4417,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilitySummary", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4334,7 +4430,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accountablePerson", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4347,7 +4443,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "acquireLicensePage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4361,7 +4457,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "additionalType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4374,7 +4470,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "aggregateRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4387,7 +4483,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternateName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4400,7 +4496,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternativeHeadline", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4413,7 +4509,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "archivedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4427,7 +4523,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "articleBody", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4440,7 +4536,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "articleSection", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4453,7 +4549,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("assesses"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "assesses", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4465,7 +4563,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "associatedMedia", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4478,7 +4576,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("audience"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "audience", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4489,7 +4589,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("audio"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "audio", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4502,7 +4604,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "author", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4514,7 +4618,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "award", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4525,7 +4631,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "awards", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4536,7 +4644,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "backstory", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4550,7 +4658,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "character", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4563,7 +4671,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("citation"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "citation", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4575,7 +4685,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "comment", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4586,7 +4698,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "commentCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4599,7 +4711,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "conditionsOfAccess", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4612,7 +4724,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentLocation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4625,7 +4737,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4639,7 +4751,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentReferenceTime", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4652,7 +4764,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contributor", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4666,7 +4778,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightHolder", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4680,7 +4792,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightNotice", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4693,7 +4805,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightYear", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4706,7 +4818,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "correction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4720,7 +4832,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "countryOfOrigin", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4733,7 +4845,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "creativeWorkStatus", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4747,7 +4859,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("creator"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "creator", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4759,7 +4873,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "creditText", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4772,7 +4886,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dateCreated", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4785,7 +4899,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dateModified", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4798,7 +4912,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "datePublished", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4811,7 +4925,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("dateline"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "dateline", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4822,7 +4938,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4836,7 +4952,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "digitalSourceType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4850,7 +4966,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "disambiguatingDescription", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4863,7 +4979,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "discussionUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4876,7 +4992,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("editEIDR"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "editEIDR", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4887,7 +5005,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("editor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "editor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4898,7 +5018,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalAlignment", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4911,7 +5031,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalLevel", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4925,7 +5045,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalUse", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4939,7 +5059,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("encoding"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "encoding", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4950,7 +5072,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "encodingFormat", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4963,7 +5085,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "encodings", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4976,7 +5098,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "exampleOfWork", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4989,7 +5111,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("expires"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "expires", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5000,7 +5124,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "fileFormat", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5013,7 +5137,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funder", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5025,7 +5151,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funding", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5036,7 +5164,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("genre"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "genre", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5047,7 +5177,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hasPart"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "hasPart", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5058,7 +5190,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("headline"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "headline", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5069,7 +5203,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "identifier", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5083,7 +5217,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5095,7 +5231,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "inLanguage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5109,7 +5245,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interactionStatistic", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5122,7 +5258,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interactivityType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5135,7 +5271,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interpretedAsClaim", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5148,7 +5284,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isAccessibleForFree", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5161,7 +5297,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isBasedOn", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5176,7 +5312,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isBasedOnUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5191,7 +5327,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isFamilyFriendly", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5204,7 +5340,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("isPartOf"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "isPartOf", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5216,7 +5354,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("keywords"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "keywords", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5228,7 +5368,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "learningResourceType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5242,7 +5382,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("license"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "license", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5254,7 +5396,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "locationCreated", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5267,7 +5409,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntity", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5280,7 +5422,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntityOfPage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5294,7 +5436,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "maintainer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5308,7 +5450,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("material"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "material", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5320,7 +5464,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "materialExtent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5334,7 +5478,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("mentions"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "mentions", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5345,7 +5491,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5356,7 +5504,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("offers"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "offers", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5368,7 +5518,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("pageEnd"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "pageEnd", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5379,7 +5531,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "pageStart", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5392,7 +5544,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "pagination", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5405,7 +5557,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("pattern"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "pattern", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5417,7 +5571,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("position"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "position", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5428,7 +5584,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "potentialAction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5441,7 +5597,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "printColumn", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5454,7 +5610,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "printEdition", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5467,7 +5623,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "printPage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5480,7 +5636,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "printSection", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5493,7 +5649,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("producer"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "producer", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5505,7 +5663,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("provider"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "provider", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5517,7 +5677,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publication", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5530,7 +5690,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publisher", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5544,7 +5704,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publisherImprint", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5557,7 +5717,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publishingPrinciples", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5571,7 +5731,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "recordedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5584,7 +5744,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "releasedEvent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5597,7 +5757,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "review", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5608,7 +5770,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reviews", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5619,7 +5783,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sameAs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5630,7 +5796,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "schemaVersion", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5643,7 +5809,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdDatePublished", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5656,7 +5822,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdLicense", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5670,7 +5836,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdPublisher", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5684,7 +5850,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "size", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5698,7 +5866,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sourceOrganization", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5711,7 +5879,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("spatial"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "spatial", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5722,7 +5892,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "spatialCoverage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5735,7 +5905,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "speakable", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5749,7 +5919,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sponsor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5761,7 +5933,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjectOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5775,7 +5947,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("teaches"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "teaches", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5787,7 +5961,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("temporal"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "temporal", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5798,7 +5974,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "temporalCoverage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5811,7 +5987,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5822,7 +6000,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "thumbnail", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5835,7 +6013,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "thumbnailUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5848,7 +6026,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "timeRequired", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5861,7 +6039,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "translationOfWork", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5874,7 +6052,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "translator", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5888,7 +6066,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "typicalAgeRange", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5901,7 +6079,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5912,7 +6092,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "usageInfo", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5926,7 +6106,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("version"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "version", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5937,7 +6119,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("video"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "video", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5949,7 +6133,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "wordCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5962,7 +6146,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "workExample", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5975,7 +6159,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "workTranslation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { 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 580142c7f..959a3ba16 100644 --- a/crates/jacquard-api/src/social_flockfeeds/lexical/type/offer.rs +++ b/crates/jacquard-api/src/social_flockfeeds/lexical/type/offer.rs @@ -1140,7 +1140,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("embedded"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("embedded"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -1153,7 +1153,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "acceptedPaymentMethod", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1168,7 +1168,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("addOn"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "addOn", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1179,7 +1181,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "additionalProperty", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1192,7 +1194,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "additionalType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1205,7 +1207,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "advanceBookingRequirement", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1218,7 +1220,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "aggregateRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1231,7 +1233,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternateName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1244,7 +1246,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "areaServed", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1260,7 +1262,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("asin"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "asin", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1271,7 +1275,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "availability", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1285,7 +1289,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "availabilityEnds", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1298,7 +1302,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "availabilityStarts", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1311,7 +1315,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "availableAtOrFrom", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1324,7 +1328,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "availableDeliveryMethod", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1338,7 +1342,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "businessFunction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1352,7 +1356,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("category"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "category", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1366,7 +1372,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "checkoutPageURLTemplate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1379,7 +1385,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "deliveryLeadTime", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1392,7 +1398,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1406,7 +1412,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "disambiguatingDescription", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1419,7 +1425,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "eligibleCustomerType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1433,7 +1439,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "eligibleDuration", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1446,7 +1452,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "eligibleQuantity", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1459,7 +1465,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "eligibleRegion", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1474,7 +1480,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "eligibleTransactionVolume", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1487,7 +1493,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("gtin"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "gtin", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1498,7 +1506,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("gtin12"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "gtin12", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1509,7 +1519,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("gtin13"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "gtin13", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1520,7 +1532,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("gtin14"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "gtin14", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1531,7 +1545,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("gtin8"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "gtin8", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1542,7 +1558,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasAdultConsideration", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1556,7 +1572,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasGS1DigitalLink", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1569,7 +1585,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasMeasurement", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1582,7 +1598,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasMerchantReturnPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1595,7 +1611,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "identifier", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1609,7 +1625,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1621,7 +1639,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "includesObject", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1634,7 +1652,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "ineligibleRegion", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1649,7 +1667,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "inventoryLevel", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1662,7 +1680,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isFamilyFriendly", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1675,7 +1693,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "itemCondition", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1689,7 +1707,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "itemOffered", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1708,7 +1726,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "leaseLength", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1722,7 +1740,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntityOfPage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1736,7 +1754,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mobileUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1749,7 +1767,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("mpn"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "mpn", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1760,7 +1780,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1771,7 +1793,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "offeredBy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1785,7 +1807,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "potentialAction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1798,7 +1820,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("price"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "price", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1809,7 +1833,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "priceCurrency", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1822,7 +1846,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "priceSpecification", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1835,7 +1859,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "priceValidUntil", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1848,7 +1872,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "review", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1859,7 +1885,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reviews", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1870,7 +1898,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sameAs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1881,7 +1911,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("seller"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "seller", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1893,7 +1925,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "serialNumber", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1906,7 +1938,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "shippingDetails", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1919,7 +1951,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sku"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sku", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1930,7 +1964,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjectOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1944,7 +1978,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1955,7 +1991,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "validForMemberTier", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1968,7 +2004,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "validFrom", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1981,7 +2017,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "validThrough", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1994,7 +2030,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("warranty"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "warranty", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2009,7 +2047,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -2025,7 +2063,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "acceptedPaymentMethod", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2040,7 +2078,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("addOn"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "addOn", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2051,7 +2091,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "additionalProperty", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2064,7 +2104,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "additionalType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2077,7 +2117,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "advanceBookingRequirement", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2090,7 +2130,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "aggregateRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2103,7 +2143,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternateName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2116,7 +2156,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "areaServed", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2132,7 +2172,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("asin"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "asin", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2143,7 +2185,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "availability", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2157,7 +2199,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "availabilityEnds", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2170,7 +2212,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "availabilityStarts", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2183,7 +2225,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "availableAtOrFrom", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2196,7 +2238,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "availableDeliveryMethod", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2210,7 +2252,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "businessFunction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2224,7 +2266,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "category", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2240,7 +2282,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "checkoutPageURLTemplate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2253,7 +2295,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "deliveryLeadTime", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2266,7 +2308,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2280,7 +2322,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "disambiguatingDescription", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2293,7 +2335,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "eligibleCustomerType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2307,7 +2349,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "eligibleDuration", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2320,7 +2362,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "eligibleQuantity", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2333,7 +2375,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "eligibleRegion", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2348,7 +2390,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "eligibleTransactionVolume", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2361,7 +2403,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("gtin"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "gtin", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2372,7 +2416,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("gtin12"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "gtin12", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2383,7 +2429,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("gtin13"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "gtin13", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2394,7 +2442,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("gtin14"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "gtin14", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2405,7 +2455,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("gtin8"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "gtin8", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2416,7 +2468,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasAdultConsideration", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2430,7 +2482,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasGS1DigitalLink", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2443,7 +2495,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasMeasurement", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2456,7 +2508,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasMerchantReturnPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2469,7 +2521,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "identifier", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2483,7 +2535,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2495,7 +2549,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "includesObject", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2508,7 +2562,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "ineligibleRegion", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2523,7 +2577,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "inventoryLevel", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2536,7 +2590,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isFamilyFriendly", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2549,7 +2603,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "itemCondition", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2563,7 +2617,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "itemOffered", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2582,7 +2636,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "leaseLength", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2596,7 +2650,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntityOfPage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2610,7 +2664,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mobileUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2623,7 +2677,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("mpn"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "mpn", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2634,7 +2690,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2645,7 +2703,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "offeredBy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2659,7 +2717,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "potentialAction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2672,7 +2730,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("price"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "price", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2683,7 +2743,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "priceCurrency", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2696,7 +2756,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "priceSpecification", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2709,7 +2769,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "priceValidUntil", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2722,7 +2782,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "review", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2733,7 +2795,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reviews", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2744,7 +2808,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sameAs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2755,7 +2821,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("seller"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "seller", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2767,7 +2835,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "serialNumber", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2780,7 +2848,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "shippingDetails", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2793,7 +2861,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sku"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sku", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2804,7 +2874,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjectOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2818,7 +2888,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2829,7 +2901,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "validForMemberTier", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2842,7 +2914,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "validFrom", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2855,7 +2927,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "validThrough", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2868,7 +2940,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "warranty", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4473,7 +4545,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Offer<'a> { 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 e4994bed3..67ed96027 100644 --- a/crates/jacquard-api/src/social_flockfeeds/lexical/type/organization.rs +++ b/crates/jacquard-api/src/social_flockfeeds/lexical/type/organization.rs @@ -1582,7 +1582,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("embedded"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("embedded"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -1595,7 +1595,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "acceptedPaymentMethod", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1610,7 +1610,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "actionableFeedbackPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1624,7 +1624,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "additionalType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1637,7 +1637,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("address"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "address", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1649,7 +1651,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "agentInteractionStatistic", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1662,7 +1664,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "aggregateRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1675,7 +1677,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternateName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1688,7 +1690,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("alumni"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "alumni", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1699,7 +1703,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "areaServed", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1715,7 +1719,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "award", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1726,7 +1732,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "awards", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1737,7 +1745,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("brand"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "brand", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1749,7 +1759,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "companyRegistration", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1762,7 +1772,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contactPoint", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1775,7 +1785,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contactPoints", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1788,7 +1798,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "correctionsPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1802,7 +1812,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "department", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1815,7 +1825,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1829,7 +1839,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "disambiguatingDescription", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1842,7 +1852,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dissolutionDate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1855,7 +1865,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "diversityPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1869,7 +1879,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "diversityStaffingReport", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1883,7 +1893,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("duns"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "duns", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1894,7 +1906,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("email"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "email", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1905,7 +1919,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("employee"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "employee", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1916,7 +1932,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "employees", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1929,7 +1945,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "ethicsPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1943,7 +1959,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("event"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "event", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1954,7 +1972,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("events"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "events", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1965,7 +1985,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "faxNumber", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1978,7 +1998,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("founder"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "founder", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1990,7 +2012,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("founders"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "founders", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2001,7 +2025,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "foundingDate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2014,7 +2038,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "foundingLocation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2027,7 +2051,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funder", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2039,7 +2065,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funding", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2050,7 +2078,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "globalLocationNumber", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2063,7 +2091,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasCertification", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2076,7 +2104,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasCredential", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2089,7 +2117,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasGS1DigitalLink", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2102,7 +2130,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasMemberProgram", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2115,7 +2143,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasMerchantReturnPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2128,7 +2156,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasOfferCatalog", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2141,7 +2169,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hasPOS"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "hasPOS", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2152,7 +2182,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasProductReturnPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2165,7 +2195,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasShippingService", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2178,7 +2208,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "identifier", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2192,7 +2222,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2204,7 +2236,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interactionStatistic", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2217,7 +2249,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("isicV4"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "isicV4", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2228,7 +2262,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "iso6523Code", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2241,7 +2275,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("keywords"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "keywords", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2253,7 +2289,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "knowsAbout", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2267,7 +2303,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "knowsLanguage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2281,7 +2317,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "legalAddress", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2294,7 +2330,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "legalName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2307,7 +2343,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "legalRepresentative", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2320,7 +2356,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("leiCode"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "leiCode", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2331,7 +2369,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("location"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "location", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2345,7 +2385,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("logo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "logo", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2357,7 +2399,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntityOfPage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2371,7 +2413,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "makesOffer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2384,7 +2426,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("member"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "member", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2396,7 +2440,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("memberOf"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "memberOf", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2409,7 +2455,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("members"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "members", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2421,7 +2469,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("naics"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "naics", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2432,7 +2482,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2443,7 +2495,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "nonprofitStatus", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2457,7 +2509,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "numberOfEmployees", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2470,7 +2522,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "ownershipFundingInfo", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2485,7 +2537,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("owns"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "owns", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2497,7 +2551,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "parentOrganization", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2510,7 +2564,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "potentialAction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2523,7 +2577,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publishingPrinciples", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2537,7 +2591,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "review", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2548,7 +2604,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reviews", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2559,7 +2617,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sameAs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2570,7 +2630,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("seeks"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "seeks", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2581,7 +2643,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "serviceArea", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2596,7 +2658,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("skills"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "skills", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2608,7 +2672,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("slogan"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "slogan", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2619,7 +2685,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sponsor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2631,7 +2699,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subOrganization", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2644,7 +2712,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjectOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2658,7 +2726,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("taxID"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "taxID", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2669,7 +2739,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "telephone", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2682,7 +2752,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "unnamedSourcesPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2696,7 +2766,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2707,7 +2779,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("vatID"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "vatID", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2722,7 +2796,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -2738,7 +2812,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "acceptedPaymentMethod", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2753,7 +2827,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "actionableFeedbackPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2767,7 +2841,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "additionalType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2780,7 +2854,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("address"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "address", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2792,7 +2868,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "agentInteractionStatistic", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2805,7 +2881,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "aggregateRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2818,7 +2894,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternateName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2831,7 +2907,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("alumni"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "alumni", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2842,7 +2920,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "areaServed", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2858,7 +2936,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "award", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2869,7 +2949,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "awards", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2880,7 +2962,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("brand"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "brand", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2892,7 +2976,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "companyRegistration", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2905,7 +2989,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contactPoint", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2918,7 +3002,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contactPoints", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2931,7 +3015,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "correctionsPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2945,7 +3029,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "department", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2958,7 +3042,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2972,7 +3056,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "disambiguatingDescription", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2985,7 +3069,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dissolutionDate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2998,7 +3082,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "diversityPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3012,7 +3096,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "diversityStaffingReport", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3026,7 +3110,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("duns"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "duns", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3037,7 +3123,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("email"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "email", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3048,7 +3136,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "employee", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3061,7 +3149,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "employees", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3074,7 +3162,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "ethicsPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3088,7 +3176,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("event"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "event", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3099,7 +3189,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("events"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "events", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3110,7 +3202,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "faxNumber", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3123,7 +3215,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("founder"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "founder", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3135,7 +3229,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "founders", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3148,7 +3242,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "foundingDate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3161,7 +3255,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "foundingLocation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3174,7 +3268,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funder", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3186,7 +3282,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funding", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3197,7 +3295,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "globalLocationNumber", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3210,7 +3308,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasCertification", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3223,7 +3321,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasCredential", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3236,7 +3334,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasGS1DigitalLink", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3249,7 +3347,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasMemberProgram", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3262,7 +3360,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasMerchantReturnPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3275,7 +3373,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasOfferCatalog", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3288,7 +3386,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hasPOS"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "hasPOS", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3299,7 +3399,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasProductReturnPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3312,7 +3412,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasShippingService", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3325,7 +3425,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "identifier", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3339,7 +3439,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3351,7 +3453,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interactionStatistic", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3364,7 +3466,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("isicV4"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "isicV4", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3375,7 +3479,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "iso6523Code", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3388,7 +3492,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "keywords", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3402,7 +3506,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "knowsAbout", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3416,7 +3520,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "knowsLanguage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3430,7 +3534,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "legalAddress", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3443,7 +3547,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "legalName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3456,7 +3560,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "legalRepresentative", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3469,7 +3573,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("leiCode"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "leiCode", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3480,7 +3586,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "location", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3496,7 +3602,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("logo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "logo", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3508,7 +3616,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntityOfPage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3522,7 +3630,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "makesOffer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3535,7 +3643,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("member"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "member", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3547,7 +3657,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "memberOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3562,7 +3672,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("members"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "members", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3574,7 +3686,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("naics"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "naics", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3585,7 +3699,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3596,7 +3712,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "nonprofitStatus", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3610,7 +3726,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "numberOfEmployees", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3623,7 +3739,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "ownershipFundingInfo", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3638,7 +3754,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("owns"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "owns", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3650,7 +3768,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "parentOrganization", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3663,7 +3781,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "potentialAction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3676,7 +3794,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publishingPrinciples", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3690,7 +3808,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "review", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3701,7 +3821,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reviews", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3712,7 +3834,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sameAs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3723,7 +3847,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("seeks"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "seeks", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3734,7 +3860,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "serviceArea", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3749,7 +3875,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("skills"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "skills", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3761,7 +3889,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("slogan"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "slogan", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3772,7 +3902,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sponsor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3784,7 +3916,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subOrganization", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3797,7 +3929,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjectOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3811,7 +3943,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("taxID"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "taxID", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3822,7 +3956,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "telephone", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3835,7 +3969,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "unnamedSourcesPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3849,7 +3983,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3860,7 +3996,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("vatID"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "vatID", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5997,7 +6135,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Organization<'a> { 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 5019b34fc..0befd0179 100644 --- a/crates/jacquard-api/src/social_flockfeeds/lexical/type/person.rs +++ b/crates/jacquard-api/src/social_flockfeeds/lexical/type/person.rs @@ -1418,7 +1418,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("embedded"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("embedded"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -1431,7 +1431,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "additionalName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1444,7 +1444,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "additionalType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1457,7 +1457,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("address"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "address", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1469,7 +1471,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "affiliation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1482,7 +1484,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "agentInteractionStatistic", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1495,7 +1497,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternateName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1508,7 +1510,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("alumniOf"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "alumniOf", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1520,7 +1524,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "award", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1531,7 +1537,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "awards", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1542,7 +1550,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "birthDate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1555,7 +1563,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "birthPlace", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1568,7 +1576,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("brand"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "brand", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1580,7 +1590,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("callSign"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "callSign", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1591,7 +1603,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("children"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "children", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1602,7 +1616,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "colleague", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1616,7 +1630,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "colleagues", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1629,7 +1643,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contactPoint", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1642,7 +1656,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contactPoints", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1655,7 +1669,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "deathDate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1668,7 +1682,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "deathPlace", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1681,7 +1695,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1695,7 +1709,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "disambiguatingDescription", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1708,7 +1722,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("duns"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "duns", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1719,7 +1735,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("email"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "email", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1730,7 +1748,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "familyName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1743,7 +1761,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "faxNumber", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1756,7 +1774,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("follows"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "follows", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1767,7 +1787,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funder", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1779,7 +1801,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funding", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1790,7 +1814,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("gender"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "gender", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1802,7 +1828,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "givenName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1815,7 +1841,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "globalLocationNumber", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1828,7 +1854,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasCertification", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1841,7 +1867,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasCredential", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1854,7 +1880,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasOccupation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1867,7 +1893,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasOfferCatalog", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1880,7 +1906,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hasPOS"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "hasPOS", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1891,7 +1919,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("height"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "height", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1904,7 +1934,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "homeLocation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1918,7 +1948,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "honorificPrefix", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1931,7 +1961,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "honorificSuffix", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1944,7 +1974,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "identifier", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1958,7 +1988,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1970,7 +2002,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interactionStatistic", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1983,7 +2015,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("isicV4"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "isicV4", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1994,7 +2028,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("jobTitle"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "jobTitle", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2006,7 +2042,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("knows"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "knows", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2017,7 +2055,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "knowsAbout", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2031,7 +2069,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "knowsLanguage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2045,7 +2083,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntityOfPage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2059,7 +2097,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "makesOffer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2072,7 +2110,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("memberOf"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "memberOf", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2085,7 +2125,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("naics"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "naics", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2096,7 +2138,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2107,7 +2151,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "nationality", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2120,7 +2164,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("netWorth"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "netWorth", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2132,7 +2178,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("owns"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "owns", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2144,7 +2192,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("parent"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "parent", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2155,7 +2205,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("parents"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "parents", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2166,7 +2218,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "performerIn", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2179,7 +2231,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "potentialAction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2192,7 +2244,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("pronouns"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "pronouns", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2205,7 +2259,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publishingPrinciples", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2219,7 +2273,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "relatedTo", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2232,7 +2286,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sameAs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2243,7 +2299,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("seeks"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "seeks", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2254,7 +2312,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sibling"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sibling", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2265,7 +2325,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("siblings"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "siblings", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2276,7 +2338,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("skills"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "skills", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2288,7 +2352,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sponsor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2300,7 +2366,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("spouse"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "spouse", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2311,7 +2379,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjectOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2325,7 +2393,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("taxID"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "taxID", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2336,7 +2406,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "telephone", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2349,7 +2419,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2360,7 +2432,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("vatID"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "vatID", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2371,7 +2445,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("weight"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "weight", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2384,7 +2460,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "workLocation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2398,7 +2474,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("worksFor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "worksFor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2413,7 +2491,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -2429,7 +2507,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "additionalName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2442,7 +2520,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "additionalType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2455,7 +2533,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("address"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "address", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2467,7 +2547,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "affiliation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2480,7 +2560,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "agentInteractionStatistic", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2493,7 +2573,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternateName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2506,7 +2586,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alumniOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2520,7 +2600,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "award", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2531,7 +2613,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "awards", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2542,7 +2626,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "birthDate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2555,7 +2639,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "birthPlace", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2568,7 +2652,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("brand"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "brand", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2580,7 +2666,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "callSign", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2593,7 +2679,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "children", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2606,7 +2692,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "colleague", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2620,7 +2706,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "colleagues", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2633,7 +2719,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contactPoint", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2646,7 +2732,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contactPoints", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2659,7 +2745,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "deathDate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2672,7 +2758,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "deathPlace", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2685,7 +2771,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2699,7 +2785,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "disambiguatingDescription", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2712,7 +2798,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("duns"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "duns", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2723,7 +2811,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("email"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "email", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2734,7 +2824,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "familyName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2747,7 +2837,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "faxNumber", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2760,7 +2850,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("follows"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "follows", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2771,7 +2863,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funder", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2783,7 +2877,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funding", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2794,7 +2890,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("gender"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "gender", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2806,7 +2904,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "givenName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2819,7 +2917,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "globalLocationNumber", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2832,7 +2930,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasCertification", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2845,7 +2943,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasCredential", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2858,7 +2956,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasOccupation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2871,7 +2969,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasOfferCatalog", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2884,7 +2982,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hasPOS"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "hasPOS", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2895,7 +2995,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("height"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "height", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2908,7 +3010,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "homeLocation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2922,7 +3024,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "honorificPrefix", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2935,7 +3037,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "honorificSuffix", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2948,7 +3050,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "identifier", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2962,7 +3064,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2974,7 +3078,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interactionStatistic", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2987,7 +3091,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("isicV4"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "isicV4", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2998,7 +3104,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "jobTitle", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3012,7 +3118,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("knows"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "knows", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3023,7 +3131,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "knowsAbout", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3037,7 +3145,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "knowsLanguage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3051,7 +3159,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntityOfPage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3065,7 +3173,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "makesOffer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3078,7 +3186,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "memberOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3093,7 +3201,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("naics"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "naics", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3104,7 +3214,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3115,7 +3227,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "nationality", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3128,7 +3240,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "netWorth", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3142,7 +3254,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("owns"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "owns", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3154,7 +3268,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("parent"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "parent", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3165,7 +3281,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("parents"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "parents", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3176,7 +3294,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "performerIn", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3189,7 +3307,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "potentialAction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3202,7 +3320,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "pronouns", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3217,7 +3335,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publishingPrinciples", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3231,7 +3349,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "relatedTo", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3244,7 +3362,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sameAs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3255,7 +3375,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("seeks"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "seeks", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3266,7 +3388,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sibling"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sibling", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3277,7 +3401,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "siblings", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3290,7 +3414,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("skills"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "skills", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3302,7 +3428,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sponsor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3314,7 +3442,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("spouse"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "spouse", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3325,7 +3455,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjectOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3339,7 +3469,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("taxID"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "taxID", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3350,7 +3482,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "telephone", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3363,7 +3495,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3374,7 +3508,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("vatID"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "vatID", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3385,7 +3521,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("weight"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "weight", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3398,7 +3536,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "workLocation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3412,7 +3550,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "worksFor", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5174,7 +5312,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Person<'a> { 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 a1d9ad3f0..806b339dc 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 @@ -2314,7 +2314,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("embedded"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("embedded"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -2327,7 +2327,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("about"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "about", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2338,7 +2340,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("abstract"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "abstract", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2349,7 +2353,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessMode", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2362,7 +2366,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessModeSufficient", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2375,7 +2379,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityAPI", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2388,7 +2392,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityControl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2401,7 +2405,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityFeature", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2414,7 +2418,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityHazard", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2427,7 +2431,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilitySummary", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2440,7 +2444,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accountablePerson", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2453,7 +2457,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "acquireLicensePage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2467,7 +2471,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("actor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "actor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2479,7 +2485,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "additionalType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2492,7 +2498,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "aggregateRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2505,7 +2511,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternateName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2518,7 +2524,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternativeHeadline", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2531,7 +2537,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "archivedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2545,7 +2551,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("assesses"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "assesses", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2557,7 +2565,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "associatedMedia", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2570,7 +2578,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("audience"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "audience", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2581,7 +2591,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("audio"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "audio", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2594,7 +2606,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "author", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2606,7 +2620,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "award", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2617,7 +2633,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "awards", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2628,7 +2646,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "character", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2641,7 +2659,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("citation"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "citation", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2653,7 +2673,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "comment", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2664,7 +2686,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "commentCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2677,7 +2699,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "conditionsOfAccess", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2690,7 +2712,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentLocation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2703,7 +2725,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2717,7 +2739,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentReferenceTime", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2730,7 +2752,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contributor", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2744,7 +2766,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightHolder", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2758,7 +2780,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightNotice", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2771,7 +2793,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightYear", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2784,7 +2806,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "correction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2798,7 +2820,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "countryOfOrigin", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2811,7 +2833,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "creativeWorkStatus", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2825,7 +2847,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("creator"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "creator", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2837,7 +2861,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "creditText", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2850,7 +2874,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dateCreated", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2863,7 +2887,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dateModified", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2876,7 +2900,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "datePublished", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2889,7 +2913,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2903,7 +2927,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "digitalSourceType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2917,7 +2941,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "disambiguatingDescription", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2930,7 +2954,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "discussionUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2943,7 +2967,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("editEIDR"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "editEIDR", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2954,7 +2980,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("editor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "editor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2965,7 +2993,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalAlignment", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2978,7 +3006,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalLevel", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2992,7 +3020,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalUse", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3006,7 +3034,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("encoding"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "encoding", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3017,7 +3047,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "encodingFormat", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3030,7 +3060,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "encodings", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3043,7 +3073,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("endDate"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "endDate", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3054,7 +3086,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "exampleOfWork", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3067,7 +3099,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("expires"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "expires", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3078,7 +3112,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "fileFormat", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3091,7 +3125,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funder", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3103,7 +3139,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funding", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3114,7 +3152,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("genre"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "genre", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3125,7 +3165,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hasPart"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "hasPart", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3136,7 +3178,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("headline"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "headline", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3147,7 +3191,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "identifier", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3161,7 +3205,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3173,7 +3219,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "inLanguage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3187,7 +3233,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interactionStatistic", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3200,7 +3246,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interactivityType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3213,7 +3259,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interpretedAsClaim", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3226,7 +3272,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isAccessibleForFree", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3239,7 +3285,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isBasedOn", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3254,7 +3300,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isBasedOnUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3269,7 +3315,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isFamilyFriendly", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3282,7 +3328,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("isPartOf"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "isPartOf", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3294,7 +3342,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("issn"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "issn", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3305,7 +3355,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("keywords"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "keywords", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3317,7 +3369,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "learningResourceType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3331,7 +3383,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("license"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "license", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3343,7 +3397,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "locationCreated", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3356,7 +3410,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntity", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3369,7 +3423,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntityOfPage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3383,7 +3437,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "maintainer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3397,7 +3451,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("material"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "material", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3409,7 +3465,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "materialExtent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3423,7 +3479,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("mentions"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "mentions", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3434,7 +3492,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3445,7 +3505,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("offers"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "offers", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3457,7 +3519,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("pattern"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "pattern", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3469,7 +3533,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("position"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "position", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3480,7 +3546,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "potentialAction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3493,7 +3559,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("producer"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "producer", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3505,7 +3573,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("provider"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "provider", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3517,7 +3587,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publication", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3530,7 +3600,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publisher", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3544,7 +3614,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publisherImprint", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3557,7 +3627,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publishingPrinciples", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3571,7 +3641,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "recordedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3584,7 +3654,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "releasedEvent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3597,7 +3667,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "review", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3608,7 +3680,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reviews", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3619,7 +3693,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sameAs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3630,7 +3706,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "schemaVersion", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3643,7 +3719,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdDatePublished", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3656,7 +3732,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdLicense", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3670,7 +3746,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdPublisher", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3684,7 +3760,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "size", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3698,7 +3776,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sourceOrganization", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3711,7 +3789,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("spatial"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "spatial", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3722,7 +3802,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "spatialCoverage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3735,7 +3815,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sponsor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3747,7 +3829,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "startDate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3760,7 +3842,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjectOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3774,7 +3856,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("teaches"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "teaches", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3786,7 +3870,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("temporal"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "temporal", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3797,7 +3883,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "temporalCoverage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3810,7 +3896,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3821,7 +3909,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "thumbnail", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3834,7 +3922,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "thumbnailUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3847,7 +3935,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "timeRequired", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3860,7 +3948,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "translationOfWork", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3873,7 +3961,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "translator", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3887,7 +3975,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "typicalAgeRange", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3900,7 +3988,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3911,7 +4001,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "usageInfo", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3925,7 +4015,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("version"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "version", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3936,7 +4028,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("video"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "video", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3948,7 +4042,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("webFeed"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "webFeed", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3960,7 +4056,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "wordCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3973,7 +4069,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "workExample", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3986,7 +4082,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "workTranslation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4003,7 +4099,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -4019,7 +4115,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("about"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "about", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4030,7 +4128,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "abstract", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4043,7 +4141,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessMode", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4056,7 +4154,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessModeSufficient", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4069,7 +4167,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityAPI", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4082,7 +4180,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityControl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4095,7 +4193,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityFeature", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4108,7 +4206,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityHazard", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4121,7 +4219,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilitySummary", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4134,7 +4232,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accountablePerson", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4147,7 +4245,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "acquireLicensePage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4161,7 +4259,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("actor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "actor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4173,7 +4273,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "additionalType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4186,7 +4286,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "aggregateRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4199,7 +4299,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternateName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4212,7 +4312,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternativeHeadline", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4225,7 +4325,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "archivedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4239,7 +4339,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "assesses", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4253,7 +4353,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "associatedMedia", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4266,7 +4366,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "audience", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4279,7 +4379,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("audio"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "audio", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4292,7 +4394,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "author", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4304,7 +4408,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "award", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4315,7 +4421,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "awards", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4326,7 +4434,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "character", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4339,7 +4447,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "citation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4353,7 +4461,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "comment", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4364,7 +4474,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "commentCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4377,7 +4487,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "conditionsOfAccess", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4390,7 +4500,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentLocation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4403,7 +4513,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4417,7 +4527,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentReferenceTime", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4430,7 +4540,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contributor", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4444,7 +4554,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightHolder", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4458,7 +4568,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightNotice", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4471,7 +4581,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightYear", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4484,7 +4594,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "correction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4498,7 +4608,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "countryOfOrigin", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4511,7 +4621,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "creativeWorkStatus", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4525,7 +4635,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("creator"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "creator", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4537,7 +4649,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "creditText", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4550,7 +4662,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dateCreated", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4563,7 +4675,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dateModified", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4576,7 +4688,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "datePublished", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4589,7 +4701,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4603,7 +4715,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "digitalSourceType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4617,7 +4729,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "disambiguatingDescription", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4630,7 +4742,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "discussionUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4643,7 +4755,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "editEIDR", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4656,7 +4768,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("editor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "editor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4667,7 +4781,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalAlignment", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4680,7 +4794,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalLevel", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4694,7 +4808,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalUse", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4708,7 +4822,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "encoding", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4721,7 +4835,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "encodingFormat", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4734,7 +4848,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "encodings", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4747,7 +4861,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("endDate"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "endDate", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4758,7 +4874,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "exampleOfWork", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4771,7 +4887,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("expires"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "expires", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4782,7 +4900,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "fileFormat", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4795,7 +4913,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funder", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4807,7 +4927,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funding", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4818,7 +4940,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("genre"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "genre", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4829,7 +4953,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hasPart"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "hasPart", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4840,7 +4966,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "headline", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4853,7 +4979,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "identifier", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4867,7 +4993,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4879,7 +5007,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "inLanguage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4893,7 +5021,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interactionStatistic", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4906,7 +5034,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interactivityType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4919,7 +5047,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interpretedAsClaim", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4932,7 +5060,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isAccessibleForFree", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4945,7 +5073,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isBasedOn", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4960,7 +5088,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isBasedOnUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4975,7 +5103,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isFamilyFriendly", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4988,7 +5116,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isPartOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5002,7 +5130,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("issn"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "issn", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5013,7 +5143,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "keywords", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5027,7 +5157,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "learningResourceType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5041,7 +5171,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("license"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "license", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5053,7 +5185,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "locationCreated", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5066,7 +5198,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntity", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5079,7 +5211,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntityOfPage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5093,7 +5225,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "maintainer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5107,7 +5239,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "material", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5121,7 +5253,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "materialExtent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5135,7 +5267,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mentions", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5148,7 +5280,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5159,7 +5293,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("offers"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "offers", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5171,7 +5307,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("pattern"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "pattern", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5183,7 +5321,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "position", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5196,7 +5334,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "potentialAction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5209,7 +5347,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "producer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5223,7 +5361,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "provider", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5237,7 +5375,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publication", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5250,7 +5388,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publisher", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5264,7 +5402,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publisherImprint", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5277,7 +5415,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publishingPrinciples", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5291,7 +5429,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "recordedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5304,7 +5442,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "releasedEvent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5317,7 +5455,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "review", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5328,7 +5468,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reviews", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5339,7 +5481,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sameAs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5350,7 +5494,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "schemaVersion", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5363,7 +5507,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdDatePublished", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5376,7 +5520,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdLicense", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5390,7 +5534,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdPublisher", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5404,7 +5548,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "size", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5418,7 +5564,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sourceOrganization", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5431,7 +5577,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("spatial"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "spatial", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5442,7 +5590,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "spatialCoverage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5455,7 +5603,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sponsor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5467,7 +5617,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "startDate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5480,7 +5630,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjectOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5494,7 +5644,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("teaches"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "teaches", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5506,7 +5658,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "temporal", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5519,7 +5671,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "temporalCoverage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5532,7 +5684,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5543,7 +5697,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "thumbnail", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5556,7 +5710,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "thumbnailUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5569,7 +5723,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "timeRequired", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5582,7 +5736,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "translationOfWork", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5595,7 +5749,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "translator", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5609,7 +5763,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "typicalAgeRange", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5622,7 +5776,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5633,7 +5789,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "usageInfo", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5647,7 +5803,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("version"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "version", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5658,7 +5816,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("video"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "video", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5670,7 +5830,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("webFeed"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "webFeed", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5682,7 +5844,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "wordCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5695,7 +5857,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "workExample", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5708,7 +5870,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "workTranslation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -8930,7 +9092,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> PodcastSeries<'a> { 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 7e7b98147..16138713b 100644 --- a/crates/jacquard-api/src/social_flockfeeds/lexical/type/product.rs +++ b/crates/jacquard-api/src/social_flockfeeds/lexical/type/product.rs @@ -1242,7 +1242,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("embedded"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("embedded"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -1255,7 +1255,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "additionalProperty", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1268,7 +1268,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "additionalType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1281,7 +1281,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "aggregateRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1294,7 +1294,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternateName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1307,7 +1307,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("asin"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "asin", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1318,7 +1320,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("audience"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "audience", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1329,7 +1333,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "award", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1340,7 +1346,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "awards", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1351,7 +1359,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("brand"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "brand", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1363,7 +1373,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("category"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "category", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1377,7 +1389,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("color"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "color", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1388,7 +1402,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "colorSwatch", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1402,7 +1416,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "countryOfAssembly", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1415,7 +1429,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "countryOfLastProcessing", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1428,7 +1442,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "countryOfOrigin", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1441,7 +1455,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("depth"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "depth", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1454,7 +1470,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1468,7 +1484,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "disambiguatingDescription", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1481,7 +1497,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funding", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1492,7 +1510,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("gtin"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "gtin", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1503,7 +1523,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("gtin12"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "gtin12", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1514,7 +1536,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("gtin13"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "gtin13", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1525,7 +1549,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("gtin14"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "gtin14", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1536,7 +1562,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("gtin8"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "gtin8", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1547,7 +1575,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasAdultConsideration", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1561,7 +1589,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasCertification", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1574,7 +1602,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasEnergyConsumptionDetails", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1587,7 +1615,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasGS1DigitalLink", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1600,7 +1628,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasMeasurement", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1613,7 +1641,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasMerchantReturnPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1626,7 +1654,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasProductReturnPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1639,7 +1667,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("height"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "height", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1652,7 +1682,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "identifier", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1666,7 +1696,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1678,7 +1710,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "inProductGroupWithID", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1691,7 +1723,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isAccessoryOrSparePartFor", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1704,7 +1736,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isConsumableFor", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1717,7 +1749,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isFamilyFriendly", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1730,7 +1762,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isRelatedTo", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1744,7 +1776,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isSimilarTo", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1758,7 +1790,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isVariantOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1772,7 +1804,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "itemCondition", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1786,7 +1818,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("keywords"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "keywords", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1798,7 +1832,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("logo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "logo", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1810,7 +1846,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntityOfPage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1824,7 +1860,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "manufacturer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1837,7 +1873,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("material"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "material", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1849,7 +1887,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mobileUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1862,7 +1900,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("model"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "model", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1874,7 +1914,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("mpn"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "mpn", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1885,7 +1927,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1896,7 +1940,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "negativeNotes", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1912,7 +1956,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("nsn"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "nsn", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1923,7 +1969,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("offers"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "offers", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1935,7 +1983,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("pattern"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "pattern", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1947,7 +1997,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "positiveNotes", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1963,7 +2013,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "potentialAction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1976,7 +2026,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "productID", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -1989,7 +2039,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "productionDate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2002,7 +2052,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "purchaseDate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2015,7 +2065,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "releaseDate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2028,7 +2078,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "review", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2039,7 +2091,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reviews", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2050,7 +2104,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sameAs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2061,7 +2117,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "size", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2075,7 +2133,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sku"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sku", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2086,7 +2146,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("slogan"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "slogan", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2097,7 +2159,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjectOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2111,7 +2173,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2122,7 +2186,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("weight"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "weight", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2135,7 +2201,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("width"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "width", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2152,7 +2220,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -2168,7 +2236,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "additionalProperty", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2181,7 +2249,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "additionalType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2194,7 +2262,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "aggregateRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2207,7 +2275,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternateName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2220,7 +2288,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("asin"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "asin", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2231,7 +2301,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "audience", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2244,7 +2314,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "award", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2255,7 +2327,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "awards", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2266,7 +2340,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("brand"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "brand", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2278,7 +2354,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "category", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2294,7 +2370,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("color"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "color", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2305,7 +2383,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "colorSwatch", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2319,7 +2397,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "countryOfAssembly", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2332,7 +2410,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "countryOfLastProcessing", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2345,7 +2423,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "countryOfOrigin", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2358,7 +2436,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("depth"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "depth", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2371,7 +2451,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2385,7 +2465,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "disambiguatingDescription", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2398,7 +2478,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funding", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2409,7 +2491,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("gtin"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "gtin", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2420,7 +2504,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("gtin12"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "gtin12", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2431,7 +2517,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("gtin13"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "gtin13", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2442,7 +2530,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("gtin14"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "gtin14", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2453,7 +2543,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("gtin8"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "gtin8", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2464,7 +2556,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasAdultConsideration", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2478,7 +2570,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasCertification", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2491,7 +2583,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasEnergyConsumptionDetails", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2504,7 +2596,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasGS1DigitalLink", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2517,7 +2609,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasMeasurement", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2530,7 +2622,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasMerchantReturnPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2543,7 +2635,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasProductReturnPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2556,7 +2648,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("height"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "height", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2569,7 +2663,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "identifier", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2583,7 +2677,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2595,7 +2691,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "inProductGroupWithID", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2608,7 +2704,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isAccessoryOrSparePartFor", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2621,7 +2717,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isConsumableFor", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2634,7 +2730,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isFamilyFriendly", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2647,7 +2743,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isRelatedTo", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2661,7 +2757,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isSimilarTo", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2675,7 +2771,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isVariantOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2689,7 +2785,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "itemCondition", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2703,7 +2799,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "keywords", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2717,7 +2813,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("logo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "logo", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2729,7 +2827,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntityOfPage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2743,7 +2841,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "manufacturer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2756,7 +2854,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "material", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2770,7 +2868,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mobileUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2783,7 +2881,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("model"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "model", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2795,7 +2895,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("mpn"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "mpn", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2806,7 +2908,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2817,7 +2921,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "negativeNotes", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2833,7 +2937,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("nsn"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "nsn", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2844,7 +2950,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("offers"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "offers", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2856,7 +2964,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("pattern"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "pattern", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2868,7 +2978,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "positiveNotes", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2884,7 +2994,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "potentialAction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2897,7 +3007,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "productID", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2910,7 +3020,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "productionDate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2923,7 +3033,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "purchaseDate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2936,7 +3046,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "releaseDate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2949,7 +3059,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "review", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2960,7 +3072,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reviews", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2971,7 +3085,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sameAs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2982,7 +3098,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "size", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2996,7 +3114,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sku"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sku", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3007,7 +3127,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("slogan"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "slogan", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3018,7 +3140,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjectOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3032,7 +3154,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3043,7 +3167,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("weight"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "weight", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3056,7 +3182,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("width"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "width", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4710,7 +4838,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Product<'a> { 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 e7a05d958..2f2de1adf 100644 --- a/crates/jacquard-api/src/social_flockfeeds/lexical/type/recipe.rs +++ b/crates/jacquard-api/src/social_flockfeeds/lexical/type/recipe.rs @@ -2534,7 +2534,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("embedded"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("embedded"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -2547,7 +2547,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("about"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "about", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2558,7 +2560,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("abstract"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "abstract", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2569,7 +2573,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessMode", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2582,7 +2586,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessModeSufficient", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2595,7 +2599,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityAPI", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2608,7 +2612,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityControl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2621,7 +2625,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityFeature", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2634,7 +2638,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityHazard", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2647,7 +2651,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilitySummary", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2660,7 +2664,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accountablePerson", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2673,7 +2677,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "acquireLicensePage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2687,7 +2691,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "additionalType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2700,7 +2704,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "aggregateRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2713,7 +2717,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternateName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2726,7 +2730,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternativeHeadline", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2739,7 +2743,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "archivedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2753,7 +2757,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("assesses"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "assesses", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2765,7 +2771,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "associatedMedia", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2778,7 +2784,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("audience"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "audience", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2789,7 +2797,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("audio"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "audio", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2802,7 +2812,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "author", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2814,7 +2826,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "award", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2825,7 +2839,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "awards", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2836,7 +2852,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "character", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2849,7 +2865,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("citation"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "citation", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2861,7 +2879,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "comment", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2872,7 +2892,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "commentCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2885,7 +2905,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "conditionsOfAccess", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2898,7 +2918,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentLocation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2911,7 +2931,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2925,7 +2945,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentReferenceTime", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2938,7 +2958,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contributor", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2952,7 +2972,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cookTime"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cookTime", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2963,7 +2985,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "cookingMethod", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2976,7 +2998,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightHolder", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2990,7 +3012,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightNotice", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3003,7 +3025,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightYear", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3016,7 +3038,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "correction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3030,7 +3052,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "countryOfOrigin", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3043,7 +3065,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "creativeWorkStatus", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3057,7 +3079,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("creator"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "creator", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3069,7 +3093,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "creditText", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3082,7 +3106,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dateCreated", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3095,7 +3119,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dateModified", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3108,7 +3132,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "datePublished", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3121,7 +3145,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3135,7 +3159,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "digitalSourceType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3149,7 +3173,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "disambiguatingDescription", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3162,7 +3186,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "discussionUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3175,7 +3199,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("editEIDR"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "editEIDR", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3186,7 +3212,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("editor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "editor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3197,7 +3225,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalAlignment", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3210,7 +3238,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalLevel", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3224,7 +3252,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalUse", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3238,7 +3266,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("encoding"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "encoding", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3249,7 +3279,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "encodingFormat", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3262,7 +3292,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "encodings", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3275,7 +3305,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "estimatedCost", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3289,7 +3319,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "exampleOfWork", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3302,7 +3332,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("expires"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "expires", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3313,7 +3345,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "fileFormat", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3326,7 +3358,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funder", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3338,7 +3372,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funding", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3349,7 +3385,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("genre"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "genre", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3360,7 +3398,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hasPart"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "hasPart", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3371,7 +3411,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("headline"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "headline", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3382,7 +3424,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "identifier", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3396,7 +3438,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3408,7 +3452,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "inLanguage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3422,7 +3466,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "ingredients", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3435,7 +3479,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interactionStatistic", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3448,7 +3492,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interactivityType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3461,7 +3505,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interpretedAsClaim", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3474,7 +3518,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isAccessibleForFree", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3487,7 +3531,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isBasedOn", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3502,7 +3546,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isBasedOnUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3517,7 +3561,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isFamilyFriendly", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3530,7 +3574,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("isPartOf"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "isPartOf", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3542,7 +3588,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("keywords"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "keywords", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3554,7 +3602,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "learningResourceType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3568,7 +3616,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("license"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "license", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3580,7 +3630,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "locationCreated", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3593,7 +3643,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntity", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3606,7 +3656,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntityOfPage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3620,7 +3670,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "maintainer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3634,7 +3684,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("material"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "material", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3646,7 +3698,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "materialExtent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3660,7 +3712,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("mentions"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "mentions", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3671,7 +3725,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3682,7 +3738,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "nutrition", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3695,7 +3751,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("offers"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "offers", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3707,7 +3765,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("pattern"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "pattern", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3719,7 +3779,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "performTime", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3732,7 +3792,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("position"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "position", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3743,7 +3805,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "potentialAction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3756,7 +3818,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("prepTime"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "prepTime", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3767,7 +3831,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("producer"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "producer", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3779,7 +3845,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("provider"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "provider", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3791,7 +3859,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publication", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3804,7 +3872,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publisher", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3818,7 +3886,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publisherImprint", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3831,7 +3899,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publishingPrinciples", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3845,7 +3913,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "recipeCategory", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3858,7 +3926,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "recipeCuisine", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3871,7 +3939,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "recipeIngredient", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3886,7 +3954,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "recipeInstructions", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3901,7 +3969,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "recipeYield", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3915,7 +3983,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "recordedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3928,7 +3996,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "releasedEvent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3941,7 +4009,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "review", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3952,7 +4022,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reviews", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3963,7 +4035,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sameAs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3974,7 +4048,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "schemaVersion", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3987,7 +4061,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdDatePublished", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4000,7 +4074,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdLicense", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4014,7 +4088,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdPublisher", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4028,7 +4102,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "size", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4042,7 +4118,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sourceOrganization", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4055,7 +4131,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("spatial"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "spatial", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4066,7 +4144,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "spatialCoverage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4079,7 +4157,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sponsor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4091,7 +4171,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("step"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "step", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4105,7 +4187,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("steps"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "steps", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4118,7 +4202,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjectOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4132,7 +4216,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "suitableForDiet", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4146,7 +4230,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("supply"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "supply", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4158,7 +4244,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("teaches"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "teaches", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4170,7 +4258,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("temporal"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "temporal", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4181,7 +4271,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "temporalCoverage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4194,7 +4284,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4205,7 +4297,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "thumbnail", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4218,7 +4310,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "thumbnailUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4231,7 +4323,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "timeRequired", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4244,7 +4336,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tool"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tool", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4256,7 +4350,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "totalTime", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4269,7 +4363,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "translationOfWork", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4282,7 +4376,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "translator", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4296,7 +4390,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "typicalAgeRange", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4309,7 +4403,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4320,7 +4416,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "usageInfo", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4334,7 +4430,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("version"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "version", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4345,7 +4443,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("video"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "video", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4357,7 +4457,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "wordCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4370,7 +4470,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "workExample", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4383,7 +4483,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "workTranslation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4396,7 +4496,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("yield"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "yield", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4412,7 +4514,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -4428,7 +4530,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("about"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "about", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4439,7 +4543,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "abstract", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4452,7 +4556,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessMode", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4465,7 +4569,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessModeSufficient", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4478,7 +4582,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityAPI", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4491,7 +4595,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityControl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4504,7 +4608,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityFeature", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4517,7 +4621,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityHazard", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4530,7 +4634,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilitySummary", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4543,7 +4647,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accountablePerson", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4556,7 +4660,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "acquireLicensePage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4570,7 +4674,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "additionalType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4583,7 +4687,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "aggregateRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4596,7 +4700,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternateName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4609,7 +4713,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternativeHeadline", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4622,7 +4726,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "archivedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4636,7 +4740,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "assesses", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4650,7 +4754,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "associatedMedia", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4663,7 +4767,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "audience", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4676,7 +4780,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("audio"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "audio", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4689,7 +4795,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "author", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4701,7 +4809,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "award", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4712,7 +4822,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "awards", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4723,7 +4835,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "character", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4736,7 +4848,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "citation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4750,7 +4862,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "comment", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4761,7 +4875,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "commentCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4774,7 +4888,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "conditionsOfAccess", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4787,7 +4901,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentLocation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4800,7 +4914,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4814,7 +4928,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentReferenceTime", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4827,7 +4941,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contributor", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4841,7 +4955,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "cookTime", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4854,7 +4968,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "cookingMethod", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4867,7 +4981,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightHolder", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4881,7 +4995,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightNotice", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4894,7 +5008,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightYear", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4907,7 +5021,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "correction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4921,7 +5035,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "countryOfOrigin", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4934,7 +5048,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "creativeWorkStatus", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4948,7 +5062,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("creator"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "creator", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4960,7 +5076,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "creditText", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4973,7 +5089,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dateCreated", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4986,7 +5102,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dateModified", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4999,7 +5115,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "datePublished", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5012,7 +5128,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5026,7 +5142,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "digitalSourceType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5040,7 +5156,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "disambiguatingDescription", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5053,7 +5169,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "discussionUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5066,7 +5182,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "editEIDR", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5079,7 +5195,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("editor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "editor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5090,7 +5208,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalAlignment", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5103,7 +5221,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalLevel", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5117,7 +5235,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalUse", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5131,7 +5249,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "encoding", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5144,7 +5262,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "encodingFormat", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5157,7 +5275,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "encodings", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5170,7 +5288,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "estimatedCost", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5184,7 +5302,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "exampleOfWork", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5197,7 +5315,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("expires"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "expires", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5208,7 +5328,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "fileFormat", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5221,7 +5341,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funder", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5233,7 +5355,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funding", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5244,7 +5368,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("genre"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "genre", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5255,7 +5381,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hasPart"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "hasPart", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5266,7 +5394,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "headline", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5279,7 +5407,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "identifier", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5293,7 +5421,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5305,7 +5435,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "inLanguage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5319,7 +5449,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "ingredients", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5332,7 +5462,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interactionStatistic", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5345,7 +5475,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interactivityType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5358,7 +5488,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interpretedAsClaim", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5371,7 +5501,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isAccessibleForFree", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5384,7 +5514,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isBasedOn", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5399,7 +5529,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isBasedOnUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5414,7 +5544,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isFamilyFriendly", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5427,7 +5557,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isPartOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5441,7 +5571,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "keywords", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5455,7 +5585,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "learningResourceType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5469,7 +5599,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("license"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "license", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5481,7 +5613,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "locationCreated", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5494,7 +5626,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntity", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5507,7 +5639,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntityOfPage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5521,7 +5653,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "maintainer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5535,7 +5667,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "material", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5549,7 +5681,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "materialExtent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5563,7 +5695,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mentions", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5576,7 +5708,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5587,7 +5721,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "nutrition", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5600,7 +5734,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("offers"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "offers", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5612,7 +5748,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("pattern"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "pattern", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5624,7 +5762,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "performTime", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5637,7 +5775,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "position", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5650,7 +5788,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "potentialAction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5663,7 +5801,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "prepTime", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5676,7 +5814,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "producer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5690,7 +5828,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "provider", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5704,7 +5842,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publication", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5717,7 +5855,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publisher", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5731,7 +5869,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publisherImprint", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5744,7 +5882,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publishingPrinciples", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5758,7 +5896,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "recipeCategory", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5771,7 +5909,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "recipeCuisine", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5784,7 +5922,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "recipeIngredient", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5799,7 +5937,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "recipeInstructions", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5814,7 +5952,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "recipeYield", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5828,7 +5966,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "recordedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5841,7 +5979,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "releasedEvent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5854,7 +5992,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "review", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5865,7 +6005,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reviews", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5876,7 +6018,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sameAs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5887,7 +6031,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "schemaVersion", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5900,7 +6044,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdDatePublished", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5913,7 +6057,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdLicense", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5927,7 +6071,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdPublisher", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5941,7 +6085,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "size", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5955,7 +6101,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sourceOrganization", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5968,7 +6114,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("spatial"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "spatial", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5979,7 +6127,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "spatialCoverage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5992,7 +6140,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sponsor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -6004,7 +6154,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("step"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "step", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -6018,7 +6170,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("steps"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "steps", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -6031,7 +6185,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjectOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -6045,7 +6199,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "suitableForDiet", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -6059,7 +6213,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("supply"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "supply", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -6071,7 +6227,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("teaches"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "teaches", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -6083,7 +6241,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "temporal", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -6096,7 +6254,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "temporalCoverage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -6109,7 +6267,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -6120,7 +6280,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "thumbnail", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -6133,7 +6293,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "thumbnailUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -6146,7 +6306,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "timeRequired", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -6159,7 +6319,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tool"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tool", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -6171,7 +6333,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "totalTime", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -6184,7 +6346,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "translationOfWork", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -6197,7 +6359,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "translator", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -6211,7 +6373,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "typicalAgeRange", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -6224,7 +6386,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -6235,7 +6399,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "usageInfo", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -6249,7 +6413,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("version"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "version", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -6260,7 +6426,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("video"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "video", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -6272,7 +6440,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "wordCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -6285,7 +6453,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "workExample", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -6298,7 +6466,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "workTranslation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -6311,7 +6479,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("yield"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "yield", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -9619,7 +9789,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Recipe<'a> { 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 a168b2982..be18bfc8c 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 @@ -2358,7 +2358,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("embedded"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("embedded"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -2371,7 +2371,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("about"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "about", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2382,7 +2384,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("abstract"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "abstract", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2393,7 +2397,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessMode", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2406,7 +2410,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessModeSufficient", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2419,7 +2423,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityAPI", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2432,7 +2436,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityControl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2445,7 +2449,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityFeature", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2458,7 +2462,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityHazard", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2471,7 +2475,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilitySummary", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2484,7 +2488,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accountablePerson", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2497,7 +2501,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "acquireLicensePage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2511,7 +2515,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "additionalType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2524,7 +2528,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "aggregateRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2537,7 +2541,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternateName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2550,7 +2554,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternativeHeadline", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2563,7 +2567,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "archivedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2577,7 +2581,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "articleBody", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2590,7 +2594,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "articleSection", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2603,7 +2607,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("assesses"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "assesses", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2615,7 +2621,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "associatedMedia", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2628,7 +2634,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("audience"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "audience", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2639,7 +2647,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("audio"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "audio", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2652,7 +2662,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "author", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2664,7 +2676,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "award", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2675,7 +2689,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "awards", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2686,7 +2702,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "backstory", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2700,7 +2716,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "character", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2713,7 +2729,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("citation"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "citation", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2725,7 +2743,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "comment", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2736,7 +2756,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "commentCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2749,7 +2769,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "conditionsOfAccess", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2762,7 +2782,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentLocation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2775,7 +2795,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2789,7 +2809,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentReferenceTime", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2802,7 +2822,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contributor", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2816,7 +2836,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightHolder", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2830,7 +2850,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightNotice", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2843,7 +2863,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightYear", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2856,7 +2876,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "correction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2870,7 +2890,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "countryOfOrigin", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2883,7 +2903,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "creativeWorkStatus", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2897,7 +2917,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("creator"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "creator", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2909,7 +2931,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "creditText", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2922,7 +2944,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dateCreated", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2935,7 +2957,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dateModified", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2948,7 +2970,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "datePublished", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2961,7 +2983,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2975,7 +2997,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "digitalSourceType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2989,7 +3011,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "disambiguatingDescription", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3002,7 +3024,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "discussionUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3015,7 +3037,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("editEIDR"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "editEIDR", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3026,7 +3050,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("editor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "editor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3037,7 +3063,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalAlignment", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3050,7 +3076,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalLevel", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3064,7 +3090,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalUse", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3078,7 +3104,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("encoding"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "encoding", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3089,7 +3117,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "encodingFormat", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3102,7 +3130,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "encodings", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3115,7 +3143,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "exampleOfWork", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3128,7 +3156,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("expires"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "expires", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3139,7 +3169,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "fileFormat", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3152,7 +3182,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funder", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3164,7 +3196,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funding", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3175,7 +3209,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("genre"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "genre", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3186,7 +3222,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hasPart"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "hasPart", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3197,7 +3235,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("headline"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "headline", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3208,7 +3248,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "identifier", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3222,7 +3262,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3234,7 +3276,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "inLanguage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3248,7 +3290,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interactionStatistic", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3261,7 +3303,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interactivityType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3274,7 +3316,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interpretedAsClaim", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3287,7 +3329,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isAccessibleForFree", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3300,7 +3342,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isBasedOn", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3315,7 +3357,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isBasedOnUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3330,7 +3372,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isFamilyFriendly", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3343,7 +3385,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("isPartOf"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "isPartOf", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3355,7 +3399,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("keywords"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "keywords", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3367,7 +3413,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "learningResourceType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3381,7 +3427,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("license"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "license", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3393,7 +3441,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "locationCreated", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3406,7 +3454,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntity", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3419,7 +3467,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntityOfPage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3433,7 +3481,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "maintainer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3447,7 +3495,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("material"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "material", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3459,7 +3509,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "materialExtent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3473,7 +3523,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("mentions"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "mentions", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3484,7 +3536,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3495,7 +3549,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("offers"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "offers", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3507,7 +3563,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("pageEnd"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "pageEnd", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3518,7 +3576,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "pageStart", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3531,7 +3589,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "pagination", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3544,7 +3602,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("pattern"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "pattern", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3556,7 +3616,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("position"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "position", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3567,7 +3629,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "potentialAction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3580,7 +3642,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("producer"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "producer", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3592,7 +3656,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("provider"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "provider", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3604,7 +3670,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publication", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3617,7 +3683,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publisher", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3631,7 +3697,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publisherImprint", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3644,7 +3710,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publishingPrinciples", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3658,7 +3724,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "recordedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3671,7 +3737,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "releasedEvent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3684,7 +3750,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "review", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3695,7 +3763,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reviews", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3706,7 +3776,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sameAs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3717,7 +3789,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "schemaVersion", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3730,7 +3802,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdDatePublished", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3743,7 +3815,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdLicense", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3757,7 +3829,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdPublisher", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3771,7 +3843,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sharedContent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3784,7 +3856,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "size", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3798,7 +3872,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sourceOrganization", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3811,7 +3885,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("spatial"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "spatial", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3822,7 +3898,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "spatialCoverage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3835,7 +3911,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "speakable", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3849,7 +3925,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sponsor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3861,7 +3939,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjectOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3875,7 +3953,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("teaches"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "teaches", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3887,7 +3967,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("temporal"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "temporal", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3898,7 +3980,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "temporalCoverage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3911,7 +3993,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3922,7 +4006,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "thumbnail", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3935,7 +4019,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "thumbnailUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3948,7 +4032,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "timeRequired", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3961,7 +4045,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "translationOfWork", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3974,7 +4058,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "translator", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3988,7 +4072,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "typicalAgeRange", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4001,7 +4085,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4012,7 +4098,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "usageInfo", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4026,7 +4112,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("version"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "version", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4037,7 +4125,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("video"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "video", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4049,7 +4139,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "wordCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4062,7 +4152,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "workExample", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4075,7 +4165,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "workTranslation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4092,7 +4182,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -4108,7 +4198,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("about"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "about", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4119,7 +4211,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "abstract", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4132,7 +4224,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessMode", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4145,7 +4237,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessModeSufficient", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4158,7 +4250,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityAPI", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4171,7 +4263,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityControl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4184,7 +4276,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityFeature", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4197,7 +4289,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityHazard", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4210,7 +4302,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilitySummary", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4223,7 +4315,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accountablePerson", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4236,7 +4328,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "acquireLicensePage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4250,7 +4342,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "additionalType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4263,7 +4355,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "aggregateRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4276,7 +4368,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternateName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4289,7 +4381,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternativeHeadline", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4302,7 +4394,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "archivedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4316,7 +4408,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "articleBody", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4329,7 +4421,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "articleSection", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4342,7 +4434,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "assesses", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4356,7 +4448,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "associatedMedia", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4369,7 +4461,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "audience", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4382,7 +4474,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("audio"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "audio", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4395,7 +4489,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "author", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4407,7 +4503,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "award", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4418,7 +4516,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "awards", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4429,7 +4529,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "backstory", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4443,7 +4543,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "character", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4456,7 +4556,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "citation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4470,7 +4570,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "comment", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4481,7 +4583,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "commentCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4494,7 +4596,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "conditionsOfAccess", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4507,7 +4609,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentLocation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4520,7 +4622,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4534,7 +4636,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentReferenceTime", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4547,7 +4649,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contributor", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4561,7 +4663,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightHolder", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4575,7 +4677,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightNotice", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4588,7 +4690,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightYear", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4601,7 +4703,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "correction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4615,7 +4717,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "countryOfOrigin", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4628,7 +4730,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "creativeWorkStatus", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4642,7 +4744,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("creator"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "creator", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4654,7 +4758,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "creditText", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4667,7 +4771,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dateCreated", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4680,7 +4784,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dateModified", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4693,7 +4797,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "datePublished", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4706,7 +4810,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4720,7 +4824,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "digitalSourceType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4734,7 +4838,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "disambiguatingDescription", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4747,7 +4851,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "discussionUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4760,7 +4864,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "editEIDR", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4773,7 +4877,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("editor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "editor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4784,7 +4890,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalAlignment", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4797,7 +4903,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalLevel", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4811,7 +4917,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalUse", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4825,7 +4931,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "encoding", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4838,7 +4944,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "encodingFormat", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4851,7 +4957,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "encodings", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4864,7 +4970,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "exampleOfWork", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4877,7 +4983,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("expires"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "expires", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4888,7 +4996,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "fileFormat", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4901,7 +5009,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funder", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4913,7 +5023,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funding", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4924,7 +5036,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("genre"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "genre", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4935,7 +5049,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hasPart"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "hasPart", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4946,7 +5062,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "headline", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4959,7 +5075,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "identifier", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4973,7 +5089,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4985,7 +5103,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "inLanguage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4999,7 +5117,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interactionStatistic", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5012,7 +5130,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interactivityType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5025,7 +5143,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interpretedAsClaim", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5038,7 +5156,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isAccessibleForFree", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5051,7 +5169,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isBasedOn", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5066,7 +5184,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isBasedOnUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5081,7 +5199,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isFamilyFriendly", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5094,7 +5212,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isPartOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5108,7 +5226,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "keywords", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5122,7 +5240,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "learningResourceType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5136,7 +5254,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("license"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "license", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5148,7 +5268,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "locationCreated", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5161,7 +5281,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntity", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5174,7 +5294,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntityOfPage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5188,7 +5308,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "maintainer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5202,7 +5322,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "material", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5216,7 +5336,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "materialExtent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5230,7 +5350,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mentions", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5243,7 +5363,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5254,7 +5376,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("offers"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "offers", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5266,7 +5390,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("pageEnd"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "pageEnd", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5277,7 +5403,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "pageStart", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5290,7 +5416,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "pagination", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5303,7 +5429,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("pattern"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "pattern", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5315,7 +5443,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "position", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5328,7 +5456,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "potentialAction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5341,7 +5469,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "producer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5355,7 +5483,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "provider", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5369,7 +5497,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publication", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5382,7 +5510,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publisher", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5396,7 +5524,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publisherImprint", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5409,7 +5537,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publishingPrinciples", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5423,7 +5551,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "recordedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5436,7 +5564,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "releasedEvent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5449,7 +5577,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "review", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5460,7 +5590,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reviews", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5471,7 +5603,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sameAs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5482,7 +5616,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "schemaVersion", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5495,7 +5629,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdDatePublished", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5508,7 +5642,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdLicense", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5522,7 +5656,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdPublisher", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5536,7 +5670,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sharedContent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5549,7 +5683,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "size", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5563,7 +5699,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sourceOrganization", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5576,7 +5712,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("spatial"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "spatial", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5587,7 +5725,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "spatialCoverage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5600,7 +5738,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "speakable", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5614,7 +5752,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sponsor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5626,7 +5766,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjectOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5640,7 +5780,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("teaches"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "teaches", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5652,7 +5794,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "temporal", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5665,7 +5807,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "temporalCoverage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5678,7 +5820,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5689,7 +5833,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "thumbnail", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5702,7 +5846,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "thumbnailUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5715,7 +5859,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "timeRequired", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5728,7 +5872,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "translationOfWork", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5741,7 +5885,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "translator", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5755,7 +5899,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "typicalAgeRange", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5768,7 +5912,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5779,7 +5925,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "usageInfo", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5793,7 +5939,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("version"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "version", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5804,7 +5952,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("video"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "video", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5816,7 +5966,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "wordCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5829,7 +5979,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "workExample", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5842,7 +5992,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "workTranslation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -9307,7 +9457,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> SocialMediaPosting<'a> { 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 52553bc41..6fd06d97b 100644 --- a/crates/jacquard-api/src/social_flockfeeds/lexical/type/store.rs +++ b/crates/jacquard-api/src/social_flockfeeds/lexical/type/store.rs @@ -2220,7 +2220,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("embedded"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("embedded"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static("A retail good store."), @@ -2231,7 +2231,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "acceptedPaymentMethod", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2246,7 +2246,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "actionableFeedbackPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2260,7 +2260,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "additionalProperty", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2273,7 +2273,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "additionalType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2286,7 +2286,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("address"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "address", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2298,7 +2300,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "agentInteractionStatistic", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2311,7 +2313,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "aggregateRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2324,7 +2326,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternateName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2337,7 +2339,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("alumni"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "alumni", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2348,7 +2352,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "amenityFeature", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2361,7 +2365,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "areaServed", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2377,7 +2381,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "award", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2388,7 +2394,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "awards", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2399,7 +2407,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "branchCode", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2412,7 +2420,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("branchOf"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "branchOf", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2423,7 +2433,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("brand"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "brand", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2435,7 +2447,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "companyRegistration", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2448,7 +2460,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contactPoint", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2461,7 +2473,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contactPoints", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2474,7 +2486,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "containedIn", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2487,7 +2499,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "containedInPlace", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2500,7 +2512,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "containsPlace", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2513,7 +2525,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "correctionsPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2527,7 +2539,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "currenciesAccepted", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2540,7 +2552,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "department", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2553,7 +2565,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2567,7 +2579,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "disambiguatingDescription", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2580,7 +2592,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dissolutionDate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2593,7 +2605,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "diversityPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2607,7 +2619,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "diversityStaffingReport", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2621,7 +2633,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("duns"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "duns", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2632,7 +2646,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("email"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "email", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2643,7 +2659,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("employee"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "employee", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2654,7 +2672,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "employees", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2667,7 +2685,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "ethicsPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2681,7 +2699,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("event"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "event", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2692,7 +2712,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("events"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "events", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2703,7 +2725,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "faxNumber", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2716,7 +2738,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("founder"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "founder", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2728,7 +2752,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("founders"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "founders", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2739,7 +2765,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "foundingDate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2752,7 +2778,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "foundingLocation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2765,7 +2791,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funder", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2777,7 +2805,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funding", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2788,7 +2818,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("geo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "geo", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2800,7 +2832,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "geoContains", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2814,7 +2846,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "geoCoveredBy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2828,7 +2860,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "geoCovers", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2842,7 +2874,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "geoCrosses", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2856,7 +2888,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "geoDisjoint", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2870,7 +2902,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "geoEquals", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2884,7 +2916,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "geoIntersects", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2898,7 +2930,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "geoOverlaps", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2912,7 +2944,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "geoTouches", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2926,7 +2958,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "geoWithin", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2940,7 +2972,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "globalLocationNumber", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2953,7 +2985,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasCertification", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2966,7 +2998,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasCredential", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2979,7 +3011,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasDriveThroughService", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2992,7 +3024,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasGS1DigitalLink", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3005,7 +3037,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hasMap"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "hasMap", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3017,7 +3051,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasMemberProgram", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3030,7 +3064,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasMerchantReturnPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3043,7 +3077,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasOfferCatalog", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3056,7 +3090,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hasPOS"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "hasPOS", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3067,7 +3103,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasProductReturnPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3080,7 +3116,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasShippingService", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3093,7 +3129,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "identifier", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3107,7 +3143,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3119,7 +3157,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interactionStatistic", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3132,7 +3170,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isAccessibleForFree", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3145,7 +3183,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("isicV4"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "isicV4", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3156,7 +3196,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "iso6523Code", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3169,7 +3209,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("keywords"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "keywords", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3181,7 +3223,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "knowsAbout", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3195,7 +3237,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "knowsLanguage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3209,7 +3251,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("latitude"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "latitude", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3220,7 +3264,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "legalAddress", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3233,7 +3277,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "legalName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3246,7 +3290,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "legalRepresentative", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3259,7 +3303,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("leiCode"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "leiCode", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3270,7 +3316,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("location"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "location", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3284,7 +3332,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("logo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "logo", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3296,7 +3346,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "longitude", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3309,7 +3359,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntityOfPage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3323,7 +3373,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "makesOffer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3336,7 +3386,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("map"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "map", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3347,7 +3399,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("maps"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "maps", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3358,7 +3412,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "maximumAttendeeCapacity", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3371,7 +3425,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("member"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "member", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3383,7 +3439,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("memberOf"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "memberOf", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3396,7 +3454,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("members"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "members", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3408,7 +3468,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("naics"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "naics", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3419,7 +3481,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3430,7 +3494,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "nonprofitStatus", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3444,7 +3508,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "numberOfEmployees", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3457,7 +3521,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "openingHours", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3470,7 +3534,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "openingHoursSpecification", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3483,7 +3547,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "ownershipFundingInfo", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3498,7 +3562,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("owns"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "owns", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3510,7 +3576,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "parentOrganization", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3523,7 +3589,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "paymentAccepted", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3536,7 +3602,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("photo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "photo", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3548,7 +3616,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("photos"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "photos", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3560,7 +3630,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "potentialAction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3573,7 +3643,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "priceRange", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3586,7 +3656,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publicAccess", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3599,7 +3669,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publishingPrinciples", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3613,7 +3683,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "review", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3624,7 +3696,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reviews", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3635,7 +3709,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sameAs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3646,7 +3722,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("seeks"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "seeks", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3657,7 +3735,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "serviceArea", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3672,7 +3750,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("skills"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "skills", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3684,7 +3764,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("slogan"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "slogan", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3695,7 +3777,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "smokingAllowed", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3708,7 +3790,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "specialOpeningHoursSpecification", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3721,7 +3803,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sponsor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3733,7 +3817,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subOrganization", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3746,7 +3830,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjectOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3760,7 +3844,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("taxID"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "taxID", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3771,7 +3857,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "telephone", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3784,7 +3870,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "tourBookingPage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3797,7 +3883,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "unnamedSourcesPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3811,7 +3897,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3822,7 +3910,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("vatID"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "vatID", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3837,7 +3927,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -3851,7 +3941,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "acceptedPaymentMethod", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3866,7 +3956,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "actionableFeedbackPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3880,7 +3970,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "additionalProperty", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3893,7 +3983,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "additionalType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3906,7 +3996,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("address"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "address", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3918,7 +4010,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "agentInteractionStatistic", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3931,7 +4023,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "aggregateRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3944,7 +4036,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternateName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3957,7 +4049,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("alumni"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "alumni", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3968,7 +4062,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "amenityFeature", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3981,7 +4075,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "areaServed", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3997,7 +4091,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "award", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4008,7 +4104,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "awards", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4019,7 +4117,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "branchCode", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4032,7 +4130,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "branchOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4045,7 +4143,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("brand"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "brand", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4057,7 +4157,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "companyRegistration", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4070,7 +4170,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contactPoint", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4083,7 +4183,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contactPoints", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4096,7 +4196,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "containedIn", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4109,7 +4209,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "containedInPlace", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4122,7 +4222,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "containsPlace", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4135,7 +4235,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "correctionsPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4149,7 +4249,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "currenciesAccepted", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4162,7 +4262,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "department", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4175,7 +4275,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4189,7 +4289,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "disambiguatingDescription", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4202,7 +4302,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dissolutionDate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4215,7 +4315,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "diversityPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4229,7 +4329,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "diversityStaffingReport", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4243,7 +4343,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("duns"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "duns", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4254,7 +4356,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("email"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "email", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4265,7 +4369,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "employee", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4278,7 +4382,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "employees", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4291,7 +4395,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "ethicsPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4305,7 +4409,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("event"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "event", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4316,7 +4422,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("events"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "events", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4327,7 +4435,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "faxNumber", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4340,7 +4448,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("founder"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "founder", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4352,7 +4462,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "founders", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4365,7 +4475,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "foundingDate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4378,7 +4488,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "foundingLocation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4391,7 +4501,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funder", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4403,7 +4515,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funding", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4414,7 +4528,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("geo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "geo", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4426,7 +4542,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "geoContains", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4440,7 +4556,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "geoCoveredBy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4454,7 +4570,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "geoCovers", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4468,7 +4584,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "geoCrosses", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4482,7 +4598,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "geoDisjoint", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4496,7 +4612,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "geoEquals", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4510,7 +4626,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "geoIntersects", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4524,7 +4640,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "geoOverlaps", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4538,7 +4654,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "geoTouches", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4552,7 +4668,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "geoWithin", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4566,7 +4682,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "globalLocationNumber", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4579,7 +4695,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasCertification", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4592,7 +4708,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasCredential", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4605,7 +4721,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasDriveThroughService", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4618,7 +4734,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasGS1DigitalLink", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4631,7 +4747,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hasMap"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "hasMap", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4643,7 +4761,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasMemberProgram", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4656,7 +4774,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasMerchantReturnPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4669,7 +4787,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasOfferCatalog", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4682,7 +4800,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hasPOS"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "hasPOS", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4693,7 +4813,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasProductReturnPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4706,7 +4826,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "hasShippingService", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4719,7 +4839,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "identifier", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4733,7 +4853,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4745,7 +4867,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interactionStatistic", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4758,7 +4880,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isAccessibleForFree", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4771,7 +4893,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("isicV4"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "isicV4", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4782,7 +4906,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "iso6523Code", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4795,7 +4919,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "keywords", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4809,7 +4933,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "knowsAbout", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4823,7 +4947,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "knowsLanguage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4837,7 +4961,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "latitude", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4850,7 +4974,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "legalAddress", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4863,7 +4987,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "legalName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4876,7 +5000,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "legalRepresentative", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4889,7 +5013,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("leiCode"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "leiCode", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4900,7 +5026,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "location", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4916,7 +5042,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("logo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "logo", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4928,7 +5056,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "longitude", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4941,7 +5069,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntityOfPage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4955,7 +5083,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "makesOffer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4968,7 +5096,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("map"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "map", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4979,7 +5109,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("maps"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "maps", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4990,7 +5122,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "maximumAttendeeCapacity", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5003,7 +5135,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("member"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "member", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5015,7 +5149,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "memberOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5030,7 +5164,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("members"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "members", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5042,7 +5178,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("naics"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "naics", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5053,7 +5191,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5064,7 +5204,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "nonprofitStatus", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5078,7 +5218,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "numberOfEmployees", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5091,7 +5231,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "openingHours", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5104,7 +5244,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "openingHoursSpecification", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5117,7 +5257,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "ownershipFundingInfo", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5132,7 +5272,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("owns"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "owns", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5144,7 +5286,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "parentOrganization", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5157,7 +5299,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "paymentAccepted", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5170,7 +5312,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("photo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "photo", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5182,7 +5326,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("photos"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "photos", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5194,7 +5340,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "potentialAction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5207,7 +5353,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "priceRange", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5220,7 +5366,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publicAccess", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5233,7 +5379,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publishingPrinciples", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5247,7 +5393,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "review", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5258,7 +5406,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reviews", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5269,7 +5419,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sameAs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5280,7 +5432,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("seeks"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "seeks", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5291,7 +5445,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "serviceArea", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5306,7 +5460,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("skills"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "skills", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5318,7 +5474,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("slogan"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "slogan", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5329,7 +5487,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "smokingAllowed", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5342,7 +5500,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "specialOpeningHoursSpecification", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5355,7 +5513,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sponsor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5367,7 +5527,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subOrganization", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5380,7 +5540,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjectOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5394,7 +5554,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("taxID"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "taxID", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5405,7 +5567,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "telephone", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5418,7 +5580,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "tourBookingPage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5431,7 +5593,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "unnamedSourcesPolicy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5445,7 +5607,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5456,7 +5620,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("vatID"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "vatID", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -8309,7 +8475,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Store<'a> { 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 c1e975c9d..dd8acc90c 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 @@ -2490,7 +2490,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("embedded"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("embedded"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -2503,7 +2503,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("about"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "about", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2514,7 +2516,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("abstract"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "abstract", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2525,7 +2529,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessMode", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2538,7 +2542,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessModeSufficient", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2551,7 +2555,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityAPI", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2564,7 +2568,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityControl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2577,7 +2581,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityFeature", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2590,7 +2594,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityHazard", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2603,7 +2607,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilitySummary", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2616,7 +2620,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accountablePerson", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2629,7 +2633,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "acquireLicensePage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2643,7 +2647,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("actor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "actor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2655,7 +2661,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("actors"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "actors", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2666,7 +2674,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "additionalType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2679,7 +2687,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "aggregateRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2692,7 +2700,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternateName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2705,7 +2713,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternativeHeadline", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2718,7 +2726,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "archivedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2732,7 +2740,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("assesses"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "assesses", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2744,7 +2754,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "associatedMedia", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2757,7 +2767,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("audience"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "audience", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2768,7 +2780,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("audio"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "audio", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2781,7 +2795,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "author", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2793,7 +2809,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "award", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2804,7 +2822,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "awards", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2815,7 +2835,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "character", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2828,7 +2848,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("citation"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "citation", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2840,7 +2862,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "comment", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2851,7 +2875,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "commentCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2864,7 +2888,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "conditionsOfAccess", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2877,7 +2901,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentLocation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2890,7 +2914,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2904,7 +2928,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentReferenceTime", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2917,7 +2941,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contributor", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2931,7 +2955,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightHolder", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2945,7 +2969,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightNotice", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2958,7 +2982,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightYear", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2971,7 +2995,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "correction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2985,7 +3009,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "countryOfOrigin", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2998,7 +3022,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "creativeWorkStatus", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3012,7 +3036,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("creator"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "creator", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3024,7 +3050,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "creditText", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3037,7 +3063,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dateCreated", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3050,7 +3076,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dateModified", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3063,7 +3089,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "datePublished", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3076,7 +3102,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3090,7 +3116,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "digitalSourceType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3104,7 +3130,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("director"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "director", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3115,7 +3143,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "directors", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3128,7 +3156,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "disambiguatingDescription", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3141,7 +3169,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "discussionUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3154,7 +3182,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("duration"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "duration", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3166,7 +3196,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("editEIDR"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "editEIDR", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3177,7 +3209,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("editor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "editor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3188,7 +3222,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalAlignment", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3201,7 +3235,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalLevel", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3215,7 +3249,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalUse", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3229,7 +3263,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("encoding"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "encoding", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3240,7 +3276,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "encodingFormat", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3253,7 +3289,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "encodings", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3266,7 +3302,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "episodeNumber", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3279,7 +3315,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "exampleOfWork", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3292,7 +3328,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("expires"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "expires", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3303,7 +3341,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "fileFormat", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3316,7 +3354,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funder", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3328,7 +3368,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funding", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3339,7 +3381,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("genre"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "genre", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3350,7 +3394,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hasPart"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "hasPart", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3361,7 +3407,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("headline"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "headline", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3372,7 +3420,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "identifier", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3386,7 +3434,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3398,7 +3448,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "inLanguage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3412,7 +3462,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interactionStatistic", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3425,7 +3475,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interactivityType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3438,7 +3488,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interpretedAsClaim", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3451,7 +3501,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isAccessibleForFree", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3464,7 +3514,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isBasedOn", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3479,7 +3529,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isBasedOnUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3494,7 +3544,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isFamilyFriendly", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3507,7 +3557,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("isPartOf"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "isPartOf", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3519,7 +3571,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("keywords"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "keywords", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3531,7 +3585,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "learningResourceType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3545,7 +3599,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("license"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "license", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3557,7 +3613,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "locationCreated", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3570,7 +3626,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntity", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3583,7 +3639,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntityOfPage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3597,7 +3653,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "maintainer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3611,7 +3667,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("material"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "material", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3623,7 +3681,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "materialExtent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3637,7 +3695,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("mentions"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "mentions", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3648,7 +3708,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("musicBy"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "musicBy", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3660,7 +3722,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3671,7 +3735,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("offers"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "offers", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3683,7 +3749,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "partOfSeason", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3696,7 +3762,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "partOfSeries", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3709,7 +3775,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "partOfTVSeries", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3722,7 +3788,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("pattern"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "pattern", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3734,7 +3802,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("position"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "position", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3745,7 +3815,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "potentialAction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3758,7 +3828,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("producer"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "producer", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3770,7 +3842,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "productionCompany", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3783,7 +3855,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("provider"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "provider", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3795,7 +3869,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publication", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3808,7 +3882,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publisher", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3822,7 +3896,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publisherImprint", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3835,7 +3909,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publishingPrinciples", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3849,7 +3923,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "recordedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3862,7 +3936,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "releasedEvent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3875,7 +3949,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "review", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3886,7 +3962,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reviews", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3897,7 +3975,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sameAs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3908,7 +3988,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "schemaVersion", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3921,7 +4001,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdDatePublished", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3934,7 +4014,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdLicense", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3948,7 +4028,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdPublisher", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3962,7 +4042,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "size", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3976,7 +4058,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sourceOrganization", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3989,7 +4071,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("spatial"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "spatial", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4000,7 +4084,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "spatialCoverage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4013,7 +4097,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sponsor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4025,7 +4111,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjectOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4039,7 +4125,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subtitleLanguage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4053,7 +4139,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("teaches"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "teaches", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4065,7 +4153,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("temporal"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "temporal", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4076,7 +4166,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "temporalCoverage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4089,7 +4179,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4100,7 +4192,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "thumbnail", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4113,7 +4205,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "thumbnailUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4126,7 +4218,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "timeRequired", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4139,7 +4231,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "titleEIDR", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4152,7 +4244,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("trailer"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "trailer", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4163,7 +4257,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "translationOfWork", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4176,7 +4270,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "translator", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4190,7 +4284,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "typicalAgeRange", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4203,7 +4297,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4214,7 +4310,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "usageInfo", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4228,7 +4324,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("version"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "version", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4239,7 +4337,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("video"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "video", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4251,7 +4351,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "wordCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4264,7 +4364,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "workExample", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4277,7 +4377,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "workTranslation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4294,7 +4394,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -4310,7 +4410,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("about"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "about", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4321,7 +4423,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "abstract", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4334,7 +4436,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessMode", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4347,7 +4449,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessModeSufficient", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4360,7 +4462,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityAPI", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4373,7 +4475,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityControl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4386,7 +4488,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityFeature", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4399,7 +4501,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityHazard", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4412,7 +4514,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilitySummary", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4425,7 +4527,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accountablePerson", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4438,7 +4540,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "acquireLicensePage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4452,7 +4554,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("actor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "actor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4464,7 +4568,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("actors"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "actors", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4475,7 +4581,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "additionalType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4488,7 +4594,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "aggregateRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4501,7 +4607,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternateName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4514,7 +4620,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternativeHeadline", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4527,7 +4633,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "archivedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4541,7 +4647,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "assesses", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4555,7 +4661,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "associatedMedia", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4568,7 +4674,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "audience", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4581,7 +4687,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("audio"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "audio", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4594,7 +4702,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "author", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4606,7 +4716,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "award", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4617,7 +4729,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "awards", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4628,7 +4742,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "character", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4641,7 +4755,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "citation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4655,7 +4769,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "comment", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4666,7 +4782,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "commentCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4679,7 +4795,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "conditionsOfAccess", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4692,7 +4808,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentLocation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4705,7 +4821,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4719,7 +4835,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentReferenceTime", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4732,7 +4848,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contributor", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4746,7 +4862,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightHolder", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4760,7 +4876,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightNotice", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4773,7 +4889,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightYear", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4786,7 +4902,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "correction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4800,7 +4916,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "countryOfOrigin", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4813,7 +4929,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "creativeWorkStatus", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4827,7 +4943,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("creator"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "creator", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4839,7 +4957,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "creditText", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4852,7 +4970,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dateCreated", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4865,7 +4983,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dateModified", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4878,7 +4996,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "datePublished", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4891,7 +5009,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4905,7 +5023,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "digitalSourceType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4919,7 +5037,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "director", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4932,7 +5050,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "directors", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4945,7 +5063,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "disambiguatingDescription", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4958,7 +5076,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "discussionUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4971,7 +5089,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "duration", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4985,7 +5103,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "editEIDR", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4998,7 +5116,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("editor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "editor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5009,7 +5129,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalAlignment", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5022,7 +5142,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalLevel", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5036,7 +5156,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalUse", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5050,7 +5170,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "encoding", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5063,7 +5183,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "encodingFormat", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5076,7 +5196,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "encodings", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5089,7 +5209,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "episodeNumber", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5102,7 +5222,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "exampleOfWork", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5115,7 +5235,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("expires"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "expires", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5126,7 +5248,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "fileFormat", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5139,7 +5261,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funder", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5151,7 +5275,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funding", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5162,7 +5288,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("genre"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "genre", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5173,7 +5301,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hasPart"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "hasPart", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5184,7 +5314,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "headline", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5197,7 +5327,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "identifier", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5211,7 +5341,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5223,7 +5355,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "inLanguage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5237,7 +5369,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interactionStatistic", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5250,7 +5382,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interactivityType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5263,7 +5395,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interpretedAsClaim", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5276,7 +5408,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isAccessibleForFree", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5289,7 +5421,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isBasedOn", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5304,7 +5436,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isBasedOnUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5319,7 +5451,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isFamilyFriendly", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5332,7 +5464,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isPartOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5346,7 +5478,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "keywords", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5360,7 +5492,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "learningResourceType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5374,7 +5506,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("license"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "license", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5386,7 +5520,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "locationCreated", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5399,7 +5533,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntity", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5412,7 +5546,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntityOfPage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5426,7 +5560,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "maintainer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5440,7 +5574,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "material", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5454,7 +5588,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "materialExtent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5468,7 +5602,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mentions", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5481,7 +5615,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("musicBy"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "musicBy", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5493,7 +5629,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5504,7 +5642,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("offers"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "offers", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5516,7 +5656,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "partOfSeason", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5529,7 +5669,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "partOfSeries", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5542,7 +5682,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "partOfTVSeries", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5555,7 +5695,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("pattern"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "pattern", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5567,7 +5709,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "position", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5580,7 +5722,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "potentialAction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5593,7 +5735,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "producer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5607,7 +5749,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "productionCompany", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5620,7 +5762,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "provider", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5634,7 +5776,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publication", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5647,7 +5789,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publisher", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5661,7 +5803,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publisherImprint", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5674,7 +5816,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publishingPrinciples", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5688,7 +5830,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "recordedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5701,7 +5843,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "releasedEvent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5714,7 +5856,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "review", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5725,7 +5869,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reviews", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5736,7 +5882,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sameAs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5747,7 +5895,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "schemaVersion", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5760,7 +5908,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdDatePublished", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5773,7 +5921,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdLicense", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5787,7 +5935,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdPublisher", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5801,7 +5949,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "size", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5815,7 +5965,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sourceOrganization", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5828,7 +5978,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("spatial"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "spatial", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5839,7 +5991,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "spatialCoverage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5852,7 +6004,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sponsor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5864,7 +6018,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjectOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5878,7 +6032,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subtitleLanguage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5892,7 +6046,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("teaches"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "teaches", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5904,7 +6060,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "temporal", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5917,7 +6073,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "temporalCoverage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5930,7 +6086,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5941,7 +6099,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "thumbnail", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5954,7 +6112,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "thumbnailUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5967,7 +6125,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "timeRequired", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5980,7 +6138,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "titleEIDR", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5993,7 +6151,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("trailer"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "trailer", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -6004,7 +6164,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "translationOfWork", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -6017,7 +6177,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "translator", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -6031,7 +6191,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "typicalAgeRange", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -6044,7 +6204,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -6055,7 +6217,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "usageInfo", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -6069,7 +6231,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("version"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "version", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -6080,7 +6244,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("video"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "video", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -6092,7 +6258,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "wordCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -6105,7 +6271,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "workExample", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -6118,7 +6284,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "workTranslation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -9389,7 +9555,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> TvEpisode<'a> { 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 f70e4ebfc..7b457a7de 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 @@ -2470,7 +2470,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("embedded"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("embedded"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -2483,7 +2483,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("about"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "about", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2494,7 +2496,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("abstract"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "abstract", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2505,7 +2509,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessMode", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2518,7 +2522,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessModeSufficient", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2531,7 +2535,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityAPI", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2544,7 +2548,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityControl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2557,7 +2561,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityFeature", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2570,7 +2574,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityHazard", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2583,7 +2587,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilitySummary", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2596,7 +2600,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accountablePerson", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2609,7 +2613,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "acquireLicensePage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2623,7 +2627,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("actor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "actor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2635,7 +2641,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "additionalType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2648,7 +2654,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "aggregateRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2661,7 +2667,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternateName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2674,7 +2680,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternativeHeadline", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2687,7 +2693,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "archivedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2701,7 +2707,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("assesses"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "assesses", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2713,7 +2721,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "associatedMedia", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2726,7 +2734,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("audience"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "audience", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2737,7 +2747,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("audio"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "audio", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2750,7 +2762,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "author", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2762,7 +2776,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "award", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2773,7 +2789,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "awards", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2784,7 +2802,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "character", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2797,7 +2815,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("citation"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "citation", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2809,7 +2829,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "comment", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2820,7 +2842,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "commentCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2833,7 +2855,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "conditionsOfAccess", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2846,7 +2868,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentLocation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2859,7 +2881,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2873,7 +2895,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentReferenceTime", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2886,7 +2908,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contributor", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2900,7 +2922,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightHolder", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2914,7 +2936,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightNotice", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2927,7 +2949,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightYear", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2940,7 +2962,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "correction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2954,7 +2976,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "countryOfOrigin", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2967,7 +2989,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "creativeWorkStatus", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2981,7 +3003,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("creator"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "creator", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2993,7 +3017,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "creditText", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3006,7 +3030,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dateCreated", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3019,7 +3043,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dateModified", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3032,7 +3056,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "datePublished", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3045,7 +3069,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3059,7 +3083,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "digitalSourceType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3073,7 +3097,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("director"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "director", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3084,7 +3110,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "disambiguatingDescription", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3097,7 +3123,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "discussionUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3110,7 +3136,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("editEIDR"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "editEIDR", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3121,7 +3149,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("editor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "editor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3132,7 +3162,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalAlignment", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3145,7 +3175,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalLevel", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3159,7 +3189,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalUse", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3173,7 +3203,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("encoding"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "encoding", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3184,7 +3216,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "encodingFormat", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3197,7 +3229,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "encodings", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3210,7 +3242,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("endDate"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "endDate", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3221,7 +3255,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("episode"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "episode", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3232,7 +3268,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("episodes"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "episodes", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3243,7 +3281,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "exampleOfWork", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3256,7 +3294,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("expires"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "expires", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3267,7 +3307,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "fileFormat", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3280,7 +3320,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funder", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3292,7 +3334,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funding", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3303,7 +3347,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("genre"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "genre", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3314,7 +3360,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hasPart"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "hasPart", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3325,7 +3373,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("headline"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "headline", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3336,7 +3386,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "identifier", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3350,7 +3400,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3362,7 +3414,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "inLanguage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3376,7 +3428,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interactionStatistic", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3389,7 +3441,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interactivityType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3402,7 +3454,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interpretedAsClaim", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3415,7 +3467,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isAccessibleForFree", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3428,7 +3480,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isBasedOn", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3443,7 +3495,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isBasedOnUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3458,7 +3510,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isFamilyFriendly", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3471,7 +3523,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("isPartOf"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "isPartOf", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3483,7 +3537,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("keywords"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "keywords", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3495,7 +3551,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "learningResourceType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3509,7 +3565,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("license"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "license", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3521,7 +3579,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "locationCreated", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3534,7 +3592,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntity", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3547,7 +3605,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntityOfPage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3561,7 +3619,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "maintainer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3575,7 +3633,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("material"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "material", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3587,7 +3647,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "materialExtent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3601,7 +3661,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("mentions"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "mentions", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3612,7 +3674,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3623,7 +3687,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "numberOfEpisodes", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3636,7 +3700,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("offers"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "offers", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3648,7 +3714,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "partOfSeries", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3661,7 +3727,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "partOfTVSeries", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3674,7 +3740,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("pattern"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "pattern", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3686,7 +3754,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("position"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "position", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3697,7 +3767,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "potentialAction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3710,7 +3780,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("producer"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "producer", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3722,7 +3794,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "productionCompany", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3735,7 +3807,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("provider"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "provider", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3747,7 +3821,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publication", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3760,7 +3834,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publisher", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3774,7 +3848,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publisherImprint", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3787,7 +3861,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publishingPrinciples", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3801,7 +3875,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "recordedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3814,7 +3888,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "releasedEvent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3827,7 +3901,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "review", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3838,7 +3914,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reviews", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3849,7 +3927,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sameAs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3860,7 +3940,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "schemaVersion", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3873,7 +3953,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdDatePublished", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3886,7 +3966,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdLicense", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3900,7 +3980,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdPublisher", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3914,7 +3994,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "seasonNumber", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3927,7 +4007,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "size", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3941,7 +4023,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sourceOrganization", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3954,7 +4036,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("spatial"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "spatial", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3965,7 +4049,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "spatialCoverage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3978,7 +4062,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sponsor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3990,7 +4076,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "startDate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4003,7 +4089,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjectOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4017,7 +4103,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("teaches"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "teaches", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4029,7 +4117,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("temporal"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "temporal", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4040,7 +4130,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "temporalCoverage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4053,7 +4143,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4064,7 +4156,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "thumbnail", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4077,7 +4169,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "thumbnailUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4090,7 +4182,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "timeRequired", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4103,7 +4195,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "titleEIDR", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4116,7 +4208,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("trailer"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "trailer", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4127,7 +4221,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "translationOfWork", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4140,7 +4234,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "translator", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4154,7 +4248,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "typicalAgeRange", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4167,7 +4261,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4178,7 +4274,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "usageInfo", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4192,7 +4288,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("version"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "version", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4203,7 +4301,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("video"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "video", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4215,7 +4315,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "wordCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4228,7 +4328,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "workExample", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4241,7 +4341,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "workTranslation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4258,7 +4358,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -4274,7 +4374,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("about"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "about", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4285,7 +4387,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "abstract", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4298,7 +4400,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessMode", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4311,7 +4413,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessModeSufficient", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4324,7 +4426,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityAPI", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4337,7 +4439,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityControl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4350,7 +4452,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityFeature", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4363,7 +4465,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityHazard", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4376,7 +4478,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilitySummary", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4389,7 +4491,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accountablePerson", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4402,7 +4504,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "acquireLicensePage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4416,7 +4518,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("actor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "actor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4428,7 +4532,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "additionalType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4441,7 +4545,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "aggregateRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4454,7 +4558,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternateName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4467,7 +4571,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternativeHeadline", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4480,7 +4584,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "archivedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4494,7 +4598,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "assesses", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4508,7 +4612,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "associatedMedia", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4521,7 +4625,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "audience", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4534,7 +4638,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("audio"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "audio", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4547,7 +4653,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "author", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4559,7 +4667,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "award", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4570,7 +4680,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "awards", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4581,7 +4693,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "character", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4594,7 +4706,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "citation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4608,7 +4720,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "comment", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4619,7 +4733,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "commentCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4632,7 +4746,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "conditionsOfAccess", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4645,7 +4759,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentLocation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4658,7 +4772,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4672,7 +4786,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentReferenceTime", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4685,7 +4799,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contributor", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4699,7 +4813,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightHolder", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4713,7 +4827,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightNotice", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4726,7 +4840,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightYear", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4739,7 +4853,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "correction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4753,7 +4867,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "countryOfOrigin", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4766,7 +4880,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "creativeWorkStatus", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4780,7 +4894,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("creator"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "creator", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4792,7 +4908,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "creditText", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4805,7 +4921,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dateCreated", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4818,7 +4934,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dateModified", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4831,7 +4947,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "datePublished", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4844,7 +4960,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4858,7 +4974,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "digitalSourceType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4872,7 +4988,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "director", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4885,7 +5001,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "disambiguatingDescription", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4898,7 +5014,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "discussionUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4911,7 +5027,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "editEIDR", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4924,7 +5040,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("editor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "editor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4935,7 +5053,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalAlignment", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4948,7 +5066,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalLevel", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4962,7 +5080,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalUse", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4976,7 +5094,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "encoding", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4989,7 +5107,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "encodingFormat", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5002,7 +5120,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "encodings", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5015,7 +5133,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("endDate"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "endDate", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5026,7 +5146,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("episode"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "episode", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5037,7 +5159,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "episodes", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5050,7 +5172,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "exampleOfWork", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5063,7 +5185,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("expires"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "expires", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5074,7 +5198,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "fileFormat", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5087,7 +5211,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funder", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5099,7 +5225,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funding", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5110,7 +5238,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("genre"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "genre", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5121,7 +5251,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hasPart"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "hasPart", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5132,7 +5264,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "headline", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5145,7 +5277,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "identifier", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5159,7 +5291,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5171,7 +5305,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "inLanguage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5185,7 +5319,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interactionStatistic", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5198,7 +5332,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interactivityType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5211,7 +5345,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interpretedAsClaim", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5224,7 +5358,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isAccessibleForFree", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5237,7 +5371,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isBasedOn", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5252,7 +5386,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isBasedOnUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5267,7 +5401,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isFamilyFriendly", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5280,7 +5414,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isPartOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5294,7 +5428,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "keywords", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5308,7 +5442,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "learningResourceType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5322,7 +5456,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("license"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "license", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5334,7 +5470,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "locationCreated", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5347,7 +5483,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntity", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5360,7 +5496,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntityOfPage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5374,7 +5510,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "maintainer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5388,7 +5524,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "material", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5402,7 +5538,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "materialExtent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5416,7 +5552,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mentions", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5429,7 +5565,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5440,7 +5578,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "numberOfEpisodes", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5453,7 +5591,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("offers"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "offers", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5465,7 +5605,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "partOfSeries", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5478,7 +5618,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "partOfTVSeries", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5491,7 +5631,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("pattern"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "pattern", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5503,7 +5645,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "position", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5516,7 +5658,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "potentialAction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5529,7 +5671,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "producer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5543,7 +5685,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "productionCompany", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5556,7 +5698,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "provider", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5570,7 +5712,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publication", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5583,7 +5725,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publisher", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5597,7 +5739,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publisherImprint", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5610,7 +5752,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publishingPrinciples", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5624,7 +5766,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "recordedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5637,7 +5779,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "releasedEvent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5650,7 +5792,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "review", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5661,7 +5805,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reviews", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5672,7 +5818,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sameAs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5683,7 +5831,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "schemaVersion", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5696,7 +5844,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdDatePublished", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5709,7 +5857,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdLicense", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5723,7 +5871,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdPublisher", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5737,7 +5885,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "seasonNumber", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5750,7 +5898,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "size", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5764,7 +5914,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sourceOrganization", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5777,7 +5927,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("spatial"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "spatial", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5788,7 +5940,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "spatialCoverage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5801,7 +5953,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sponsor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5813,7 +5967,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "startDate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5826,7 +5980,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjectOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5840,7 +5994,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("teaches"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "teaches", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5852,7 +6008,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "temporal", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5865,7 +6021,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "temporalCoverage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5878,7 +6034,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5889,7 +6047,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "thumbnail", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5902,7 +6060,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "thumbnailUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5915,7 +6073,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "timeRequired", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5928,7 +6086,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "titleEIDR", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5941,7 +6099,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("trailer"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "trailer", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5952,7 +6112,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "translationOfWork", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5965,7 +6125,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "translator", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5979,7 +6139,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "typicalAgeRange", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5992,7 +6152,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -6003,7 +6165,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "usageInfo", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -6017,7 +6179,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("version"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "version", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -6028,7 +6192,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("video"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "video", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -6040,7 +6206,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "wordCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -6053,7 +6219,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "workExample", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -6066,7 +6232,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "workTranslation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -9285,7 +9451,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> TvSeason<'a> { 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 a6982aa17..c1d52cdeb 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 @@ -2560,7 +2560,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("embedded"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("embedded"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -2573,7 +2573,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("about"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "about", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2584,7 +2586,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("abstract"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "abstract", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2595,7 +2599,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessMode", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2608,7 +2612,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessModeSufficient", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2621,7 +2625,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityAPI", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2634,7 +2638,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityControl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2647,7 +2651,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityFeature", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2660,7 +2664,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityHazard", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2673,7 +2677,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilitySummary", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2686,7 +2690,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accountablePerson", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2699,7 +2703,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "acquireLicensePage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2713,7 +2717,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("actor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "actor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2725,7 +2731,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("actors"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "actors", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2736,7 +2744,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "additionalType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2749,7 +2757,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "aggregateRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2762,7 +2770,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternateName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2775,7 +2783,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternativeHeadline", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2788,7 +2796,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "archivedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2802,7 +2810,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("assesses"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "assesses", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2814,7 +2824,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "associatedMedia", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2827,7 +2837,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("audience"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "audience", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2838,7 +2850,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("audio"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "audio", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2851,7 +2865,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "author", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2863,7 +2879,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "award", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2874,7 +2892,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "awards", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2885,7 +2905,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "character", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2898,7 +2918,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("citation"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "citation", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2910,7 +2932,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "comment", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2921,7 +2945,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "commentCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2934,7 +2958,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "conditionsOfAccess", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2947,7 +2971,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "containsSeason", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2960,7 +2984,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentLocation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2973,7 +2997,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2987,7 +3011,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentReferenceTime", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3000,7 +3024,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contributor", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3014,7 +3038,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightHolder", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3028,7 +3052,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightNotice", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3041,7 +3065,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightYear", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3054,7 +3078,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "correction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3068,7 +3092,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "countryOfOrigin", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3081,7 +3105,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "creativeWorkStatus", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3095,7 +3119,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("creator"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "creator", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3107,7 +3133,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "creditText", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3120,7 +3146,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dateCreated", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3133,7 +3159,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dateModified", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3146,7 +3172,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "datePublished", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3159,7 +3185,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3173,7 +3199,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "digitalSourceType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3187,7 +3213,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("director"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "director", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3198,7 +3226,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "directors", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3211,7 +3239,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "disambiguatingDescription", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3224,7 +3252,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "discussionUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3237,7 +3265,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("editEIDR"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "editEIDR", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3248,7 +3278,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("editor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "editor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3259,7 +3291,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalAlignment", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3272,7 +3304,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalLevel", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3286,7 +3318,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalUse", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3300,7 +3332,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("encoding"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "encoding", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3311,7 +3345,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "encodingFormat", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3324,7 +3358,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "encodings", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3337,7 +3371,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("endDate"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "endDate", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3348,7 +3384,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("episode"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "episode", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3359,7 +3397,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("episodes"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "episodes", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3370,7 +3410,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "exampleOfWork", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3383,7 +3423,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("expires"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "expires", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3394,7 +3436,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "fileFormat", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3407,7 +3449,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funder", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3419,7 +3463,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funding", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3430,7 +3476,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("genre"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "genre", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3441,7 +3489,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hasPart"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "hasPart", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3452,7 +3502,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("headline"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "headline", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3463,7 +3515,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "identifier", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3477,7 +3529,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3489,7 +3543,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "inLanguage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3503,7 +3557,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interactionStatistic", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3516,7 +3570,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interactivityType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3529,7 +3583,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interpretedAsClaim", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3542,7 +3596,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isAccessibleForFree", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3555,7 +3609,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isBasedOn", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3570,7 +3624,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isBasedOnUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3585,7 +3639,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isFamilyFriendly", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3598,7 +3652,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("isPartOf"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "isPartOf", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3610,7 +3666,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("issn"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "issn", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3621,7 +3679,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("keywords"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "keywords", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3633,7 +3693,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "learningResourceType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3647,7 +3707,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("license"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "license", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3659,7 +3721,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "locationCreated", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3672,7 +3734,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntity", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3685,7 +3747,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntityOfPage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3699,7 +3761,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "maintainer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3713,7 +3775,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("material"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "material", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3725,7 +3789,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "materialExtent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3739,7 +3803,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("mentions"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "mentions", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3750,7 +3816,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("musicBy"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "musicBy", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3762,7 +3830,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3773,7 +3843,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "numberOfEpisodes", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3786,7 +3856,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "numberOfSeasons", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3799,7 +3869,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("offers"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "offers", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3811,7 +3883,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("pattern"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "pattern", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3823,7 +3897,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("position"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "position", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3834,7 +3910,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "potentialAction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3847,7 +3923,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("producer"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "producer", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3859,7 +3937,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "productionCompany", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3872,7 +3950,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("provider"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "provider", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3884,7 +3964,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publication", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3897,7 +3977,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publisher", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3911,7 +3991,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publisherImprint", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3924,7 +4004,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publishingPrinciples", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3938,7 +4018,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "recordedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3951,7 +4031,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "releasedEvent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3964,7 +4044,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "review", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3975,7 +4057,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reviews", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3986,7 +4070,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sameAs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3997,7 +4083,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "schemaVersion", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4010,7 +4096,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdDatePublished", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4023,7 +4109,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdLicense", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4037,7 +4123,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdPublisher", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4051,7 +4137,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("season"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "season", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4063,7 +4151,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("seasons"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "seasons", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4074,7 +4164,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "size", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4088,7 +4180,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sourceOrganization", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4101,7 +4193,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("spatial"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "spatial", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4112,7 +4206,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "spatialCoverage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4125,7 +4219,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sponsor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4137,7 +4233,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "startDate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4150,7 +4246,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjectOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4164,7 +4260,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("teaches"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "teaches", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4176,7 +4274,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("temporal"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "temporal", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4187,7 +4287,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "temporalCoverage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4200,7 +4300,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4211,7 +4313,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "thumbnail", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4224,7 +4326,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "thumbnailUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4237,7 +4339,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "timeRequired", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4250,7 +4352,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "titleEIDR", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4263,7 +4365,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("trailer"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "trailer", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4274,7 +4378,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "translationOfWork", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4287,7 +4391,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "translator", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4301,7 +4405,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "typicalAgeRange", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4314,7 +4418,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4325,7 +4431,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "usageInfo", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4339,7 +4445,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("version"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "version", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4350,7 +4458,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("video"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "video", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4362,7 +4472,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "wordCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4375,7 +4485,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "workExample", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4388,7 +4498,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "workTranslation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4405,7 +4515,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -4421,7 +4531,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("about"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "about", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4432,7 +4544,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "abstract", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4445,7 +4557,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessMode", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4458,7 +4570,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessModeSufficient", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4471,7 +4583,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityAPI", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4484,7 +4596,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityControl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4497,7 +4609,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityFeature", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4510,7 +4622,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityHazard", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4523,7 +4635,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilitySummary", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4536,7 +4648,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accountablePerson", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4549,7 +4661,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "acquireLicensePage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4563,7 +4675,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("actor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "actor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4575,7 +4689,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("actors"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "actors", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4586,7 +4702,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "additionalType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4599,7 +4715,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "aggregateRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4612,7 +4728,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternateName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4625,7 +4741,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternativeHeadline", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4638,7 +4754,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "archivedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4652,7 +4768,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "assesses", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4666,7 +4782,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "associatedMedia", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4679,7 +4795,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "audience", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4692,7 +4808,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("audio"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "audio", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4705,7 +4823,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "author", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4717,7 +4837,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "award", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4728,7 +4850,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "awards", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4739,7 +4863,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "character", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4752,7 +4876,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "citation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4766,7 +4890,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "comment", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4777,7 +4903,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "commentCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4790,7 +4916,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "conditionsOfAccess", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4803,7 +4929,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "containsSeason", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4816,7 +4942,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentLocation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4829,7 +4955,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4843,7 +4969,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentReferenceTime", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4856,7 +4982,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contributor", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4870,7 +4996,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightHolder", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4884,7 +5010,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightNotice", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4897,7 +5023,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightYear", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4910,7 +5036,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "correction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4924,7 +5050,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "countryOfOrigin", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4937,7 +5063,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "creativeWorkStatus", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4951,7 +5077,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("creator"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "creator", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4963,7 +5091,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "creditText", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4976,7 +5104,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dateCreated", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4989,7 +5117,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dateModified", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5002,7 +5130,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "datePublished", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5015,7 +5143,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5029,7 +5157,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "digitalSourceType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5043,7 +5171,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "director", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5056,7 +5184,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "directors", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5069,7 +5197,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "disambiguatingDescription", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5082,7 +5210,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "discussionUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5095,7 +5223,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "editEIDR", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5108,7 +5236,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("editor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "editor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5119,7 +5249,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalAlignment", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5132,7 +5262,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalLevel", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5146,7 +5276,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalUse", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5160,7 +5290,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "encoding", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5173,7 +5303,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "encodingFormat", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5186,7 +5316,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "encodings", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5199,7 +5329,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("endDate"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "endDate", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5210,7 +5342,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("episode"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "episode", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5221,7 +5355,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "episodes", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5234,7 +5368,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "exampleOfWork", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5247,7 +5381,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("expires"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "expires", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5258,7 +5394,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "fileFormat", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5271,7 +5407,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funder", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5283,7 +5421,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funding", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5294,7 +5434,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("genre"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "genre", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5305,7 +5447,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hasPart"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "hasPart", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5316,7 +5460,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "headline", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5329,7 +5473,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "identifier", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5343,7 +5487,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5355,7 +5501,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "inLanguage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5369,7 +5515,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interactionStatistic", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5382,7 +5528,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interactivityType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5395,7 +5541,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interpretedAsClaim", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5408,7 +5554,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isAccessibleForFree", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5421,7 +5567,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isBasedOn", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5436,7 +5582,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isBasedOnUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5451,7 +5597,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isFamilyFriendly", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5464,7 +5610,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isPartOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5478,7 +5624,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("issn"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "issn", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5489,7 +5637,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "keywords", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5503,7 +5651,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "learningResourceType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5517,7 +5665,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("license"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "license", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5529,7 +5679,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "locationCreated", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5542,7 +5692,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntity", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5555,7 +5705,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntityOfPage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5569,7 +5719,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "maintainer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5583,7 +5733,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "material", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5597,7 +5747,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "materialExtent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5611,7 +5761,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mentions", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5624,7 +5774,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("musicBy"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "musicBy", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5636,7 +5788,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5647,7 +5801,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "numberOfEpisodes", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5660,7 +5814,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "numberOfSeasons", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5673,7 +5827,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("offers"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "offers", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5685,7 +5841,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("pattern"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "pattern", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5697,7 +5855,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "position", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5710,7 +5868,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "potentialAction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5723,7 +5881,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "producer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5737,7 +5895,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "productionCompany", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5750,7 +5908,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "provider", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5764,7 +5922,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publication", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5777,7 +5935,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publisher", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5791,7 +5949,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publisherImprint", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5804,7 +5962,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publishingPrinciples", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5818,7 +5976,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "recordedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5831,7 +5989,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "releasedEvent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5844,7 +6002,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "review", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5855,7 +6015,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reviews", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5866,7 +6028,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sameAs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5877,7 +6041,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "schemaVersion", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5890,7 +6054,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdDatePublished", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5903,7 +6067,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdLicense", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5917,7 +6081,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdPublisher", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5931,7 +6095,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("season"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "season", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5943,7 +6109,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("seasons"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "seasons", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5954,7 +6122,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "size", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5968,7 +6138,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sourceOrganization", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5981,7 +6151,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("spatial"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "spatial", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5992,7 +6164,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "spatialCoverage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -6005,7 +6177,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sponsor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -6017,7 +6191,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "startDate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -6030,7 +6204,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjectOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -6044,7 +6218,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("teaches"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "teaches", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -6056,7 +6232,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "temporal", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -6069,7 +6245,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "temporalCoverage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -6082,7 +6258,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -6093,7 +6271,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "thumbnail", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -6106,7 +6284,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "thumbnailUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -6119,7 +6297,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "timeRequired", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -6132,7 +6310,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "titleEIDR", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -6145,7 +6323,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("trailer"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "trailer", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -6156,7 +6336,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "translationOfWork", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -6169,7 +6349,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "translator", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -6183,7 +6363,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "typicalAgeRange", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -6196,7 +6376,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -6207,7 +6389,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "usageInfo", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -6221,7 +6403,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("version"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "version", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -6232,7 +6416,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("video"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "video", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -6244,7 +6430,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "wordCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -6257,7 +6443,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "workExample", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -6270,7 +6456,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "workTranslation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -9578,7 +9764,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> TvSeries<'a> { 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 f092095dd..95929a6fa 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 @@ -2246,7 +2246,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("embedded"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("embedded"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -2259,7 +2259,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("about"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "about", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2270,7 +2272,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("abstract"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "abstract", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2281,7 +2285,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessMode", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2294,7 +2298,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessModeSufficient", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2307,7 +2311,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityAPI", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2320,7 +2324,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityControl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2333,7 +2337,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityFeature", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2346,7 +2350,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityHazard", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2359,7 +2363,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilitySummary", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2372,7 +2376,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accountablePerson", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2385,7 +2389,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "acquireLicensePage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2399,7 +2403,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "additionalType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2412,7 +2416,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "aggregateRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2425,7 +2429,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternateName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2438,7 +2442,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternativeHeadline", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2451,7 +2455,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "archivedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2465,7 +2469,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("assesses"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "assesses", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2477,7 +2483,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "associatedMedia", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2490,7 +2496,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("audience"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "audience", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2501,7 +2509,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("audio"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "audio", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2514,7 +2524,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "author", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2526,7 +2538,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "award", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2537,7 +2551,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "awards", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2548,7 +2564,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "character", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2561,7 +2577,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("citation"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "citation", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2573,7 +2591,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "comment", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2584,7 +2604,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "commentCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2597,7 +2617,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "conditionsOfAccess", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2610,7 +2630,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentLocation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2623,7 +2643,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2637,7 +2657,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentReferenceTime", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2650,7 +2670,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contributor", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2664,7 +2684,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightHolder", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2678,7 +2698,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightNotice", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2691,7 +2711,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightYear", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2704,7 +2724,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "correction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2718,7 +2738,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "countryOfOrigin", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2731,7 +2751,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "creativeWorkStatus", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2745,7 +2765,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("creator"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "creator", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2757,7 +2779,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "creditText", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2770,7 +2792,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dateCreated", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2783,7 +2805,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dateModified", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2796,7 +2818,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "datePublished", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2809,7 +2831,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2823,7 +2845,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "digitalSourceType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2837,7 +2859,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "disambiguatingDescription", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2850,7 +2872,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "discussionUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2863,7 +2885,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("editEIDR"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "editEIDR", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2874,7 +2898,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("editor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "editor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2885,7 +2911,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalAlignment", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2898,7 +2924,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalLevel", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2912,7 +2938,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalUse", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2926,7 +2952,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("encoding"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "encoding", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2937,7 +2965,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "encodingFormat", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2950,7 +2978,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "encodings", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2963,7 +2991,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "exampleOfWork", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -2976,7 +3004,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("expires"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "expires", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2987,7 +3017,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "fileFormat", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3000,7 +3030,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funder", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3012,7 +3044,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funding", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3023,7 +3057,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("genre"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "genre", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3034,7 +3070,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hasPart"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "hasPart", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3045,7 +3083,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("headline"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "headline", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3056,7 +3096,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "identifier", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3070,7 +3110,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3082,7 +3124,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "inLanguage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3096,7 +3138,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interactionStatistic", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3109,7 +3151,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interactivityType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3122,7 +3164,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interpretedAsClaim", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3135,7 +3177,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isAccessibleForFree", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3148,7 +3190,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isBasedOn", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3163,7 +3205,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isBasedOnUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3178,7 +3220,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isFamilyFriendly", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3191,7 +3233,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("isPartOf"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "isPartOf", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3203,7 +3247,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("issn"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "issn", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3214,7 +3260,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("keywords"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "keywords", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3226,7 +3274,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "learningResourceType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3240,7 +3288,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("license"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "license", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3252,7 +3302,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "locationCreated", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3265,7 +3315,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntity", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3278,7 +3328,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntityOfPage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3292,7 +3342,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "maintainer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3306,7 +3356,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("material"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "material", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3318,7 +3370,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "materialExtent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3332,7 +3384,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("mentions"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "mentions", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3343,7 +3397,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3354,7 +3410,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("offers"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "offers", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3366,7 +3424,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("pattern"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "pattern", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3378,7 +3438,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("position"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "position", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3389,7 +3451,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "potentialAction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3402,7 +3464,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("producer"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "producer", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3414,7 +3478,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("provider"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "provider", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3426,7 +3492,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publication", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3439,7 +3505,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publisher", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3453,7 +3519,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publisherImprint", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3466,7 +3532,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publishingPrinciples", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3480,7 +3546,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "recordedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3493,7 +3559,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "releasedEvent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3506,7 +3572,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "review", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3517,7 +3585,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reviews", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3528,7 +3598,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sameAs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3539,7 +3611,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "schemaVersion", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3552,7 +3624,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdDatePublished", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3565,7 +3637,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdLicense", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3579,7 +3651,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdPublisher", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3593,7 +3665,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "size", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3607,7 +3681,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sourceOrganization", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3620,7 +3694,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("spatial"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "spatial", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3631,7 +3707,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "spatialCoverage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3644,7 +3720,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sponsor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3656,7 +3734,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjectOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3670,7 +3748,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("teaches"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "teaches", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3682,7 +3762,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("temporal"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "temporal", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3693,7 +3775,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "temporalCoverage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3706,7 +3788,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3717,7 +3801,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "thumbnail", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3730,7 +3814,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "thumbnailUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3743,7 +3827,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "timeRequired", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3756,7 +3840,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "translationOfWork", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3769,7 +3853,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "translator", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3783,7 +3867,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "typicalAgeRange", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3796,7 +3880,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3807,7 +3893,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "usageInfo", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3821,7 +3907,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("version"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "version", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3832,7 +3920,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("video"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "video", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3844,7 +3934,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "wordCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3857,7 +3947,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "workExample", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3870,7 +3960,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "workTranslation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3887,7 +3977,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -3903,7 +3993,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("about"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "about", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -3914,7 +4006,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "abstract", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3927,7 +4019,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessMode", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3940,7 +4032,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessModeSufficient", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3953,7 +4045,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityAPI", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3966,7 +4058,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityControl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3979,7 +4071,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityFeature", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -3992,7 +4084,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityHazard", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4005,7 +4097,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilitySummary", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4018,7 +4110,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accountablePerson", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4031,7 +4123,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "acquireLicensePage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4045,7 +4137,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "additionalType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4058,7 +4150,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "aggregateRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4071,7 +4163,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternateName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4084,7 +4176,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "alternativeHeadline", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4097,7 +4189,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "archivedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4111,7 +4203,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "assesses", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4125,7 +4217,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "associatedMedia", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4138,7 +4230,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "audience", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4151,7 +4243,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("audio"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "audio", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4164,7 +4258,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "author", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4176,7 +4272,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "award", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4187,7 +4285,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "awards", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4198,7 +4298,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "character", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4211,7 +4311,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "citation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4225,7 +4325,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "comment", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4236,7 +4338,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "commentCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4249,7 +4351,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "conditionsOfAccess", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4262,7 +4364,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentLocation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4275,7 +4377,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentRating", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4289,7 +4391,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentReferenceTime", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4302,7 +4404,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contributor", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4316,7 +4418,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightHolder", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4330,7 +4432,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightNotice", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4343,7 +4445,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "copyrightYear", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4356,7 +4458,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "correction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4370,7 +4472,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "countryOfOrigin", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4383,7 +4485,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "creativeWorkStatus", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4397,7 +4499,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("creator"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "creator", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4409,7 +4513,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "creditText", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4422,7 +4526,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dateCreated", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4435,7 +4539,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dateModified", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4448,7 +4552,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "datePublished", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4461,7 +4565,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4475,7 +4579,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "digitalSourceType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4489,7 +4593,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "disambiguatingDescription", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4502,7 +4606,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "discussionUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4515,7 +4619,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "editEIDR", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4528,7 +4632,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("editor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "editor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4539,7 +4645,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalAlignment", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4552,7 +4658,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalLevel", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4566,7 +4672,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "educationalUse", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4580,7 +4686,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "encoding", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4593,7 +4699,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "encodingFormat", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4606,7 +4712,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "encodings", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4619,7 +4725,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "exampleOfWork", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4632,7 +4738,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("expires"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "expires", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4643,7 +4751,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "fileFormat", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4656,7 +4764,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funder", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4668,7 +4778,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "funding", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4679,7 +4791,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("genre"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "genre", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4690,7 +4804,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hasPart"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "hasPart", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4701,7 +4817,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "headline", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4714,7 +4830,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "identifier", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4728,7 +4844,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4740,7 +4858,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "inLanguage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4754,7 +4872,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interactionStatistic", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4767,7 +4885,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interactivityType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4780,7 +4898,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "interpretedAsClaim", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4793,7 +4911,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isAccessibleForFree", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4806,7 +4924,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isBasedOn", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4821,7 +4939,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isBasedOnUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4836,7 +4954,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isFamilyFriendly", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4849,7 +4967,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isPartOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4863,7 +4981,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("issn"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "issn", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4874,7 +4994,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "keywords", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4888,7 +5008,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "learningResourceType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4902,7 +5022,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("license"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "license", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4914,7 +5036,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "locationCreated", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4927,7 +5049,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntity", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4940,7 +5062,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mainEntityOfPage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4954,7 +5076,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "maintainer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4968,7 +5090,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "material", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4982,7 +5104,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "materialExtent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -4996,7 +5118,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "mentions", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5009,7 +5131,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5020,7 +5144,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("offers"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "offers", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5032,7 +5158,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("pattern"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "pattern", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5044,7 +5172,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "position", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5057,7 +5185,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "potentialAction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5070,7 +5198,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "producer", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5084,7 +5212,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "provider", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5098,7 +5226,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publication", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5111,7 +5239,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publisher", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5125,7 +5253,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publisherImprint", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5138,7 +5266,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publishingPrinciples", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5152,7 +5280,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "recordedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5165,7 +5293,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "releasedEvent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5178,7 +5306,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "review", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5189,7 +5319,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reviews", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5200,7 +5332,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sameAs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5211,7 +5345,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "schemaVersion", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5224,7 +5358,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdDatePublished", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5237,7 +5371,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdLicense", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5251,7 +5385,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sdPublisher", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5265,7 +5399,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "size", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5279,7 +5415,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "sourceOrganization", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5292,7 +5428,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("spatial"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "spatial", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5303,7 +5441,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "spatialCoverage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5316,7 +5454,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sponsor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5328,7 +5468,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjectOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5342,7 +5482,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("teaches"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "teaches", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5354,7 +5496,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "temporal", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5367,7 +5509,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "temporalCoverage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5380,7 +5522,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5391,7 +5535,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "thumbnail", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5404,7 +5548,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "thumbnailUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5417,7 +5561,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "timeRequired", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5430,7 +5574,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "translationOfWork", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5443,7 +5587,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "translator", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5457,7 +5601,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "typicalAgeRange", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5470,7 +5614,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5481,7 +5627,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "usageInfo", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5495,7 +5641,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("version"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "version", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5506,7 +5654,9 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("video"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "video", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -5518,7 +5668,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "wordCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5531,7 +5681,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "workExample", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -5544,7 +5694,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::l }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "workTranslation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -8487,7 +8637,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> WebSite<'a> { diff --git a/crates/jacquard-api/src/social_grain.rs b/crates/jacquard-api/src/social_grain.rs index bcc2a0a80..b7ec5acec 100644 --- a/crates/jacquard-api/src/social_grain.rs +++ b/crates/jacquard-api/src/social_grain.rs @@ -37,37 +37,37 @@ pub mod aspect_ratio_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Height; type Width; + type Height; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Height = Unset; type Width = Unset; - } - ///State transition - sets the `height` field to Set - pub struct SetHeight(PhantomData S>); - impl sealed::Sealed for SetHeight {} - impl State for SetHeight { - type Height = Set; - type Width = S::Width; + type Height = Unset; } ///State transition - sets the `width` field to Set pub struct SetWidth(PhantomData S>); impl sealed::Sealed for SetWidth {} impl State for SetWidth { - type Height = S::Height; type Width = Set; + type Height = S::Height; + } + ///State transition - sets the `height` field to Set + pub struct SetHeight(PhantomData S>); + impl sealed::Sealed for SetHeight {} + impl State for SetHeight { + type Width = S::Width; + type Height = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `height` field - pub struct height(()); ///Marker type for the `width` field pub struct width(()); + ///Marker type for the `height` field + pub struct height(()); } } @@ -137,8 +137,8 @@ where impl<'a, S> AspectRatioBuilder<'a, S> where S: aspect_ratio_state::State, - S::Height: aspect_ratio_state::IsSet, S::Width: aspect_ratio_state::IsSet, + S::Height: aspect_ratio_state::IsSet, { /// Build the final struct pub fn build(self) -> AspectRatio<'a> { @@ -152,7 +152,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> AspectRatio<'a> { @@ -173,7 +173,7 @@ fn lexicon_doc_social_grain_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("aspectRatio"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("aspectRatio"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -182,8 +182,8 @@ fn lexicon_doc_social_grain_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("width"), - ::jacquard_common::smol_str::SmolStr::new_static("height") + ::jacquard_common::deps::smol_str::SmolStr::new_static("width"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("height") ], ), nullable: None, @@ -191,7 +191,9 @@ fn lexicon_doc_social_grain_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("height"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "height", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -202,7 +204,9 @@ fn lexicon_doc_social_grain_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("width"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "width", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, diff --git a/crates/jacquard-api/src/social_grain/actor.rs b/crates/jacquard-api/src/social_grain/actor.rs index c7001d2dc..7c5210bdd 100644 --- a/crates/jacquard-api/src/social_grain/actor.rs +++ b/crates/jacquard-api/src/social_grain/actor.rs @@ -272,7 +272,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ProfileView<'a> { @@ -300,13 +300,13 @@ fn lexicon_doc_social_grain_actor_defs() -> ::jacquard_lexicon::lexicon::Lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("profileView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("profileView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("did"), - ::jacquard_common::smol_str::SmolStr::new_static("handle") + ::jacquard_common::deps::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("handle") ], ), nullable: None, @@ -314,7 +314,9 @@ fn lexicon_doc_social_grain_actor_defs() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("avatar"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "avatar", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -331,7 +333,7 @@ fn lexicon_doc_social_grain_actor_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -350,7 +352,7 @@ fn lexicon_doc_social_grain_actor_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -367,7 +369,9 @@ fn lexicon_doc_social_grain_actor_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -384,7 +388,7 @@ fn lexicon_doc_social_grain_actor_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "displayName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -401,7 +405,9 @@ fn lexicon_doc_social_grain_actor_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("handle"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "handle", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -418,7 +424,9 @@ fn lexicon_doc_social_grain_actor_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("labels"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "labels", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -467,7 +475,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ProfileView<'a> { } if let Some(ref value) = self.description { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -497,7 +505,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ProfileView<'a> { } if let Some(ref value) = self.display_name { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) diff --git a/crates/jacquard-api/src/social_grain/actor/profile.rs b/crates/jacquard-api/src/social_grain/actor/profile.rs index 7c9320abf..8e6ea14d5 100644 --- a/crates/jacquard-api/src/social_grain/actor/profile.rs +++ b/crates/jacquard-api/src/social_grain/actor/profile.rs @@ -176,7 +176,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Profile<'a> { @@ -278,7 +278,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Profile<'a> { } if let Some(ref value) = self.description { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -308,7 +308,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Profile<'a> { } if let Some(ref value) = self.display_name { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -339,7 +339,7 @@ fn lexicon_doc_social_grain_actor_profile() -> ::jacquard_lexicon::lexicon::Lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -355,7 +355,9 @@ fn lexicon_doc_social_grain_actor_profile() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("avatar"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "avatar", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -363,7 +365,7 @@ fn lexicon_doc_social_grain_actor_profile() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -382,7 +384,7 @@ fn lexicon_doc_social_grain_actor_profile() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -403,7 +405,7 @@ fn lexicon_doc_social_grain_actor_profile() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "displayName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/social_grain/favorite.rs b/crates/jacquard-api/src/social_grain/favorite.rs index f24d933b4..407b5950b 100644 --- a/crates/jacquard-api/src/social_grain/favorite.rs +++ b/crates/jacquard-api/src/social_grain/favorite.rs @@ -150,7 +150,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Favorite<'a> { @@ -251,7 +251,7 @@ fn lexicon_doc_social_grain_favorite() -> ::jacquard_lexicon::lexicon::LexiconDo defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -259,8 +259,8 @@ fn lexicon_doc_social_grain_favorite() -> ::jacquard_lexicon::lexicon::LexiconDo description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("createdAt"), - ::jacquard_common::smol_str::SmolStr::new_static("subject") + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject") ], ), nullable: None, @@ -268,7 +268,7 @@ fn lexicon_doc_social_grain_favorite() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -287,7 +287,9 @@ fn lexicon_doc_social_grain_favorite() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( diff --git a/crates/jacquard-api/src/social_grain/gallery.rs b/crates/jacquard-api/src/social_grain/gallery.rs index e839e93c7..e2435434f 100644 --- a/crates/jacquard-api/src/social_grain/gallery.rs +++ b/crates/jacquard-api/src/social_grain/gallery.rs @@ -41,37 +41,37 @@ pub mod gallery_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type Title; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type Title = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Title = S::Title; + type CreatedAt = Unset; } ///State transition - sets the `title` field to Set pub struct SetTitle(PhantomData S>); impl sealed::Sealed for SetTitle {} impl State for SetTitle { - type CreatedAt = S::CreatedAt; type Title = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Title = S::Title; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `title` field pub struct title(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -184,8 +184,8 @@ where impl<'a, S> GalleryBuilder<'a, S> where S: gallery_state::State, - S::CreatedAt: gallery_state::IsSet, S::Title: gallery_state::IsSet, + S::CreatedAt: gallery_state::IsSet, { /// Build the final struct pub fn build(self) -> Gallery<'a> { @@ -201,7 +201,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Gallery<'a> { @@ -329,7 +329,7 @@ fn lexicon_doc_social_grain_gallery() -> ::jacquard_lexicon::lexicon::LexiconDoc defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -337,8 +337,8 @@ fn lexicon_doc_social_grain_gallery() -> ::jacquard_lexicon::lexicon::LexiconDoc description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -346,7 +346,7 @@ fn lexicon_doc_social_grain_gallery() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -365,7 +365,7 @@ fn lexicon_doc_social_grain_gallery() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -382,7 +382,9 @@ fn lexicon_doc_social_grain_gallery() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("labels"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "labels", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: Some( ::jacquard_common::CowStr::new_static( @@ -396,7 +398,9 @@ fn lexicon_doc_social_grain_gallery() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -459,85 +463,85 @@ pub mod gallery_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type IndexedAt; type Cid; - type Record; type Creator; type Uri; + type IndexedAt; + type Record; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type IndexedAt = Unset; type Cid = Unset; - type Record = Unset; type Creator = Unset; type Uri = Unset; - } - ///State transition - sets the `indexed_at` field to Set - pub struct SetIndexedAt(PhantomData S>); - impl sealed::Sealed for SetIndexedAt {} - impl State for SetIndexedAt { - type IndexedAt = Set; - type Cid = S::Cid; - type Record = S::Record; - type Creator = S::Creator; - type Uri = S::Uri; + type IndexedAt = Unset; + type Record = Unset; } ///State transition - sets the `cid` field to Set pub struct SetCid(PhantomData S>); impl sealed::Sealed for SetCid {} impl State for SetCid { - type IndexedAt = S::IndexedAt; type Cid = Set; - type Record = S::Record; type Creator = S::Creator; type Uri = S::Uri; - } - ///State transition - sets the `record` field to Set - pub struct SetRecord(PhantomData S>); - impl sealed::Sealed for SetRecord {} - impl State for SetRecord { type IndexedAt = S::IndexedAt; - type Cid = S::Cid; - type Record = Set; - type Creator = S::Creator; - type Uri = S::Uri; + type Record = S::Record; } ///State transition - sets the `creator` field to Set pub struct SetCreator(PhantomData S>); impl sealed::Sealed for SetCreator {} impl State for SetCreator { - type IndexedAt = S::IndexedAt; type Cid = S::Cid; - type Record = S::Record; type Creator = Set; type Uri = S::Uri; + type IndexedAt = S::IndexedAt; + type Record = S::Record; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { + type Cid = S::Cid; + type Creator = S::Creator; + type Uri = Set; type IndexedAt = S::IndexedAt; + type Record = S::Record; + } + ///State transition - sets the `indexed_at` field to Set + pub struct SetIndexedAt(PhantomData S>); + impl sealed::Sealed for SetIndexedAt {} + impl State for SetIndexedAt { type Cid = S::Cid; + type Creator = S::Creator; + type Uri = S::Uri; + type IndexedAt = Set; type Record = S::Record; + } + ///State transition - sets the `record` field to Set + pub struct SetRecord(PhantomData S>); + impl sealed::Sealed for SetRecord {} + impl State for SetRecord { + type Cid = S::Cid; type Creator = S::Creator; - type Uri = Set; + type Uri = S::Uri; + type IndexedAt = S::IndexedAt; + type Record = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `indexed_at` field - pub struct indexed_at(()); ///Marker type for the `cid` field pub struct cid(()); - ///Marker type for the `record` field - pub struct record(()); ///Marker type for the `creator` field pub struct creator(()); ///Marker type for the `uri` field pub struct uri(()); + ///Marker type for the `indexed_at` field + pub struct indexed_at(()); + ///Marker type for the `record` field + pub struct record(()); } } @@ -710,11 +714,11 @@ where impl<'a, S> GalleryViewBuilder<'a, S> where S: gallery_view_state::State, - S::IndexedAt: gallery_view_state::IsSet, S::Cid: gallery_view_state::IsSet, - S::Record: gallery_view_state::IsSet, S::Creator: gallery_view_state::IsSet, S::Uri: gallery_view_state::IsSet, + S::IndexedAt: gallery_view_state::IsSet, + S::Record: gallery_view_state::IsSet, { /// Build the final struct pub fn build(self) -> GalleryView<'a> { @@ -733,7 +737,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> GalleryView<'a> { @@ -761,16 +765,16 @@ fn lexicon_doc_social_grain_gallery_defs() -> ::jacquard_lexicon::lexicon::Lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("galleryView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("galleryView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("cid"), - ::jacquard_common::smol_str::SmolStr::new_static("creator"), - ::jacquard_common::smol_str::SmolStr::new_static("record"), - ::jacquard_common::smol_str::SmolStr::new_static("indexedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("creator"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("record"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("indexedAt") ], ), nullable: None, @@ -778,7 +782,9 @@ fn lexicon_doc_social_grain_gallery_defs() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -795,7 +801,9 @@ fn lexicon_doc_social_grain_gallery_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("creator"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "creator", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -804,7 +812,7 @@ fn lexicon_doc_social_grain_gallery_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "indexedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -823,7 +831,9 @@ fn lexicon_doc_social_grain_gallery_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("items"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "items", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -838,7 +848,9 @@ fn lexicon_doc_social_grain_gallery_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("labels"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "labels", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -852,13 +864,17 @@ fn lexicon_doc_social_grain_gallery_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("record"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "record", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( diff --git a/crates/jacquard-api/src/social_grain/gallery/item.rs b/crates/jacquard-api/src/social_grain/gallery/item.rs index 397ecd0a3..07ea8f00b 100644 --- a/crates/jacquard-api/src/social_grain/gallery/item.rs +++ b/crates/jacquard-api/src/social_grain/gallery/item.rs @@ -36,49 +36,49 @@ pub mod item_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Gallery; type Item; + type Gallery; type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Gallery = Unset; type Item = Unset; + type Gallery = Unset; type CreatedAt = Unset; } - ///State transition - sets the `gallery` field to Set - pub struct SetGallery(PhantomData S>); - impl sealed::Sealed for SetGallery {} - impl State for SetGallery { - type Gallery = Set; - type Item = S::Item; - type CreatedAt = S::CreatedAt; - } ///State transition - sets the `item` field to Set pub struct SetItem(PhantomData S>); impl sealed::Sealed for SetItem {} impl State for SetItem { - type Gallery = S::Gallery; type Item = Set; + type Gallery = S::Gallery; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `gallery` field to Set + pub struct SetGallery(PhantomData S>); + impl sealed::Sealed for SetGallery {} + impl State for SetGallery { + type Item = S::Item; + type Gallery = Set; type CreatedAt = S::CreatedAt; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Gallery = S::Gallery; type Item = S::Item; + type Gallery = S::Gallery; type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `gallery` field - pub struct gallery(()); ///Marker type for the `item` field pub struct item(()); + ///Marker type for the `gallery` field + pub struct gallery(()); ///Marker type for the `created_at` field pub struct created_at(()); } @@ -187,8 +187,8 @@ impl<'a, S: item_state::State> ItemBuilder<'a, S> { impl<'a, S> ItemBuilder<'a, S> where S: item_state::State, - S::Gallery: item_state::IsSet, S::Item: item_state::IsSet, + S::Gallery: item_state::IsSet, S::CreatedAt: item_state::IsSet, { /// Build the final struct @@ -205,7 +205,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Item<'a> { @@ -308,7 +308,7 @@ fn lexicon_doc_social_grain_gallery_item() -> ::jacquard_lexicon::lexicon::Lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -316,9 +316,9 @@ fn lexicon_doc_social_grain_gallery_item() -> ::jacquard_lexicon::lexicon::Lexic description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("createdAt"), - ::jacquard_common::smol_str::SmolStr::new_static("gallery"), - ::jacquard_common::smol_str::SmolStr::new_static("item") + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("gallery"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("item") ], ), nullable: None, @@ -326,7 +326,7 @@ fn lexicon_doc_social_grain_gallery_item() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -345,7 +345,9 @@ fn lexicon_doc_social_grain_gallery_item() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("gallery"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "gallery", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -362,7 +364,9 @@ fn lexicon_doc_social_grain_gallery_item() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("item"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "item", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -379,7 +383,7 @@ fn lexicon_doc_social_grain_gallery_item() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "position", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { diff --git a/crates/jacquard-api/src/social_grain/photo.rs b/crates/jacquard-api/src/social_grain/photo.rs index f48d3e926..250b0df0a 100644 --- a/crates/jacquard-api/src/social_grain/photo.rs +++ b/crates/jacquard-api/src/social_grain/photo.rs @@ -201,7 +201,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Photo<'a> { @@ -302,7 +302,7 @@ fn lexicon_doc_social_grain_photo() -> ::jacquard_lexicon::lexicon::LexiconDoc<' defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -310,8 +310,8 @@ fn lexicon_doc_social_grain_photo() -> ::jacquard_lexicon::lexicon::LexiconDoc<' description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("photo"), - ::jacquard_common::smol_str::SmolStr::new_static("alt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("photo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("alt") ], ), nullable: None, @@ -319,7 +319,9 @@ fn lexicon_doc_social_grain_photo() -> ::jacquard_lexicon::lexicon::LexiconDoc<' #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("alt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "alt", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -338,7 +340,7 @@ fn lexicon_doc_social_grain_photo() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "aspectRatio", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -349,7 +351,7 @@ fn lexicon_doc_social_grain_photo() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -368,7 +370,9 @@ fn lexicon_doc_social_grain_photo() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("photo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "photo", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -814,7 +818,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ExifView<'a> { @@ -849,13 +853,13 @@ fn lexicon_doc_social_grain_photo_defs() -> ::jacquard_lexicon::lexicon::Lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("exifView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("exifView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("photo"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("photo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -863,7 +867,9 @@ fn lexicon_doc_social_grain_photo_defs() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -880,7 +886,7 @@ fn lexicon_doc_social_grain_photo_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -899,7 +905,7 @@ fn lexicon_doc_social_grain_photo_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dateTimeOriginal", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -916,7 +922,7 @@ fn lexicon_doc_social_grain_photo_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "exposureTime", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -933,7 +939,9 @@ fn lexicon_doc_social_grain_photo_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("fNumber"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "fNumber", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -948,7 +956,9 @@ fn lexicon_doc_social_grain_photo_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("flash"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "flash", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -963,7 +973,7 @@ fn lexicon_doc_social_grain_photo_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "focalLengthIn35mmFormat", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -980,7 +990,9 @@ fn lexicon_doc_social_grain_photo_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("iSO"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "iSO", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -991,7 +1003,9 @@ fn lexicon_doc_social_grain_photo_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("lensMake"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "lensMake", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -1006,7 +1020,7 @@ fn lexicon_doc_social_grain_photo_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "lensModel", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1023,7 +1037,9 @@ fn lexicon_doc_social_grain_photo_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("make"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "make", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -1038,7 +1054,9 @@ fn lexicon_doc_social_grain_photo_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("model"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "model", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -1053,7 +1071,9 @@ fn lexicon_doc_social_grain_photo_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("photo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "photo", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -1070,7 +1090,9 @@ fn lexicon_doc_social_grain_photo_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -1091,16 +1113,16 @@ fn lexicon_doc_social_grain_photo_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("photoView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("photoView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("cid"), - ::jacquard_common::smol_str::SmolStr::new_static("thumb"), - ::jacquard_common::smol_str::SmolStr::new_static("fullsize"), - ::jacquard_common::smol_str::SmolStr::new_static("alt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("thumb"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("fullsize"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("alt") ], ), nullable: None, @@ -1108,7 +1130,9 @@ fn lexicon_doc_social_grain_photo_defs() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("alt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "alt", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1127,7 +1151,7 @@ fn lexicon_doc_social_grain_photo_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "aspectRatio", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -1138,7 +1162,9 @@ fn lexicon_doc_social_grain_photo_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -1155,7 +1181,9 @@ fn lexicon_doc_social_grain_photo_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("exif"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "exif", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -1164,7 +1192,9 @@ fn lexicon_doc_social_grain_photo_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("fullsize"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "fullsize", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1185,7 +1215,9 @@ fn lexicon_doc_social_grain_photo_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("thumb"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "thumb", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1206,7 +1238,9 @@ fn lexicon_doc_social_grain_photo_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -1294,8 +1328,8 @@ pub mod photo_view_state { pub trait State: sealed::Sealed { type Alt; type Fullsize; - type Thumb; type Uri; + type Thumb; type Cid; } /// Empty state - all required fields are unset @@ -1304,8 +1338,8 @@ pub mod photo_view_state { impl State for Empty { type Alt = Unset; type Fullsize = Unset; - type Thumb = Unset; type Uri = Unset; + type Thumb = Unset; type Cid = Unset; } ///State transition - sets the `alt` field to Set @@ -1314,8 +1348,8 @@ pub mod photo_view_state { impl State for SetAlt { type Alt = Set; type Fullsize = S::Fullsize; - type Thumb = S::Thumb; type Uri = S::Uri; + type Thumb = S::Thumb; type Cid = S::Cid; } ///State transition - sets the `fullsize` field to Set @@ -1324,18 +1358,8 @@ pub mod photo_view_state { impl State for SetFullsize { type Alt = S::Alt; type Fullsize = Set; - type Thumb = S::Thumb; - type Uri = S::Uri; - type Cid = S::Cid; - } - ///State transition - sets the `thumb` field to Set - pub struct SetThumb(PhantomData S>); - impl sealed::Sealed for SetThumb {} - impl State for SetThumb { - type Alt = S::Alt; - type Fullsize = S::Fullsize; - type Thumb = Set; type Uri = S::Uri; + type Thumb = S::Thumb; type Cid = S::Cid; } ///State transition - sets the `uri` field to Set @@ -1344,8 +1368,18 @@ pub mod photo_view_state { impl State for SetUri { type Alt = S::Alt; type Fullsize = S::Fullsize; - type Thumb = S::Thumb; type Uri = Set; + type Thumb = S::Thumb; + type Cid = S::Cid; + } + ///State transition - sets the `thumb` field to Set + pub struct SetThumb(PhantomData S>); + impl sealed::Sealed for SetThumb {} + impl State for SetThumb { + type Alt = S::Alt; + type Fullsize = S::Fullsize; + type Uri = S::Uri; + type Thumb = Set; type Cid = S::Cid; } ///State transition - sets the `cid` field to Set @@ -1354,8 +1388,8 @@ pub mod photo_view_state { impl State for SetCid { type Alt = S::Alt; type Fullsize = S::Fullsize; - type Thumb = S::Thumb; type Uri = S::Uri; + type Thumb = S::Thumb; type Cid = Set; } /// Marker types for field names @@ -1365,10 +1399,10 @@ pub mod photo_view_state { pub struct alt(()); ///Marker type for the `fullsize` field pub struct fullsize(()); - ///Marker type for the `thumb` field - pub struct thumb(()); ///Marker type for the `uri` field pub struct uri(()); + ///Marker type for the `thumb` field + pub struct thumb(()); ///Marker type for the `cid` field pub struct cid(()); } @@ -1545,8 +1579,8 @@ where S: photo_view_state::State, S::Alt: photo_view_state::IsSet, S::Fullsize: photo_view_state::IsSet, - S::Thumb: photo_view_state::IsSet, S::Uri: photo_view_state::IsSet, + S::Thumb: photo_view_state::IsSet, S::Cid: photo_view_state::IsSet, { /// Build the final struct @@ -1566,7 +1600,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> PhotoView<'a> { diff --git a/crates/jacquard-api/src/social_grain/photo/exif.rs b/crates/jacquard-api/src/social_grain/photo/exif.rs index 89daa7b6e..57dd2eb1d 100644 --- a/crates/jacquard-api/src/social_grain/photo/exif.rs +++ b/crates/jacquard-api/src/social_grain/photo/exif.rs @@ -60,37 +60,37 @@ pub mod exif_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Photo; type CreatedAt; + type Photo; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Photo = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `photo` field to Set - pub struct SetPhoto(PhantomData S>); - impl sealed::Sealed for SetPhoto {} - impl State for SetPhoto { - type Photo = Set; - type CreatedAt = S::CreatedAt; + type Photo = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Photo = S::Photo; type CreatedAt = Set; + type Photo = S::Photo; + } + ///State transition - sets the `photo` field to Set + pub struct SetPhoto(PhantomData S>); + impl sealed::Sealed for SetPhoto {} + impl State for SetPhoto { + type CreatedAt = S::CreatedAt; + type Photo = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `photo` field - pub struct photo(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `photo` field + pub struct photo(()); } } @@ -343,8 +343,8 @@ where impl<'a, S> ExifBuilder<'a, S> where S: exif_state::State, - S::Photo: exif_state::IsSet, S::CreatedAt: exif_state::IsSet, + S::Photo: exif_state::IsSet, { /// Build the final struct pub fn build(self) -> Exif<'a> { @@ -368,7 +368,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Exif<'a> { @@ -479,7 +479,7 @@ fn lexicon_doc_social_grain_photo_exif() -> ::jacquard_lexicon::lexicon::Lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -491,8 +491,8 @@ fn lexicon_doc_social_grain_photo_exif() -> ::jacquard_lexicon::lexicon::Lexicon description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("photo"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("photo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -500,7 +500,7 @@ fn lexicon_doc_social_grain_photo_exif() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -519,7 +519,7 @@ fn lexicon_doc_social_grain_photo_exif() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "dateTimeOriginal", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -538,7 +538,7 @@ fn lexicon_doc_social_grain_photo_exif() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "exposureTime", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -551,7 +551,9 @@ fn lexicon_doc_social_grain_photo_exif() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("fNumber"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "fNumber", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -562,7 +564,9 @@ fn lexicon_doc_social_grain_photo_exif() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("flash"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "flash", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -577,7 +581,7 @@ fn lexicon_doc_social_grain_photo_exif() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "focalLengthIn35mmFormat", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -590,7 +594,9 @@ fn lexicon_doc_social_grain_photo_exif() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("iSO"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "iSO", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -601,7 +607,7 @@ fn lexicon_doc_social_grain_photo_exif() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "lensMake", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -618,7 +624,7 @@ fn lexicon_doc_social_grain_photo_exif() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "lensModel", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -635,7 +641,9 @@ fn lexicon_doc_social_grain_photo_exif() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("make"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "make", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -650,7 +658,9 @@ fn lexicon_doc_social_grain_photo_exif() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("model"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "model", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -665,7 +675,9 @@ fn lexicon_doc_social_grain_photo_exif() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("photo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "photo", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( diff --git a/crates/jacquard-api/src/social_lexical/works/collection.rs b/crates/jacquard-api/src/social_lexical/works/collection.rs index 1d2df9fcd..a59629ab4 100644 --- a/crates/jacquard-api/src/social_lexical/works/collection.rs +++ b/crates/jacquard-api/src/social_lexical/works/collection.rs @@ -176,7 +176,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Collection<'a> { @@ -279,7 +279,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Collection<'a> { { let value = &self.name; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -310,7 +310,7 @@ fn lexicon_doc_social_lexical_works_collection() -> ::jacquard_lexicon::lexicon: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some(::jacquard_common::CowStr::new_static("")), key: Some(::jacquard_common::CowStr::new_static("any")), @@ -318,8 +318,8 @@ fn lexicon_doc_social_lexical_works_collection() -> ::jacquard_lexicon::lexicon: description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -327,7 +327,7 @@ fn lexicon_doc_social_lexical_works_collection() -> ::jacquard_lexicon::lexicon: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -346,7 +346,9 @@ fn lexicon_doc_social_lexical_works_collection() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("labels"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "labels", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::String(::jacquard_lexicon::lexicon::LexString { @@ -366,7 +368,9 @@ fn lexicon_doc_social_lexical_works_collection() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static(""), diff --git a/crates/jacquard-api/src/social_lexical/works/collectionitem.rs b/crates/jacquard-api/src/social_lexical/works/collectionitem.rs index 6c83a53d3..f910041f0 100644 --- a/crates/jacquard-api/src/social_lexical/works/collectionitem.rs +++ b/crates/jacquard-api/src/social_lexical/works/collectionitem.rs @@ -38,51 +38,51 @@ pub mod collectionitem_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Work; type CreatedAt; type List; + type Work; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Work = Unset; type CreatedAt = Unset; type List = Unset; - } - ///State transition - sets the `work` field to Set - pub struct SetWork(PhantomData S>); - impl sealed::Sealed for SetWork {} - impl State for SetWork { - type Work = Set; - type CreatedAt = S::CreatedAt; - type List = S::List; + type Work = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Work = S::Work; type CreatedAt = Set; type List = S::List; + type Work = S::Work; } ///State transition - sets the `list` field to Set pub struct SetList(PhantomData S>); impl sealed::Sealed for SetList {} impl State for SetList { - type Work = S::Work; type CreatedAt = S::CreatedAt; type List = Set; + type Work = S::Work; + } + ///State transition - sets the `work` field to Set + pub struct SetWork(PhantomData S>); + impl sealed::Sealed for SetWork {} + impl State for SetWork { + type CreatedAt = S::CreatedAt; + type List = S::List; + type Work = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `work` field - pub struct work(()); ///Marker type for the `created_at` field pub struct created_at(()); ///Marker type for the `list` field pub struct list(()); + ///Marker type for the `work` field + pub struct work(()); } } @@ -175,9 +175,9 @@ where impl<'a, S> CollectionitemBuilder<'a, S> where S: collectionitem_state::State, - S::Work: collectionitem_state::IsSet, S::CreatedAt: collectionitem_state::IsSet, S::List: collectionitem_state::IsSet, + S::Work: collectionitem_state::IsSet, { /// Build the final struct pub fn build(self) -> Collectionitem<'a> { @@ -192,7 +192,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Collectionitem<'a> { @@ -294,7 +294,7 @@ fn lexicon_doc_social_lexical_works_collectionitem() -> ::jacquard_lexicon::lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some(::jacquard_common::CowStr::new_static("")), key: Some(::jacquard_common::CowStr::new_static("any")), @@ -302,9 +302,9 @@ fn lexicon_doc_social_lexical_works_collectionitem() -> ::jacquard_lexicon::lexi description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("list"), - ::jacquard_common::smol_str::SmolStr::new_static("work"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("list"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("work"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -312,7 +312,7 @@ fn lexicon_doc_social_lexical_works_collectionitem() -> ::jacquard_lexicon::lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -333,7 +333,9 @@ fn lexicon_doc_social_lexical_works_collectionitem() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("list"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "list", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static(""), @@ -352,7 +354,9 @@ fn lexicon_doc_social_lexical_works_collectionitem() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("work"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "work", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static(""), diff --git a/crates/jacquard-api/src/social_lexical/works/identifiers.rs b/crates/jacquard-api/src/social_lexical/works/identifiers.rs index d12a08849..bec84d634 100644 --- a/crates/jacquard-api/src/social_lexical/works/identifiers.rs +++ b/crates/jacquard-api/src/social_lexical/works/identifiers.rs @@ -135,13 +135,13 @@ fn lexicon_doc_social_lexical_works_identifiers() -> ::jacquard_lexicon::lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("identifier"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("identifier"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("provider"), - ::jacquard_common::smol_str::SmolStr::new_static("providerId") + ::jacquard_common::deps::smol_str::SmolStr::new_static("provider"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("providerId") ], ), nullable: None, @@ -149,7 +149,9 @@ fn lexicon_doc_social_lexical_works_identifiers() -> ::jacquard_lexicon::lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("provider"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "provider", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static(""), @@ -166,7 +168,7 @@ fn lexicon_doc_social_lexical_works_identifiers() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "providerId", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -185,7 +187,9 @@ fn lexicon_doc_social_lexical_works_identifiers() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static(""), @@ -208,7 +212,7 @@ fn lexicon_doc_social_lexical_works_identifiers() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("any")), @@ -216,8 +220,8 @@ fn lexicon_doc_social_lexical_works_identifiers() -> ::jacquard_lexicon::lexicon description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("work"), - ::jacquard_common::smol_str::SmolStr::new_static("identifiers") + ::jacquard_common::deps::smol_str::SmolStr::new_static("work"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("identifiers") ], ), nullable: None, @@ -225,7 +229,7 @@ fn lexicon_doc_social_lexical_works_identifiers() -> ::jacquard_lexicon::lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "identifiers", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -242,7 +246,9 @@ fn lexicon_doc_social_lexical_works_identifiers() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("work"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "work", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static(""), @@ -436,7 +442,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Identifiers<'a> { diff --git a/crates/jacquard-api/src/social_lexical/works/work.rs b/crates/jacquard-api/src/social_lexical/works/work.rs index 2eed7a735..198bd52c6 100644 --- a/crates/jacquard-api/src/social_lexical/works/work.rs +++ b/crates/jacquard-api/src/social_lexical/works/work.rs @@ -43,37 +43,37 @@ pub mod work_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type WorkType; type Title; + type WorkType; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type WorkType = Unset; type Title = Unset; - } - ///State transition - sets the `work_type` field to Set - pub struct SetWorkType(PhantomData S>); - impl sealed::Sealed for SetWorkType {} - impl State for SetWorkType { - type WorkType = Set; - type Title = S::Title; + type WorkType = Unset; } ///State transition - sets the `title` field to Set pub struct SetTitle(PhantomData S>); impl sealed::Sealed for SetTitle {} impl State for SetTitle { - type WorkType = S::WorkType; type Title = Set; + type WorkType = S::WorkType; + } + ///State transition - sets the `work_type` field to Set + pub struct SetWorkType(PhantomData S>); + impl sealed::Sealed for SetWorkType {} + impl State for SetWorkType { + type Title = S::Title; + type WorkType = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `work_type` field - pub struct work_type(()); ///Marker type for the `title` field pub struct title(()); + ///Marker type for the `work_type` field + pub struct work_type(()); } } @@ -174,8 +174,8 @@ impl<'a, S: work_state::State> WorkBuilder<'a, S> { impl<'a, S> WorkBuilder<'a, S> where S: work_state::State, - S::WorkType: work_state::IsSet, S::Title: work_state::IsSet, + S::WorkType: work_state::IsSet, { /// Build the final struct pub fn build(self) -> Work<'a> { @@ -191,7 +191,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Work<'a> { @@ -377,7 +377,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Work<'a> { } if let Some(ref value) = self.id { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -409,7 +409,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Work<'a> { { let value = &self.title; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -441,7 +441,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Work<'a> { { let value = &self.work_type; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -494,7 +494,7 @@ fn lexicon_doc_social_lexical_works_work() -> ::jacquard_lexicon::lexicon::Lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some(::jacquard_common::CowStr::new_static("")), key: Some(::jacquard_common::CowStr::new_static("any")), @@ -502,8 +502,8 @@ fn lexicon_doc_social_lexical_works_work() -> ::jacquard_lexicon::lexicon::Lexic description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("workType") + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("workType") ], ), nullable: None, @@ -511,7 +511,9 @@ fn lexicon_doc_social_lexical_works_work() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "id", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static(""), @@ -528,7 +530,9 @@ fn lexicon_doc_social_lexical_works_work() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static(""), @@ -545,7 +549,7 @@ fn lexicon_doc_social_lexical_works_work() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "workType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -564,7 +568,9 @@ fn lexicon_doc_social_lexical_works_work() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("year"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "year", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, diff --git a/crates/jacquard-api/src/social_octosphere/publication.rs b/crates/jacquard-api/src/social_octosphere/publication.rs index 9161534a8..2cc9e1114 100644 --- a/crates/jacquard-api/src/social_octosphere/publication.rs +++ b/crates/jacquard-api/src/social_octosphere/publication.rs @@ -80,267 +80,267 @@ pub mod publication_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type ContentText; + type OctopusId; + type VersionId; + type Status; type PublicationType; - type Title; + type ContentHtml; + type ContentText; + type LinkedFrom; type CreatedAt; type Citations; - type Status; + type Title; type LinkedTo; - type LinkedFrom; type UpdatedAt; - type OctopusId; - type VersionId; - type ContentHtml; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type ContentText = Unset; + type OctopusId = Unset; + type VersionId = Unset; + type Status = Unset; type PublicationType = Unset; - type Title = Unset; + type ContentHtml = Unset; + type ContentText = Unset; + type LinkedFrom = Unset; type CreatedAt = Unset; type Citations = Unset; - type Status = Unset; + type Title = Unset; type LinkedTo = Unset; - type LinkedFrom = Unset; type UpdatedAt = Unset; - type OctopusId = Unset; - type VersionId = Unset; - type ContentHtml = Unset; } - ///State transition - sets the `content_text` field to Set - pub struct SetContentText(PhantomData S>); - impl sealed::Sealed for SetContentText {} - impl State for SetContentText { - type ContentText = Set; + ///State transition - sets the `octopus_id` field to Set + pub struct SetOctopusId(PhantomData S>); + impl sealed::Sealed for SetOctopusId {} + impl State for SetOctopusId { + type OctopusId = Set; + type VersionId = S::VersionId; + type Status = S::Status; type PublicationType = S::PublicationType; - type Title = S::Title; + type ContentHtml = S::ContentHtml; + type ContentText = S::ContentText; + type LinkedFrom = S::LinkedFrom; type CreatedAt = S::CreatedAt; type Citations = S::Citations; - type Status = S::Status; + type Title = S::Title; type LinkedTo = S::LinkedTo; + type UpdatedAt = S::UpdatedAt; + } + ///State transition - sets the `version_id` field to Set + pub struct SetVersionId(PhantomData S>); + impl sealed::Sealed for SetVersionId {} + impl State for SetVersionId { + type OctopusId = S::OctopusId; + type VersionId = Set; + type Status = S::Status; + type PublicationType = S::PublicationType; + type ContentHtml = S::ContentHtml; + type ContentText = S::ContentText; type LinkedFrom = S::LinkedFrom; + type CreatedAt = S::CreatedAt; + type Citations = S::Citations; + type Title = S::Title; + type LinkedTo = S::LinkedTo; type UpdatedAt = S::UpdatedAt; + } + ///State transition - sets the `status` field to Set + pub struct SetStatus(PhantomData S>); + impl sealed::Sealed for SetStatus {} + impl State for SetStatus { type OctopusId = S::OctopusId; type VersionId = S::VersionId; + type Status = Set; + type PublicationType = S::PublicationType; type ContentHtml = S::ContentHtml; + type ContentText = S::ContentText; + type LinkedFrom = S::LinkedFrom; + type CreatedAt = S::CreatedAt; + type Citations = S::Citations; + type Title = S::Title; + type LinkedTo = S::LinkedTo; + type UpdatedAt = S::UpdatedAt; } ///State transition - sets the `publication_type` field to Set pub struct SetPublicationType(PhantomData S>); impl sealed::Sealed for SetPublicationType {} impl State for SetPublicationType { - type ContentText = S::ContentText; + type OctopusId = S::OctopusId; + type VersionId = S::VersionId; + type Status = S::Status; type PublicationType = Set; - type Title = S::Title; + type ContentHtml = S::ContentHtml; + type ContentText = S::ContentText; + type LinkedFrom = S::LinkedFrom; type CreatedAt = S::CreatedAt; type Citations = S::Citations; - type Status = S::Status; + type Title = S::Title; type LinkedTo = S::LinkedTo; - type LinkedFrom = S::LinkedFrom; type UpdatedAt = S::UpdatedAt; + } + ///State transition - sets the `content_html` field to Set + pub struct SetContentHtml(PhantomData S>); + impl sealed::Sealed for SetContentHtml {} + impl State for SetContentHtml { type OctopusId = S::OctopusId; type VersionId = S::VersionId; - type ContentHtml = S::ContentHtml; - } - ///State transition - sets the `title` field to Set - pub struct SetTitle(PhantomData S>); - impl sealed::Sealed for SetTitle {} - impl State for SetTitle { - type ContentText = S::ContentText; + type Status = S::Status; type PublicationType = S::PublicationType; - type Title = Set; + type ContentHtml = Set; + type ContentText = S::ContentText; + type LinkedFrom = S::LinkedFrom; type CreatedAt = S::CreatedAt; type Citations = S::Citations; - type Status = S::Status; + type Title = S::Title; type LinkedTo = S::LinkedTo; + type UpdatedAt = S::UpdatedAt; + } + ///State transition - sets the `content_text` field to Set + pub struct SetContentText(PhantomData S>); + impl sealed::Sealed for SetContentText {} + impl State for SetContentText { + type OctopusId = S::OctopusId; + type VersionId = S::VersionId; + type Status = S::Status; + type PublicationType = S::PublicationType; + type ContentHtml = S::ContentHtml; + type ContentText = Set; type LinkedFrom = S::LinkedFrom; + type CreatedAt = S::CreatedAt; + type Citations = S::Citations; + type Title = S::Title; + type LinkedTo = S::LinkedTo; type UpdatedAt = S::UpdatedAt; + } + ///State transition - sets the `linked_from` field to Set + pub struct SetLinkedFrom(PhantomData S>); + impl sealed::Sealed for SetLinkedFrom {} + impl State for SetLinkedFrom { type OctopusId = S::OctopusId; type VersionId = S::VersionId; + type Status = S::Status; + type PublicationType = S::PublicationType; type ContentHtml = S::ContentHtml; + type ContentText = S::ContentText; + type LinkedFrom = Set; + type CreatedAt = S::CreatedAt; + type Citations = S::Citations; + type Title = S::Title; + type LinkedTo = S::LinkedTo; + type UpdatedAt = S::UpdatedAt; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type ContentText = S::ContentText; + type OctopusId = S::OctopusId; + type VersionId = S::VersionId; + type Status = S::Status; type PublicationType = S::PublicationType; - type Title = S::Title; + type ContentHtml = S::ContentHtml; + type ContentText = S::ContentText; + type LinkedFrom = S::LinkedFrom; type CreatedAt = Set; type Citations = S::Citations; - type Status = S::Status; + type Title = S::Title; type LinkedTo = S::LinkedTo; - type LinkedFrom = S::LinkedFrom; type UpdatedAt = S::UpdatedAt; - type OctopusId = S::OctopusId; - type VersionId = S::VersionId; - type ContentHtml = S::ContentHtml; } ///State transition - sets the `citations` field to Set pub struct SetCitations(PhantomData S>); impl sealed::Sealed for SetCitations {} impl State for SetCitations { - type ContentText = S::ContentText; + type OctopusId = S::OctopusId; + type VersionId = S::VersionId; + type Status = S::Status; type PublicationType = S::PublicationType; - type Title = S::Title; + type ContentHtml = S::ContentHtml; + type ContentText = S::ContentText; + type LinkedFrom = S::LinkedFrom; type CreatedAt = S::CreatedAt; type Citations = Set; - type Status = S::Status; + type Title = S::Title; type LinkedTo = S::LinkedTo; - type LinkedFrom = S::LinkedFrom; type UpdatedAt = S::UpdatedAt; + } + ///State transition - sets the `title` field to Set + pub struct SetTitle(PhantomData S>); + impl sealed::Sealed for SetTitle {} + impl State for SetTitle { type OctopusId = S::OctopusId; type VersionId = S::VersionId; + type Status = S::Status; + type PublicationType = S::PublicationType; type ContentHtml = S::ContentHtml; - } - ///State transition - sets the `status` field to Set - pub struct SetStatus(PhantomData S>); - impl sealed::Sealed for SetStatus {} - impl State for SetStatus { type ContentText = S::ContentText; - type PublicationType = S::PublicationType; - type Title = S::Title; + type LinkedFrom = S::LinkedFrom; type CreatedAt = S::CreatedAt; type Citations = S::Citations; - type Status = Set; + type Title = Set; type LinkedTo = S::LinkedTo; - type LinkedFrom = S::LinkedFrom; type UpdatedAt = S::UpdatedAt; - type OctopusId = S::OctopusId; - type VersionId = S::VersionId; - type ContentHtml = S::ContentHtml; } ///State transition - sets the `linked_to` field to Set pub struct SetLinkedTo(PhantomData S>); impl sealed::Sealed for SetLinkedTo {} impl State for SetLinkedTo { - type ContentText = S::ContentText; - type PublicationType = S::PublicationType; - type Title = S::Title; - type CreatedAt = S::CreatedAt; - type Citations = S::Citations; - type Status = S::Status; - type LinkedTo = Set; - type LinkedFrom = S::LinkedFrom; - type UpdatedAt = S::UpdatedAt; type OctopusId = S::OctopusId; type VersionId = S::VersionId; + type Status = S::Status; + type PublicationType = S::PublicationType; type ContentHtml = S::ContentHtml; - } - ///State transition - sets the `linked_from` field to Set - pub struct SetLinkedFrom(PhantomData S>); - impl sealed::Sealed for SetLinkedFrom {} - impl State for SetLinkedFrom { type ContentText = S::ContentText; - type PublicationType = S::PublicationType; - type Title = S::Title; + type LinkedFrom = S::LinkedFrom; type CreatedAt = S::CreatedAt; type Citations = S::Citations; - type Status = S::Status; - type LinkedTo = S::LinkedTo; - type LinkedFrom = Set; + type Title = S::Title; + type LinkedTo = Set; type UpdatedAt = S::UpdatedAt; - type OctopusId = S::OctopusId; - type VersionId = S::VersionId; - type ContentHtml = S::ContentHtml; } ///State transition - sets the `updated_at` field to Set pub struct SetUpdatedAt(PhantomData S>); impl sealed::Sealed for SetUpdatedAt {} impl State for SetUpdatedAt { - type ContentText = S::ContentText; - type PublicationType = S::PublicationType; - type Title = S::Title; - type CreatedAt = S::CreatedAt; - type Citations = S::Citations; - type Status = S::Status; - type LinkedTo = S::LinkedTo; - type LinkedFrom = S::LinkedFrom; - type UpdatedAt = Set; type OctopusId = S::OctopusId; type VersionId = S::VersionId; - type ContentHtml = S::ContentHtml; - } - ///State transition - sets the `octopus_id` field to Set - pub struct SetOctopusId(PhantomData S>); - impl sealed::Sealed for SetOctopusId {} - impl State for SetOctopusId { - type ContentText = S::ContentText; - type PublicationType = S::PublicationType; - type Title = S::Title; - type CreatedAt = S::CreatedAt; - type Citations = S::Citations; type Status = S::Status; - type LinkedTo = S::LinkedTo; - type LinkedFrom = S::LinkedFrom; - type UpdatedAt = S::UpdatedAt; - type OctopusId = Set; - type VersionId = S::VersionId; - type ContentHtml = S::ContentHtml; - } - ///State transition - sets the `version_id` field to Set - pub struct SetVersionId(PhantomData S>); - impl sealed::Sealed for SetVersionId {} - impl State for SetVersionId { - type ContentText = S::ContentText; type PublicationType = S::PublicationType; - type Title = S::Title; - type CreatedAt = S::CreatedAt; - type Citations = S::Citations; - type Status = S::Status; - type LinkedTo = S::LinkedTo; - type LinkedFrom = S::LinkedFrom; - type UpdatedAt = S::UpdatedAt; - type OctopusId = S::OctopusId; - type VersionId = Set; type ContentHtml = S::ContentHtml; - } - ///State transition - sets the `content_html` field to Set - pub struct SetContentHtml(PhantomData S>); - impl sealed::Sealed for SetContentHtml {} - impl State for SetContentHtml { type ContentText = S::ContentText; - type PublicationType = S::PublicationType; - type Title = S::Title; + type LinkedFrom = S::LinkedFrom; type CreatedAt = S::CreatedAt; type Citations = S::Citations; - type Status = S::Status; + type Title = S::Title; type LinkedTo = S::LinkedTo; - type LinkedFrom = S::LinkedFrom; - type UpdatedAt = S::UpdatedAt; - type OctopusId = S::OctopusId; - type VersionId = S::VersionId; - type ContentHtml = Set; + type UpdatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `content_text` field - pub struct content_text(()); + ///Marker type for the `octopus_id` field + pub struct octopus_id(()); + ///Marker type for the `version_id` field + pub struct version_id(()); + ///Marker type for the `status` field + pub struct status(()); ///Marker type for the `publication_type` field pub struct publication_type(()); - ///Marker type for the `title` field - pub struct title(()); + ///Marker type for the `content_html` field + pub struct content_html(()); + ///Marker type for the `content_text` field + pub struct content_text(()); + ///Marker type for the `linked_from` field + pub struct linked_from(()); ///Marker type for the `created_at` field pub struct created_at(()); ///Marker type for the `citations` field pub struct citations(()); - ///Marker type for the `status` field - pub struct status(()); + ///Marker type for the `title` field + pub struct title(()); ///Marker type for the `linked_to` field pub struct linked_to(()); - ///Marker type for the `linked_from` field - pub struct linked_from(()); ///Marker type for the `updated_at` field pub struct updated_at(()); - ///Marker type for the `octopus_id` field - pub struct octopus_id(()); - ///Marker type for the `version_id` field - pub struct version_id(()); - ///Marker type for the `content_html` field - pub struct content_html(()); } } @@ -710,18 +710,18 @@ where impl<'a, S> PublicationBuilder<'a, S> where S: publication_state::State, - S::ContentText: publication_state::IsSet, + S::OctopusId: publication_state::IsSet, + S::VersionId: publication_state::IsSet, + S::Status: publication_state::IsSet, S::PublicationType: publication_state::IsSet, - S::Title: publication_state::IsSet, + S::ContentHtml: publication_state::IsSet, + S::ContentText: publication_state::IsSet, + S::LinkedFrom: publication_state::IsSet, S::CreatedAt: publication_state::IsSet, S::Citations: publication_state::IsSet, - S::Status: publication_state::IsSet, + S::Title: publication_state::IsSet, S::LinkedTo: publication_state::IsSet, - S::LinkedFrom: publication_state::IsSet, S::UpdatedAt: publication_state::IsSet, - S::OctopusId: publication_state::IsSet, - S::VersionId: publication_state::IsSet, - S::ContentHtml: publication_state::IsSet, { /// Build the final struct pub fn build(self) -> Publication<'a> { @@ -749,7 +749,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Publication<'a> { @@ -1102,7 +1102,7 @@ fn lexicon_doc_social_octosphere_publication() -> ::jacquard_lexicon::lexicon::L defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -1114,18 +1114,18 @@ fn lexicon_doc_social_octosphere_publication() -> ::jacquard_lexicon::lexicon::L description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("octopusId"), - ::jacquard_common::smol_str::SmolStr::new_static("versionId"), - ::jacquard_common::smol_str::SmolStr::new_static("publicationType"), - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("status"), - ::jacquard_common::smol_str::SmolStr::new_static("contentHtml"), - ::jacquard_common::smol_str::SmolStr::new_static("contentText"), - ::jacquard_common::smol_str::SmolStr::new_static("citations"), - ::jacquard_common::smol_str::SmolStr::new_static("linkedTo"), - ::jacquard_common::smol_str::SmolStr::new_static("linkedFrom"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt"), - ::jacquard_common::smol_str::SmolStr::new_static("updatedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("octopusId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("versionId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("publicationType"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("status"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("contentHtml"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("contentText"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("citations"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("linkedTo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("linkedFrom"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("updatedAt") ], ), nullable: None, @@ -1133,7 +1133,7 @@ fn lexicon_doc_social_octosphere_publication() -> ::jacquard_lexicon::lexicon::L #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "canonicalUrl", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1156,7 +1156,7 @@ fn lexicon_doc_social_octosphere_publication() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "citations", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -1182,7 +1182,7 @@ fn lexicon_doc_social_octosphere_publication() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentHtml", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1203,7 +1203,7 @@ fn lexicon_doc_social_octosphere_publication() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentText", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1224,7 +1224,7 @@ fn lexicon_doc_social_octosphere_publication() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1247,7 +1247,9 @@ fn lexicon_doc_social_octosphere_publication() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("doi"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "doi", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1268,7 +1270,7 @@ fn lexicon_doc_social_octosphere_publication() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "linkedFrom", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -1294,7 +1296,7 @@ fn lexicon_doc_social_octosphere_publication() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "linkedTo", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -1320,7 +1322,7 @@ fn lexicon_doc_social_octosphere_publication() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "octopusId", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1341,7 +1343,7 @@ fn lexicon_doc_social_octosphere_publication() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "ownerOrcid", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1362,7 +1364,7 @@ fn lexicon_doc_social_octosphere_publication() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "peerReviewOf", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1383,7 +1385,7 @@ fn lexicon_doc_social_octosphere_publication() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publicationType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1404,7 +1406,9 @@ fn lexicon_doc_social_octosphere_publication() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("status"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "status", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1423,7 +1427,9 @@ fn lexicon_doc_social_octosphere_publication() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Publication title."), @@ -1440,7 +1446,7 @@ fn lexicon_doc_social_octosphere_publication() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1463,7 +1469,7 @@ fn lexicon_doc_social_octosphere_publication() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "versionId", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/social_pace/daily/ring.rs b/crates/jacquard-api/src/social_pace/daily/ring.rs index a3a488f56..66c41148a 100644 --- a/crates/jacquard-api/src/social_pace/daily/ring.rs +++ b/crates/jacquard-api/src/social_pace/daily/ring.rs @@ -44,126 +44,126 @@ pub mod ring_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type CreatedAt; - type Exercise; - type Move; - type ExerciseGoal; - type MoveGoal; type StandHours; + type Move; + type Exercise; type StandGoal; + type MoveGoal; + type ExerciseGoal; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type CreatedAt = Unset; - type Exercise = Unset; - type Move = Unset; - type ExerciseGoal = Unset; - type MoveGoal = Unset; type StandHours = Unset; + type Move = Unset; + type Exercise = Unset; type StandGoal = Unset; + type MoveGoal = Unset; + type ExerciseGoal = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { type CreatedAt = Set; - type Exercise = S::Exercise; - type Move = S::Move; - type ExerciseGoal = S::ExerciseGoal; - type MoveGoal = S::MoveGoal; type StandHours = S::StandHours; + type Move = S::Move; + type Exercise = S::Exercise; type StandGoal = S::StandGoal; + type MoveGoal = S::MoveGoal; + type ExerciseGoal = S::ExerciseGoal; } - ///State transition - sets the `exercise` field to Set - pub struct SetExercise(PhantomData S>); - impl sealed::Sealed for SetExercise {} - impl State for SetExercise { + ///State transition - sets the `stand_hours` field to Set + pub struct SetStandHours(PhantomData S>); + impl sealed::Sealed for SetStandHours {} + impl State for SetStandHours { type CreatedAt = S::CreatedAt; - type Exercise = Set; + type StandHours = Set; type Move = S::Move; - type ExerciseGoal = S::ExerciseGoal; - type MoveGoal = S::MoveGoal; - type StandHours = S::StandHours; + type Exercise = S::Exercise; type StandGoal = S::StandGoal; + type MoveGoal = S::MoveGoal; + type ExerciseGoal = S::ExerciseGoal; } ///State transition - sets the `move` field to Set pub struct SetMove(PhantomData S>); impl sealed::Sealed for SetMove {} impl State for SetMove { type CreatedAt = S::CreatedAt; - type Exercise = S::Exercise; + type StandHours = S::StandHours; type Move = Set; - type ExerciseGoal = S::ExerciseGoal; + type Exercise = S::Exercise; + type StandGoal = S::StandGoal; type MoveGoal = S::MoveGoal; + type ExerciseGoal = S::ExerciseGoal; + } + ///State transition - sets the `exercise` field to Set + pub struct SetExercise(PhantomData S>); + impl sealed::Sealed for SetExercise {} + impl State for SetExercise { + type CreatedAt = S::CreatedAt; type StandHours = S::StandHours; + type Move = S::Move; + type Exercise = Set; type StandGoal = S::StandGoal; + type MoveGoal = S::MoveGoal; + type ExerciseGoal = S::ExerciseGoal; } - ///State transition - sets the `exercise_goal` field to Set - pub struct SetExerciseGoal(PhantomData S>); - impl sealed::Sealed for SetExerciseGoal {} - impl State for SetExerciseGoal { + ///State transition - sets the `stand_goal` field to Set + pub struct SetStandGoal(PhantomData S>); + impl sealed::Sealed for SetStandGoal {} + impl State for SetStandGoal { type CreatedAt = S::CreatedAt; - type Exercise = S::Exercise; + type StandHours = S::StandHours; type Move = S::Move; - type ExerciseGoal = Set; + type Exercise = S::Exercise; + type StandGoal = Set; type MoveGoal = S::MoveGoal; - type StandHours = S::StandHours; - type StandGoal = S::StandGoal; + type ExerciseGoal = S::ExerciseGoal; } ///State transition - sets the `move_goal` field to Set pub struct SetMoveGoal(PhantomData S>); impl sealed::Sealed for SetMoveGoal {} impl State for SetMoveGoal { type CreatedAt = S::CreatedAt; - type Exercise = S::Exercise; - type Move = S::Move; - type ExerciseGoal = S::ExerciseGoal; - type MoveGoal = Set; type StandHours = S::StandHours; - type StandGoal = S::StandGoal; - } - ///State transition - sets the `stand_hours` field to Set - pub struct SetStandHours(PhantomData S>); - impl sealed::Sealed for SetStandHours {} - impl State for SetStandHours { - type CreatedAt = S::CreatedAt; - type Exercise = S::Exercise; type Move = S::Move; - type ExerciseGoal = S::ExerciseGoal; - type MoveGoal = S::MoveGoal; - type StandHours = Set; + type Exercise = S::Exercise; type StandGoal = S::StandGoal; + type MoveGoal = Set; + type ExerciseGoal = S::ExerciseGoal; } - ///State transition - sets the `stand_goal` field to Set - pub struct SetStandGoal(PhantomData S>); - impl sealed::Sealed for SetStandGoal {} - impl State for SetStandGoal { + ///State transition - sets the `exercise_goal` field to Set + pub struct SetExerciseGoal(PhantomData S>); + impl sealed::Sealed for SetExerciseGoal {} + impl State for SetExerciseGoal { type CreatedAt = S::CreatedAt; - type Exercise = S::Exercise; + type StandHours = S::StandHours; type Move = S::Move; - type ExerciseGoal = S::ExerciseGoal; + type Exercise = S::Exercise; + type StandGoal = S::StandGoal; type MoveGoal = S::MoveGoal; - type StandHours = S::StandHours; - type StandGoal = Set; + type ExerciseGoal = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `created_at` field pub struct created_at(()); - ///Marker type for the `exercise` field - pub struct exercise(()); - ///Marker type for the `move` field - pub struct r#move(()); - ///Marker type for the `exercise_goal` field - pub struct exercise_goal(()); - ///Marker type for the `move_goal` field - pub struct move_goal(()); ///Marker type for the `stand_hours` field pub struct stand_hours(()); + ///Marker type for the `move` field + pub struct r#move(()); + ///Marker type for the `exercise` field + pub struct exercise(()); ///Marker type for the `stand_goal` field pub struct stand_goal(()); + ///Marker type for the `move_goal` field + pub struct move_goal(()); + ///Marker type for the `exercise_goal` field + pub struct exercise_goal(()); } } @@ -337,12 +337,12 @@ impl<'a, S> RingBuilder<'a, S> where S: ring_state::State, S::CreatedAt: ring_state::IsSet, - S::Exercise: ring_state::IsSet, - S::Move: ring_state::IsSet, - S::ExerciseGoal: ring_state::IsSet, - S::MoveGoal: ring_state::IsSet, S::StandHours: ring_state::IsSet, + S::Move: ring_state::IsSet, + S::Exercise: ring_state::IsSet, S::StandGoal: ring_state::IsSet, + S::MoveGoal: ring_state::IsSet, + S::ExerciseGoal: ring_state::IsSet, { /// Build the final struct pub fn build(self) -> Ring<'a> { @@ -361,7 +361,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Ring<'a> { @@ -467,7 +467,7 @@ fn lexicon_doc_social_pace_daily_ring() -> ::jacquard_lexicon::lexicon::LexiconD defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -479,13 +479,13 @@ fn lexicon_doc_social_pace_daily_ring() -> ::jacquard_lexicon::lexicon::LexiconD description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("move"), - ::jacquard_common::smol_str::SmolStr::new_static("moveGoal"), - ::jacquard_common::smol_str::SmolStr::new_static("exercise"), - ::jacquard_common::smol_str::SmolStr::new_static("exerciseGoal"), - ::jacquard_common::smol_str::SmolStr::new_static("standHours"), - ::jacquard_common::smol_str::SmolStr::new_static("standGoal"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("move"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("moveGoal"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("exercise"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("exerciseGoal"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("standHours"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("standGoal"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -493,7 +493,7 @@ fn lexicon_doc_social_pace_daily_ring() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -512,7 +512,7 @@ fn lexicon_doc_social_pace_daily_ring() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "exercise", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -525,7 +525,7 @@ fn lexicon_doc_social_pace_daily_ring() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "exerciseGoal", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -538,7 +538,9 @@ fn lexicon_doc_social_pace_daily_ring() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("move"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "move", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -549,7 +551,7 @@ fn lexicon_doc_social_pace_daily_ring() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "moveGoal", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -562,7 +564,7 @@ fn lexicon_doc_social_pace_daily_ring() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "standGoal", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -575,7 +577,7 @@ fn lexicon_doc_social_pace_daily_ring() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "standHours", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { diff --git a/crates/jacquard-api/src/social_pace/daily/step.rs b/crates/jacquard-api/src/social_pace/daily/step.rs index 7951bd9ff..1577670e9 100644 --- a/crates/jacquard-api/src/social_pace/daily/step.rs +++ b/crates/jacquard-api/src/social_pace/daily/step.rs @@ -37,50 +37,50 @@ pub mod step_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type CreatedAt; - type Steps; type UpdatedAt; + type Steps; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type CreatedAt = Unset; - type Steps = Unset; type UpdatedAt = Unset; + type Steps = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { type CreatedAt = Set; - type Steps = S::Steps; - type UpdatedAt = S::UpdatedAt; - } - ///State transition - sets the `steps` field to Set - pub struct SetSteps(PhantomData S>); - impl sealed::Sealed for SetSteps {} - impl State for SetSteps { - type CreatedAt = S::CreatedAt; - type Steps = Set; type UpdatedAt = S::UpdatedAt; + type Steps = S::Steps; } ///State transition - sets the `updated_at` field to Set pub struct SetUpdatedAt(PhantomData S>); impl sealed::Sealed for SetUpdatedAt {} impl State for SetUpdatedAt { type CreatedAt = S::CreatedAt; - type Steps = S::Steps; type UpdatedAt = Set; + type Steps = S::Steps; + } + ///State transition - sets the `steps` field to Set + pub struct SetSteps(PhantomData S>); + impl sealed::Sealed for SetSteps {} + impl State for SetSteps { + type CreatedAt = S::CreatedAt; + type UpdatedAt = S::UpdatedAt; + type Steps = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `created_at` field pub struct created_at(()); - ///Marker type for the `steps` field - pub struct steps(()); ///Marker type for the `updated_at` field pub struct updated_at(()); + ///Marker type for the `steps` field + pub struct steps(()); } } @@ -174,8 +174,8 @@ impl<'a, S> StepBuilder<'a, S> where S: step_state::State, S::CreatedAt: step_state::IsSet, - S::Steps: step_state::IsSet, S::UpdatedAt: step_state::IsSet, + S::Steps: step_state::IsSet, { /// Build the final struct pub fn build(self) -> Step<'a> { @@ -190,7 +190,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Step<'a> { @@ -292,7 +292,7 @@ fn lexicon_doc_social_pace_daily_step() -> ::jacquard_lexicon::lexicon::LexiconD defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -304,9 +304,9 @@ fn lexicon_doc_social_pace_daily_step() -> ::jacquard_lexicon::lexicon::LexiconD description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("steps"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt"), - ::jacquard_common::smol_str::SmolStr::new_static("updatedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("steps"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("updatedAt") ], ), nullable: None, @@ -314,7 +314,7 @@ fn lexicon_doc_social_pace_daily_step() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -337,7 +337,9 @@ fn lexicon_doc_social_pace_daily_step() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("steps"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "steps", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -348,7 +350,7 @@ fn lexicon_doc_social_pace_daily_step() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/social_pace/feed.rs b/crates/jacquard-api/src/social_pace/feed.rs index 1e539f068..9d426866d 100644 --- a/crates/jacquard-api/src/social_pace/feed.rs +++ b/crates/jacquard-api/src/social_pace/feed.rs @@ -297,51 +297,51 @@ pub mod split_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Distance; type Duration; type Order; + type Distance; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Distance = Unset; type Duration = Unset; type Order = Unset; - } - ///State transition - sets the `distance` field to Set - pub struct SetDistance(PhantomData S>); - impl sealed::Sealed for SetDistance {} - impl State for SetDistance { - type Distance = Set; - type Duration = S::Duration; - type Order = S::Order; + type Distance = Unset; } ///State transition - sets the `duration` field to Set pub struct SetDuration(PhantomData S>); impl sealed::Sealed for SetDuration {} impl State for SetDuration { - type Distance = S::Distance; type Duration = Set; type Order = S::Order; + type Distance = S::Distance; } ///State transition - sets the `order` field to Set pub struct SetOrder(PhantomData S>); impl sealed::Sealed for SetOrder {} impl State for SetOrder { - type Distance = S::Distance; type Duration = S::Duration; type Order = Set; + type Distance = S::Distance; + } + ///State transition - sets the `distance` field to Set + pub struct SetDistance(PhantomData S>); + impl sealed::Sealed for SetDistance {} + impl State for SetDistance { + type Duration = S::Duration; + type Order = S::Order; + type Distance = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `distance` field - pub struct distance(()); ///Marker type for the `duration` field pub struct duration(()); ///Marker type for the `order` field pub struct order(()); + ///Marker type for the `distance` field + pub struct distance(()); } } @@ -434,9 +434,9 @@ where impl<'a, S> SplitBuilder<'a, S> where S: split_state::State, - S::Distance: split_state::IsSet, S::Duration: split_state::IsSet, S::Order: split_state::IsSet, + S::Distance: split_state::IsSet, { /// Build the final struct pub fn build(self) -> Split<'a> { @@ -451,7 +451,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Split<'a> { @@ -475,7 +475,7 @@ fn lexicon_doc_social_pace_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDo defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("activityType"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("activityType"), ::jacquard_lexicon::lexicon::LexUserType::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -494,7 +494,7 @@ fn lexicon_doc_social_pace_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("split"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("split"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -503,9 +503,9 @@ fn lexicon_doc_social_pace_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDo ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("order"), - ::jacquard_common::smol_str::SmolStr::new_static("distance"), - ::jacquard_common::smol_str::SmolStr::new_static("duration") + ::jacquard_common::deps::smol_str::SmolStr::new_static("order"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("distance"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("duration") ], ), nullable: None, @@ -513,7 +513,9 @@ fn lexicon_doc_social_pace_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("distance"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "distance", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -532,7 +534,9 @@ fn lexicon_doc_social_pace_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("duration"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "duration", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -543,7 +547,9 @@ fn lexicon_doc_social_pace_feed_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("order"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "order", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, diff --git a/crates/jacquard-api/src/social_pace/feed/activity.rs b/crates/jacquard-api/src/social_pace/feed/activity.rs index 9312e5f37..370d3eda3 100644 --- a/crates/jacquard-api/src/social_pace/feed/activity.rs +++ b/crates/jacquard-api/src/social_pace/feed/activity.rs @@ -60,67 +60,67 @@ pub mod activity_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type EndedAt; type Type; - type StartedAt; type CreatedAt; + type StartedAt; + type EndedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type EndedAt = Unset; type Type = Unset; - type StartedAt = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `ended_at` field to Set - pub struct SetEndedAt(PhantomData S>); - impl sealed::Sealed for SetEndedAt {} - impl State for SetEndedAt { - type EndedAt = Set; - type Type = S::Type; - type StartedAt = S::StartedAt; - type CreatedAt = S::CreatedAt; + type StartedAt = Unset; + type EndedAt = Unset; } ///State transition - sets the `type` field to Set pub struct SetType(PhantomData S>); impl sealed::Sealed for SetType {} impl State for SetType { - type EndedAt = S::EndedAt; type Type = Set; - type StartedAt = S::StartedAt; type CreatedAt = S::CreatedAt; + type StartedAt = S::StartedAt; + type EndedAt = S::EndedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Type = S::Type; + type CreatedAt = Set; + type StartedAt = S::StartedAt; + type EndedAt = S::EndedAt; } ///State transition - sets the `started_at` field to Set pub struct SetStartedAt(PhantomData S>); impl sealed::Sealed for SetStartedAt {} impl State for SetStartedAt { - type EndedAt = S::EndedAt; type Type = S::Type; - type StartedAt = Set; type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { + type StartedAt = Set; type EndedAt = S::EndedAt; + } + ///State transition - sets the `ended_at` field to Set + pub struct SetEndedAt(PhantomData S>); + impl sealed::Sealed for SetEndedAt {} + impl State for SetEndedAt { type Type = S::Type; + type CreatedAt = S::CreatedAt; type StartedAt = S::StartedAt; - type CreatedAt = Set; + type EndedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `ended_at` field - pub struct ended_at(()); ///Marker type for the `type` field pub struct r#type(()); - ///Marker type for the `started_at` field - pub struct started_at(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `started_at` field + pub struct started_at(()); + ///Marker type for the `ended_at` field + pub struct ended_at(()); } } @@ -349,10 +349,10 @@ where impl<'a, S> ActivityBuilder<'a, S> where S: activity_state::State, - S::EndedAt: activity_state::IsSet, S::Type: activity_state::IsSet, - S::StartedAt: activity_state::IsSet, S::CreatedAt: activity_state::IsSet, + S::StartedAt: activity_state::IsSet, + S::EndedAt: activity_state::IsSet, { /// Build the final struct pub fn build(self) -> Activity<'a> { @@ -374,7 +374,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Activity<'a> { @@ -495,7 +495,7 @@ fn lexicon_doc_social_pace_feed_activity() -> ::jacquard_lexicon::lexicon::Lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -507,10 +507,10 @@ fn lexicon_doc_social_pace_feed_activity() -> ::jacquard_lexicon::lexicon::Lexic description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("startedAt"), - ::jacquard_common::smol_str::SmolStr::new_static("endedAt"), - ::jacquard_common::smol_str::SmolStr::new_static("type"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("startedAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("endedAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -518,7 +518,7 @@ fn lexicon_doc_social_pace_feed_activity() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "calories", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -531,7 +531,7 @@ fn lexicon_doc_social_pace_feed_activity() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -554,7 +554,7 @@ fn lexicon_doc_social_pace_feed_activity() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "distance", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -575,7 +575,7 @@ fn lexicon_doc_social_pace_feed_activity() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "distanceUnits", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -596,7 +596,9 @@ fn lexicon_doc_social_pace_feed_activity() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("endedAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "endedAt", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -617,7 +619,9 @@ fn lexicon_doc_social_pace_feed_activity() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("route"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "route", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -625,7 +629,9 @@ fn lexicon_doc_social_pace_feed_activity() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("splits"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "splits", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -643,7 +649,7 @@ fn lexicon_doc_social_pace_feed_activity() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "startedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -666,7 +672,9 @@ fn lexicon_doc_social_pace_feed_activity() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("steps"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "steps", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -677,7 +685,9 @@ fn lexicon_doc_social_pace_feed_activity() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "type", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/social_pace/goal/ring.rs b/crates/jacquard-api/src/social_pace/goal/ring.rs index 14660b57d..ecf9addb7 100644 --- a/crates/jacquard-api/src/social_pace/goal/ring.rs +++ b/crates/jacquard-api/src/social_pace/goal/ring.rs @@ -44,126 +44,126 @@ pub mod ring_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type ExerciseGoal; + type StandGoal; type StandHours; - type Exercise; + type MoveGoal; type CreatedAt; + type Exercise; type Move; - type StandGoal; - type MoveGoal; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type ExerciseGoal = Unset; + type StandGoal = Unset; type StandHours = Unset; - type Exercise = Unset; + type MoveGoal = Unset; type CreatedAt = Unset; + type Exercise = Unset; type Move = Unset; - type StandGoal = Unset; - type MoveGoal = Unset; } ///State transition - sets the `exercise_goal` field to Set pub struct SetExerciseGoal(PhantomData S>); impl sealed::Sealed for SetExerciseGoal {} impl State for SetExerciseGoal { type ExerciseGoal = Set; + type StandGoal = S::StandGoal; type StandHours = S::StandHours; - type Exercise = S::Exercise; + type MoveGoal = S::MoveGoal; type CreatedAt = S::CreatedAt; + type Exercise = S::Exercise; type Move = S::Move; - type StandGoal = S::StandGoal; + } + ///State transition - sets the `stand_goal` field to Set + pub struct SetStandGoal(PhantomData S>); + impl sealed::Sealed for SetStandGoal {} + impl State for SetStandGoal { + type ExerciseGoal = S::ExerciseGoal; + type StandGoal = Set; + type StandHours = S::StandHours; type MoveGoal = S::MoveGoal; + type CreatedAt = S::CreatedAt; + type Exercise = S::Exercise; + type Move = S::Move; } ///State transition - sets the `stand_hours` field to Set pub struct SetStandHours(PhantomData S>); impl sealed::Sealed for SetStandHours {} impl State for SetStandHours { type ExerciseGoal = S::ExerciseGoal; + type StandGoal = S::StandGoal; type StandHours = Set; - type Exercise = S::Exercise; + type MoveGoal = S::MoveGoal; type CreatedAt = S::CreatedAt; + type Exercise = S::Exercise; type Move = S::Move; - type StandGoal = S::StandGoal; - type MoveGoal = S::MoveGoal; } - ///State transition - sets the `exercise` field to Set - pub struct SetExercise(PhantomData S>); - impl sealed::Sealed for SetExercise {} - impl State for SetExercise { + ///State transition - sets the `move_goal` field to Set + pub struct SetMoveGoal(PhantomData S>); + impl sealed::Sealed for SetMoveGoal {} + impl State for SetMoveGoal { type ExerciseGoal = S::ExerciseGoal; + type StandGoal = S::StandGoal; type StandHours = S::StandHours; - type Exercise = Set; + type MoveGoal = Set; type CreatedAt = S::CreatedAt; + type Exercise = S::Exercise; type Move = S::Move; - type StandGoal = S::StandGoal; - type MoveGoal = S::MoveGoal; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { type ExerciseGoal = S::ExerciseGoal; + type StandGoal = S::StandGoal; type StandHours = S::StandHours; - type Exercise = S::Exercise; + type MoveGoal = S::MoveGoal; type CreatedAt = Set; + type Exercise = S::Exercise; type Move = S::Move; + } + ///State transition - sets the `exercise` field to Set + pub struct SetExercise(PhantomData S>); + impl sealed::Sealed for SetExercise {} + impl State for SetExercise { + type ExerciseGoal = S::ExerciseGoal; type StandGoal = S::StandGoal; + type StandHours = S::StandHours; type MoveGoal = S::MoveGoal; + type CreatedAt = S::CreatedAt; + type Exercise = Set; + type Move = S::Move; } ///State transition - sets the `move` field to Set pub struct SetMove(PhantomData S>); impl sealed::Sealed for SetMove {} impl State for SetMove { type ExerciseGoal = S::ExerciseGoal; - type StandHours = S::StandHours; - type Exercise = S::Exercise; - type CreatedAt = S::CreatedAt; - type Move = Set; type StandGoal = S::StandGoal; - type MoveGoal = S::MoveGoal; - } - ///State transition - sets the `stand_goal` field to Set - pub struct SetStandGoal(PhantomData S>); - impl sealed::Sealed for SetStandGoal {} - impl State for SetStandGoal { - type ExerciseGoal = S::ExerciseGoal; type StandHours = S::StandHours; - type Exercise = S::Exercise; - type CreatedAt = S::CreatedAt; - type Move = S::Move; - type StandGoal = Set; type MoveGoal = S::MoveGoal; - } - ///State transition - sets the `move_goal` field to Set - pub struct SetMoveGoal(PhantomData S>); - impl sealed::Sealed for SetMoveGoal {} - impl State for SetMoveGoal { - type ExerciseGoal = S::ExerciseGoal; - type StandHours = S::StandHours; - type Exercise = S::Exercise; type CreatedAt = S::CreatedAt; - type Move = S::Move; - type StandGoal = S::StandGoal; - type MoveGoal = Set; + type Exercise = S::Exercise; + type Move = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `exercise_goal` field pub struct exercise_goal(()); + ///Marker type for the `stand_goal` field + pub struct stand_goal(()); ///Marker type for the `stand_hours` field pub struct stand_hours(()); - ///Marker type for the `exercise` field - pub struct exercise(()); + ///Marker type for the `move_goal` field + pub struct move_goal(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `exercise` field + pub struct exercise(()); ///Marker type for the `move` field pub struct r#move(()); - ///Marker type for the `stand_goal` field - pub struct stand_goal(()); - ///Marker type for the `move_goal` field - pub struct move_goal(()); } } @@ -337,12 +337,12 @@ impl<'a, S> RingBuilder<'a, S> where S: ring_state::State, S::ExerciseGoal: ring_state::IsSet, + S::StandGoal: ring_state::IsSet, S::StandHours: ring_state::IsSet, - S::Exercise: ring_state::IsSet, + S::MoveGoal: ring_state::IsSet, S::CreatedAt: ring_state::IsSet, + S::Exercise: ring_state::IsSet, S::Move: ring_state::IsSet, - S::StandGoal: ring_state::IsSet, - S::MoveGoal: ring_state::IsSet, { /// Build the final struct pub fn build(self) -> Ring<'a> { @@ -361,7 +361,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Ring<'a> { @@ -467,7 +467,7 @@ fn lexicon_doc_social_pace_goal_ring() -> ::jacquard_lexicon::lexicon::LexiconDo defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -479,13 +479,13 @@ fn lexicon_doc_social_pace_goal_ring() -> ::jacquard_lexicon::lexicon::LexiconDo description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("move"), - ::jacquard_common::smol_str::SmolStr::new_static("moveGoal"), - ::jacquard_common::smol_str::SmolStr::new_static("exercise"), - ::jacquard_common::smol_str::SmolStr::new_static("exerciseGoal"), - ::jacquard_common::smol_str::SmolStr::new_static("standHours"), - ::jacquard_common::smol_str::SmolStr::new_static("standGoal"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("move"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("moveGoal"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("exercise"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("exerciseGoal"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("standHours"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("standGoal"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -493,7 +493,7 @@ fn lexicon_doc_social_pace_goal_ring() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -512,7 +512,7 @@ fn lexicon_doc_social_pace_goal_ring() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "exercise", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -525,7 +525,7 @@ fn lexicon_doc_social_pace_goal_ring() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "exerciseGoal", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -538,7 +538,9 @@ fn lexicon_doc_social_pace_goal_ring() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("move"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "move", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -549,7 +551,7 @@ fn lexicon_doc_social_pace_goal_ring() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "moveGoal", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -562,7 +564,7 @@ fn lexicon_doc_social_pace_goal_ring() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "standGoal", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -575,7 +577,7 @@ fn lexicon_doc_social_pace_goal_ring() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "standHours", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { diff --git a/crates/jacquard-api/src/social_pace/goal/step.rs b/crates/jacquard-api/src/social_pace/goal/step.rs index 404d64526..752b2d944 100644 --- a/crates/jacquard-api/src/social_pace/goal/step.rs +++ b/crates/jacquard-api/src/social_pace/goal/step.rs @@ -190,7 +190,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Step<'a> { @@ -292,7 +292,7 @@ fn lexicon_doc_social_pace_goal_step() -> ::jacquard_lexicon::lexicon::LexiconDo defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -304,9 +304,9 @@ fn lexicon_doc_social_pace_goal_step() -> ::jacquard_lexicon::lexicon::LexiconDo description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("steps"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt"), - ::jacquard_common::smol_str::SmolStr::new_static("updatedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("steps"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("updatedAt") ], ), nullable: None, @@ -314,7 +314,7 @@ fn lexicon_doc_social_pace_goal_step() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -337,7 +337,9 @@ fn lexicon_doc_social_pace_goal_step() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("steps"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "steps", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -348,7 +350,7 @@ fn lexicon_doc_social_pace_goal_step() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/social_pmsky/proposal.rs b/crates/jacquard-api/src/social_pmsky/proposal.rs index f3717c572..3785137d2 100644 --- a/crates/jacquard-api/src/social_pmsky/proposal.rs +++ b/crates/jacquard-api/src/social_pmsky/proposal.rs @@ -38,7 +38,7 @@ pub struct Proposal<'a> { /// Signature of dag-cbor encoded proposal. #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(default, with = "jacquard_common::opt_serde_bytes_helper")] - pub sig: std::option::Option, + pub sig: std::option::Option, /// DID of the actor who created this proposal. #[serde(borrow)] pub src: jacquard_common::types::string::Did<'a>, @@ -66,85 +66,85 @@ pub mod proposal_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Val; type Typ; - type Src; + type Val; type Cts; type Uri; + type Src; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Val = Unset; type Typ = Unset; - type Src = Unset; + type Val = Unset; type Cts = Unset; type Uri = Unset; - } - ///State transition - sets the `val` field to Set - pub struct SetVal(PhantomData S>); - impl sealed::Sealed for SetVal {} - impl State for SetVal { - type Val = Set; - type Typ = S::Typ; - type Src = S::Src; - type Cts = S::Cts; - type Uri = S::Uri; + type Src = Unset; } ///State transition - sets the `typ` field to Set pub struct SetTyp(PhantomData S>); impl sealed::Sealed for SetTyp {} impl State for SetTyp { - type Val = S::Val; type Typ = Set; - type Src = S::Src; + type Val = S::Val; type Cts = S::Cts; type Uri = S::Uri; + type Src = S::Src; } - ///State transition - sets the `src` field to Set - pub struct SetSrc(PhantomData S>); - impl sealed::Sealed for SetSrc {} - impl State for SetSrc { - type Val = S::Val; + ///State transition - sets the `val` field to Set + pub struct SetVal(PhantomData S>); + impl sealed::Sealed for SetVal {} + impl State for SetVal { type Typ = S::Typ; - type Src = Set; + type Val = Set; type Cts = S::Cts; type Uri = S::Uri; + type Src = S::Src; } ///State transition - sets the `cts` field to Set pub struct SetCts(PhantomData S>); impl sealed::Sealed for SetCts {} impl State for SetCts { - type Val = S::Val; type Typ = S::Typ; - type Src = S::Src; + type Val = S::Val; type Cts = Set; type Uri = S::Uri; + type Src = S::Src; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { - type Val = S::Val; type Typ = S::Typ; - type Src = S::Src; + type Val = S::Val; type Cts = S::Cts; type Uri = Set; + type Src = S::Src; + } + ///State transition - sets the `src` field to Set + pub struct SetSrc(PhantomData S>); + impl sealed::Sealed for SetSrc {} + impl State for SetSrc { + type Typ = S::Typ; + type Val = S::Val; + type Cts = S::Cts; + type Uri = S::Uri; + type Src = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `val` field - pub struct val(()); ///Marker type for the `typ` field pub struct typ(()); - ///Marker type for the `src` field - pub struct src(()); + ///Marker type for the `val` field + pub struct val(()); ///Marker type for the `cts` field pub struct cts(()); ///Marker type for the `uri` field pub struct uri(()); + ///Marker type for the `src` field + pub struct src(()); } } @@ -157,7 +157,7 @@ pub struct ProposalBuilder<'a, S: proposal_state::State> { ::core::option::Option, ::core::option::Option>, ::core::option::Option>>, - ::core::option::Option, + ::core::option::Option, ::core::option::Option>, ::core::option::Option>, ::core::option::Option>, @@ -285,12 +285,18 @@ impl<'a, S: proposal_state::State> ProposalBuilder<'a, S> { impl<'a, S: proposal_state::State> ProposalBuilder<'a, S> { /// Set the `sig` field (optional) - pub fn sig(mut self, value: impl Into>) -> Self { + pub fn sig( + mut self, + value: impl Into>, + ) -> Self { self.__unsafe_private_named.5 = value.into(); self } /// Set the `sig` field to an Option value (optional) - pub fn maybe_sig(mut self, value: Option) -> Self { + pub fn maybe_sig( + mut self, + value: Option, + ) -> Self { self.__unsafe_private_named.5 = value; self } @@ -388,11 +394,11 @@ impl<'a, S: proposal_state::State> ProposalBuilder<'a, S> { impl<'a, S> ProposalBuilder<'a, S> where S: proposal_state::State, - S::Val: proposal_state::IsSet, S::Typ: proposal_state::IsSet, - S::Src: proposal_state::IsSet, + S::Val: proposal_state::IsSet, S::Cts: proposal_state::IsSet, S::Uri: proposal_state::IsSet, + S::Src: proposal_state::IsSet, { /// Build the final struct pub fn build(self) -> Proposal<'a> { @@ -415,7 +421,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Proposal<'a> { @@ -538,7 +544,7 @@ fn lexicon_doc_social_pmsky_proposal() -> ::jacquard_lexicon::lexicon::LexiconDo defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -550,11 +556,11 @@ fn lexicon_doc_social_pmsky_proposal() -> ::jacquard_lexicon::lexicon::LexiconDo ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("typ"), - ::jacquard_common::smol_str::SmolStr::new_static("src"), - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("val"), - ::jacquard_common::smol_str::SmolStr::new_static("cts") + ::jacquard_common::deps::smol_str::SmolStr::new_static("typ"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("src"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("val"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cts") ], ), nullable: None, @@ -562,7 +568,9 @@ fn lexicon_doc_social_pmsky_proposal() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("aid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "aid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -581,7 +589,9 @@ fn lexicon_doc_social_pmsky_proposal() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -602,7 +612,9 @@ fn lexicon_doc_social_pmsky_proposal() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cts"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cts", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -623,7 +635,9 @@ fn lexicon_doc_social_pmsky_proposal() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("note"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "note", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -642,7 +656,9 @@ fn lexicon_doc_social_pmsky_proposal() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reasons"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reasons", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -666,7 +682,9 @@ fn lexicon_doc_social_pmsky_proposal() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sig"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sig", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Bytes(::jacquard_lexicon::lexicon::LexBytes { description: None, max_length: None, @@ -674,7 +692,9 @@ fn lexicon_doc_social_pmsky_proposal() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("src"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "src", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -695,7 +715,9 @@ fn lexicon_doc_social_pmsky_proposal() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("typ"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "typ", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -714,7 +736,9 @@ fn lexicon_doc_social_pmsky_proposal() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -735,7 +759,9 @@ fn lexicon_doc_social_pmsky_proposal() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("val"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "val", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -754,7 +780,9 @@ fn lexicon_doc_social_pmsky_proposal() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("ver"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "ver", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, diff --git a/crates/jacquard-api/src/social_pmsky/vote.rs b/crates/jacquard-api/src/social_pmsky/vote.rs index 6b9c308ef..10f6af1d8 100644 --- a/crates/jacquard-api/src/social_pmsky/vote.rs +++ b/crates/jacquard-api/src/social_pmsky/vote.rs @@ -34,7 +34,7 @@ pub struct Vote<'a> { /// Signature of dag-cbor encoded vote. #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(default, with = "jacquard_common::opt_serde_bytes_helper")] - pub sig: std::option::Option, + pub sig: std::option::Option, /// the account creating the vote, not necessarily the same as the user who voted #[serde(borrow)] pub src: jacquard_common::types::string::Did<'a>, @@ -55,65 +55,65 @@ pub mod vote_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Src; type Val; type Uri; - type Src; type Cts; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Src = Unset; type Val = Unset; type Uri = Unset; - type Src = Unset; type Cts = Unset; } + ///State transition - sets the `src` field to Set + pub struct SetSrc(PhantomData S>); + impl sealed::Sealed for SetSrc {} + impl State for SetSrc { + type Src = Set; + type Val = S::Val; + type Uri = S::Uri; + type Cts = S::Cts; + } ///State transition - sets the `val` field to Set pub struct SetVal(PhantomData S>); impl sealed::Sealed for SetVal {} impl State for SetVal { + type Src = S::Src; type Val = Set; type Uri = S::Uri; - type Src = S::Src; type Cts = S::Cts; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { - type Val = S::Val; - type Uri = Set; type Src = S::Src; - type Cts = S::Cts; - } - ///State transition - sets the `src` field to Set - pub struct SetSrc(PhantomData S>); - impl sealed::Sealed for SetSrc {} - impl State for SetSrc { type Val = S::Val; - type Uri = S::Uri; - type Src = Set; + type Uri = Set; type Cts = S::Cts; } ///State transition - sets the `cts` field to Set pub struct SetCts(PhantomData S>); impl sealed::Sealed for SetCts {} impl State for SetCts { + type Src = S::Src; type Val = S::Val; type Uri = S::Uri; - type Src = S::Src; type Cts = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `src` field + pub struct src(()); ///Marker type for the `val` field pub struct val(()); ///Marker type for the `uri` field pub struct uri(()); - ///Marker type for the `src` field - pub struct src(()); ///Marker type for the `cts` field pub struct cts(()); } @@ -127,7 +127,7 @@ pub struct VoteBuilder<'a, S: vote_state::State> { ::core::option::Option>, ::core::option::Option, ::core::option::Option>>, - ::core::option::Option, + ::core::option::Option, ::core::option::Option>, ::core::option::Option>, ::core::option::Option, @@ -225,12 +225,18 @@ impl<'a, S: vote_state::State> VoteBuilder<'a, S> { impl<'a, S: vote_state::State> VoteBuilder<'a, S> { /// Set the `sig` field (optional) - pub fn sig(mut self, value: impl Into>) -> Self { + pub fn sig( + mut self, + value: impl Into>, + ) -> Self { self.__unsafe_private_named.4 = value.into(); self } /// Set the `sig` field to an Option value (optional) - pub fn maybe_sig(mut self, value: Option) -> Self { + pub fn maybe_sig( + mut self, + value: Option, + ) -> Self { self.__unsafe_private_named.4 = value; self } @@ -296,9 +302,9 @@ where impl<'a, S> VoteBuilder<'a, S> where S: vote_state::State, + S::Src: vote_state::IsSet, S::Val: vote_state::IsSet, S::Uri: vote_state::IsSet, - S::Src: vote_state::IsSet, S::Cts: vote_state::IsSet, { /// Build the final struct @@ -319,7 +325,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Vote<'a> { @@ -424,7 +430,7 @@ fn lexicon_doc_social_pmsky_vote() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -436,10 +442,10 @@ fn lexicon_doc_social_pmsky_vote() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("src"), - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("val"), - ::jacquard_common::smol_str::SmolStr::new_static("cts") + ::jacquard_common::deps::smol_str::SmolStr::new_static("src"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("val"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cts") ], ), nullable: None, @@ -447,7 +453,9 @@ fn lexicon_doc_social_pmsky_vote() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("aid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "aid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -466,7 +474,9 @@ fn lexicon_doc_social_pmsky_vote() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -487,7 +497,9 @@ fn lexicon_doc_social_pmsky_vote() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cts"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cts", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -508,7 +520,9 @@ fn lexicon_doc_social_pmsky_vote() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reasons"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reasons", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -532,7 +546,9 @@ fn lexicon_doc_social_pmsky_vote() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sig"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sig", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Bytes(::jacquard_lexicon::lexicon::LexBytes { description: None, max_length: None, @@ -540,7 +556,9 @@ fn lexicon_doc_social_pmsky_vote() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("src"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "src", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -561,7 +579,9 @@ fn lexicon_doc_social_pmsky_vote() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -582,7 +602,9 @@ fn lexicon_doc_social_pmsky_vote() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("val"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "val", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, diff --git a/crates/jacquard-api/src/social_psky/actor/profile.rs b/crates/jacquard-api/src/social_psky/actor/profile.rs index 55c816c32..88230fc3d 100644 --- a/crates/jacquard-api/src/social_psky/actor/profile.rs +++ b/crates/jacquard-api/src/social_psky/actor/profile.rs @@ -98,7 +98,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Profile<'a> { @@ -197,7 +197,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Profile<'a> { } if let Some(ref value) = self.nickname { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -228,7 +228,7 @@ fn lexicon_doc_social_psky_actor_profile() -> ::jacquard_lexicon::lexicon::Lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -244,7 +244,7 @@ fn lexicon_doc_social_psky_actor_profile() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "nickname", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/social_psky/chat/message.rs b/crates/jacquard-api/src/social_psky/chat/message.rs index d6e4158ad..557391a57 100644 --- a/crates/jacquard-api/src/social_psky/chat/message.rs +++ b/crates/jacquard-api/src/social_psky/chat/message.rs @@ -202,7 +202,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Message<'a> { @@ -306,7 +306,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Message<'a> { { let value = &self.content; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -337,7 +337,7 @@ fn lexicon_doc_social_psky_chat_message() -> ::jacquard_lexicon::lexicon::Lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -349,8 +349,8 @@ fn lexicon_doc_social_psky_chat_message() -> ::jacquard_lexicon::lexicon::Lexico description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("content"), - ::jacquard_common::smol_str::SmolStr::new_static("room") + ::jacquard_common::deps::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("room") ], ), nullable: None, @@ -358,7 +358,9 @@ fn lexicon_doc_social_psky_chat_message() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "content", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Text content."), @@ -375,7 +377,9 @@ fn lexicon_doc_social_psky_chat_message() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("facets"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "facets", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -393,7 +397,9 @@ fn lexicon_doc_social_psky_chat_message() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reply"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reply", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -402,7 +408,9 @@ fn lexicon_doc_social_psky_chat_message() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("room"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "room", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( diff --git a/crates/jacquard-api/src/social_psky/chat/room.rs b/crates/jacquard-api/src/social_psky/chat/room.rs index 1e11ac53b..6dd39a781 100644 --- a/crates/jacquard-api/src/social_psky/chat/room.rs +++ b/crates/jacquard-api/src/social_psky/chat/room.rs @@ -235,7 +235,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Room<'a> { @@ -353,7 +353,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Room<'a> { { let value = &self.name; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -395,7 +395,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Room<'a> { } if let Some(ref value) = self.topic { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -426,7 +426,7 @@ fn lexicon_doc_social_psky_chat_room() -> ::jacquard_lexicon::lexicon::LexiconDo defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -438,7 +438,7 @@ fn lexicon_doc_social_psky_chat_room() -> ::jacquard_lexicon::lexicon::LexiconDo description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name") ], ), nullable: None, @@ -446,7 +446,7 @@ fn lexicon_doc_social_psky_chat_room() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "allowlist", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -455,7 +455,7 @@ fn lexicon_doc_social_psky_chat_room() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "denylist", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -464,7 +464,7 @@ fn lexicon_doc_social_psky_chat_room() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "languages", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -488,7 +488,9 @@ fn lexicon_doc_social_psky_chat_room() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -503,7 +505,9 @@ fn lexicon_doc_social_psky_chat_room() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tags", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::String(::jacquard_lexicon::lexicon::LexString { @@ -523,7 +527,9 @@ fn lexicon_doc_social_psky_chat_room() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("topic"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "topic", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -547,13 +553,13 @@ fn lexicon_doc_social_psky_chat_room() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("modlistRef"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("modlistRef"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("active"), - ::jacquard_common::smol_str::SmolStr::new_static("users") + ::jacquard_common::deps::smol_str::SmolStr::new_static("active"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("users") ], ), nullable: None, @@ -561,7 +567,9 @@ fn lexicon_doc_social_psky_chat_room() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("active"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "active", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -569,7 +577,9 @@ fn lexicon_doc_social_psky_chat_room() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("users"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "users", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::String(::jacquard_lexicon::lexicon::LexString { @@ -626,37 +636,37 @@ pub mod modlist_ref_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Users; type Active; + type Users; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Users = Unset; type Active = Unset; - } - ///State transition - sets the `users` field to Set - pub struct SetUsers(PhantomData S>); - impl sealed::Sealed for SetUsers {} - impl State for SetUsers { - type Users = Set; - type Active = S::Active; + type Users = Unset; } ///State transition - sets the `active` field to Set pub struct SetActive(PhantomData S>); impl sealed::Sealed for SetActive {} impl State for SetActive { - type Users = S::Users; type Active = Set; + type Users = S::Users; + } + ///State transition - sets the `users` field to Set + pub struct SetUsers(PhantomData S>); + impl sealed::Sealed for SetUsers {} + impl State for SetUsers { + type Active = S::Active; + type Users = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `users` field - pub struct users(()); ///Marker type for the `active` field pub struct active(()); + ///Marker type for the `users` field + pub struct users(()); } } @@ -729,8 +739,8 @@ where impl<'a, S> ModlistRefBuilder<'a, S> where S: modlist_ref_state::State, - S::Users: modlist_ref_state::IsSet, S::Active: modlist_ref_state::IsSet, + S::Users: modlist_ref_state::IsSet, { /// Build the final struct pub fn build(self) -> ModlistRef<'a> { @@ -744,7 +754,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ModlistRef<'a> { diff --git a/crates/jacquard-api/src/social_psky/richtext/facet.rs b/crates/jacquard-api/src/social_psky/richtext/facet.rs index 4a058ad62..585291e64 100644 --- a/crates/jacquard-api/src/social_psky/richtext/facet.rs +++ b/crates/jacquard-api/src/social_psky/richtext/facet.rs @@ -147,7 +147,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ByteSlice<'a> { @@ -170,7 +170,7 @@ fn lexicon_doc_social_psky_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("byteSlice"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("byteSlice"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -179,8 +179,8 @@ fn lexicon_doc_social_psky_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexi ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("byteStart"), - ::jacquard_common::smol_str::SmolStr::new_static("byteEnd") + ::jacquard_common::deps::smol_str::SmolStr::new_static("byteStart"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("byteEnd") ], ), nullable: None, @@ -188,7 +188,9 @@ fn lexicon_doc_social_psky_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("byteEnd"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "byteEnd", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -199,7 +201,7 @@ fn lexicon_doc_social_psky_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "byteStart", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -216,7 +218,7 @@ fn lexicon_doc_social_psky_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("link"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("link"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -224,14 +226,18 @@ fn lexicon_doc_social_psky_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexi ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("uri")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -252,7 +258,7 @@ fn lexicon_doc_social_psky_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -261,8 +267,8 @@ fn lexicon_doc_social_psky_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexi ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("index"), - ::jacquard_common::smol_str::SmolStr::new_static("features") + ::jacquard_common::deps::smol_str::SmolStr::new_static("index"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("features") ], ), nullable: None, @@ -270,7 +276,9 @@ fn lexicon_doc_social_psky_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("features"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "features", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -287,7 +295,9 @@ fn lexicon_doc_social_psky_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("index"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "index", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#byteSlice"), @@ -298,7 +308,7 @@ fn lexicon_doc_social_psky_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("mention"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("mention"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -306,14 +316,18 @@ fn lexicon_doc_social_psky_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexi ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("did")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("did") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -334,7 +348,7 @@ fn lexicon_doc_social_psky_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("room"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("room"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -342,14 +356,18 @@ fn lexicon_doc_social_psky_richtext_facet() -> ::jacquard_lexicon::lexicon::Lexi ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("room")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("room") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("room"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "room", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -524,7 +542,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Link<'a> { @@ -699,7 +717,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Facet<'a> { @@ -860,7 +878,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Mention<'a> { @@ -935,7 +953,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Room<'a> { { let value = &self.room; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) diff --git a/crates/jacquard-api/src/social_showcase.rs b/crates/jacquard-api/src/social_showcase.rs index ef255114d..0e4ac3b62 100644 --- a/crates/jacquard-api/src/social_showcase.rs +++ b/crates/jacquard-api/src/social_showcase.rs @@ -197,7 +197,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ActivitySettings<'a> { @@ -319,7 +319,9 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("activitySettings"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "activitySettings", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -328,9 +330,9 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("shareNewItems"), - ::jacquard_common::smol_str::SmolStr::new_static("shareActivity"), - ::jacquard_common::smol_str::SmolStr::new_static("retentionDays") + ::jacquard_common::deps::smol_str::SmolStr::new_static("shareNewItems"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("shareActivity"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("retentionDays") ], ), nullable: None, @@ -338,7 +340,7 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "retentionDays", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -351,7 +353,7 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "shareActivity", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -372,7 +374,7 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "shareNewItems", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -386,7 +388,7 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("aspectRatio"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("aspectRatio"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static("Image aspect ratio"), @@ -397,7 +399,9 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("height"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "height", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -408,7 +412,9 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("width"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "width", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -423,7 +429,7 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("collectionItem"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("collectionItem"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -432,9 +438,9 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("addedAt"), - ::jacquard_common::smol_str::SmolStr::new_static("order") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("addedAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("order") ], ), nullable: None, @@ -442,7 +448,9 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("addedAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "addedAt", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -459,7 +467,9 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("order"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "order", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -470,7 +480,9 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -493,7 +505,7 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("collectionView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("collectionView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -502,14 +514,14 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("cid"), - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("tags"), - ::jacquard_common::smol_str::SmolStr::new_static("type"), - ::jacquard_common::smol_str::SmolStr::new_static("visibility"), - ::jacquard_common::smol_str::SmolStr::new_static("author"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("visibility"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -517,14 +529,18 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "author", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#profileView"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -541,7 +557,7 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "coverImage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { @@ -551,7 +567,7 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -570,7 +586,7 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -587,7 +603,7 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "itemCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -600,7 +616,9 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("items"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "items", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -612,7 +630,9 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -627,7 +647,9 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tags", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::String(::jacquard_lexicon::lexicon::LexString { @@ -647,7 +669,9 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "type", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -662,7 +686,7 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -681,7 +705,9 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -698,7 +724,7 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "visibility", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -719,7 +745,9 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("displaySettings"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "displaySettings", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static("Display preferences"), @@ -730,7 +758,7 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "gridLayout", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -747,7 +775,9 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("theme"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "theme", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -766,7 +796,7 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("itemImage"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("itemImage"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -774,14 +804,18 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("blob")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("blob") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("alt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "alt", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -800,7 +834,7 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "aspectRatio", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -809,7 +843,9 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("blob"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "blob", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -821,7 +857,7 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("itemView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("itemView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -830,14 +866,14 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("cid"), - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("tags"), - ::jacquard_common::smol_str::SmolStr::new_static("images"), - ::jacquard_common::smol_str::SmolStr::new_static("visibility"), - ::jacquard_common::smol_str::SmolStr::new_static("author"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("images"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("visibility"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -845,14 +881,18 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "author", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#profileView"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("category"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "category", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -867,7 +907,9 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -884,7 +926,7 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -903,7 +945,7 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -920,7 +962,7 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "externalLink", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -939,7 +981,9 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("images"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "images", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -951,13 +995,15 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("metadata"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "metadata", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "reactionCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -970,7 +1016,9 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tags", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::String(::jacquard_lexicon::lexicon::LexString { @@ -990,7 +1038,9 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -1005,7 +1055,7 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1024,7 +1074,9 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -1041,7 +1093,7 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "visibility", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1062,16 +1114,18 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("notificationSettings"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "notificationSettings", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static("Notification preferences"), ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("reactions"), - ::jacquard_common::smol_str::SmolStr::new_static("follows"), - ::jacquard_common::smol_str::SmolStr::new_static("comments") + ::jacquard_common::deps::smol_str::SmolStr::new_static("reactions"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("follows"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("comments") ], ), nullable: None, @@ -1079,7 +1133,9 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("comments"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "comments", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -1087,7 +1143,9 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("follows"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "follows", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -1095,7 +1153,7 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "reactions", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -1109,16 +1167,18 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("privacySettings"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "privacySettings", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static("Privacy preferences"), ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("allowReactions"), - ::jacquard_common::smol_str::SmolStr::new_static("allowComments"), - ::jacquard_common::smol_str::SmolStr::new_static("indexable") + ::jacquard_common::deps::smol_str::SmolStr::new_static("allowReactions"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("allowComments"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("indexable") ], ), nullable: None, @@ -1126,7 +1186,7 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "allowComments", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -1136,7 +1196,7 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "allowReactions", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -1146,7 +1206,7 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "indexable", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -1160,15 +1220,15 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("profileView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("profileView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static("View of a user profile"), ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("did"), - ::jacquard_common::smol_str::SmolStr::new_static("handle") + ::jacquard_common::deps::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("handle") ], ), nullable: None, @@ -1176,7 +1236,9 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("avatar"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "avatar", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -1184,7 +1246,9 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("banner"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "banner", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -1192,7 +1256,9 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -1207,7 +1273,7 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "displayName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1224,7 +1290,9 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("handle"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "handle", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -1239,7 +1307,9 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tags", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::String(::jacquard_lexicon::lexicon::LexString { @@ -1263,15 +1333,17 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reactionSubject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reactionSubject", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static("Subject of a reaction"), ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("cid") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid") ], ), nullable: None, @@ -1279,7 +1351,9 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -1296,7 +1370,9 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -1317,7 +1393,7 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reactionView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("reactionView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -1326,11 +1402,11 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("actor"), - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("type"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("actor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -1338,14 +1414,16 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("actor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "actor", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#profileView"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1364,7 +1442,9 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -1373,7 +1453,9 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "type", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Emoji shortcode"), @@ -1390,7 +1472,9 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -1411,7 +1495,7 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("showcaseItem"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("showcaseItem"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -1420,9 +1504,9 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("addedAt"), - ::jacquard_common::smol_str::SmolStr::new_static("order") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("addedAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("order") ], ), nullable: None, @@ -1430,7 +1514,9 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("addedAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "addedAt", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -1447,7 +1533,9 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("order"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "order", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -1458,7 +1546,9 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1483,16 +1573,18 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("visibilitySettings"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "visibilitySettings", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static("Visibility preferences"), ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("profileVisibility"), - ::jacquard_common::smol_str::SmolStr::new_static("defaultItemVisibility"), - ::jacquard_common::smol_str::SmolStr::new_static("defaultCollectionVisibility") + ::jacquard_common::deps::smol_str::SmolStr::new_static("profileVisibility"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("defaultItemVisibility"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("defaultCollectionVisibility") ], ), nullable: None, @@ -1500,7 +1592,7 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "defaultCollectionVisibility", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1517,7 +1609,7 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "defaultItemVisibility", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1534,7 +1626,7 @@ fn lexicon_doc_social_showcase_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "profileVisibility", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1679,51 +1771,51 @@ pub mod collection_item_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Order; type Uri; type AddedAt; - type Order; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Order = Unset; type Uri = Unset; type AddedAt = Unset; - type Order = Unset; + } + ///State transition - sets the `order` field to Set + pub struct SetOrder(PhantomData S>); + impl sealed::Sealed for SetOrder {} + impl State for SetOrder { + type Order = Set; + type Uri = S::Uri; + type AddedAt = S::AddedAt; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { + type Order = S::Order; type Uri = Set; type AddedAt = S::AddedAt; - type Order = S::Order; } ///State transition - sets the `added_at` field to Set pub struct SetAddedAt(PhantomData S>); impl sealed::Sealed for SetAddedAt {} impl State for SetAddedAt { - type Uri = S::Uri; - type AddedAt = Set; type Order = S::Order; - } - ///State transition - sets the `order` field to Set - pub struct SetOrder(PhantomData S>); - impl sealed::Sealed for SetOrder {} - impl State for SetOrder { type Uri = S::Uri; - type AddedAt = S::AddedAt; - type Order = Set; + type AddedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `order` field + pub struct order(()); ///Marker type for the `uri` field pub struct uri(()); ///Marker type for the `added_at` field pub struct added_at(()); - ///Marker type for the `order` field - pub struct order(()); } } @@ -1816,9 +1908,9 @@ where impl<'a, S> CollectionItemBuilder<'a, S> where S: collection_item_state::State, + S::Order: collection_item_state::IsSet, S::Uri: collection_item_state::IsSet, S::AddedAt: collection_item_state::IsSet, - S::Order: collection_item_state::IsSet, { /// Build the final struct pub fn build(self) -> CollectionItem<'a> { @@ -1833,7 +1925,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> CollectionItem<'a> { @@ -1929,151 +2021,151 @@ pub mod collection_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Cid; - type Type; - type Visibility; + type Name; type Uri; type Author; - type Name; type Tags; + type Visibility; type CreatedAt; + type Cid; + type Type; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Cid = Unset; - type Type = Unset; - type Visibility = Unset; + type Name = Unset; type Uri = Unset; type Author = Unset; - type Name = Unset; type Tags = Unset; + type Visibility = Unset; type CreatedAt = Unset; + type Cid = Unset; + type Type = Unset; } - ///State transition - sets the `cid` field to Set - pub struct SetCid(PhantomData S>); - impl sealed::Sealed for SetCid {} - impl State for SetCid { - type Cid = Set; - type Type = S::Type; - type Visibility = S::Visibility; + ///State transition - sets the `name` field to Set + pub struct SetName(PhantomData S>); + impl sealed::Sealed for SetName {} + impl State for SetName { + type Name = Set; type Uri = S::Uri; type Author = S::Author; - type Name = S::Name; type Tags = S::Tags; - type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `type` field to Set - pub struct SetType(PhantomData S>); - impl sealed::Sealed for SetType {} - impl State for SetType { - type Cid = S::Cid; - type Type = Set; type Visibility = S::Visibility; - type Uri = S::Uri; - type Author = S::Author; - type Name = S::Name; - type Tags = S::Tags; type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `visibility` field to Set - pub struct SetVisibility(PhantomData S>); - impl sealed::Sealed for SetVisibility {} - impl State for SetVisibility { type Cid = S::Cid; type Type = S::Type; - type Visibility = Set; - type Uri = S::Uri; - type Author = S::Author; - type Name = S::Name; - type Tags = S::Tags; - type CreatedAt = S::CreatedAt; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { - type Cid = S::Cid; - type Type = S::Type; - type Visibility = S::Visibility; + type Name = S::Name; type Uri = Set; type Author = S::Author; - type Name = S::Name; type Tags = S::Tags; + type Visibility = S::Visibility; type CreatedAt = S::CreatedAt; + type Cid = S::Cid; + type Type = S::Type; } ///State transition - sets the `author` field to Set pub struct SetAuthor(PhantomData S>); impl sealed::Sealed for SetAuthor {} impl State for SetAuthor { - type Cid = S::Cid; - type Type = S::Type; - type Visibility = S::Visibility; + type Name = S::Name; type Uri = S::Uri; type Author = Set; - type Name = S::Name; type Tags = S::Tags; + type Visibility = S::Visibility; type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `name` field to Set - pub struct SetName(PhantomData S>); - impl sealed::Sealed for SetName {} - impl State for SetName { type Cid = S::Cid; type Type = S::Type; - type Visibility = S::Visibility; - type Uri = S::Uri; - type Author = S::Author; - type Name = Set; - type Tags = S::Tags; - type CreatedAt = S::CreatedAt; } ///State transition - sets the `tags` field to Set pub struct SetTags(PhantomData S>); impl sealed::Sealed for SetTags {} impl State for SetTags { + type Name = S::Name; + type Uri = S::Uri; + type Author = S::Author; + type Tags = Set; + type Visibility = S::Visibility; + type CreatedAt = S::CreatedAt; type Cid = S::Cid; type Type = S::Type; - type Visibility = S::Visibility; + } + ///State transition - sets the `visibility` field to Set + pub struct SetVisibility(PhantomData S>); + impl sealed::Sealed for SetVisibility {} + impl State for SetVisibility { + type Name = S::Name; type Uri = S::Uri; type Author = S::Author; - type Name = S::Name; - type Tags = Set; + type Tags = S::Tags; + type Visibility = Set; type CreatedAt = S::CreatedAt; + type Cid = S::Cid; + type Type = S::Type; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { + type Name = S::Name; + type Uri = S::Uri; + type Author = S::Author; + type Tags = S::Tags; + type Visibility = S::Visibility; + type CreatedAt = Set; type Cid = S::Cid; type Type = S::Type; - type Visibility = S::Visibility; + } + ///State transition - sets the `cid` field to Set + pub struct SetCid(PhantomData S>); + impl sealed::Sealed for SetCid {} + impl State for SetCid { + type Name = S::Name; type Uri = S::Uri; type Author = S::Author; + type Tags = S::Tags; + type Visibility = S::Visibility; + type CreatedAt = S::CreatedAt; + type Cid = Set; + type Type = S::Type; + } + ///State transition - sets the `type` field to Set + pub struct SetType(PhantomData S>); + impl sealed::Sealed for SetType {} + impl State for SetType { type Name = S::Name; + type Uri = S::Uri; + type Author = S::Author; type Tags = S::Tags; - type CreatedAt = Set; + type Visibility = S::Visibility; + type CreatedAt = S::CreatedAt; + type Cid = S::Cid; + type Type = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `cid` field - pub struct cid(()); - ///Marker type for the `type` field - pub struct r#type(()); - ///Marker type for the `visibility` field - pub struct visibility(()); + ///Marker type for the `name` field + pub struct name(()); ///Marker type for the `uri` field pub struct uri(()); ///Marker type for the `author` field pub struct author(()); - ///Marker type for the `name` field - pub struct name(()); ///Marker type for the `tags` field pub struct tags(()); + ///Marker type for the `visibility` field + pub struct visibility(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `cid` field + pub struct cid(()); + ///Marker type for the `type` field + pub struct r#type(()); } } @@ -2374,14 +2466,14 @@ where impl<'a, S> CollectionViewBuilder<'a, S> where S: collection_view_state::State, - S::Cid: collection_view_state::IsSet, - S::Type: collection_view_state::IsSet, - S::Visibility: collection_view_state::IsSet, + S::Name: collection_view_state::IsSet, S::Uri: collection_view_state::IsSet, S::Author: collection_view_state::IsSet, - S::Name: collection_view_state::IsSet, S::Tags: collection_view_state::IsSet, + S::Visibility: collection_view_state::IsSet, S::CreatedAt: collection_view_state::IsSet, + S::Cid: collection_view_state::IsSet, + S::Type: collection_view_state::IsSet, { /// Build the final struct pub fn build(self) -> CollectionView<'a> { @@ -2406,7 +2498,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> CollectionView<'a> { @@ -2899,7 +2991,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ItemImage<'a> { @@ -2997,149 +3089,149 @@ pub mod item_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Title; - type Tags; + type Uri; type Visibility; + type Cid; + type Title; type CreatedAt; type Author; - type Uri; - type Cid; + type Tags; type Images; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Title = Unset; - type Tags = Unset; + type Uri = Unset; type Visibility = Unset; + type Cid = Unset; + type Title = Unset; type CreatedAt = Unset; type Author = Unset; - type Uri = Unset; - type Cid = Unset; + type Tags = Unset; type Images = Unset; } - ///State transition - sets the `title` field to Set - pub struct SetTitle(PhantomData S>); - impl sealed::Sealed for SetTitle {} - impl State for SetTitle { - type Title = Set; - type Tags = S::Tags; + ///State transition - sets the `uri` field to Set + pub struct SetUri(PhantomData S>); + impl sealed::Sealed for SetUri {} + impl State for SetUri { + type Uri = Set; type Visibility = S::Visibility; - type CreatedAt = S::CreatedAt; - type Author = S::Author; - type Uri = S::Uri; type Cid = S::Cid; - type Images = S::Images; - } - ///State transition - sets the `tags` field to Set - pub struct SetTags(PhantomData S>); - impl sealed::Sealed for SetTags {} - impl State for SetTags { type Title = S::Title; - type Tags = Set; - type Visibility = S::Visibility; type CreatedAt = S::CreatedAt; type Author = S::Author; - type Uri = S::Uri; - type Cid = S::Cid; + type Tags = S::Tags; type Images = S::Images; } ///State transition - sets the `visibility` field to Set pub struct SetVisibility(PhantomData S>); impl sealed::Sealed for SetVisibility {} impl State for SetVisibility { + type Uri = S::Uri; + type Visibility = Set; + type Cid = S::Cid; type Title = S::Title; + type CreatedAt = S::CreatedAt; + type Author = S::Author; type Tags = S::Tags; - type Visibility = Set; + type Images = S::Images; + } + ///State transition - sets the `cid` field to Set + pub struct SetCid(PhantomData S>); + impl sealed::Sealed for SetCid {} + impl State for SetCid { + type Uri = S::Uri; + type Visibility = S::Visibility; + type Cid = Set; + type Title = S::Title; type CreatedAt = S::CreatedAt; type Author = S::Author; + type Tags = S::Tags; + type Images = S::Images; + } + ///State transition - sets the `title` field to Set + pub struct SetTitle(PhantomData S>); + impl sealed::Sealed for SetTitle {} + impl State for SetTitle { type Uri = S::Uri; + type Visibility = S::Visibility; type Cid = S::Cid; + type Title = Set; + type CreatedAt = S::CreatedAt; + type Author = S::Author; + type Tags = S::Tags; type Images = S::Images; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Title = S::Title; - type Tags = S::Tags; + type Uri = S::Uri; type Visibility = S::Visibility; + type Cid = S::Cid; + type Title = S::Title; type CreatedAt = Set; type Author = S::Author; - type Uri = S::Uri; - type Cid = S::Cid; + type Tags = S::Tags; type Images = S::Images; } ///State transition - sets the `author` field to Set pub struct SetAuthor(PhantomData S>); impl sealed::Sealed for SetAuthor {} impl State for SetAuthor { - type Title = S::Title; - type Tags = S::Tags; + type Uri = S::Uri; type Visibility = S::Visibility; + type Cid = S::Cid; + type Title = S::Title; type CreatedAt = S::CreatedAt; type Author = Set; - type Uri = S::Uri; - type Cid = S::Cid; + type Tags = S::Tags; type Images = S::Images; } - ///State transition - sets the `uri` field to Set - pub struct SetUri(PhantomData S>); - impl sealed::Sealed for SetUri {} - impl State for SetUri { - type Title = S::Title; - type Tags = S::Tags; + ///State transition - sets the `tags` field to Set + pub struct SetTags(PhantomData S>); + impl sealed::Sealed for SetTags {} + impl State for SetTags { + type Uri = S::Uri; type Visibility = S::Visibility; - type CreatedAt = S::CreatedAt; - type Author = S::Author; - type Uri = Set; type Cid = S::Cid; - type Images = S::Images; - } - ///State transition - sets the `cid` field to Set - pub struct SetCid(PhantomData S>); - impl sealed::Sealed for SetCid {} - impl State for SetCid { type Title = S::Title; - type Tags = S::Tags; - type Visibility = S::Visibility; type CreatedAt = S::CreatedAt; type Author = S::Author; - type Uri = S::Uri; - type Cid = Set; + type Tags = Set; type Images = S::Images; } ///State transition - sets the `images` field to Set pub struct SetImages(PhantomData S>); impl sealed::Sealed for SetImages {} impl State for SetImages { - type Title = S::Title; - type Tags = S::Tags; + type Uri = S::Uri; type Visibility = S::Visibility; + type Cid = S::Cid; + type Title = S::Title; type CreatedAt = S::CreatedAt; type Author = S::Author; - type Uri = S::Uri; - type Cid = S::Cid; + type Tags = S::Tags; type Images = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `title` field - pub struct title(()); - ///Marker type for the `tags` field - pub struct tags(()); + ///Marker type for the `uri` field + pub struct uri(()); ///Marker type for the `visibility` field pub struct visibility(()); + ///Marker type for the `cid` field + pub struct cid(()); + ///Marker type for the `title` field + pub struct title(()); ///Marker type for the `created_at` field pub struct created_at(()); ///Marker type for the `author` field pub struct author(()); - ///Marker type for the `uri` field - pub struct uri(()); - ///Marker type for the `cid` field - pub struct cid(()); + ///Marker type for the `tags` field + pub struct tags(()); ///Marker type for the `images` field pub struct images(()); } @@ -3460,13 +3552,13 @@ where impl<'a, S> ItemViewBuilder<'a, S> where S: item_view_state::State, - S::Title: item_view_state::IsSet, - S::Tags: item_view_state::IsSet, + S::Uri: item_view_state::IsSet, S::Visibility: item_view_state::IsSet, + S::Cid: item_view_state::IsSet, + S::Title: item_view_state::IsSet, S::CreatedAt: item_view_state::IsSet, S::Author: item_view_state::IsSet, - S::Uri: item_view_state::IsSet, - S::Cid: item_view_state::IsSet, + S::Tags: item_view_state::IsSet, S::Images: item_view_state::IsSet, { /// Build the final struct @@ -3493,7 +3585,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ItemView<'a> { @@ -3624,51 +3716,51 @@ pub mod notification_settings_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Reactions; - type Comments; type Follows; + type Comments; + type Reactions; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Reactions = Unset; - type Comments = Unset; type Follows = Unset; + type Comments = Unset; + type Reactions = Unset; } - ///State transition - sets the `reactions` field to Set - pub struct SetReactions(PhantomData S>); - impl sealed::Sealed for SetReactions {} - impl State for SetReactions { - type Reactions = Set; + ///State transition - sets the `follows` field to Set + pub struct SetFollows(PhantomData S>); + impl sealed::Sealed for SetFollows {} + impl State for SetFollows { + type Follows = Set; type Comments = S::Comments; - type Follows = S::Follows; + type Reactions = S::Reactions; } ///State transition - sets the `comments` field to Set pub struct SetComments(PhantomData S>); impl sealed::Sealed for SetComments {} impl State for SetComments { - type Reactions = S::Reactions; - type Comments = Set; type Follows = S::Follows; - } - ///State transition - sets the `follows` field to Set - pub struct SetFollows(PhantomData S>); - impl sealed::Sealed for SetFollows {} - impl State for SetFollows { + type Comments = Set; type Reactions = S::Reactions; + } + ///State transition - sets the `reactions` field to Set + pub struct SetReactions(PhantomData S>); + impl sealed::Sealed for SetReactions {} + impl State for SetReactions { + type Follows = S::Follows; type Comments = S::Comments; - type Follows = Set; + type Reactions = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `reactions` field - pub struct reactions(()); - ///Marker type for the `comments` field - pub struct comments(()); ///Marker type for the `follows` field pub struct follows(()); + ///Marker type for the `comments` field + pub struct comments(()); + ///Marker type for the `reactions` field + pub struct reactions(()); } } @@ -3761,9 +3853,9 @@ where impl<'a, S> NotificationSettingsBuilder<'a, S> where S: notification_settings_state::State, - S::Reactions: notification_settings_state::IsSet, - S::Comments: notification_settings_state::IsSet, S::Follows: notification_settings_state::IsSet, + S::Comments: notification_settings_state::IsSet, + S::Reactions: notification_settings_state::IsSet, { /// Build the final struct pub fn build(self) -> NotificationSettings<'a> { @@ -3778,7 +3870,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> NotificationSettings<'a> { @@ -3993,7 +4085,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> PrivacySettings<'a> { @@ -4257,7 +4349,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ReactionSubject<'a> { @@ -4321,83 +4413,83 @@ pub mod reaction_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; + type Type; type Uri; type Actor; - type Type; + type CreatedAt; type Subject; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; + type Type = Unset; type Uri = Unset; type Actor = Unset; - type Type = Unset; + type CreatedAt = Unset; type Subject = Unset; } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; + ///State transition - sets the `type` field to Set + pub struct SetType(PhantomData S>); + impl sealed::Sealed for SetType {} + impl State for SetType { + type Type = Set; type Uri = S::Uri; type Actor = S::Actor; - type Type = S::Type; + type CreatedAt = S::CreatedAt; type Subject = S::Subject; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { - type CreatedAt = S::CreatedAt; + type Type = S::Type; type Uri = Set; type Actor = S::Actor; - type Type = S::Type; + type CreatedAt = S::CreatedAt; type Subject = S::Subject; } ///State transition - sets the `actor` field to Set pub struct SetActor(PhantomData S>); impl sealed::Sealed for SetActor {} impl State for SetActor { - type CreatedAt = S::CreatedAt; + type Type = S::Type; type Uri = S::Uri; type Actor = Set; - type Type = S::Type; + type CreatedAt = S::CreatedAt; type Subject = S::Subject; } - ///State transition - sets the `type` field to Set - pub struct SetType(PhantomData S>); - impl sealed::Sealed for SetType {} - impl State for SetType { - type CreatedAt = S::CreatedAt; + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Type = S::Type; type Uri = S::Uri; type Actor = S::Actor; - type Type = Set; + type CreatedAt = Set; type Subject = S::Subject; } ///State transition - sets the `subject` field to Set pub struct SetSubject(PhantomData S>); impl sealed::Sealed for SetSubject {} impl State for SetSubject { - type CreatedAt = S::CreatedAt; + type Type = S::Type; type Uri = S::Uri; type Actor = S::Actor; - type Type = S::Type; + type CreatedAt = S::CreatedAt; type Subject = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); + ///Marker type for the `type` field + pub struct r#type(()); ///Marker type for the `uri` field pub struct uri(()); ///Marker type for the `actor` field pub struct actor(()); - ///Marker type for the `type` field - pub struct r#type(()); + ///Marker type for the `created_at` field + pub struct created_at(()); ///Marker type for the `subject` field pub struct subject(()); } @@ -4532,10 +4624,10 @@ where impl<'a, S> ReactionViewBuilder<'a, S> where S: reaction_view_state::State, - S::CreatedAt: reaction_view_state::IsSet, + S::Type: reaction_view_state::IsSet, S::Uri: reaction_view_state::IsSet, S::Actor: reaction_view_state::IsSet, - S::Type: reaction_view_state::IsSet, + S::CreatedAt: reaction_view_state::IsSet, S::Subject: reaction_view_state::IsSet, { /// Build the final struct @@ -4553,7 +4645,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ReactionView<'a> { @@ -4629,51 +4721,51 @@ pub mod showcase_item_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type AddedAt; type Uri; type Order; + type AddedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type AddedAt = Unset; type Uri = Unset; type Order = Unset; - } - ///State transition - sets the `added_at` field to Set - pub struct SetAddedAt(PhantomData S>); - impl sealed::Sealed for SetAddedAt {} - impl State for SetAddedAt { - type AddedAt = Set; - type Uri = S::Uri; - type Order = S::Order; + type AddedAt = Unset; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { - type AddedAt = S::AddedAt; type Uri = Set; type Order = S::Order; + type AddedAt = S::AddedAt; } ///State transition - sets the `order` field to Set pub struct SetOrder(PhantomData S>); impl sealed::Sealed for SetOrder {} impl State for SetOrder { - type AddedAt = S::AddedAt; type Uri = S::Uri; type Order = Set; + type AddedAt = S::AddedAt; + } + ///State transition - sets the `added_at` field to Set + pub struct SetAddedAt(PhantomData S>); + impl sealed::Sealed for SetAddedAt {} + impl State for SetAddedAt { + type Uri = S::Uri; + type Order = S::Order; + type AddedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `added_at` field - pub struct added_at(()); ///Marker type for the `uri` field pub struct uri(()); ///Marker type for the `order` field pub struct order(()); + ///Marker type for the `added_at` field + pub struct added_at(()); } } @@ -4766,9 +4858,9 @@ where impl<'a, S> ShowcaseItemBuilder<'a, S> where S: showcase_item_state::State, - S::AddedAt: showcase_item_state::IsSet, S::Uri: showcase_item_state::IsSet, S::Order: showcase_item_state::IsSet, + S::AddedAt: showcase_item_state::IsSet, { /// Build the final struct pub fn build(self) -> ShowcaseItem<'a> { @@ -4783,7 +4875,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ShowcaseItem<'a> { 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 8d5eb1505..4b32a2c3c 100644 --- a/crates/jacquard-api/src/social_showcase/collection/delete_collection.rs +++ b/crates/jacquard-api/src/social_showcase/collection/delete_collection.rs @@ -116,7 +116,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> DeleteCollection<'a> { @@ -138,7 +138,7 @@ where )] #[serde(rename_all = "camelCase")] pub struct DeleteCollectionOutput { - pub body: bytes::Bytes, + pub body: jacquard_common::deps::bytes::Bytes, } /// Response type for 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 f7645416f..32ec7a0d7 100644 --- a/crates/jacquard-api/src/social_showcase/collection/update_collection.rs +++ b/crates/jacquard-api/src/social_showcase/collection/update_collection.rs @@ -257,7 +257,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> UpdateCollection<'a> { diff --git a/crates/jacquard-api/src/social_showcase/feed/reaction.rs b/crates/jacquard-api/src/social_showcase/feed/reaction.rs index d045e2580..cf6cfa5b3 100644 --- a/crates/jacquard-api/src/social_showcase/feed/reaction.rs +++ b/crates/jacquard-api/src/social_showcase/feed/reaction.rs @@ -190,7 +190,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Reaction<'a> { @@ -305,7 +305,7 @@ fn lexicon_doc_social_showcase_feed_reaction() -> ::jacquard_lexicon::lexicon::L defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -317,9 +317,9 @@ fn lexicon_doc_social_showcase_feed_reaction() -> ::jacquard_lexicon::lexicon::L description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("type"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -327,7 +327,7 @@ fn lexicon_doc_social_showcase_feed_reaction() -> ::jacquard_lexicon::lexicon::L #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -346,7 +346,9 @@ fn lexicon_doc_social_showcase_feed_reaction() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -355,7 +357,9 @@ fn lexicon_doc_social_showcase_feed_reaction() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "type", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/social_showcase/graph/block.rs b/crates/jacquard-api/src/social_showcase/graph/block.rs index 0dace337e..3f634ca45 100644 --- a/crates/jacquard-api/src/social_showcase/graph/block.rs +++ b/crates/jacquard-api/src/social_showcase/graph/block.rs @@ -152,7 +152,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Block<'a> { @@ -253,7 +253,7 @@ fn lexicon_doc_social_showcase_graph_block() -> ::jacquard_lexicon::lexicon::Lex defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -265,8 +265,8 @@ fn lexicon_doc_social_showcase_graph_block() -> ::jacquard_lexicon::lexicon::Lex description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -274,7 +274,7 @@ fn lexicon_doc_social_showcase_graph_block() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -293,7 +293,9 @@ fn lexicon_doc_social_showcase_graph_block() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("DID of blocked user"), diff --git a/crates/jacquard-api/src/social_showcase/graph/follow.rs b/crates/jacquard-api/src/social_showcase/graph/follow.rs index 0a0bfcc81..1b119381b 100644 --- a/crates/jacquard-api/src/social_showcase/graph/follow.rs +++ b/crates/jacquard-api/src/social_showcase/graph/follow.rs @@ -152,7 +152,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Follow<'a> { @@ -253,7 +253,7 @@ fn lexicon_doc_social_showcase_graph_follow() -> ::jacquard_lexicon::lexicon::Le defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -265,8 +265,8 @@ fn lexicon_doc_social_showcase_graph_follow() -> ::jacquard_lexicon::lexicon::Le description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -274,7 +274,7 @@ fn lexicon_doc_social_showcase_graph_follow() -> ::jacquard_lexicon::lexicon::Le #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -293,7 +293,9 @@ fn lexicon_doc_social_showcase_graph_follow() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( 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 0507173ca..a0f0e4ee8 100644 --- a/crates/jacquard-api/src/social_showcase/library/create_item.rs +++ b/crates/jacquard-api/src/social_showcase/library/create_item.rs @@ -49,67 +49,67 @@ pub mod create_item_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Title; + type Visibility; type Tags; type Images; - type Visibility; + type Title; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Title = Unset; + type Visibility = Unset; type Tags = Unset; type Images = Unset; - type Visibility = Unset; + type Title = Unset; } - ///State transition - sets the `title` field to Set - pub struct SetTitle(PhantomData S>); - impl sealed::Sealed for SetTitle {} - impl State for SetTitle { - type Title = Set; + ///State transition - sets the `visibility` field to Set + pub struct SetVisibility(PhantomData S>); + impl sealed::Sealed for SetVisibility {} + impl State for SetVisibility { + type Visibility = Set; type Tags = S::Tags; type Images = S::Images; - type Visibility = S::Visibility; + type Title = S::Title; } ///State transition - sets the `tags` field to Set pub struct SetTags(PhantomData S>); impl sealed::Sealed for SetTags {} impl State for SetTags { - type Title = S::Title; + type Visibility = S::Visibility; type Tags = Set; type Images = S::Images; - type Visibility = S::Visibility; + type Title = S::Title; } ///State transition - sets the `images` field to Set pub struct SetImages(PhantomData S>); impl sealed::Sealed for SetImages {} impl State for SetImages { - type Title = S::Title; + type Visibility = S::Visibility; type Tags = S::Tags; type Images = Set; - type Visibility = S::Visibility; - } - ///State transition - sets the `visibility` field to Set - pub struct SetVisibility(PhantomData S>); - impl sealed::Sealed for SetVisibility {} - impl State for SetVisibility { type Title = S::Title; + } + ///State transition - sets the `title` field to Set + pub struct SetTitle(PhantomData S>); + impl sealed::Sealed for SetTitle {} + impl State for SetTitle { + type Visibility = S::Visibility; type Tags = S::Tags; type Images = S::Images; - type Visibility = Set; + type Title = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `title` field - pub struct title(()); + ///Marker type for the `visibility` field + pub struct visibility(()); ///Marker type for the `tags` field pub struct tags(()); ///Marker type for the `images` field pub struct images(()); - ///Marker type for the `visibility` field - pub struct visibility(()); + ///Marker type for the `title` field + pub struct title(()); } } @@ -299,10 +299,10 @@ where impl<'a, S> CreateItemBuilder<'a, S> where S: create_item_state::State, - S::Title: create_item_state::IsSet, + S::Visibility: create_item_state::IsSet, S::Tags: create_item_state::IsSet, S::Images: create_item_state::IsSet, - S::Visibility: create_item_state::IsSet, + S::Title: create_item_state::IsSet, { /// Build the final struct pub fn build(self) -> CreateItem<'a> { @@ -322,7 +322,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> CreateItem<'a> { 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 04ff400c2..1670b154b 100644 --- a/crates/jacquard-api/src/social_showcase/library/delete_item.rs +++ b/crates/jacquard-api/src/social_showcase/library/delete_item.rs @@ -116,7 +116,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> DeleteItem<'a> { @@ -138,7 +138,7 @@ where )] #[serde(rename_all = "camelCase")] pub struct DeleteItemOutput { - pub body: bytes::Bytes, + pub body: jacquard_common::deps::bytes::Bytes, } /// Response type for diff --git a/crates/jacquard-api/src/social_showcase/library/item.rs b/crates/jacquard-api/src/social_showcase/library/item.rs index ab4b6f460..3acfe9106 100644 --- a/crates/jacquard-api/src/social_showcase/library/item.rs +++ b/crates/jacquard-api/src/social_showcase/library/item.rs @@ -67,83 +67,83 @@ pub mod item_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type Images; - type Title; type Tags; + type CreatedAt; + type Title; type Visibility; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type Images = Unset; - type Title = Unset; type Tags = Unset; + type CreatedAt = Unset; + type Title = Unset; type Visibility = Unset; } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Images = S::Images; - type Title = S::Title; - type Tags = S::Tags; - type Visibility = S::Visibility; - } ///State transition - sets the `images` field to Set pub struct SetImages(PhantomData S>); impl sealed::Sealed for SetImages {} impl State for SetImages { - type CreatedAt = S::CreatedAt; type Images = Set; - type Title = S::Title; type Tags = S::Tags; - type Visibility = S::Visibility; - } - ///State transition - sets the `title` field to Set - pub struct SetTitle(PhantomData S>); - impl sealed::Sealed for SetTitle {} - impl State for SetTitle { type CreatedAt = S::CreatedAt; - type Images = S::Images; - type Title = Set; - type Tags = S::Tags; + type Title = S::Title; type Visibility = S::Visibility; } ///State transition - sets the `tags` field to Set pub struct SetTags(PhantomData S>); impl sealed::Sealed for SetTags {} impl State for SetTags { + type Images = S::Images; + type Tags = Set; type CreatedAt = S::CreatedAt; + type Title = S::Title; + type Visibility = S::Visibility; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { type Images = S::Images; + type Tags = S::Tags; + type CreatedAt = Set; type Title = S::Title; - type Tags = Set; + type Visibility = S::Visibility; + } + ///State transition - sets the `title` field to Set + pub struct SetTitle(PhantomData S>); + impl sealed::Sealed for SetTitle {} + impl State for SetTitle { + type Images = S::Images; + type Tags = S::Tags; + type CreatedAt = S::CreatedAt; + type Title = Set; type Visibility = S::Visibility; } ///State transition - sets the `visibility` field to Set pub struct SetVisibility(PhantomData S>); impl sealed::Sealed for SetVisibility {} impl State for SetVisibility { - type CreatedAt = S::CreatedAt; type Images = S::Images; - type Title = S::Title; type Tags = S::Tags; + type CreatedAt = S::CreatedAt; + type Title = S::Title; type Visibility = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `images` field pub struct images(()); - ///Marker type for the `title` field - pub struct title(()); ///Marker type for the `tags` field pub struct tags(()); + ///Marker type for the `created_at` field + pub struct created_at(()); + ///Marker type for the `title` field + pub struct title(()); ///Marker type for the `visibility` field pub struct visibility(()); } @@ -419,10 +419,10 @@ where impl<'a, S> ItemBuilder<'a, S> where S: item_state::State, - S::CreatedAt: item_state::IsSet, S::Images: item_state::IsSet, - S::Title: item_state::IsSet, S::Tags: item_state::IsSet, + S::CreatedAt: item_state::IsSet, + S::Title: item_state::IsSet, S::Visibility: item_state::IsSet, { /// Build the final struct @@ -447,7 +447,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Item<'a> { @@ -739,7 +739,7 @@ fn lexicon_doc_social_showcase_library_item() -> ::jacquard_lexicon::lexicon::Le defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static("Showcase item record"), @@ -749,11 +749,11 @@ fn lexicon_doc_social_showcase_library_item() -> ::jacquard_lexicon::lexicon::Le description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("tags"), - ::jacquard_common::smol_str::SmolStr::new_static("images"), - ::jacquard_common::smol_str::SmolStr::new_static("visibility"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("images"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("visibility"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -761,7 +761,7 @@ fn lexicon_doc_social_showcase_library_item() -> ::jacquard_lexicon::lexicon::Le #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "category", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -782,7 +782,7 @@ fn lexicon_doc_social_showcase_library_item() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -801,7 +801,7 @@ fn lexicon_doc_social_showcase_library_item() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -820,7 +820,7 @@ fn lexicon_doc_social_showcase_library_item() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "externalLink", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -843,7 +843,9 @@ fn lexicon_doc_social_showcase_library_item() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("images"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "images", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -861,7 +863,7 @@ fn lexicon_doc_social_showcase_library_item() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "metadata", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { @@ -869,7 +871,9 @@ fn lexicon_doc_social_showcase_library_item() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("notes"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "notes", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -888,7 +892,7 @@ fn lexicon_doc_social_showcase_library_item() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "schemaVersion", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -901,7 +905,9 @@ fn lexicon_doc_social_showcase_library_item() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tags", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -925,7 +931,9 @@ fn lexicon_doc_social_showcase_library_item() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Item title"), @@ -942,7 +950,7 @@ fn lexicon_doc_social_showcase_library_item() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -961,7 +969,7 @@ fn lexicon_doc_social_showcase_library_item() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "visibility", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { 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 c9a6da322..bb79a772e 100644 --- a/crates/jacquard-api/src/social_showcase/library/update_item.rs +++ b/crates/jacquard-api/src/social_showcase/library/update_item.rs @@ -309,7 +309,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> UpdateItem<'a> { diff --git a/crates/jacquard-api/src/social_showcase/profile/preferences.rs b/crates/jacquard-api/src/social_showcase/profile/preferences.rs index 0ddf6dd51..12917688b 100644 --- a/crates/jacquard-api/src/social_showcase/profile/preferences.rs +++ b/crates/jacquard-api/src/social_showcase/profile/preferences.rs @@ -45,83 +45,83 @@ pub mod preferences_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Privacy; type UpdatedAt; type Notifications; type Visibility; - type Privacy; type Activity; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Privacy = Unset; type UpdatedAt = Unset; type Notifications = Unset; type Visibility = Unset; - type Privacy = Unset; type Activity = Unset; } + ///State transition - sets the `privacy` field to Set + pub struct SetPrivacy(PhantomData S>); + impl sealed::Sealed for SetPrivacy {} + impl State for SetPrivacy { + type Privacy = Set; + type UpdatedAt = S::UpdatedAt; + type Notifications = S::Notifications; + type Visibility = S::Visibility; + type Activity = S::Activity; + } ///State transition - sets the `updated_at` field to Set pub struct SetUpdatedAt(PhantomData S>); impl sealed::Sealed for SetUpdatedAt {} impl State for SetUpdatedAt { + type Privacy = S::Privacy; type UpdatedAt = Set; type Notifications = S::Notifications; type Visibility = S::Visibility; - type Privacy = S::Privacy; type Activity = S::Activity; } ///State transition - sets the `notifications` field to Set pub struct SetNotifications(PhantomData S>); impl sealed::Sealed for SetNotifications {} impl State for SetNotifications { + type Privacy = S::Privacy; type UpdatedAt = S::UpdatedAt; type Notifications = Set; type Visibility = S::Visibility; - type Privacy = S::Privacy; type Activity = S::Activity; } ///State transition - sets the `visibility` field to Set pub struct SetVisibility(PhantomData S>); impl sealed::Sealed for SetVisibility {} impl State for SetVisibility { - type UpdatedAt = S::UpdatedAt; - type Notifications = S::Notifications; - type Visibility = Set; type Privacy = S::Privacy; - type Activity = S::Activity; - } - ///State transition - sets the `privacy` field to Set - pub struct SetPrivacy(PhantomData S>); - impl sealed::Sealed for SetPrivacy {} - impl State for SetPrivacy { type UpdatedAt = S::UpdatedAt; type Notifications = S::Notifications; - type Visibility = S::Visibility; - type Privacy = Set; + type Visibility = Set; type Activity = S::Activity; } ///State transition - sets the `activity` field to Set pub struct SetActivity(PhantomData S>); impl sealed::Sealed for SetActivity {} impl State for SetActivity { + type Privacy = S::Privacy; type UpdatedAt = S::UpdatedAt; type Notifications = S::Notifications; type Visibility = S::Visibility; - type Privacy = S::Privacy; type Activity = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `privacy` field + pub struct privacy(()); ///Marker type for the `updated_at` field pub struct updated_at(()); ///Marker type for the `notifications` field pub struct notifications(()); ///Marker type for the `visibility` field pub struct visibility(()); - ///Marker type for the `privacy` field - pub struct privacy(()); ///Marker type for the `activity` field pub struct activity(()); } @@ -290,10 +290,10 @@ where impl<'a, S> PreferencesBuilder<'a, S> where S: preferences_state::State, + S::Privacy: preferences_state::IsSet, S::UpdatedAt: preferences_state::IsSet, S::Notifications: preferences_state::IsSet, S::Visibility: preferences_state::IsSet, - S::Privacy: preferences_state::IsSet, S::Activity: preferences_state::IsSet, { /// Build the final struct @@ -313,7 +313,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Preferences<'a> { @@ -419,7 +419,7 @@ fn lexicon_doc_social_showcase_profile_preferences() -> ::jacquard_lexicon::lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -431,11 +431,11 @@ fn lexicon_doc_social_showcase_profile_preferences() -> ::jacquard_lexicon::lexi description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("visibility"), - ::jacquard_common::smol_str::SmolStr::new_static("activity"), - ::jacquard_common::smol_str::SmolStr::new_static("notifications"), - ::jacquard_common::smol_str::SmolStr::new_static("privacy"), - ::jacquard_common::smol_str::SmolStr::new_static("updatedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("visibility"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("activity"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("notifications"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("privacy"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("updatedAt") ], ), nullable: None, @@ -443,7 +443,7 @@ fn lexicon_doc_social_showcase_profile_preferences() -> ::jacquard_lexicon::lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "activity", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -454,7 +454,9 @@ fn lexicon_doc_social_showcase_profile_preferences() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("display"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "display", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -463,7 +465,7 @@ fn lexicon_doc_social_showcase_profile_preferences() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "notifications", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -474,7 +476,9 @@ fn lexicon_doc_social_showcase_profile_preferences() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("privacy"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "privacy", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -483,7 +487,7 @@ fn lexicon_doc_social_showcase_profile_preferences() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "schemaVersion", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -496,7 +500,7 @@ fn lexicon_doc_social_showcase_profile_preferences() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -515,7 +519,7 @@ fn lexicon_doc_social_showcase_profile_preferences() -> ::jacquard_lexicon::lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "visibility", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { diff --git a/crates/jacquard-api/src/social_showcase/profile/profile.rs b/crates/jacquard-api/src/social_showcase/profile/profile.rs index 1ab1e18cd..bf2943ea2 100644 --- a/crates/jacquard-api/src/social_showcase/profile/profile.rs +++ b/crates/jacquard-api/src/social_showcase/profile/profile.rs @@ -83,67 +83,67 @@ pub mod profile_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Did; type Handle; - type CreatedAt; type Tags; + type Did; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Did = Unset; type Handle = Unset; - type CreatedAt = Unset; type Tags = Unset; - } - ///State transition - sets the `did` field to Set - pub struct SetDid(PhantomData S>); - impl sealed::Sealed for SetDid {} - impl State for SetDid { - type Did = Set; - type Handle = S::Handle; - type CreatedAt = S::CreatedAt; - type Tags = S::Tags; + type Did = Unset; + type CreatedAt = Unset; } ///State transition - sets the `handle` field to Set pub struct SetHandle(PhantomData S>); impl sealed::Sealed for SetHandle {} impl State for SetHandle { - type Did = S::Did; type Handle = Set; - type CreatedAt = S::CreatedAt; type Tags = S::Tags; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { type Did = S::Did; - type Handle = S::Handle; - type CreatedAt = Set; - type Tags = S::Tags; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `tags` field to Set pub struct SetTags(PhantomData S>); impl sealed::Sealed for SetTags {} impl State for SetTags { + type Handle = S::Handle; + type Tags = Set; type Did = S::Did; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `did` field to Set + pub struct SetDid(PhantomData S>); + impl sealed::Sealed for SetDid {} + impl State for SetDid { type Handle = S::Handle; + type Tags = S::Tags; + type Did = Set; type CreatedAt = S::CreatedAt; - type Tags = Set; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Handle = S::Handle; + type Tags = S::Tags; + type Did = S::Did; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `did` field - pub struct did(()); ///Marker type for the `handle` field pub struct handle(()); - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `tags` field pub struct tags(()); + ///Marker type for the `did` field + pub struct did(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -486,10 +486,10 @@ impl<'a, S: profile_state::State> ProfileBuilder<'a, S> { impl<'a, S> ProfileBuilder<'a, S> where S: profile_state::State, - S::Did: profile_state::IsSet, S::Handle: profile_state::IsSet, - S::CreatedAt: profile_state::IsSet, S::Tags: profile_state::IsSet, + S::Did: profile_state::IsSet, + S::CreatedAt: profile_state::IsSet, { /// Build the final struct pub fn build(self) -> Profile<'a> { @@ -517,7 +517,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Profile<'a> { @@ -743,7 +743,7 @@ fn lexicon_doc_social_showcase_profile_profile() -> ::jacquard_lexicon::lexicon: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static("User profile record"), @@ -753,10 +753,10 @@ fn lexicon_doc_social_showcase_profile_profile() -> ::jacquard_lexicon::lexicon: description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("did"), - ::jacquard_common::smol_str::SmolStr::new_static("handle"), - ::jacquard_common::smol_str::SmolStr::new_static("tags"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("handle"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -764,7 +764,7 @@ fn lexicon_doc_social_showcase_profile_profile() -> ::jacquard_lexicon::lexicon: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accentColor", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -785,7 +785,9 @@ fn lexicon_doc_social_showcase_profile_profile() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("avatar"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "avatar", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -793,7 +795,9 @@ fn lexicon_doc_social_showcase_profile_profile() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("banner"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "banner", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -801,7 +805,9 @@ fn lexicon_doc_social_showcase_profile_profile() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("bio"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "bio", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Profile description"), @@ -818,7 +824,7 @@ fn lexicon_doc_social_showcase_profile_profile() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "collectionCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -831,7 +837,7 @@ fn lexicon_doc_social_showcase_profile_profile() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -850,7 +856,9 @@ fn lexicon_doc_social_showcase_profile_profile() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("User's DID"), @@ -867,7 +875,7 @@ fn lexicon_doc_social_showcase_profile_profile() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "displayName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -886,7 +894,9 @@ fn lexicon_doc_social_showcase_profile_profile() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("handle"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "handle", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("User's handle"), @@ -903,7 +913,7 @@ fn lexicon_doc_social_showcase_profile_profile() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "itemCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -916,7 +926,7 @@ fn lexicon_doc_social_showcase_profile_profile() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "schemaVersion", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -929,7 +939,7 @@ fn lexicon_doc_social_showcase_profile_profile() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "showcase", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -949,7 +959,9 @@ fn lexicon_doc_social_showcase_profile_profile() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tags", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -973,7 +985,9 @@ fn lexicon_doc_social_showcase_profile_profile() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("theme"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "theme", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -992,7 +1006,7 @@ fn lexicon_doc_social_showcase_profile_profile() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1011,7 +1025,9 @@ fn lexicon_doc_social_showcase_profile_profile() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("website"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "website", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/social_sket/actor/profile.rs b/crates/jacquard-api/src/social_sket/actor/profile.rs index 352aaed98..9a13b0d1d 100644 --- a/crates/jacquard-api/src/social_sket/actor/profile.rs +++ b/crates/jacquard-api/src/social_sket/actor/profile.rs @@ -201,7 +201,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Profile<'a> { @@ -304,7 +304,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Profile<'a> { } if let Some(ref value) = self.description { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -334,7 +334,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Profile<'a> { } if let Some(ref value) = self.display_name { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -365,7 +365,7 @@ fn lexicon_doc_social_sket_actor_profile() -> ::jacquard_lexicon::lexicon::Lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some(::jacquard_common::CowStr::new_static("")), key: Some(::jacquard_common::CowStr::new_static("literal:self")), @@ -377,7 +377,9 @@ fn lexicon_doc_social_sket_actor_profile() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("avatar"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "avatar", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -385,7 +387,9 @@ fn lexicon_doc_social_sket_actor_profile() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("banner"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "banner", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -393,7 +397,7 @@ fn lexicon_doc_social_sket_actor_profile() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -412,7 +416,7 @@ fn lexicon_doc_social_sket_actor_profile() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -431,7 +435,7 @@ fn lexicon_doc_social_sket_actor_profile() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "displayName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/social_tophhie/profile.rs b/crates/jacquard-api/src/social_tophhie/profile.rs index 8a3941c00..4c23400cc 100644 --- a/crates/jacquard-api/src/social_tophhie/profile.rs +++ b/crates/jacquard-api/src/social_tophhie/profile.rs @@ -123,7 +123,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> CommunicationPreferences<'a> { @@ -145,7 +145,7 @@ fn lexicon_doc_social_tophhie_profile() -> ::jacquard_lexicon::lexicon::LexiconD defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "communicationPreferences", ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { @@ -156,7 +156,7 @@ fn lexicon_doc_social_tophhie_profile() -> ::jacquard_lexicon::lexicon::LexiconD ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("marketing") + ::jacquard_common::deps::smol_str::SmolStr::new_static("marketing") ], ), nullable: None, @@ -164,7 +164,7 @@ fn lexicon_doc_social_tophhie_profile() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "marketing", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -178,7 +178,7 @@ fn lexicon_doc_social_tophhie_profile() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("literal:self")), @@ -190,9 +190,9 @@ fn lexicon_doc_social_tophhie_profile() -> ::jacquard_lexicon::lexicon::LexiconD ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("createdAt"), - ::jacquard_common::smol_str::SmolStr::new_static("pdsPreferences"), - ::jacquard_common::smol_str::SmolStr::new_static("communicationPreferences") + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("pdsPreferences"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("communicationPreferences") ], ), nullable: None, @@ -200,7 +200,7 @@ fn lexicon_doc_social_tophhie_profile() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "communicationPreferences", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -211,7 +211,7 @@ fn lexicon_doc_social_tophhie_profile() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -234,7 +234,7 @@ fn lexicon_doc_social_tophhie_profile() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "pdsPreferences", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -245,7 +245,7 @@ fn lexicon_doc_social_tophhie_profile() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -273,7 +273,7 @@ fn lexicon_doc_social_tophhie_profile() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("pdsPreferences"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("pdsPreferences"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -282,8 +282,8 @@ fn lexicon_doc_social_tophhie_profile() -> ::jacquard_lexicon::lexicon::LexiconD ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("showOnHomepage"), - ::jacquard_common::smol_str::SmolStr::new_static("accessibilityScoring") + ::jacquard_common::deps::smol_str::SmolStr::new_static("showOnHomepage"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("accessibilityScoring") ], ), nullable: None, @@ -291,7 +291,7 @@ fn lexicon_doc_social_tophhie_profile() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accessibilityScoring", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -301,7 +301,7 @@ fn lexicon_doc_social_tophhie_profile() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "showOnHomepage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -374,50 +374,50 @@ pub mod profile_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type CommunicationPreferences; - type CreatedAt; type PdsPreferences; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type CommunicationPreferences = Unset; - type CreatedAt = Unset; type PdsPreferences = Unset; + type CreatedAt = Unset; } ///State transition - sets the `communication_preferences` field to Set pub struct SetCommunicationPreferences(PhantomData S>); impl sealed::Sealed for SetCommunicationPreferences {} impl State for SetCommunicationPreferences { type CommunicationPreferences = Set; - type CreatedAt = S::CreatedAt; - type PdsPreferences = S::PdsPreferences; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CommunicationPreferences = S::CommunicationPreferences; - type CreatedAt = Set; type PdsPreferences = S::PdsPreferences; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `pds_preferences` field to Set pub struct SetPdsPreferences(PhantomData S>); impl sealed::Sealed for SetPdsPreferences {} impl State for SetPdsPreferences { type CommunicationPreferences = S::CommunicationPreferences; - type CreatedAt = S::CreatedAt; type PdsPreferences = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type CommunicationPreferences = S::CommunicationPreferences; + type PdsPreferences = S::PdsPreferences; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `communication_preferences` field pub struct communication_preferences(()); - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `pds_preferences` field pub struct pds_preferences(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -533,8 +533,8 @@ impl<'a, S> ProfileBuilder<'a, S> where S: profile_state::State, S::CommunicationPreferences: profile_state::IsSet, - S::CreatedAt: profile_state::IsSet, S::PdsPreferences: profile_state::IsSet, + S::CreatedAt: profile_state::IsSet, { /// Build the final struct pub fn build(self) -> Profile<'a> { @@ -550,7 +550,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Profile<'a> { @@ -786,7 +786,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> PdsPreferences<'a> { diff --git a/crates/jacquard-api/src/space_litenote/note.rs b/crates/jacquard-api/src/space_litenote/note.rs index b388cf1f1..08f7e0226 100644 --- a/crates/jacquard-api/src/space_litenote/note.rs +++ b/crates/jacquard-api/src/space_litenote/note.rs @@ -134,7 +134,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Image<'a> { @@ -157,18 +157,22 @@ fn lexicon_doc_space_litenote_note() -> ::jacquard_lexicon::lexicon::LexiconDoc< defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("image"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("image")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("image") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("alt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "alt", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -187,7 +191,9 @@ fn lexicon_doc_space_litenote_note() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -199,7 +205,7 @@ fn lexicon_doc_space_litenote_note() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -211,8 +217,8 @@ fn lexicon_doc_space_litenote_note() -> ::jacquard_lexicon::lexicon::LexiconDoc< description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("content") + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("content") ], ), nullable: None, @@ -220,7 +226,9 @@ fn lexicon_doc_space_litenote_note() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "content", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -239,7 +247,7 @@ fn lexicon_doc_space_litenote_note() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -258,7 +266,7 @@ fn lexicon_doc_space_litenote_note() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "fontFamily", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -279,7 +287,7 @@ fn lexicon_doc_space_litenote_note() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "fontSize", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -292,7 +300,9 @@ fn lexicon_doc_space_litenote_note() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("images"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "images", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -308,7 +318,7 @@ fn lexicon_doc_space_litenote_note() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publishedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -327,7 +337,9 @@ fn lexicon_doc_space_litenote_note() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("theme"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "theme", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -346,7 +358,9 @@ fn lexicon_doc_space_litenote_note() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -448,37 +462,37 @@ pub mod note_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Title; type Content; + type Title; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Title = Unset; type Content = Unset; - } - ///State transition - sets the `title` field to Set - pub struct SetTitle(PhantomData S>); - impl sealed::Sealed for SetTitle {} - impl State for SetTitle { - type Title = Set; - type Content = S::Content; + type Title = Unset; } ///State transition - sets the `content` field to Set pub struct SetContent(PhantomData S>); impl sealed::Sealed for SetContent {} impl State for SetContent { - type Title = S::Title; type Content = Set; + type Title = S::Title; + } + ///State transition - sets the `title` field to Set + pub struct SetTitle(PhantomData S>); + impl sealed::Sealed for SetTitle {} + impl State for SetTitle { + type Content = S::Content; + type Title = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `title` field - pub struct title(()); ///Marker type for the `content` field pub struct content(()); + ///Marker type for the `title` field + pub struct title(()); } } @@ -659,8 +673,8 @@ where impl<'a, S> NoteBuilder<'a, S> where S: note_state::State, - S::Title: note_state::IsSet, S::Content: note_state::IsSet, + S::Title: note_state::IsSet, { /// Build the final struct pub fn build(self) -> Note<'a> { @@ -680,7 +694,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Note<'a> { diff --git a/crates/jacquard-api/src/space_remanso/note.rs b/crates/jacquard-api/src/space_remanso/note.rs index 6bf361cdd..75c6dc32c 100644 --- a/crates/jacquard-api/src/space_remanso/note.rs +++ b/crates/jacquard-api/src/space_remanso/note.rs @@ -134,7 +134,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Image<'a> { @@ -155,18 +155,22 @@ fn lexicon_doc_space_remanso_note() -> ::jacquard_lexicon::lexicon::LexiconDoc<' defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("image"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("image")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("image") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("alt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "alt", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -185,7 +189,9 @@ fn lexicon_doc_space_remanso_note() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -197,7 +203,7 @@ fn lexicon_doc_space_remanso_note() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -209,8 +215,8 @@ fn lexicon_doc_space_remanso_note() -> ::jacquard_lexicon::lexicon::LexiconDoc<' description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("content") + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("content") ], ), nullable: None, @@ -218,7 +224,9 @@ fn lexicon_doc_space_remanso_note() -> ::jacquard_lexicon::lexicon::LexiconDoc<' #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "content", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -237,7 +245,7 @@ fn lexicon_doc_space_remanso_note() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -256,7 +264,7 @@ fn lexicon_doc_space_remanso_note() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "discoverable", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -266,7 +274,7 @@ fn lexicon_doc_space_remanso_note() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "fontFamily", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -287,7 +295,7 @@ fn lexicon_doc_space_remanso_note() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "fontSize", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -300,7 +308,9 @@ fn lexicon_doc_space_remanso_note() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("images"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "images", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -316,7 +326,7 @@ fn lexicon_doc_space_remanso_note() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "language", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -337,7 +347,7 @@ fn lexicon_doc_space_remanso_note() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publishedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -356,7 +366,9 @@ fn lexicon_doc_space_remanso_note() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("theme"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "theme", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -375,7 +387,9 @@ fn lexicon_doc_space_remanso_note() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -757,7 +771,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Note<'a> { diff --git a/crates/jacquard-api/src/st_lifepo/event.rs b/crates/jacquard-api/src/st_lifepo/event.rs index ce16a7329..4c39c8cb2 100644 --- a/crates/jacquard-api/src/st_lifepo/event.rs +++ b/crates/jacquard-api/src/st_lifepo/event.rs @@ -197,7 +197,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Event<'a> { diff --git a/crates/jacquard-api/src/st_lifepo/profile.rs b/crates/jacquard-api/src/st_lifepo/profile.rs index 73d5ac89c..fd59ff03d 100644 --- a/crates/jacquard-api/src/st_lifepo/profile.rs +++ b/crates/jacquard-api/src/st_lifepo/profile.rs @@ -198,7 +198,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> LifeEvent<'a> { @@ -221,7 +221,7 @@ fn lexicon_doc_st_lifepo_profile() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("lifeEvent"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("lifeEvent"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -230,8 +230,8 @@ fn lexicon_doc_st_lifepo_profile() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("startDate") + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("startDate") ], ), nullable: None, @@ -239,7 +239,7 @@ fn lexicon_doc_st_lifepo_profile() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -256,7 +256,9 @@ fn lexicon_doc_st_lifepo_profile() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("endDate"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "endDate", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -273,7 +275,7 @@ fn lexicon_doc_st_lifepo_profile() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "startDate", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -292,7 +294,9 @@ fn lexicon_doc_st_lifepo_profile() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -311,7 +315,7 @@ fn lexicon_doc_st_lifepo_profile() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcQuery(::jacquard_lexicon::lexicon::LexXrpcQuery { description: None, parameters: Some( @@ -319,14 +323,16 @@ fn lexicon_doc_st_lifepo_profile() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("actor") + ::jacquard_common::deps::smol_str::SmolStr::new_static("actor") ], ), properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("actor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "actor", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/st_snowpo/post.rs b/crates/jacquard-api/src/st_snowpo/post.rs index 6d6a5db09..f74fd2e8a 100644 --- a/crates/jacquard-api/src/st_snowpo/post.rs +++ b/crates/jacquard-api/src/st_snowpo/post.rs @@ -45,37 +45,37 @@ pub mod post_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type Content; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type Content = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Content = S::Content; + type CreatedAt = Unset; } ///State transition - sets the `content` field to Set pub struct SetContent(PhantomData S>); impl sealed::Sealed for SetContent {} impl State for SetContent { - type CreatedAt = S::CreatedAt; type Content = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Content = S::Content; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `content` field pub struct content(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -208,8 +208,8 @@ impl<'a, S: post_state::State> PostBuilder<'a, S> { impl<'a, S> PostBuilder<'a, S> where S: post_state::State, - S::CreatedAt: post_state::IsSet, S::Content: post_state::IsSet, + S::CreatedAt: post_state::IsSet, { /// Build the final struct pub fn build(self) -> Post<'a> { @@ -226,7 +226,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Post<'a> { @@ -340,7 +340,7 @@ fn lexicon_doc_st_snowpo_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -352,8 +352,8 @@ fn lexicon_doc_st_snowpo_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("content"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -361,7 +361,7 @@ fn lexicon_doc_st_snowpo_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "commentRoot", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -384,7 +384,9 @@ fn lexicon_doc_st_snowpo_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "content", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -392,7 +394,7 @@ fn lexicon_doc_st_snowpo_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -415,7 +417,7 @@ fn lexicon_doc_st_snowpo_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "previewText", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -436,7 +438,7 @@ fn lexicon_doc_st_snowpo_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<'stat }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/store__88x31/button.rs b/crates/jacquard-api/src/store__88x31/button.rs index 990c00030..428e20694 100644 --- a/crates/jacquard-api/src/store__88x31/button.rs +++ b/crates/jacquard-api/src/store__88x31/button.rs @@ -215,7 +215,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Button<'a> { @@ -318,7 +318,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Button<'a> { } if let Some(ref value) = self.alt { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -348,7 +348,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Button<'a> { } if let Some(ref value) = self.href { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -378,7 +378,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Button<'a> { } if let Some(ref value) = self.title { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -407,7 +407,7 @@ fn lexicon_doc_store_88x31_button() -> ::jacquard_lexicon::lexicon::LexiconDoc<' defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -419,8 +419,8 @@ fn lexicon_doc_store_88x31_button() -> ::jacquard_lexicon::lexicon::LexiconDoc<' description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("blob"), - ::jacquard_common::smol_str::SmolStr::new_static("postedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("blob"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("postedAt") ], ), nullable: None, @@ -428,7 +428,9 @@ fn lexicon_doc_store_88x31_button() -> ::jacquard_lexicon::lexicon::LexiconDoc<' #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("alt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "alt", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -447,7 +449,9 @@ fn lexicon_doc_store_88x31_button() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("blob"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "blob", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -455,7 +459,9 @@ fn lexicon_doc_store_88x31_button() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("href"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "href", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -474,7 +480,7 @@ fn lexicon_doc_store_88x31_button() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "postedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -497,7 +503,9 @@ fn lexicon_doc_store_88x31_button() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/store__88x31/like.rs b/crates/jacquard-api/src/store__88x31/like.rs index 537dbfa07..689b5dfaa 100644 --- a/crates/jacquard-api/src/store__88x31/like.rs +++ b/crates/jacquard-api/src/store__88x31/like.rs @@ -33,37 +33,37 @@ pub mod like_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type Subject; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type Subject = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Subject = S::Subject; + type CreatedAt = Unset; } ///State transition - sets the `subject` field to Set pub struct SetSubject(PhantomData S>); impl sealed::Sealed for SetSubject {} impl State for SetSubject { - type CreatedAt = S::CreatedAt; type Subject = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Subject = S::Subject; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `subject` field pub struct subject(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -136,8 +136,8 @@ where impl<'a, S> LikeBuilder<'a, S> where S: like_state::State, - S::CreatedAt: like_state::IsSet, S::Subject: like_state::IsSet, + S::CreatedAt: like_state::IsSet, { /// Build the final struct pub fn build(self) -> Like<'a> { @@ -151,7 +151,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Like<'a> { @@ -250,7 +250,7 @@ fn lexicon_doc_store_88x31_like() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -262,8 +262,8 @@ fn lexicon_doc_store_88x31_like() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -271,7 +271,7 @@ fn lexicon_doc_store_88x31_like() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -290,7 +290,9 @@ fn lexicon_doc_store_88x31_like() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( 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 67c3ee1dc..8942e3841 100644 --- a/crates/jacquard-api/src/systems_timker/hawlt/get_note.rs +++ b/crates/jacquard-api/src/systems_timker/hawlt/get_note.rs @@ -34,37 +34,37 @@ pub mod get_note_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Rkey; type Repo; + type Rkey; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Rkey = Unset; type Repo = Unset; - } - ///State transition - sets the `rkey` field to Set - pub struct SetRkey(PhantomData S>); - impl sealed::Sealed for SetRkey {} - impl State for SetRkey { - type Rkey = Set; - type Repo = S::Repo; + type Rkey = Unset; } ///State transition - sets the `repo` field to Set pub struct SetRepo(PhantomData S>); impl sealed::Sealed for SetRepo {} impl State for SetRepo { - type Rkey = S::Rkey; type Repo = Set; + type Rkey = S::Rkey; + } + ///State transition - sets the `rkey` field to Set + pub struct SetRkey(PhantomData S>); + impl sealed::Sealed for SetRkey {} + impl State for SetRkey { + type Repo = S::Repo; + type Rkey = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `rkey` field - pub struct rkey(()); ///Marker type for the `repo` field pub struct repo(()); + ///Marker type for the `rkey` field + pub struct rkey(()); } } @@ -145,8 +145,8 @@ where impl<'a, S> GetNoteBuilder<'a, S> where S: get_note_state::State, - S::Rkey: get_note_state::IsSet, S::Repo: get_note_state::IsSet, + S::Rkey: get_note_state::IsSet, { /// Build the final struct pub fn build(self) -> GetNote<'a> { 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 d637d4229..f56d7cc77 100644 --- a/crates/jacquard-api/src/systems_timker/hawlt/list_notes.rs +++ b/crates/jacquard-api/src/systems_timker/hawlt/list_notes.rs @@ -228,67 +228,67 @@ pub mod note_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Cid; + type Uri; type Value; + type Cid; type IndexedAt; - type Uri; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Cid = Unset; + type Uri = Unset; type Value = Unset; + type Cid = Unset; type IndexedAt = Unset; - type Uri = Unset; } - ///State transition - sets the `cid` field to Set - pub struct SetCid(PhantomData S>); - impl sealed::Sealed for SetCid {} - impl State for SetCid { - type Cid = Set; + ///State transition - sets the `uri` field to Set + pub struct SetUri(PhantomData S>); + impl sealed::Sealed for SetUri {} + impl State for SetUri { + type Uri = Set; type Value = S::Value; + type Cid = S::Cid; type IndexedAt = S::IndexedAt; - type Uri = S::Uri; } ///State transition - sets the `value` field to Set pub struct SetValue(PhantomData S>); impl sealed::Sealed for SetValue {} impl State for SetValue { - type Cid = S::Cid; + type Uri = S::Uri; type Value = Set; + type Cid = S::Cid; type IndexedAt = S::IndexedAt; + } + ///State transition - sets the `cid` field to Set + pub struct SetCid(PhantomData S>); + impl sealed::Sealed for SetCid {} + impl State for SetCid { type Uri = S::Uri; + type Value = S::Value; + type Cid = Set; + type IndexedAt = S::IndexedAt; } ///State transition - sets the `indexed_at` field to Set pub struct SetIndexedAt(PhantomData S>); impl sealed::Sealed for SetIndexedAt {} impl State for SetIndexedAt { - type Cid = S::Cid; - type Value = S::Value; - type IndexedAt = Set; type Uri = S::Uri; - } - ///State transition - sets the `uri` field to Set - pub struct SetUri(PhantomData S>); - impl sealed::Sealed for SetUri {} - impl State for SetUri { - type Cid = S::Cid; type Value = S::Value; - type IndexedAt = S::IndexedAt; - type Uri = Set; + type Cid = S::Cid; + type IndexedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `cid` field - pub struct cid(()); + ///Marker type for the `uri` field + pub struct uri(()); ///Marker type for the `value` field pub struct value(()); + ///Marker type for the `cid` field + pub struct cid(()); ///Marker type for the `indexed_at` field pub struct indexed_at(()); - ///Marker type for the `uri` field - pub struct uri(()); } } @@ -401,10 +401,10 @@ where impl<'a, S> NoteViewBuilder<'a, S> where S: note_view_state::State, - S::Cid: note_view_state::IsSet, + S::Uri: note_view_state::IsSet, S::Value: note_view_state::IsSet, + S::Cid: note_view_state::IsSet, S::IndexedAt: note_view_state::IsSet, - S::Uri: note_view_state::IsSet, { /// Build the final struct pub fn build(self) -> NoteView<'a> { @@ -420,7 +420,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> NoteView<'a> { @@ -445,7 +445,7 @@ fn lexicon_doc_systems_timker_hawlt_listNotes() -> ::jacquard_lexicon::lexicon:: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcQuery(::jacquard_lexicon::lexicon::LexXrpcQuery { description: None, parameters: Some( @@ -453,14 +453,16 @@ fn lexicon_doc_systems_timker_hawlt_listNotes() -> ::jacquard_lexicon::lexicon:: description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("repo") + ::jacquard_common::deps::smol_str::SmolStr::new_static("repo") ], ), properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cursor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cursor", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -475,7 +477,9 @@ fn lexicon_doc_systems_timker_hawlt_listNotes() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("limit"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "limit", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -486,7 +490,9 @@ fn lexicon_doc_systems_timker_hawlt_listNotes() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("repo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "repo", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -511,7 +517,7 @@ fn lexicon_doc_systems_timker_hawlt_listNotes() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("noteView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("noteView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -520,10 +526,10 @@ fn lexicon_doc_systems_timker_hawlt_listNotes() -> ::jacquard_lexicon::lexicon:: ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("cid"), - ::jacquard_common::smol_str::SmolStr::new_static("value"), - ::jacquard_common::smol_str::SmolStr::new_static("indexedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("value"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("indexedAt") ], ), nullable: None, @@ -531,7 +537,9 @@ fn lexicon_doc_systems_timker_hawlt_listNotes() -> ::jacquard_lexicon::lexicon:: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -548,7 +556,7 @@ fn lexicon_doc_systems_timker_hawlt_listNotes() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "indexedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -567,7 +575,9 @@ fn lexicon_doc_systems_timker_hawlt_listNotes() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -584,7 +594,9 @@ fn lexicon_doc_systems_timker_hawlt_listNotes() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("value"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "value", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/systems_timker/hawlt/note.rs b/crates/jacquard-api/src/systems_timker/hawlt/note.rs index bce6a9fab..708e0a7fd 100644 --- a/crates/jacquard-api/src/systems_timker/hawlt/note.rs +++ b/crates/jacquard-api/src/systems_timker/hawlt/note.rs @@ -154,7 +154,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Attachment<'a> { @@ -177,7 +177,7 @@ fn lexicon_doc_systems_timker_hawlt_note() -> ::jacquard_lexicon::lexicon::Lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("attachment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("attachment"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -186,8 +186,8 @@ fn lexicon_doc_systems_timker_hawlt_note() -> ::jacquard_lexicon::lexicon::Lexic ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("image"), - ::jacquard_common::smol_str::SmolStr::new_static("alt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("alt") ], ), nullable: None, @@ -195,7 +195,9 @@ fn lexicon_doc_systems_timker_hawlt_note() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("alt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "alt", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -214,7 +216,9 @@ fn lexicon_doc_systems_timker_hawlt_note() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -226,7 +230,7 @@ fn lexicon_doc_systems_timker_hawlt_note() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -238,8 +242,8 @@ fn lexicon_doc_systems_timker_hawlt_note() -> ::jacquard_lexicon::lexicon::Lexic description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("content"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -247,7 +251,7 @@ fn lexicon_doc_systems_timker_hawlt_note() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "attachments", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -265,7 +269,9 @@ fn lexicon_doc_systems_timker_hawlt_note() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "content", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -284,7 +290,7 @@ fn lexicon_doc_systems_timker_hawlt_note() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentWarning", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -305,7 +311,7 @@ fn lexicon_doc_systems_timker_hawlt_note() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -328,7 +334,9 @@ fn lexicon_doc_systems_timker_hawlt_note() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("langs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "langs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -354,7 +362,9 @@ fn lexicon_doc_systems_timker_hawlt_note() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tags", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -420,7 +430,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Attachment<'a> { { let value = &self.alt; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -690,7 +700,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Note<'a> { @@ -808,7 +818,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Note<'a> { { let value = &self.content; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -838,7 +848,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Note<'a> { } if let Some(ref value) = self.content_warning { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) 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 be931da52..1b97decef 100644 --- a/crates/jacquard-api/src/systems_timker/hawlt/put_note.rs +++ b/crates/jacquard-api/src/systems_timker/hawlt/put_note.rs @@ -163,7 +163,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> PutNote<'a> { diff --git a/crates/jacquard-api/src/tech_manos/twmirror/post.rs b/crates/jacquard-api/src/tech_manos/twmirror/post.rs index b556dd35a..2dbbb22db 100644 --- a/crates/jacquard-api/src/tech_manos/twmirror/post.rs +++ b/crates/jacquard-api/src/tech_manos/twmirror/post.rs @@ -42,67 +42,67 @@ pub mod post_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type BskyPost; type TwUserId; - type TweetId; + type BskyPost; type CreatedAt; + type TweetId; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type BskyPost = Unset; type TwUserId = Unset; - type TweetId = Unset; + type BskyPost = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `bsky_post` field to Set - pub struct SetBskyPost(PhantomData S>); - impl sealed::Sealed for SetBskyPost {} - impl State for SetBskyPost { - type BskyPost = Set; - type TwUserId = S::TwUserId; - type TweetId = S::TweetId; - type CreatedAt = S::CreatedAt; + type TweetId = Unset; } ///State transition - sets the `tw_user_id` field to Set pub struct SetTwUserId(PhantomData S>); impl sealed::Sealed for SetTwUserId {} impl State for SetTwUserId { - type BskyPost = S::BskyPost; type TwUserId = Set; - type TweetId = S::TweetId; + type BskyPost = S::BskyPost; type CreatedAt = S::CreatedAt; + type TweetId = S::TweetId; } - ///State transition - sets the `tweet_id` field to Set - pub struct SetTweetId(PhantomData S>); - impl sealed::Sealed for SetTweetId {} - impl State for SetTweetId { - type BskyPost = S::BskyPost; + ///State transition - sets the `bsky_post` field to Set + pub struct SetBskyPost(PhantomData S>); + impl sealed::Sealed for SetBskyPost {} + impl State for SetBskyPost { type TwUserId = S::TwUserId; - type TweetId = Set; + type BskyPost = Set; type CreatedAt = S::CreatedAt; + type TweetId = S::TweetId; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type BskyPost = S::BskyPost; type TwUserId = S::TwUserId; - type TweetId = S::TweetId; + type BskyPost = S::BskyPost; type CreatedAt = Set; + type TweetId = S::TweetId; + } + ///State transition - sets the `tweet_id` field to Set + pub struct SetTweetId(PhantomData S>); + impl sealed::Sealed for SetTweetId {} + impl State for SetTweetId { + type TwUserId = S::TwUserId; + type BskyPost = S::BskyPost; + type CreatedAt = S::CreatedAt; + type TweetId = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `bsky_post` field - pub struct bsky_post(()); ///Marker type for the `tw_user_id` field pub struct tw_user_id(()); - ///Marker type for the `tweet_id` field - pub struct tweet_id(()); + ///Marker type for the `bsky_post` field + pub struct bsky_post(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `tweet_id` field + pub struct tweet_id(()); } } @@ -215,10 +215,10 @@ where impl<'a, S> PostBuilder<'a, S> where S: post_state::State, - S::BskyPost: post_state::IsSet, S::TwUserId: post_state::IsSet, - S::TweetId: post_state::IsSet, + S::BskyPost: post_state::IsSet, S::CreatedAt: post_state::IsSet, + S::TweetId: post_state::IsSet, { /// Build the final struct pub fn build(self) -> Post<'a> { @@ -234,7 +234,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Post<'a> { @@ -337,7 +337,7 @@ fn lexicon_doc_tech_manos_twmirror_post() -> ::jacquard_lexicon::lexicon::Lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("TwitterId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("TwitterId"), ::jacquard_lexicon::lexicon::LexUserType::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -352,7 +352,7 @@ fn lexicon_doc_tech_manos_twmirror_post() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -364,10 +364,10 @@ fn lexicon_doc_tech_manos_twmirror_post() -> ::jacquard_lexicon::lexicon::Lexico description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("tweetId"), - ::jacquard_common::smol_str::SmolStr::new_static("twUserId"), - ::jacquard_common::smol_str::SmolStr::new_static("bskyPost"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("tweetId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("twUserId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("bskyPost"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -375,7 +375,7 @@ fn lexicon_doc_tech_manos_twmirror_post() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "bskyPost", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -386,7 +386,7 @@ fn lexicon_doc_tech_manos_twmirror_post() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -409,7 +409,7 @@ fn lexicon_doc_tech_manos_twmirror_post() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "twUserId", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -418,7 +418,9 @@ fn lexicon_doc_tech_manos_twmirror_post() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tweetId"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tweetId", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#TwitterId"), diff --git a/crates/jacquard-api/src/tech_tokimeki/kaku.rs b/crates/jacquard-api/src/tech_tokimeki/kaku.rs index fe72c471d..fe0001bde 100644 --- a/crates/jacquard-api/src/tech_tokimeki/kaku.rs +++ b/crates/jacquard-api/src/tech_tokimeki/kaku.rs @@ -157,7 +157,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> AspectRatio<'a> { @@ -180,7 +180,7 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> ::jacquard_lexicon::lexicon::Lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("aspectRatio"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("aspectRatio"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -189,8 +189,8 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> ::jacquard_lexicon::lexicon::Lexicon ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("width"), - ::jacquard_common::smol_str::SmolStr::new_static("height") + ::jacquard_common::deps::smol_str::SmolStr::new_static("width"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("height") ], ), nullable: None, @@ -198,7 +198,9 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("height"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "height", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -209,7 +211,9 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("width"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "width", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -224,7 +228,7 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("collectionView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("collectionView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -233,11 +237,11 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> ::jacquard_lexicon::lexicon::Lexicon ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("cid"), - ::jacquard_common::smol_str::SmolStr::new_static("author"), - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -245,7 +249,9 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "author", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -254,7 +260,9 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -275,7 +283,7 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -298,7 +306,7 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -319,7 +327,7 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "indexedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -342,7 +350,9 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("isPublic"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "isPublic", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -350,7 +360,7 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "itemCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -363,7 +373,9 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Collection name"), @@ -380,7 +392,9 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -405,7 +419,7 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("postView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("postView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -414,12 +428,12 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> ::jacquard_lexicon::lexicon::Lexicon ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("cid"), - ::jacquard_common::smol_str::SmolStr::new_static("author"), - ::jacquard_common::smol_str::SmolStr::new_static("image"), - ::jacquard_common::smol_str::SmolStr::new_static("aspectRatio"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("aspectRatio"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -427,7 +441,7 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "aspectRatio", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -436,7 +450,9 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "author", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -445,7 +461,9 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -466,7 +484,7 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -489,7 +507,9 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -510,7 +530,7 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "indexedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -533,7 +553,7 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "linkedPost", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -544,7 +564,7 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "reactionCounts", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -555,7 +575,9 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tags", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -579,7 +601,9 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -598,7 +622,9 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -619,7 +645,7 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "viewerReaction", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -634,7 +660,7 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reactionCounts"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("reactionCounts"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -647,7 +673,9 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("kami"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "kami", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -658,7 +686,9 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("kawaii"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "kawaii", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -669,7 +699,9 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sugoi"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sugoi", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -680,7 +712,9 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("suki"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "suki", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -691,7 +725,9 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tasukaru"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tasukaru", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -706,7 +742,7 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reactionType"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("reactionType"), ::jacquard_lexicon::lexicon::LexUserType::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -725,7 +761,7 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("replyView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("replyView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -734,11 +770,11 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> ::jacquard_lexicon::lexicon::Lexicon ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("cid"), - ::jacquard_common::smol_str::SmolStr::new_static("author"), - ::jacquard_common::smol_str::SmolStr::new_static("text"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -746,7 +782,9 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "author", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -755,7 +793,9 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -776,7 +816,7 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -799,7 +839,9 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Reply text content"), @@ -816,7 +858,9 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -841,7 +885,9 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("requestResponseView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "requestResponseView", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -850,11 +896,11 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> ::jacquard_lexicon::lexicon::Lexicon ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("cid"), - ::jacquard_common::smol_str::SmolStr::new_static("author"), - ::jacquard_common::smol_str::SmolStr::new_static("post"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("post"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -862,7 +908,9 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "author", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -871,7 +919,9 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -892,7 +942,7 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -915,7 +965,9 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("message"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "message", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -934,14 +986,18 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("post"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "post", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#postView"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -966,7 +1022,7 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("requestView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("requestView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -975,12 +1031,12 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> ::jacquard_lexicon::lexicon::Lexicon ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("cid"), - ::jacquard_common::smol_str::SmolStr::new_static("author"), - ::jacquard_common::smol_str::SmolStr::new_static("text"), - ::jacquard_common::smol_str::SmolStr::new_static("isOpen"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("isOpen"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -988,7 +1044,9 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "author", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -997,7 +1055,9 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1018,7 +1078,7 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1041,7 +1101,7 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "indexedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1064,7 +1124,9 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("isOpen"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "isOpen", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -1072,7 +1134,7 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "referenceImages", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -1100,7 +1162,7 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "responseCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1113,7 +1175,9 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tags", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -1137,7 +1201,7 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "targetActor", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -1148,7 +1212,9 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1167,7 +1233,9 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1289,85 +1357,85 @@ pub mod collection_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Author; + type Cid; type CreatedAt; type Name; - type Cid; type Uri; - type Author; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Author = Unset; + type Cid = Unset; type CreatedAt = Unset; type Name = Unset; - type Cid = Unset; type Uri = Unset; - type Author = Unset; + } + ///State transition - sets the `author` field to Set + pub struct SetAuthor(PhantomData S>); + impl sealed::Sealed for SetAuthor {} + impl State for SetAuthor { + type Author = Set; + type Cid = S::Cid; + type CreatedAt = S::CreatedAt; + type Name = S::Name; + type Uri = S::Uri; + } + ///State transition - sets the `cid` field to Set + pub struct SetCid(PhantomData S>); + impl sealed::Sealed for SetCid {} + impl State for SetCid { + type Author = S::Author; + type Cid = Set; + type CreatedAt = S::CreatedAt; + type Name = S::Name; + type Uri = S::Uri; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { + type Author = S::Author; + type Cid = S::Cid; type CreatedAt = Set; type Name = S::Name; - type Cid = S::Cid; type Uri = S::Uri; - type Author = S::Author; } ///State transition - sets the `name` field to Set pub struct SetName(PhantomData S>); impl sealed::Sealed for SetName {} impl State for SetName { - type CreatedAt = S::CreatedAt; - type Name = Set; - type Cid = S::Cid; - type Uri = S::Uri; type Author = S::Author; - } - ///State transition - sets the `cid` field to Set - pub struct SetCid(PhantomData S>); - impl sealed::Sealed for SetCid {} - impl State for SetCid { + type Cid = S::Cid; type CreatedAt = S::CreatedAt; - type Name = S::Name; - type Cid = Set; + type Name = Set; type Uri = S::Uri; - type Author = S::Author; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { - type CreatedAt = S::CreatedAt; - type Name = S::Name; - type Cid = S::Cid; - type Uri = Set; type Author = S::Author; - } - ///State transition - sets the `author` field to Set - pub struct SetAuthor(PhantomData S>); - impl sealed::Sealed for SetAuthor {} - impl State for SetAuthor { + type Cid = S::Cid; type CreatedAt = S::CreatedAt; type Name = S::Name; - type Cid = S::Cid; - type Uri = S::Uri; - type Author = Set; + type Uri = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `author` field + pub struct author(()); + ///Marker type for the `cid` field + pub struct cid(()); ///Marker type for the `created_at` field pub struct created_at(()); ///Marker type for the `name` field pub struct name(()); - ///Marker type for the `cid` field - pub struct cid(()); ///Marker type for the `uri` field pub struct uri(()); - ///Marker type for the `author` field - pub struct author(()); } } @@ -1578,11 +1646,11 @@ where impl<'a, S> CollectionViewBuilder<'a, S> where S: collection_view_state::State, + S::Author: collection_view_state::IsSet, + S::Cid: collection_view_state::IsSet, S::CreatedAt: collection_view_state::IsSet, S::Name: collection_view_state::IsSet, - S::Cid: collection_view_state::IsSet, S::Uri: collection_view_state::IsSet, - S::Author: collection_view_state::IsSet, { /// Build the final struct pub fn build(self) -> CollectionView<'a> { @@ -1603,7 +1671,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> CollectionView<'a> { @@ -1649,7 +1717,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for CollectionView<'a> { } if let Some(ref value) = self.description { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -1681,7 +1749,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for CollectionView<'a> { { let value = &self.name; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -1774,9 +1842,9 @@ pub mod post_view_state { pub trait State: sealed::Sealed { type Image; type Author; + type AspectRatio; type CreatedAt; type Cid; - type AspectRatio; type Uri; } /// Empty state - all required fields are unset @@ -1785,9 +1853,9 @@ pub mod post_view_state { impl State for Empty { type Image = Unset; type Author = Unset; + type AspectRatio = Unset; type CreatedAt = Unset; type Cid = Unset; - type AspectRatio = Unset; type Uri = Unset; } ///State transition - sets the `image` field to Set @@ -1796,9 +1864,9 @@ pub mod post_view_state { impl State for SetImage { type Image = Set; type Author = S::Author; + type AspectRatio = S::AspectRatio; type CreatedAt = S::CreatedAt; type Cid = S::Cid; - type AspectRatio = S::AspectRatio; type Uri = S::Uri; } ///State transition - sets the `author` field to Set @@ -1807,9 +1875,20 @@ pub mod post_view_state { impl State for SetAuthor { type Image = S::Image; type Author = Set; + type AspectRatio = S::AspectRatio; + type CreatedAt = S::CreatedAt; + type Cid = S::Cid; + type Uri = S::Uri; + } + ///State transition - sets the `aspect_ratio` field to Set + pub struct SetAspectRatio(PhantomData S>); + impl sealed::Sealed for SetAspectRatio {} + impl State for SetAspectRatio { + type Image = S::Image; + type Author = S::Author; + type AspectRatio = Set; type CreatedAt = S::CreatedAt; type Cid = S::Cid; - type AspectRatio = S::AspectRatio; type Uri = S::Uri; } ///State transition - sets the `created_at` field to Set @@ -1818,9 +1897,9 @@ pub mod post_view_state { impl State for SetCreatedAt { type Image = S::Image; type Author = S::Author; + type AspectRatio = S::AspectRatio; type CreatedAt = Set; type Cid = S::Cid; - type AspectRatio = S::AspectRatio; type Uri = S::Uri; } ///State transition - sets the `cid` field to Set @@ -1829,20 +1908,9 @@ pub mod post_view_state { impl State for SetCid { type Image = S::Image; type Author = S::Author; - type CreatedAt = S::CreatedAt; - type Cid = Set; type AspectRatio = S::AspectRatio; - type Uri = S::Uri; - } - ///State transition - sets the `aspect_ratio` field to Set - pub struct SetAspectRatio(PhantomData S>); - impl sealed::Sealed for SetAspectRatio {} - impl State for SetAspectRatio { - type Image = S::Image; - type Author = S::Author; type CreatedAt = S::CreatedAt; - type Cid = S::Cid; - type AspectRatio = Set; + type Cid = Set; type Uri = S::Uri; } ///State transition - sets the `uri` field to Set @@ -1851,9 +1919,9 @@ pub mod post_view_state { impl State for SetUri { type Image = S::Image; type Author = S::Author; + type AspectRatio = S::AspectRatio; type CreatedAt = S::CreatedAt; type Cid = S::Cid; - type AspectRatio = S::AspectRatio; type Uri = Set; } /// Marker types for field names @@ -1863,12 +1931,12 @@ pub mod post_view_state { pub struct image(()); ///Marker type for the `author` field pub struct author(()); + ///Marker type for the `aspect_ratio` field + pub struct aspect_ratio(()); ///Marker type for the `created_at` field pub struct created_at(()); ///Marker type for the `cid` field pub struct cid(()); - ///Marker type for the `aspect_ratio` field - pub struct aspect_ratio(()); ///Marker type for the `uri` field pub struct uri(()); } @@ -2155,9 +2223,9 @@ where S: post_view_state::State, S::Image: post_view_state::IsSet, S::Author: post_view_state::IsSet, + S::AspectRatio: post_view_state::IsSet, S::CreatedAt: post_view_state::IsSet, S::Cid: post_view_state::IsSet, - S::AspectRatio: post_view_state::IsSet, S::Uri: post_view_state::IsSet, { /// Build the final struct @@ -2182,7 +2250,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> PostView<'a> { @@ -2243,7 +2311,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for PostView<'a> { } if let Some(ref value) = self.text { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -2448,9 +2516,9 @@ pub mod reply_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Cid; type Text; type Uri; + type Cid; type CreatedAt; type Author; } @@ -2458,29 +2526,19 @@ pub mod reply_view_state { pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Cid = Unset; type Text = Unset; type Uri = Unset; + type Cid = Unset; type CreatedAt = Unset; type Author = Unset; } - ///State transition - sets the `cid` field to Set - pub struct SetCid(PhantomData S>); - impl sealed::Sealed for SetCid {} - impl State for SetCid { - type Cid = Set; - type Text = S::Text; - type Uri = S::Uri; - type CreatedAt = S::CreatedAt; - type Author = S::Author; - } ///State transition - sets the `text` field to Set pub struct SetText(PhantomData S>); impl sealed::Sealed for SetText {} impl State for SetText { - type Cid = S::Cid; type Text = Set; type Uri = S::Uri; + type Cid = S::Cid; type CreatedAt = S::CreatedAt; type Author = S::Author; } @@ -2488,9 +2546,19 @@ pub mod reply_view_state { pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { - type Cid = S::Cid; type Text = S::Text; type Uri = Set; + type Cid = S::Cid; + type CreatedAt = S::CreatedAt; + type Author = S::Author; + } + ///State transition - sets the `cid` field to Set + pub struct SetCid(PhantomData S>); + impl sealed::Sealed for SetCid {} + impl State for SetCid { + type Text = S::Text; + type Uri = S::Uri; + type Cid = Set; type CreatedAt = S::CreatedAt; type Author = S::Author; } @@ -2498,9 +2566,9 @@ pub mod reply_view_state { pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Cid = S::Cid; type Text = S::Text; type Uri = S::Uri; + type Cid = S::Cid; type CreatedAt = Set; type Author = S::Author; } @@ -2508,21 +2576,21 @@ pub mod reply_view_state { pub struct SetAuthor(PhantomData S>); impl sealed::Sealed for SetAuthor {} impl State for SetAuthor { - type Cid = S::Cid; type Text = S::Text; type Uri = S::Uri; + type Cid = S::Cid; type CreatedAt = S::CreatedAt; type Author = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `cid` field - pub struct cid(()); ///Marker type for the `text` field pub struct text(()); ///Marker type for the `uri` field pub struct uri(()); + ///Marker type for the `cid` field + pub struct cid(()); ///Marker type for the `created_at` field pub struct created_at(()); ///Marker type for the `author` field @@ -2659,9 +2727,9 @@ where impl<'a, S> ReplyViewBuilder<'a, S> where S: reply_view_state::State, - S::Cid: reply_view_state::IsSet, S::Text: reply_view_state::IsSet, S::Uri: reply_view_state::IsSet, + S::Cid: reply_view_state::IsSet, S::CreatedAt: reply_view_state::IsSet, S::Author: reply_view_state::IsSet, { @@ -2680,7 +2748,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ReplyView<'a> { @@ -2724,7 +2792,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ReplyView<'a> { { let value = &self.text; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -2787,85 +2855,85 @@ pub mod request_response_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Author; - type Uri; type Post; - type Cid; type CreatedAt; + type Uri; + type Cid; + type Author; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Author = Unset; - type Uri = Unset; type Post = Unset; - type Cid = Unset; type CreatedAt = Unset; + type Uri = Unset; + type Cid = Unset; + type Author = Unset; } - ///State transition - sets the `author` field to Set - pub struct SetAuthor(PhantomData S>); - impl sealed::Sealed for SetAuthor {} - impl State for SetAuthor { - type Author = Set; + ///State transition - sets the `post` field to Set + pub struct SetPost(PhantomData S>); + impl sealed::Sealed for SetPost {} + impl State for SetPost { + type Post = Set; + type CreatedAt = S::CreatedAt; type Uri = S::Uri; + type Cid = S::Cid; + type Author = S::Author; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { type Post = S::Post; + type CreatedAt = Set; + type Uri = S::Uri; type Cid = S::Cid; - type CreatedAt = S::CreatedAt; + type Author = S::Author; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { - type Author = S::Author; - type Uri = Set; type Post = S::Post; - type Cid = S::Cid; type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `post` field to Set - pub struct SetPost(PhantomData S>); - impl sealed::Sealed for SetPost {} - impl State for SetPost { - type Author = S::Author; - type Uri = S::Uri; - type Post = Set; + type Uri = Set; type Cid = S::Cid; - type CreatedAt = S::CreatedAt; + type Author = S::Author; } ///State transition - sets the `cid` field to Set pub struct SetCid(PhantomData S>); impl sealed::Sealed for SetCid {} impl State for SetCid { - type Author = S::Author; - type Uri = S::Uri; type Post = S::Post; - type Cid = Set; type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type Author = S::Author; type Uri = S::Uri; + type Cid = Set; + type Author = S::Author; + } + ///State transition - sets the `author` field to Set + pub struct SetAuthor(PhantomData S>); + impl sealed::Sealed for SetAuthor {} + impl State for SetAuthor { type Post = S::Post; + type CreatedAt = S::CreatedAt; + type Uri = S::Uri; type Cid = S::Cid; - type CreatedAt = Set; + type Author = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `author` field - pub struct author(()); - ///Marker type for the `uri` field - pub struct uri(()); ///Marker type for the `post` field pub struct post(()); - ///Marker type for the `cid` field - pub struct cid(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `uri` field + pub struct uri(()); + ///Marker type for the `cid` field + pub struct cid(()); + ///Marker type for the `author` field + pub struct author(()); } } @@ -3015,11 +3083,11 @@ where impl<'a, S> RequestResponseViewBuilder<'a, S> where S: request_response_view_state::State, - S::Author: request_response_view_state::IsSet, - S::Uri: request_response_view_state::IsSet, S::Post: request_response_view_state::IsSet, - S::Cid: request_response_view_state::IsSet, S::CreatedAt: request_response_view_state::IsSet, + S::Uri: request_response_view_state::IsSet, + S::Cid: request_response_view_state::IsSet, + S::Author: request_response_view_state::IsSet, { /// Build the final struct pub fn build(self) -> RequestResponseView<'a> { @@ -3037,7 +3105,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> RequestResponseView<'a> { @@ -3080,7 +3148,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for RequestResponseView<'a> { } if let Some(ref value) = self.message { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -3161,105 +3229,105 @@ pub mod request_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type IsOpen; type CreatedAt; - type Author; - type Uri; type Text; + type Uri; type Cid; - type IsOpen; + type Author; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type IsOpen = Unset; type CreatedAt = Unset; - type Author = Unset; - type Uri = Unset; type Text = Unset; + type Uri = Unset; type Cid = Unset; - type IsOpen = Unset; + type Author = Unset; + } + ///State transition - sets the `is_open` field to Set + pub struct SetIsOpen(PhantomData S>); + impl sealed::Sealed for SetIsOpen {} + impl State for SetIsOpen { + type IsOpen = Set; + type CreatedAt = S::CreatedAt; + type Text = S::Text; + type Uri = S::Uri; + type Cid = S::Cid; + type Author = S::Author; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { + type IsOpen = S::IsOpen; type CreatedAt = Set; - type Author = S::Author; - type Uri = S::Uri; type Text = S::Text; + type Uri = S::Uri; type Cid = S::Cid; - type IsOpen = S::IsOpen; + type Author = S::Author; } - ///State transition - sets the `author` field to Set - pub struct SetAuthor(PhantomData S>); - impl sealed::Sealed for SetAuthor {} - impl State for SetAuthor { + ///State transition - sets the `text` field to Set + pub struct SetText(PhantomData S>); + impl sealed::Sealed for SetText {} + impl State for SetText { + type IsOpen = S::IsOpen; type CreatedAt = S::CreatedAt; - type Author = Set; + type Text = Set; type Uri = S::Uri; - type Text = S::Text; type Cid = S::Cid; - type IsOpen = S::IsOpen; + type Author = S::Author; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { + type IsOpen = S::IsOpen; type CreatedAt = S::CreatedAt; - type Author = S::Author; - type Uri = Set; type Text = S::Text; + type Uri = Set; type Cid = S::Cid; - type IsOpen = S::IsOpen; - } - ///State transition - sets the `text` field to Set - pub struct SetText(PhantomData S>); - impl sealed::Sealed for SetText {} - impl State for SetText { - type CreatedAt = S::CreatedAt; type Author = S::Author; - type Uri = S::Uri; - type Text = Set; - type Cid = S::Cid; - type IsOpen = S::IsOpen; } ///State transition - sets the `cid` field to Set pub struct SetCid(PhantomData S>); impl sealed::Sealed for SetCid {} impl State for SetCid { + type IsOpen = S::IsOpen; type CreatedAt = S::CreatedAt; - type Author = S::Author; - type Uri = S::Uri; type Text = S::Text; + type Uri = S::Uri; type Cid = Set; - type IsOpen = S::IsOpen; + type Author = S::Author; } - ///State transition - sets the `is_open` field to Set - pub struct SetIsOpen(PhantomData S>); - impl sealed::Sealed for SetIsOpen {} - impl State for SetIsOpen { + ///State transition - sets the `author` field to Set + pub struct SetAuthor(PhantomData S>); + impl sealed::Sealed for SetAuthor {} + impl State for SetAuthor { + type IsOpen = S::IsOpen; type CreatedAt = S::CreatedAt; - type Author = S::Author; - type Uri = S::Uri; type Text = S::Text; + type Uri = S::Uri; type Cid = S::Cid; - type IsOpen = Set; + type Author = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `is_open` field + pub struct is_open(()); ///Marker type for the `created_at` field pub struct created_at(()); - ///Marker type for the `author` field - pub struct author(()); - ///Marker type for the `uri` field - pub struct uri(()); ///Marker type for the `text` field pub struct text(()); + ///Marker type for the `uri` field + pub struct uri(()); ///Marker type for the `cid` field pub struct cid(()); - ///Marker type for the `is_open` field - pub struct is_open(()); + ///Marker type for the `author` field + pub struct author(()); } } @@ -3518,12 +3586,12 @@ where impl<'a, S> RequestViewBuilder<'a, S> where S: request_view_state::State, + S::IsOpen: request_view_state::IsSet, S::CreatedAt: request_view_state::IsSet, - S::Author: request_view_state::IsSet, - S::Uri: request_view_state::IsSet, S::Text: request_view_state::IsSet, + S::Uri: request_view_state::IsSet, S::Cid: request_view_state::IsSet, - S::IsOpen: request_view_state::IsSet, + S::Author: request_view_state::IsSet, { /// Build the final struct pub fn build(self) -> RequestView<'a> { @@ -3546,7 +3614,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> RequestView<'a> { @@ -3620,7 +3688,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for RequestView<'a> { { let value = &self.text; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) diff --git a/crates/jacquard-api/src/tech_tokimeki/kaku/collection.rs b/crates/jacquard-api/src/tech_tokimeki/kaku/collection.rs index 748085ab9..2a6208ab0 100644 --- a/crates/jacquard-api/src/tech_tokimeki/kaku/collection.rs +++ b/crates/jacquard-api/src/tech_tokimeki/kaku/collection.rs @@ -41,37 +41,37 @@ pub mod collection_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Name; type CreatedAt; + type Name; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Name = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `name` field to Set - pub struct SetName(PhantomData S>); - impl sealed::Sealed for SetName {} - impl State for SetName { - type Name = Set; - type CreatedAt = S::CreatedAt; + type Name = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Name = S::Name; type CreatedAt = Set; + type Name = S::Name; + } + ///State transition - sets the `name` field to Set + pub struct SetName(PhantomData S>); + impl sealed::Sealed for SetName {} + impl State for SetName { + type CreatedAt = S::CreatedAt; + type Name = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `name` field - pub struct name(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `name` field + pub struct name(()); } } @@ -178,8 +178,8 @@ where impl<'a, S> CollectionBuilder<'a, S> where S: collection_state::State, - S::Name: collection_state::IsSet, S::CreatedAt: collection_state::IsSet, + S::Name: collection_state::IsSet, { /// Build the final struct pub fn build(self) -> Collection<'a> { @@ -195,7 +195,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Collection<'a> { @@ -297,7 +297,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Collection<'a> { } if let Some(ref value) = self.description { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -342,7 +342,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Collection<'a> { { let value = &self.name; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -373,7 +373,7 @@ fn lexicon_doc_tech_tokimeki_kaku_collection() -> ::jacquard_lexicon::lexicon::L defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -385,8 +385,8 @@ fn lexicon_doc_tech_tokimeki_kaku_collection() -> ::jacquard_lexicon::lexicon::L description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -394,7 +394,7 @@ fn lexicon_doc_tech_tokimeki_kaku_collection() -> ::jacquard_lexicon::lexicon::L #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -413,7 +413,7 @@ fn lexicon_doc_tech_tokimeki_kaku_collection() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -434,7 +434,7 @@ fn lexicon_doc_tech_tokimeki_kaku_collection() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isPublic", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -444,7 +444,9 @@ fn lexicon_doc_tech_tokimeki_kaku_collection() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Collection name"), 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 c29160df4..57abe7e24 100644 --- a/crates/jacquard-api/src/tech_tokimeki/kaku/collection_item.rs +++ b/crates/jacquard-api/src/tech_tokimeki/kaku/collection_item.rs @@ -40,51 +40,51 @@ pub mod collection_item_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type CreatedAt; type Collection; type Post; - type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type CreatedAt = Unset; type Collection = Unset; type Post = Unset; - type CreatedAt = Unset; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type CreatedAt = Set; + type Collection = S::Collection; + type Post = S::Post; } ///State transition - sets the `collection` field to Set pub struct SetCollection(PhantomData S>); impl sealed::Sealed for SetCollection {} impl State for SetCollection { + type CreatedAt = S::CreatedAt; type Collection = Set; type Post = S::Post; - type CreatedAt = S::CreatedAt; } ///State transition - sets the `post` field to Set pub struct SetPost(PhantomData S>); impl sealed::Sealed for SetPost {} impl State for SetPost { - type Collection = S::Collection; - type Post = Set; type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { type Collection = S::Collection; - type Post = S::Post; - type CreatedAt = Set; + type Post = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `created_at` field + pub struct created_at(()); ///Marker type for the `collection` field pub struct collection(()); ///Marker type for the `post` field pub struct post(()); - ///Marker type for the `created_at` field - pub struct created_at(()); } } @@ -191,9 +191,9 @@ where impl<'a, S> CollectionItemBuilder<'a, S> where S: collection_item_state::State, + S::CreatedAt: collection_item_state::IsSet, S::Collection: collection_item_state::IsSet, S::Post: collection_item_state::IsSet, - S::CreatedAt: collection_item_state::IsSet, { /// Build the final struct pub fn build(self) -> CollectionItem<'a> { @@ -209,7 +209,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> CollectionItem<'a> { @@ -323,7 +323,7 @@ fn lexicon_doc_tech_tokimeki_kaku_collectionItem() -> ::jacquard_lexicon::lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -335,9 +335,9 @@ fn lexicon_doc_tech_tokimeki_kaku_collectionItem() -> ::jacquard_lexicon::lexico description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("collection"), - ::jacquard_common::smol_str::SmolStr::new_static("post"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("collection"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("post"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -345,7 +345,7 @@ fn lexicon_doc_tech_tokimeki_kaku_collectionItem() -> ::jacquard_lexicon::lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "collection", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -356,7 +356,7 @@ fn lexicon_doc_tech_tokimeki_kaku_collectionItem() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -375,7 +375,9 @@ fn lexicon_doc_tech_tokimeki_kaku_collectionItem() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("order"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "order", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -386,7 +388,9 @@ fn lexicon_doc_tech_tokimeki_kaku_collectionItem() -> ::jacquard_lexicon::lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("post"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "post", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/tech_tokimeki/kaku/post.rs b/crates/jacquard-api/src/tech_tokimeki/kaku/post.rs index d9633b00d..00d0898c3 100644 --- a/crates/jacquard-api/src/tech_tokimeki/kaku/post.rs +++ b/crates/jacquard-api/src/tech_tokimeki/kaku/post.rs @@ -58,51 +58,51 @@ pub mod post_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; - type AspectRatio; type Image; + type AspectRatio; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; - type AspectRatio = Unset; type Image = Unset; + type AspectRatio = Unset; + type CreatedAt = Unset; } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; + ///State transition - sets the `image` field to Set + pub struct SetImage(PhantomData S>); + impl sealed::Sealed for SetImage {} + impl State for SetImage { + type Image = Set; type AspectRatio = S::AspectRatio; - type Image = S::Image; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `aspect_ratio` field to Set pub struct SetAspectRatio(PhantomData S>); impl sealed::Sealed for SetAspectRatio {} impl State for SetAspectRatio { - type CreatedAt = S::CreatedAt; - type AspectRatio = Set; type Image = S::Image; - } - ///State transition - sets the `image` field to Set - pub struct SetImage(PhantomData S>); - impl sealed::Sealed for SetImage {} - impl State for SetImage { + type AspectRatio = Set; type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Image = S::Image; type AspectRatio = S::AspectRatio; - type Image = Set; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); - ///Marker type for the `aspect_ratio` field - pub struct aspect_ratio(()); ///Marker type for the `image` field pub struct image(()); + ///Marker type for the `aspect_ratio` field + pub struct aspect_ratio(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -272,9 +272,9 @@ impl<'a, S: post_state::State> PostBuilder<'a, S> { impl<'a, S> PostBuilder<'a, S> where S: post_state::State, - S::CreatedAt: post_state::IsSet, - S::AspectRatio: post_state::IsSet, S::Image: post_state::IsSet, + S::AspectRatio: post_state::IsSet, + S::CreatedAt: post_state::IsSet, { /// Build the final struct pub fn build(self) -> Post<'a> { @@ -293,7 +293,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Post<'a> { @@ -410,7 +410,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Post<'a> { } if let Some(ref value) = self.text { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -441,7 +441,7 @@ fn lexicon_doc_tech_tokimeki_kaku_post() -> ::jacquard_lexicon::lexicon::Lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -453,9 +453,9 @@ fn lexicon_doc_tech_tokimeki_kaku_post() -> ::jacquard_lexicon::lexicon::Lexicon description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("image"), - ::jacquard_common::smol_str::SmolStr::new_static("aspectRatio"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("aspectRatio"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -463,7 +463,7 @@ fn lexicon_doc_tech_tokimeki_kaku_post() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "aspectRatio", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -474,7 +474,7 @@ fn lexicon_doc_tech_tokimeki_kaku_post() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -497,7 +497,9 @@ fn lexicon_doc_tech_tokimeki_kaku_post() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "image", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -505,7 +507,7 @@ fn lexicon_doc_tech_tokimeki_kaku_post() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "linkedPost", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -516,7 +518,9 @@ fn lexicon_doc_tech_tokimeki_kaku_post() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -525,7 +529,9 @@ fn lexicon_doc_tech_tokimeki_kaku_post() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tags", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -549,7 +555,9 @@ fn lexicon_doc_tech_tokimeki_kaku_post() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/tech_tokimeki/kaku/reaction.rs b/crates/jacquard-api/src/tech_tokimeki/kaku/reaction.rs index e81f48a07..5d5128d3e 100644 --- a/crates/jacquard-api/src/tech_tokimeki/kaku/reaction.rs +++ b/crates/jacquard-api/src/tech_tokimeki/kaku/reaction.rs @@ -37,51 +37,51 @@ pub mod reaction_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; - type Type; type Subject; + type Type; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; - type Type = Unset; type Subject = Unset; + type Type = Unset; + type CreatedAt = Unset; } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; + ///State transition - sets the `subject` field to Set + pub struct SetSubject(PhantomData S>); + impl sealed::Sealed for SetSubject {} + impl State for SetSubject { + type Subject = Set; type Type = S::Type; - type Subject = S::Subject; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `type` field to Set pub struct SetType(PhantomData S>); impl sealed::Sealed for SetType {} impl State for SetType { - type CreatedAt = S::CreatedAt; - type Type = Set; type Subject = S::Subject; - } - ///State transition - sets the `subject` field to Set - pub struct SetSubject(PhantomData S>); - impl sealed::Sealed for SetSubject {} - impl State for SetSubject { + type Type = Set; type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Subject = S::Subject; type Type = S::Type; - type Subject = Set; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); - ///Marker type for the `type` field - pub struct r#type(()); ///Marker type for the `subject` field pub struct subject(()); + ///Marker type for the `type` field + pub struct r#type(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -174,9 +174,9 @@ where impl<'a, S> ReactionBuilder<'a, S> where S: reaction_state::State, - S::CreatedAt: reaction_state::IsSet, - S::Type: reaction_state::IsSet, S::Subject: reaction_state::IsSet, + S::Type: reaction_state::IsSet, + S::CreatedAt: reaction_state::IsSet, { /// Build the final struct pub fn build(self) -> Reaction<'a> { @@ -191,7 +191,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Reaction<'a> { @@ -397,7 +397,7 @@ fn lexicon_doc_tech_tokimeki_kaku_reaction() -> ::jacquard_lexicon::lexicon::Lex defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static("A reaction to a post"), @@ -407,9 +407,9 @@ fn lexicon_doc_tech_tokimeki_kaku_reaction() -> ::jacquard_lexicon::lexicon::Lex description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("type"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -417,7 +417,7 @@ fn lexicon_doc_tech_tokimeki_kaku_reaction() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -436,7 +436,9 @@ fn lexicon_doc_tech_tokimeki_kaku_reaction() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -445,7 +447,9 @@ fn lexicon_doc_tech_tokimeki_kaku_reaction() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "type", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Type of reaction"), diff --git a/crates/jacquard-api/src/tech_tokimeki/kaku/request.rs b/crates/jacquard-api/src/tech_tokimeki/kaku/request.rs index b5b490447..b8b0b603d 100644 --- a/crates/jacquard-api/src/tech_tokimeki/kaku/request.rs +++ b/crates/jacquard-api/src/tech_tokimeki/kaku/request.rs @@ -51,37 +51,37 @@ pub mod request_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type Text; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type Text = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Text = S::Text; + type CreatedAt = Unset; } ///State transition - sets the `text` field to Set pub struct SetText(PhantomData S>); impl sealed::Sealed for SetText {} impl State for SetText { - type CreatedAt = S::CreatedAt; type Text = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Text = S::Text; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `text` field pub struct text(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -228,8 +228,8 @@ where impl<'a, S> RequestBuilder<'a, S> where S: request_state::State, - S::CreatedAt: request_state::IsSet, S::Text: request_state::IsSet, + S::CreatedAt: request_state::IsSet, { /// Build the final struct pub fn build(self) -> Request<'a> { @@ -247,7 +247,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Request<'a> { @@ -377,7 +377,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Request<'a> { { let value = &self.text; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -408,7 +408,7 @@ fn lexicon_doc_tech_tokimeki_kaku_request() -> ::jacquard_lexicon::lexicon::Lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -420,8 +420,8 @@ fn lexicon_doc_tech_tokimeki_kaku_request() -> ::jacquard_lexicon::lexicon::Lexi description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("text"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -429,7 +429,7 @@ fn lexicon_doc_tech_tokimeki_kaku_request() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -448,7 +448,9 @@ fn lexicon_doc_tech_tokimeki_kaku_request() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("isOpen"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "isOpen", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -456,7 +458,7 @@ fn lexicon_doc_tech_tokimeki_kaku_request() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "referenceImages", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -475,7 +477,9 @@ fn lexicon_doc_tech_tokimeki_kaku_request() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tags", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -499,7 +503,7 @@ fn lexicon_doc_tech_tokimeki_kaku_request() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "targetActor", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -522,7 +526,9 @@ fn lexicon_doc_tech_tokimeki_kaku_request() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( 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 2afa8b579..90d4962a7 100644 --- a/crates/jacquard-api/src/tech_tokimeki/kaku/request_response.rs +++ b/crates/jacquard-api/src/tech_tokimeki/kaku/request_response.rs @@ -41,49 +41,49 @@ pub mod request_response_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Request; type CreatedAt; + type Request; type Post; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Request = Unset; type CreatedAt = Unset; + type Request = Unset; type Post = Unset; } - ///State transition - sets the `request` field to Set - pub struct SetRequest(PhantomData S>); - impl sealed::Sealed for SetRequest {} - impl State for SetRequest { - type Request = Set; - type CreatedAt = S::CreatedAt; - type Post = S::Post; - } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Request = S::Request; type CreatedAt = Set; + type Request = S::Request; + type Post = S::Post; + } + ///State transition - sets the `request` field to Set + pub struct SetRequest(PhantomData S>); + impl sealed::Sealed for SetRequest {} + impl State for SetRequest { + type CreatedAt = S::CreatedAt; + type Request = Set; type Post = S::Post; } ///State transition - sets the `post` field to Set pub struct SetPost(PhantomData S>); impl sealed::Sealed for SetPost {} impl State for SetPost { - type Request = S::Request; type CreatedAt = S::CreatedAt; + type Request = S::Request; type Post = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `request` field - pub struct request(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `request` field + pub struct request(()); ///Marker type for the `post` field pub struct post(()); } @@ -195,8 +195,8 @@ where impl<'a, S> RequestResponseBuilder<'a, S> where S: request_response_state::State, - S::Request: request_response_state::IsSet, S::CreatedAt: request_response_state::IsSet, + S::Request: request_response_state::IsSet, S::Post: request_response_state::IsSet, { /// Build the final struct @@ -213,7 +213,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> RequestResponse<'a> { @@ -315,7 +315,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for RequestResponse<'a> { } if let Some(ref value) = self.message { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -346,7 +346,7 @@ fn lexicon_doc_tech_tokimeki_kaku_requestResponse() -> ::jacquard_lexicon::lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -358,9 +358,9 @@ fn lexicon_doc_tech_tokimeki_kaku_requestResponse() -> ::jacquard_lexicon::lexic description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("request"), - ::jacquard_common::smol_str::SmolStr::new_static("post"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("request"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("post"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -368,7 +368,7 @@ fn lexicon_doc_tech_tokimeki_kaku_requestResponse() -> ::jacquard_lexicon::lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -387,7 +387,9 @@ fn lexicon_doc_tech_tokimeki_kaku_requestResponse() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("message"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "message", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -406,7 +408,9 @@ fn lexicon_doc_tech_tokimeki_kaku_requestResponse() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("post"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "post", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -415,7 +419,9 @@ fn lexicon_doc_tech_tokimeki_kaku_requestResponse() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("request"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "request", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( 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 98b7031b1..5d0d6eb73 100644 --- a/crates/jacquard-api/src/tech_tokimeki/kaku/room_gate.rs +++ b/crates/jacquard-api/src/tech_tokimeki/kaku/room_gate.rs @@ -38,37 +38,37 @@ pub mod room_gate_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Room; type CreatedAt; + type Room; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Room = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `room` field to Set - pub struct SetRoom(PhantomData S>); - impl sealed::Sealed for SetRoom {} - impl State for SetRoom { - type Room = Set; - type CreatedAt = S::CreatedAt; + type Room = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Room = S::Room; type CreatedAt = Set; + type Room = S::Room; + } + ///State transition - sets the `room` field to Set + pub struct SetRoom(PhantomData S>); + impl sealed::Sealed for SetRoom {} + impl State for SetRoom { + type CreatedAt = S::CreatedAt; + type Room = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `room` field - pub struct room(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `room` field + pub struct room(()); } } @@ -155,8 +155,8 @@ where impl<'a, S> RoomGateBuilder<'a, S> where S: room_gate_state::State, - S::Room: room_gate_state::IsSet, S::CreatedAt: room_gate_state::IsSet, + S::Room: room_gate_state::IsSet, { /// Build the final struct pub fn build(self) -> RoomGate<'a> { @@ -171,7 +171,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> RoomGate<'a> { @@ -273,7 +273,7 @@ fn lexicon_doc_tech_tokimeki_kaku_roomGate() -> ::jacquard_lexicon::lexicon::Lex defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -285,8 +285,8 @@ fn lexicon_doc_tech_tokimeki_kaku_roomGate() -> ::jacquard_lexicon::lexicon::Lex description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("room"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("room"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -294,7 +294,7 @@ fn lexicon_doc_tech_tokimeki_kaku_roomGate() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -317,7 +317,7 @@ fn lexicon_doc_tech_tokimeki_kaku_roomGate() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isClosed", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -327,7 +327,9 @@ fn lexicon_doc_tech_tokimeki_kaku_roomGate() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("room"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "room", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/tech_tokimeki/poll/poll.rs b/crates/jacquard-api/src/tech_tokimeki/poll/poll.rs index f3e8d5a41..3bff21ce1 100644 --- a/crates/jacquard-api/src/tech_tokimeki/poll/poll.rs +++ b/crates/jacquard-api/src/tech_tokimeki/poll/poll.rs @@ -42,51 +42,51 @@ pub mod poll_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type EndsAt; type CreatedAt; type Options; + type EndsAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type EndsAt = Unset; type CreatedAt = Unset; type Options = Unset; - } - ///State transition - sets the `ends_at` field to Set - pub struct SetEndsAt(PhantomData S>); - impl sealed::Sealed for SetEndsAt {} - impl State for SetEndsAt { - type EndsAt = Set; - type CreatedAt = S::CreatedAt; - type Options = S::Options; + type EndsAt = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type EndsAt = S::EndsAt; type CreatedAt = Set; type Options = S::Options; + type EndsAt = S::EndsAt; } ///State transition - sets the `options` field to Set pub struct SetOptions(PhantomData S>); impl sealed::Sealed for SetOptions {} impl State for SetOptions { - type EndsAt = S::EndsAt; type CreatedAt = S::CreatedAt; type Options = Set; + type EndsAt = S::EndsAt; + } + ///State transition - sets the `ends_at` field to Set + pub struct SetEndsAt(PhantomData S>); + impl sealed::Sealed for SetEndsAt {} + impl State for SetEndsAt { + type CreatedAt = S::CreatedAt; + type Options = S::Options; + type EndsAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `ends_at` field - pub struct ends_at(()); ///Marker type for the `created_at` field pub struct created_at(()); ///Marker type for the `options` field pub struct options(()); + ///Marker type for the `ends_at` field + pub struct ends_at(()); } } @@ -199,9 +199,9 @@ impl<'a, S: poll_state::State> PollBuilder<'a, S> { impl<'a, S> PollBuilder<'a, S> where S: poll_state::State, - S::EndsAt: poll_state::IsSet, S::CreatedAt: poll_state::IsSet, S::Options: poll_state::IsSet, + S::EndsAt: poll_state::IsSet, { /// Build the final struct pub fn build(self) -> Poll<'a> { @@ -217,7 +217,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Poll<'a> { @@ -346,7 +346,7 @@ fn lexicon_doc_tech_tokimeki_poll_poll() -> ::jacquard_lexicon::lexicon::Lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -358,9 +358,9 @@ fn lexicon_doc_tech_tokimeki_poll_poll() -> ::jacquard_lexicon::lexicon::Lexicon description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("options"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt"), - ::jacquard_common::smol_str::SmolStr::new_static("endsAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("options"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("endsAt") ], ), nullable: None, @@ -368,7 +368,7 @@ fn lexicon_doc_tech_tokimeki_poll_poll() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -387,7 +387,9 @@ fn lexicon_doc_tech_tokimeki_poll_poll() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("endsAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "endsAt", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -408,7 +410,9 @@ fn lexicon_doc_tech_tokimeki_poll_poll() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("options"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "options", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -432,7 +436,9 @@ fn lexicon_doc_tech_tokimeki_poll_poll() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/tech_tokimeki/poll/vote.rs b/crates/jacquard-api/src/tech_tokimeki/poll/vote.rs index caf824d54..50361a8ed 100644 --- a/crates/jacquard-api/src/tech_tokimeki/poll/vote.rs +++ b/crates/jacquard-api/src/tech_tokimeki/poll/vote.rs @@ -36,51 +36,51 @@ pub mod vote_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Poll; - type OptionIndex; type CreatedAt; + type OptionIndex; + type Poll; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Poll = Unset; - type OptionIndex = Unset; type CreatedAt = Unset; + type OptionIndex = Unset; + type Poll = Unset; } - ///State transition - sets the `poll` field to Set - pub struct SetPoll(PhantomData S>); - impl sealed::Sealed for SetPoll {} - impl State for SetPoll { - type Poll = Set; + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type CreatedAt = Set; type OptionIndex = S::OptionIndex; - type CreatedAt = S::CreatedAt; + type Poll = S::Poll; } ///State transition - sets the `option_index` field to Set pub struct SetOptionIndex(PhantomData S>); impl sealed::Sealed for SetOptionIndex {} impl State for SetOptionIndex { - type Poll = S::Poll; - type OptionIndex = Set; type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { + type OptionIndex = Set; type Poll = S::Poll; + } + ///State transition - sets the `poll` field to Set + pub struct SetPoll(PhantomData S>); + impl sealed::Sealed for SetPoll {} + impl State for SetPoll { + type CreatedAt = S::CreatedAt; type OptionIndex = S::OptionIndex; - type CreatedAt = Set; + type Poll = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `poll` field - pub struct poll(()); - ///Marker type for the `option_index` field - pub struct option_index(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `option_index` field + pub struct option_index(()); + ///Marker type for the `poll` field + pub struct poll(()); } } @@ -173,9 +173,9 @@ where impl<'a, S> VoteBuilder<'a, S> where S: vote_state::State, - S::Poll: vote_state::IsSet, - S::OptionIndex: vote_state::IsSet, S::CreatedAt: vote_state::IsSet, + S::OptionIndex: vote_state::IsSet, + S::Poll: vote_state::IsSet, { /// Build the final struct pub fn build(self) -> Vote<'a> { @@ -190,7 +190,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Vote<'a> { @@ -316,7 +316,7 @@ fn lexicon_doc_tech_tokimeki_poll_vote() -> ::jacquard_lexicon::lexicon::Lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static("A vote on a poll"), @@ -326,9 +326,9 @@ fn lexicon_doc_tech_tokimeki_poll_vote() -> ::jacquard_lexicon::lexicon::Lexicon description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("poll"), - ::jacquard_common::smol_str::SmolStr::new_static("optionIndex"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("poll"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("optionIndex"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -336,7 +336,7 @@ fn lexicon_doc_tech_tokimeki_poll_vote() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -355,7 +355,7 @@ fn lexicon_doc_tech_tokimeki_poll_vote() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "optionIndex", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -368,7 +368,9 @@ fn lexicon_doc_tech_tokimeki_poll_vote() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("poll"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "poll", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/tech_tokimeki/takibi/log.rs b/crates/jacquard-api/src/tech_tokimeki/takibi/log.rs index 52775f38c..1f2076288 100644 --- a/crates/jacquard-api/src/tech_tokimeki/takibi/log.rs +++ b/crates/jacquard-api/src/tech_tokimeki/takibi/log.rs @@ -142,7 +142,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Log<'a> { @@ -255,7 +255,7 @@ fn lexicon_doc_tech_tokimeki_takibi_log() -> ::jacquard_lexicon::lexicon::Lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -267,7 +267,7 @@ fn lexicon_doc_tech_tokimeki_takibi_log() -> ::jacquard_lexicon::lexicon::Lexico description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -275,7 +275,7 @@ fn lexicon_doc_tech_tokimeki_takibi_log() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -294,7 +294,7 @@ fn lexicon_doc_tech_tokimeki_takibi_log() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "visibleSparks", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -317,7 +317,7 @@ fn lexicon_doc_tech_tokimeki_takibi_log() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sparkRef"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("sparkRef"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -326,8 +326,8 @@ fn lexicon_doc_tech_tokimeki_takibi_log() -> ::jacquard_lexicon::lexicon::Lexico ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("spark"), - ::jacquard_common::smol_str::SmolStr::new_static("elapsed") + ::jacquard_common::deps::smol_str::SmolStr::new_static("spark"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("elapsed") ], ), nullable: None, @@ -335,7 +335,9 @@ fn lexicon_doc_tech_tokimeki_takibi_log() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("elapsed"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "elapsed", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -346,7 +348,9 @@ fn lexicon_doc_tech_tokimeki_takibi_log() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("spark"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "spark", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -511,7 +515,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> SparkRef<'a> { diff --git a/crates/jacquard-api/src/tech_tokimeki/takibi/spark.rs b/crates/jacquard-api/src/tech_tokimeki/takibi/spark.rs index 8e7f4d573..be6262a8e 100644 --- a/crates/jacquard-api/src/tech_tokimeki/takibi/spark.rs +++ b/crates/jacquard-api/src/tech_tokimeki/takibi/spark.rs @@ -34,37 +34,37 @@ pub mod spark_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Text; type CreatedAt; + type Text; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Text = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `text` field to Set - pub struct SetText(PhantomData S>); - impl sealed::Sealed for SetText {} - impl State for SetText { - type Text = Set; - type CreatedAt = S::CreatedAt; + type Text = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Text = S::Text; type CreatedAt = Set; + type Text = S::Text; + } + ///State transition - sets the `text` field to Set + pub struct SetText(PhantomData S>); + impl sealed::Sealed for SetText {} + impl State for SetText { + type CreatedAt = S::CreatedAt; + type Text = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `text` field - pub struct text(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `text` field + pub struct text(()); } } @@ -137,8 +137,8 @@ where impl<'a, S> SparkBuilder<'a, S> where S: spark_state::State, - S::Text: spark_state::IsSet, S::CreatedAt: spark_state::IsSet, + S::Text: spark_state::IsSet, { /// Build the final struct pub fn build(self) -> Spark<'a> { @@ -152,7 +152,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Spark<'a> { @@ -254,7 +254,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Spark<'a> { { let value = &self.text; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -285,7 +285,7 @@ fn lexicon_doc_tech_tokimeki_takibi_spark() -> ::jacquard_lexicon::lexicon::Lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -297,8 +297,8 @@ fn lexicon_doc_tech_tokimeki_takibi_spark() -> ::jacquard_lexicon::lexicon::Lexi description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("text"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -306,7 +306,7 @@ fn lexicon_doc_tech_tokimeki_takibi_spark() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -325,7 +325,9 @@ fn lexicon_doc_tech_tokimeki_takibi_spark() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/tools_ozone/communication.rs b/crates/jacquard-api/src/tools_ozone/communication.rs index 034f73501..d79eccfa3 100644 --- a/crates/jacquard-api/src/tools_ozone/communication.rs +++ b/crates/jacquard-api/src/tools_ozone/communication.rs @@ -55,127 +55,127 @@ pub mod template_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type UpdatedAt; type CreatedAt; + type UpdatedAt; type ContentMarkdown; type Disabled; - type LastUpdatedBy; - type Name; type Id; + type Name; + type LastUpdatedBy; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type UpdatedAt = Unset; type CreatedAt = Unset; + type UpdatedAt = Unset; type ContentMarkdown = Unset; type Disabled = Unset; - type LastUpdatedBy = Unset; - type Name = Unset; type Id = Unset; - } - ///State transition - sets the `updated_at` field to Set - pub struct SetUpdatedAt(PhantomData S>); - impl sealed::Sealed for SetUpdatedAt {} - impl State for SetUpdatedAt { - type UpdatedAt = Set; - type CreatedAt = S::CreatedAt; - type ContentMarkdown = S::ContentMarkdown; - type Disabled = S::Disabled; - type LastUpdatedBy = S::LastUpdatedBy; - type Name = S::Name; - type Id = S::Id; + type Name = Unset; + type LastUpdatedBy = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type UpdatedAt = S::UpdatedAt; type CreatedAt = Set; + type UpdatedAt = S::UpdatedAt; type ContentMarkdown = S::ContentMarkdown; type Disabled = S::Disabled; - type LastUpdatedBy = S::LastUpdatedBy; + type Id = S::Id; type Name = S::Name; + type LastUpdatedBy = S::LastUpdatedBy; + } + ///State transition - sets the `updated_at` field to Set + pub struct SetUpdatedAt(PhantomData S>); + impl sealed::Sealed for SetUpdatedAt {} + impl State for SetUpdatedAt { + type CreatedAt = S::CreatedAt; + type UpdatedAt = Set; + type ContentMarkdown = S::ContentMarkdown; + type Disabled = S::Disabled; type Id = S::Id; + type Name = S::Name; + type LastUpdatedBy = S::LastUpdatedBy; } ///State transition - sets the `content_markdown` field to Set pub struct SetContentMarkdown(PhantomData S>); impl sealed::Sealed for SetContentMarkdown {} impl State for SetContentMarkdown { - type UpdatedAt = S::UpdatedAt; type CreatedAt = S::CreatedAt; + type UpdatedAt = S::UpdatedAt; type ContentMarkdown = Set; type Disabled = S::Disabled; - type LastUpdatedBy = S::LastUpdatedBy; - type Name = S::Name; type Id = S::Id; + type Name = S::Name; + type LastUpdatedBy = S::LastUpdatedBy; } ///State transition - sets the `disabled` field to Set pub struct SetDisabled(PhantomData S>); impl sealed::Sealed for SetDisabled {} impl State for SetDisabled { - type UpdatedAt = S::UpdatedAt; type CreatedAt = S::CreatedAt; + type UpdatedAt = S::UpdatedAt; type ContentMarkdown = S::ContentMarkdown; type Disabled = Set; - type LastUpdatedBy = S::LastUpdatedBy; - type Name = S::Name; type Id = S::Id; + type Name = S::Name; + type LastUpdatedBy = S::LastUpdatedBy; } - ///State transition - sets the `last_updated_by` field to Set - pub struct SetLastUpdatedBy(PhantomData S>); - impl sealed::Sealed for SetLastUpdatedBy {} - impl State for SetLastUpdatedBy { - type UpdatedAt = S::UpdatedAt; + ///State transition - sets the `id` field to Set + pub struct SetId(PhantomData S>); + impl sealed::Sealed for SetId {} + impl State for SetId { type CreatedAt = S::CreatedAt; + type UpdatedAt = S::UpdatedAt; type ContentMarkdown = S::ContentMarkdown; type Disabled = S::Disabled; - type LastUpdatedBy = Set; + type Id = Set; type Name = S::Name; - type Id = S::Id; + type LastUpdatedBy = S::LastUpdatedBy; } ///State transition - sets the `name` field to Set pub struct SetName(PhantomData S>); impl sealed::Sealed for SetName {} impl State for SetName { - type UpdatedAt = S::UpdatedAt; type CreatedAt = S::CreatedAt; + type UpdatedAt = S::UpdatedAt; type ContentMarkdown = S::ContentMarkdown; type Disabled = S::Disabled; - type LastUpdatedBy = S::LastUpdatedBy; - type Name = Set; type Id = S::Id; + type Name = Set; + type LastUpdatedBy = S::LastUpdatedBy; } - ///State transition - sets the `id` field to Set - pub struct SetId(PhantomData S>); - impl sealed::Sealed for SetId {} - impl State for SetId { - type UpdatedAt = S::UpdatedAt; + ///State transition - sets the `last_updated_by` field to Set + pub struct SetLastUpdatedBy(PhantomData S>); + impl sealed::Sealed for SetLastUpdatedBy {} + impl State for SetLastUpdatedBy { type CreatedAt = S::CreatedAt; + type UpdatedAt = S::UpdatedAt; type ContentMarkdown = S::ContentMarkdown; type Disabled = S::Disabled; - type LastUpdatedBy = S::LastUpdatedBy; + type Id = S::Id; type Name = S::Name; - type Id = Set; + type LastUpdatedBy = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `updated_at` field - pub struct updated_at(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `updated_at` field + pub struct updated_at(()); ///Marker type for the `content_markdown` field pub struct content_markdown(()); ///Marker type for the `disabled` field pub struct disabled(()); - ///Marker type for the `last_updated_by` field - pub struct last_updated_by(()); - ///Marker type for the `name` field - pub struct name(()); ///Marker type for the `id` field pub struct id(()); + ///Marker type for the `name` field + pub struct name(()); + ///Marker type for the `last_updated_by` field + pub struct last_updated_by(()); } } @@ -395,13 +395,13 @@ where impl<'a, S> TemplateViewBuilder<'a, S> where S: template_view_state::State, - S::UpdatedAt: template_view_state::IsSet, S::CreatedAt: template_view_state::IsSet, + S::UpdatedAt: template_view_state::IsSet, S::ContentMarkdown: template_view_state::IsSet, S::Disabled: template_view_state::IsSet, - S::LastUpdatedBy: template_view_state::IsSet, - S::Name: template_view_state::IsSet, S::Id: template_view_state::IsSet, + S::Name: template_view_state::IsSet, + S::LastUpdatedBy: template_view_state::IsSet, { /// Build the final struct pub fn build(self) -> TemplateView<'a> { @@ -422,7 +422,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> TemplateView<'a> { @@ -452,18 +452,18 @@ fn lexicon_doc_tools_ozone_communication_defs() -> ::jacquard_lexicon::lexicon:: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("templateView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("templateView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("id"), - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("contentMarkdown"), - ::jacquard_common::smol_str::SmolStr::new_static("disabled"), - ::jacquard_common::smol_str::SmolStr::new_static("lastUpdatedBy"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt"), - ::jacquard_common::smol_str::SmolStr::new_static("updatedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("contentMarkdown"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("disabled"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("lastUpdatedBy"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("updatedAt") ], ), nullable: None, @@ -471,7 +471,7 @@ fn lexicon_doc_tools_ozone_communication_defs() -> ::jacquard_lexicon::lexicon:: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "contentMarkdown", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -492,7 +492,7 @@ fn lexicon_doc_tools_ozone_communication_defs() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -511,7 +511,9 @@ fn lexicon_doc_tools_ozone_communication_defs() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("disabled"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "disabled", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -519,7 +521,7 @@ fn lexicon_doc_tools_ozone_communication_defs() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -534,7 +536,9 @@ fn lexicon_doc_tools_ozone_communication_defs() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("lang"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "lang", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("Message language."), @@ -553,7 +557,7 @@ fn lexicon_doc_tools_ozone_communication_defs() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "lastUpdatedBy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -576,7 +580,9 @@ fn lexicon_doc_tools_ozone_communication_defs() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -595,7 +601,9 @@ fn lexicon_doc_tools_ozone_communication_defs() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -614,7 +622,7 @@ fn lexicon_doc_tools_ozone_communication_defs() -> ::jacquard_lexicon::lexicon:: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { 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 0ea33ef0e..16bb1e850 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 @@ -39,7 +39,7 @@ fn lexicon_doc_tools_ozone_hosting_getAccountHistory() -> ::jacquard_lexicon::le defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("accountCreated"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("accountCreated"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some(vec![]), @@ -48,7 +48,9 @@ fn lexicon_doc_tools_ozone_hosting_getAccountHistory() -> ::jacquard_lexicon::le #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("email"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "email", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -63,7 +65,9 @@ fn lexicon_doc_tools_ozone_hosting_getAccountHistory() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("handle"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "handle", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -84,18 +88,22 @@ fn lexicon_doc_tools_ozone_hosting_getAccountHistory() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("emailConfirmed"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("emailConfirmed"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("email")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("email") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("email"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "email", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -114,18 +122,22 @@ fn lexicon_doc_tools_ozone_hosting_getAccountHistory() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("emailUpdated"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("emailUpdated"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("email")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("email") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("email"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "email", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -144,14 +156,14 @@ fn lexicon_doc_tools_ozone_hosting_getAccountHistory() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("event"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("event"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("details"), - ::jacquard_common::smol_str::SmolStr::new_static("createdBy"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("details"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdBy"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -159,7 +171,7 @@ fn lexicon_doc_tools_ozone_hosting_getAccountHistory() -> ::jacquard_lexicon::le #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -178,7 +190,7 @@ fn lexicon_doc_tools_ozone_hosting_getAccountHistory() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdBy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -195,7 +207,9 @@ fn lexicon_doc_tools_ozone_hosting_getAccountHistory() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("details"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "details", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -213,18 +227,22 @@ fn lexicon_doc_tools_ozone_hosting_getAccountHistory() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("handleUpdated"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("handleUpdated"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("handle")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("handle") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("handle"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "handle", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -245,7 +263,7 @@ fn lexicon_doc_tools_ozone_hosting_getAccountHistory() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcQuery(::jacquard_lexicon::lexicon::LexXrpcQuery { description: None, parameters: Some( @@ -253,14 +271,16 @@ fn lexicon_doc_tools_ozone_hosting_getAccountHistory() -> ::jacquard_lexicon::le description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("did") + ::jacquard_common::deps::smol_str::SmolStr::new_static("did") ], ), properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cursor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cursor", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -275,7 +295,9 @@ fn lexicon_doc_tools_ozone_hosting_getAccountHistory() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -292,7 +314,9 @@ fn lexicon_doc_tools_ozone_hosting_getAccountHistory() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("events"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "events", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::Array(::jacquard_lexicon::lexicon::LexPrimitiveArray { description: None, items: ::jacquard_lexicon::lexicon::LexPrimitiveArrayItem::String(::jacquard_lexicon::lexicon::LexString { @@ -312,7 +336,9 @@ fn lexicon_doc_tools_ozone_hosting_getAccountHistory() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("limit"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "limit", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -331,7 +357,9 @@ fn lexicon_doc_tools_ozone_hosting_getAccountHistory() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("passwordUpdated"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "passwordUpdated", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some(vec![]), @@ -462,51 +490,51 @@ pub mod event_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type CreatedAt; type Details; type CreatedBy; - type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type CreatedAt = Unset; type Details = Unset; type CreatedBy = Unset; - type CreatedAt = Unset; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type CreatedAt = Set; + type Details = S::Details; + type CreatedBy = S::CreatedBy; } ///State transition - sets the `details` field to Set pub struct SetDetails(PhantomData S>); impl sealed::Sealed for SetDetails {} impl State for SetDetails { + type CreatedAt = S::CreatedAt; type Details = Set; type CreatedBy = S::CreatedBy; - type CreatedAt = S::CreatedAt; } ///State transition - sets the `created_by` field to Set pub struct SetCreatedBy(PhantomData S>); impl sealed::Sealed for SetCreatedBy {} impl State for SetCreatedBy { - type Details = S::Details; - type CreatedBy = Set; type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { type Details = S::Details; - type CreatedBy = S::CreatedBy; - type CreatedAt = Set; + type CreatedBy = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `created_at` field + pub struct created_at(()); ///Marker type for the `details` field pub struct details(()); ///Marker type for the `created_by` field pub struct created_by(()); - ///Marker type for the `created_at` field - pub struct created_at(()); } } @@ -599,9 +627,9 @@ where impl<'a, S> EventBuilder<'a, S> where S: event_state::State, + S::CreatedAt: event_state::IsSet, S::Details: event_state::IsSet, S::CreatedBy: event_state::IsSet, - S::CreatedAt: event_state::IsSet, { /// Build the final struct pub fn build(self) -> Event<'a> { @@ -616,7 +644,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Event<'a> { @@ -791,7 +819,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> HandleUpdated<'a> { diff --git a/crates/jacquard-api/src/tools_ozone/moderation.rs b/crates/jacquard-api/src/tools_ozone/moderation.rs index 8309863fc..83c1c0a51 100644 --- a/crates/jacquard-api/src/tools_ozone/moderation.rs +++ b/crates/jacquard-api/src/tools_ozone/moderation.rs @@ -206,7 +206,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> AccountEvent<'a> { @@ -339,7 +339,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("accountEvent"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("accountEvent"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -348,8 +348,8 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("timestamp"), - ::jacquard_common::smol_str::SmolStr::new_static("active") + ::jacquard_common::deps::smol_str::SmolStr::new_static("timestamp"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("active") ], ), nullable: None, @@ -357,7 +357,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("active"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "active", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -365,7 +367,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "comment", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -380,7 +384,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("status"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "status", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -395,7 +401,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "timestamp", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -418,18 +424,20 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("accountHosting"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("accountHosting"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("status")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("status") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -448,7 +456,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "deactivatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -467,7 +475,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "deletedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -486,7 +494,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "reactivatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -505,7 +513,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("status"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "status", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -520,7 +530,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -543,7 +553,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("accountStats"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("accountStats"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -556,7 +566,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "appealCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -569,7 +579,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "escalateCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -582,7 +592,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "reportCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -595,7 +605,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "suspendCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -608,7 +618,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "takedownCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -625,7 +635,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("accountStrike"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("accountStrike"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -638,7 +648,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "activeStrikeCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -651,7 +661,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "firstStrikeAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -674,7 +684,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "lastStrikeAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -697,7 +707,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "totalStrikeCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -714,7 +724,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("ageAssuranceEvent"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "ageAssuranceEvent", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -723,9 +735,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("createdAt"), - ::jacquard_common::smol_str::SmolStr::new_static("status"), - ::jacquard_common::smol_str::SmolStr::new_static("attemptId") + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("status"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("attemptId") ], ), nullable: None, @@ -733,7 +745,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("access"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "access", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -742,7 +756,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "attemptId", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -763,7 +777,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "completeIp", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -784,7 +798,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "completeUa", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -805,7 +819,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "countryCode", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -826,7 +840,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -849,7 +863,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("initIp"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "initIp", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -868,7 +884,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("initUa"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "initUa", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -887,7 +905,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "regionCode", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -908,7 +926,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("status"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "status", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -931,7 +951,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "ageAssuranceOverrideEvent", ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { @@ -942,8 +962,8 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("comment"), - ::jacquard_common::smol_str::SmolStr::new_static("status") + ::jacquard_common::deps::smol_str::SmolStr::new_static("comment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("status") ], ), nullable: None, @@ -951,7 +971,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("access"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "access", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -960,7 +982,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "comment", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -979,7 +1003,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("status"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "status", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1002,7 +1028,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "ageAssurancePurgeEvent", ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { @@ -1012,14 +1038,18 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("comment")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("comment") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "comment", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1042,15 +1072,15 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("blobView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("blobView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("cid"), - ::jacquard_common::smol_str::SmolStr::new_static("mimeType"), - ::jacquard_common::smol_str::SmolStr::new_static("size"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("mimeType"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("size"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -1058,7 +1088,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -1075,7 +1107,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1094,7 +1126,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("details"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "details", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -1105,7 +1139,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("mimeType"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "mimeType", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -1120,7 +1156,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "moderation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -1129,7 +1165,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "size", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -1144,7 +1182,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "cancelScheduledTakedownEvent", ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { @@ -1159,7 +1197,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "comment", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -1178,7 +1218,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("identityEvent"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("identityEvent"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -1187,7 +1227,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("timestamp") + ::jacquard_common::deps::smol_str::SmolStr::new_static("timestamp") ], ), nullable: None, @@ -1195,7 +1235,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "comment", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -1210,7 +1252,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("handle"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "handle", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -1227,7 +1271,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("pdsHost"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "pdsHost", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -1244,7 +1290,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "timestamp", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1263,7 +1309,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "tombstone", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -1277,13 +1323,13 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("imageDetails"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("imageDetails"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("width"), - ::jacquard_common::smol_str::SmolStr::new_static("height") + ::jacquard_common::deps::smol_str::SmolStr::new_static("width"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("height") ], ), nullable: None, @@ -1291,7 +1337,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("height"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "height", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -1302,7 +1350,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("width"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "width", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -1317,7 +1367,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("modEventAcknowledge"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "modEventAcknowledge", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -1326,7 +1378,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "acknowledgeAccountSubjects", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -1336,7 +1388,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "comment", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -1355,7 +1409,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("modEventComment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "modEventComment", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -1368,7 +1424,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "comment", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -1383,7 +1441,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sticky"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "sticky", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -1395,7 +1455,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("modEventDivert"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("modEventDivert"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -1408,7 +1468,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "comment", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -1427,7 +1489,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("modEventEmail"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("modEventEmail"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -1436,7 +1498,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subjectLine") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subjectLine") ], ), nullable: None, @@ -1444,7 +1506,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "comment", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1463,7 +1527,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "content", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1482,7 +1548,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isDelivered", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -1492,7 +1558,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("policies"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "policies", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -1516,7 +1584,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "severityLevel", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1537,7 +1605,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "strikeCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1550,7 +1618,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "strikeExpiresAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1573,7 +1641,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjectLine", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -1598,7 +1666,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("modEventEscalate"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "modEventEscalate", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -1607,7 +1677,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "comment", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -1626,7 +1698,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("modEventLabel"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("modEventLabel"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -1635,8 +1707,8 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("createLabelVals"), - ::jacquard_common::smol_str::SmolStr::new_static("negateLabelVals") + ::jacquard_common::deps::smol_str::SmolStr::new_static("createLabelVals"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("negateLabelVals") ], ), nullable: None, @@ -1644,7 +1716,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "comment", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -1659,7 +1733,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createLabelVals", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -1681,7 +1755,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "durationInHours", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1694,7 +1768,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "negateLabelVals", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -1720,7 +1794,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("modEventMute"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("modEventMute"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -1729,7 +1803,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("durationInHours") + ::jacquard_common::deps::smol_str::SmolStr::new_static("durationInHours") ], ), nullable: None, @@ -1737,7 +1811,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "comment", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -1752,7 +1828,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "durationInHours", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1769,7 +1845,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("modEventMuteReporter"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "modEventMuteReporter", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -1782,7 +1860,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "comment", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -1797,7 +1877,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "durationInHours", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -1814,7 +1894,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "modEventPriorityScore", ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { @@ -1824,14 +1904,18 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("score")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("score") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "comment", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -1846,7 +1930,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("score"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "score", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -1861,14 +1947,14 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("modEventReport"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("modEventReport"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static("Report a subject"), ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("reportType") + ::jacquard_common::deps::smol_str::SmolStr::new_static("reportType") ], ), nullable: None, @@ -1876,7 +1962,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "comment", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -1891,7 +1979,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isReporterMuted", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -1901,7 +1989,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "reportType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -1916,7 +2004,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "modEventResolveAppeal", ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { @@ -1931,7 +2019,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "comment", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1954,7 +2044,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "modEventReverseTakedown", ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { @@ -1969,7 +2059,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "comment", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1988,7 +2080,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("policies"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "policies", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -2012,7 +2106,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "severityLevel", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -2033,7 +2127,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "strikeCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -2050,7 +2144,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("modEventTag"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("modEventTag"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -2059,8 +2153,8 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("add"), - ::jacquard_common::smol_str::SmolStr::new_static("remove") + ::jacquard_common::deps::smol_str::SmolStr::new_static("add"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("remove") ], ), nullable: None, @@ -2068,7 +2162,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("add"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "add", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -2092,7 +2188,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "comment", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -2111,7 +2209,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("remove"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "remove", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -2139,7 +2239,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("modEventTakedown"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "modEventTakedown", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -2152,7 +2254,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "acknowledgeAccountSubjects", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -2162,7 +2264,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "comment", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -2177,7 +2281,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "durationInHours", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -2190,7 +2294,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("policies"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "policies", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -2214,7 +2320,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "severityLevel", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -2235,7 +2341,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "strikeCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -2248,7 +2354,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "strikeExpiresAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -2271,7 +2377,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "targetServices", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -2301,7 +2407,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("modEventUnmute"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("modEventUnmute"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -2314,7 +2420,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "comment", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -2337,7 +2445,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "modEventUnmuteReporter", ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { @@ -2352,7 +2460,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "comment", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -2375,17 +2485,17 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("modEventView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("modEventView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("id"), - ::jacquard_common::smol_str::SmolStr::new_static("event"), - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("subjectBlobCids"), - ::jacquard_common::smol_str::SmolStr::new_static("createdBy"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("event"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("subjectBlobCids"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdBy"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -2393,7 +2503,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -2412,7 +2522,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdBy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -2431,7 +2541,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "creatorHandle", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -2448,7 +2558,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("event"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "event", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2482,7 +2594,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -2493,14 +2605,18 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("modTool"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "modTool", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#modTool"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2512,7 +2628,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjectBlobCids", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -2534,7 +2650,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjectHandle", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -2555,17 +2671,19 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("modEventViewDetail"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "modEventViewDetail", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("id"), - ::jacquard_common::smol_str::SmolStr::new_static("event"), - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("subjectBlobs"), - ::jacquard_common::smol_str::SmolStr::new_static("createdBy"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("event"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("subjectBlobs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdBy"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -2573,7 +2691,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -2592,7 +2710,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdBy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -2611,7 +2729,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("event"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "event", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2645,7 +2765,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -2656,14 +2776,18 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("modTool"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "modTool", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#modTool"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -2676,7 +2800,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjectBlobs", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -2694,7 +2818,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("modTool"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("modTool"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -2702,20 +2826,26 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("name")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("name") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("meta"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "meta", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -2738,7 +2868,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("moderation"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("moderation"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -2747,7 +2877,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjectStatus", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -2762,7 +2892,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("moderationDetail"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "moderationDetail", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -2771,7 +2903,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjectStatus", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -2786,7 +2918,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("recordEvent"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("recordEvent"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -2795,8 +2927,8 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("timestamp"), - ::jacquard_common::smol_str::SmolStr::new_static("op") + ::jacquard_common::deps::smol_str::SmolStr::new_static("timestamp"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("op") ], ), nullable: None, @@ -2804,7 +2936,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -2821,7 +2955,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "comment", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -2836,7 +2972,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("op"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("op"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -2851,7 +2987,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "timestamp", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -2874,18 +3010,20 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("recordHosting"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("recordHosting"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("status")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("status") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -2904,7 +3042,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "deletedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -2923,7 +3061,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("status"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "status", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -2938,7 +3078,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -2961,18 +3101,18 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("recordView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("recordView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("cid"), - ::jacquard_common::smol_str::SmolStr::new_static("value"), - ::jacquard_common::smol_str::SmolStr::new_static("blobCids"), - ::jacquard_common::smol_str::SmolStr::new_static("indexedAt"), - ::jacquard_common::smol_str::SmolStr::new_static("moderation"), - ::jacquard_common::smol_str::SmolStr::new_static("repo") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("value"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("blobCids"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("indexedAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("moderation"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("repo") ], ), nullable: None, @@ -2980,7 +3120,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("blobCids"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "blobCids", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::String(::jacquard_lexicon::lexicon::LexString { @@ -3002,7 +3144,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -3019,7 +3163,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "indexedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -3038,7 +3182,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "moderation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -3047,14 +3191,18 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("repo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "repo", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#repoView"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -3071,7 +3219,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("value"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "value", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { description: None, }), @@ -3081,18 +3231,20 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("recordViewDetail"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "recordViewDetail", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("cid"), - ::jacquard_common::smol_str::SmolStr::new_static("value"), - ::jacquard_common::smol_str::SmolStr::new_static("blobs"), - ::jacquard_common::smol_str::SmolStr::new_static("indexedAt"), - ::jacquard_common::smol_str::SmolStr::new_static("moderation"), - ::jacquard_common::smol_str::SmolStr::new_static("repo") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("value"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("blobs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("indexedAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("moderation"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("repo") ], ), nullable: None, @@ -3100,7 +3252,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("blobs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "blobs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -3112,7 +3266,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -3129,7 +3285,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "indexedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -3148,7 +3304,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("labels"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "labels", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -3162,7 +3320,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "moderation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -3173,14 +3331,18 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("repo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "repo", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#repoView"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -3197,7 +3359,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("value"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "value", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { description: None, }), @@ -3207,18 +3371,24 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("recordViewNotFound"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "recordViewNotFound", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("uri")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -3239,7 +3409,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("recordsStats"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("recordsStats"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -3252,7 +3422,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "appealedCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -3265,7 +3435,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "escalatedCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -3278,7 +3448,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "pendingCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -3291,7 +3461,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "processedCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -3304,7 +3474,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "reportedCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -3317,7 +3487,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjectCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -3330,7 +3500,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "takendownCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -3343,7 +3513,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "totalReports", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -3360,16 +3530,16 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("repoView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("repoView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("did"), - ::jacquard_common::smol_str::SmolStr::new_static("handle"), - ::jacquard_common::smol_str::SmolStr::new_static("relatedRecords"), - ::jacquard_common::smol_str::SmolStr::new_static("indexedAt"), - ::jacquard_common::smol_str::SmolStr::new_static("moderation") + ::jacquard_common::deps::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("handle"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("relatedRecords"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("indexedAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("moderation") ], ), nullable: None, @@ -3377,7 +3547,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "deactivatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -3396,7 +3566,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -3413,7 +3585,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("email"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "email", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -3428,7 +3602,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("handle"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "handle", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -3445,7 +3621,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "indexedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -3464,7 +3640,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "inviteNote", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -3481,7 +3657,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "invitedBy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -3492,7 +3668,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "invitesDisabled", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -3502,7 +3678,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "moderation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -3511,7 +3687,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "relatedRecords", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -3524,7 +3700,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "threatSignatures", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -3544,16 +3720,16 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("repoViewDetail"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("repoViewDetail"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("did"), - ::jacquard_common::smol_str::SmolStr::new_static("handle"), - ::jacquard_common::smol_str::SmolStr::new_static("relatedRecords"), - ::jacquard_common::smol_str::SmolStr::new_static("indexedAt"), - ::jacquard_common::smol_str::SmolStr::new_static("moderation") + ::jacquard_common::deps::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("handle"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("relatedRecords"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("indexedAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("moderation") ], ), nullable: None, @@ -3561,7 +3737,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "deactivatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -3580,7 +3756,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -3597,7 +3775,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("email"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "email", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -3612,7 +3792,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "emailConfirmedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -3631,7 +3811,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("handle"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "handle", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -3648,7 +3830,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "indexedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -3667,7 +3849,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "inviteNote", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -3684,7 +3866,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "invitedBy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -3695,7 +3877,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("invites"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "invites", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -3709,7 +3893,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "invitesDisabled", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -3719,7 +3903,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("labels"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "labels", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -3733,7 +3919,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "moderation", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -3744,7 +3930,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "relatedRecords", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -3757,7 +3943,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "threatSignatures", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -3777,18 +3963,24 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("repoViewNotFound"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "repoViewNotFound", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("did")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("did") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -3809,20 +4001,20 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reporterStats"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("reporterStats"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("did"), - ::jacquard_common::smol_str::SmolStr::new_static("accountReportCount"), - ::jacquard_common::smol_str::SmolStr::new_static("recordReportCount"), - ::jacquard_common::smol_str::SmolStr::new_static("reportedAccountCount"), - ::jacquard_common::smol_str::SmolStr::new_static("reportedRecordCount"), - ::jacquard_common::smol_str::SmolStr::new_static("takendownAccountCount"), - ::jacquard_common::smol_str::SmolStr::new_static("takendownRecordCount"), - ::jacquard_common::smol_str::SmolStr::new_static("labeledAccountCount"), - ::jacquard_common::smol_str::SmolStr::new_static("labeledRecordCount") + ::jacquard_common::deps::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("accountReportCount"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("recordReportCount"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("reportedAccountCount"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("reportedRecordCount"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("takendownAccountCount"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("takendownRecordCount"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("labeledAccountCount"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("labeledRecordCount") ], ), nullable: None, @@ -3830,7 +4022,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accountReportCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -3843,7 +4035,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -3860,7 +4054,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "labeledAccountCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -3873,7 +4067,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "labeledRecordCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -3886,7 +4080,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "recordReportCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -3899,7 +4093,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "reportedAccountCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -3912,7 +4106,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "reportedRecordCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -3925,7 +4119,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "takendownAccountCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -3938,7 +4132,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "takendownRecordCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -3955,31 +4149,33 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reviewClosed"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("reviewClosed"), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reviewEscalated"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reviewEscalated", + ), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reviewNone"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("reviewNone"), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reviewOpen"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("reviewOpen"), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "revokeAccountCredentialsEvent", ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { @@ -3989,14 +4185,18 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("comment")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("comment") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "comment", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -4019,7 +4219,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "scheduleTakedownEvent", ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { @@ -4034,7 +4234,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "comment", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -4049,7 +4251,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "executeAfter", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -4068,7 +4270,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "executeAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -4087,7 +4289,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "executeUntil", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -4110,7 +4312,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("scheduledActionView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "scheduledActionView", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -4119,12 +4323,12 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("id"), - ::jacquard_common::smol_str::SmolStr::new_static("action"), - ::jacquard_common::smol_str::SmolStr::new_static("did"), - ::jacquard_common::smol_str::SmolStr::new_static("createdBy"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt"), - ::jacquard_common::smol_str::SmolStr::new_static("status") + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("action"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdBy"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("status") ], ), nullable: None, @@ -4132,7 +4336,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("action"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "action", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -4151,7 +4357,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -4174,7 +4380,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdBy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -4197,7 +4403,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -4218,7 +4426,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "eventData", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { @@ -4226,7 +4434,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "executeAfter", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -4249,7 +4457,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "executeAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -4272,7 +4480,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "executeUntil", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -4295,7 +4503,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "executionEventId", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -4308,7 +4516,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -4319,7 +4527,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "lastExecutedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -4342,7 +4550,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "lastFailureReason", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -4363,7 +4571,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "randomizeExecution", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -4373,7 +4581,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("status"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "status", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -4392,7 +4602,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -4419,7 +4629,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subjectReviewState"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subjectReviewState", + ), ::jacquard_lexicon::lexicon::LexUserType::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -4434,16 +4646,18 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subjectStatusView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subjectStatusView", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("id"), - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt"), - ::jacquard_common::smol_str::SmolStr::new_static("updatedAt"), - ::jacquard_common::smol_str::SmolStr::new_static("reviewState") + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("updatedAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("reviewState") ], ), nullable: None, @@ -4451,7 +4665,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accountStats", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -4462,7 +4676,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "accountStrike", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -4473,7 +4687,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "ageAssuranceState", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -4494,7 +4708,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "ageAssuranceUpdatedBy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -4515,7 +4729,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("appealed"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "appealed", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -4523,7 +4739,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "comment", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -4542,7 +4760,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -4565,7 +4783,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("hosting"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "hosting", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4576,7 +4796,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -4587,7 +4807,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "lastAppealedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -4610,7 +4830,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "lastReportedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -4629,7 +4849,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "lastReviewedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -4648,7 +4868,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "lastReviewedBy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -4667,7 +4887,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "muteReportingUntil", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -4686,7 +4906,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "muteUntil", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -4705,7 +4925,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "priorityScore", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -4718,7 +4938,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "recordsStats", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -4729,7 +4949,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "reviewState", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -4740,7 +4960,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -4752,7 +4974,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjectBlobCids", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -4776,7 +4998,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjectRepoHandle", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -4793,7 +5015,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "suspendUntil", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -4812,7 +5034,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tags", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::String(::jacquard_lexicon::lexicon::LexString { @@ -4832,7 +5056,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "takendown", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -4842,7 +5066,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -4869,7 +5093,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subjectView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("subjectView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -4878,8 +5102,8 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("type"), - ::jacquard_common::smol_str::SmolStr::new_static("subject") + ::jacquard_common::deps::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject") ], ), nullable: None, @@ -4887,7 +5111,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("profile"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "profile", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![], @@ -4895,7 +5121,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("record"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "record", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -4904,7 +5132,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("repo"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "repo", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -4913,7 +5143,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("status"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "status", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -4922,7 +5154,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -4937,7 +5171,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "type", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -4950,7 +5186,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "timelineEventPlcCreate", ), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { @@ -4958,7 +5194,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "timelineEventPlcOperation", ), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { @@ -4966,7 +5202,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "timelineEventPlcTombstone", ), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { @@ -4974,14 +5210,14 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("videoDetails"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("videoDetails"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("width"), - ::jacquard_common::smol_str::SmolStr::new_static("height"), - ::jacquard_common::smol_str::SmolStr::new_static("length") + ::jacquard_common::deps::smol_str::SmolStr::new_static("width"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("height"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("length") ], ), nullable: None, @@ -4989,7 +5225,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("height"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "height", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -5000,7 +5238,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("length"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "length", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -5011,7 +5251,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("width"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "width", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -5349,51 +5591,51 @@ pub mod age_assurance_event_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type AttemptId; type CreatedAt; type Status; + type AttemptId; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type AttemptId = Unset; type CreatedAt = Unset; type Status = Unset; - } - ///State transition - sets the `attempt_id` field to Set - pub struct SetAttemptId(PhantomData S>); - impl sealed::Sealed for SetAttemptId {} - impl State for SetAttemptId { - type AttemptId = Set; - type CreatedAt = S::CreatedAt; - type Status = S::Status; + type AttemptId = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type AttemptId = S::AttemptId; type CreatedAt = Set; type Status = S::Status; + type AttemptId = S::AttemptId; } ///State transition - sets the `status` field to Set pub struct SetStatus(PhantomData S>); impl sealed::Sealed for SetStatus {} impl State for SetStatus { - type AttemptId = S::AttemptId; type CreatedAt = S::CreatedAt; type Status = Set; + type AttemptId = S::AttemptId; + } + ///State transition - sets the `attempt_id` field to Set + pub struct SetAttemptId(PhantomData S>); + impl sealed::Sealed for SetAttemptId {} + impl State for SetAttemptId { + type CreatedAt = S::CreatedAt; + type Status = S::Status; + type AttemptId = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `attempt_id` field - pub struct attempt_id(()); ///Marker type for the `created_at` field pub struct created_at(()); ///Marker type for the `status` field pub struct status(()); + ///Marker type for the `attempt_id` field + pub struct attempt_id(()); } } @@ -5631,9 +5873,9 @@ where impl<'a, S> AgeAssuranceEventBuilder<'a, S> where S: age_assurance_event_state::State, - S::AttemptId: age_assurance_event_state::IsSet, S::CreatedAt: age_assurance_event_state::IsSet, S::Status: age_assurance_event_state::IsSet, + S::AttemptId: age_assurance_event_state::IsSet, { /// Build the final struct pub fn build(self) -> AgeAssuranceEvent<'a> { @@ -5655,7 +5897,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> AgeAssuranceEvent<'a> { @@ -6032,8 +6274,8 @@ pub mod blob_view_state { pub trait State: sealed::Sealed { type CreatedAt; type Cid; - type MimeType; type Size; + type MimeType; } /// Empty state - all required fields are unset pub struct Empty(()); @@ -6041,8 +6283,8 @@ pub mod blob_view_state { impl State for Empty { type CreatedAt = Unset; type Cid = Unset; - type MimeType = Unset; type Size = Unset; + type MimeType = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); @@ -6050,8 +6292,8 @@ pub mod blob_view_state { impl State for SetCreatedAt { type CreatedAt = Set; type Cid = S::Cid; - type MimeType = S::MimeType; type Size = S::Size; + type MimeType = S::MimeType; } ///State transition - sets the `cid` field to Set pub struct SetCid(PhantomData S>); @@ -6059,17 +6301,8 @@ pub mod blob_view_state { impl State for SetCid { type CreatedAt = S::CreatedAt; type Cid = Set; - type MimeType = S::MimeType; - type Size = S::Size; - } - ///State transition - sets the `mime_type` field to Set - pub struct SetMimeType(PhantomData S>); - impl sealed::Sealed for SetMimeType {} - impl State for SetMimeType { - type CreatedAt = S::CreatedAt; - type Cid = S::Cid; - type MimeType = Set; type Size = S::Size; + type MimeType = S::MimeType; } ///State transition - sets the `size` field to Set pub struct SetSize(PhantomData S>); @@ -6077,8 +6310,17 @@ pub mod blob_view_state { impl State for SetSize { type CreatedAt = S::CreatedAt; type Cid = S::Cid; - type MimeType = S::MimeType; type Size = Set; + type MimeType = S::MimeType; + } + ///State transition - sets the `mime_type` field to Set + pub struct SetMimeType(PhantomData S>); + impl sealed::Sealed for SetMimeType {} + impl State for SetMimeType { + type CreatedAt = S::CreatedAt; + type Cid = S::Cid; + type Size = S::Size; + type MimeType = Set; } /// Marker types for field names #[allow(non_camel_case_types)] @@ -6087,10 +6329,10 @@ pub mod blob_view_state { pub struct created_at(()); ///Marker type for the `cid` field pub struct cid(()); - ///Marker type for the `mime_type` field - pub struct mime_type(()); ///Marker type for the `size` field pub struct size(()); + ///Marker type for the `mime_type` field + pub struct mime_type(()); } } @@ -6239,8 +6481,8 @@ where S: blob_view_state::State, S::CreatedAt: blob_view_state::IsSet, S::Cid: blob_view_state::IsSet, - S::MimeType: blob_view_state::IsSet, S::Size: blob_view_state::IsSet, + S::MimeType: blob_view_state::IsSet, { /// Build the final struct pub fn build(self) -> BlobView<'a> { @@ -6258,7 +6500,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> BlobView<'a> { @@ -6542,7 +6784,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> IdentityEvent<'a> { @@ -6600,37 +6842,37 @@ pub mod image_details_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Height; type Width; + type Height; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Height = Unset; type Width = Unset; - } - ///State transition - sets the `height` field to Set - pub struct SetHeight(PhantomData S>); - impl sealed::Sealed for SetHeight {} - impl State for SetHeight { - type Height = Set; - type Width = S::Width; + type Height = Unset; } ///State transition - sets the `width` field to Set pub struct SetWidth(PhantomData S>); impl sealed::Sealed for SetWidth {} impl State for SetWidth { - type Height = S::Height; type Width = Set; + type Height = S::Height; + } + ///State transition - sets the `height` field to Set + pub struct SetHeight(PhantomData S>); + impl sealed::Sealed for SetHeight {} + impl State for SetHeight { + type Width = S::Width; + type Height = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `height` field - pub struct height(()); ///Marker type for the `width` field pub struct width(()); + ///Marker type for the `height` field + pub struct height(()); } } @@ -6700,8 +6942,8 @@ where impl<'a, S> ImageDetailsBuilder<'a, S> where S: image_details_state::State, - S::Height: image_details_state::IsSet, S::Width: image_details_state::IsSet, + S::Height: image_details_state::IsSet, { /// Build the final struct pub fn build(self) -> ImageDetails<'a> { @@ -6715,7 +6957,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ImageDetails<'a> { @@ -7000,37 +7242,37 @@ pub mod mod_event_label_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreateLabelVals; type NegateLabelVals; + type CreateLabelVals; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreateLabelVals = Unset; type NegateLabelVals = Unset; - } - ///State transition - sets the `create_label_vals` field to Set - pub struct SetCreateLabelVals(PhantomData S>); - impl sealed::Sealed for SetCreateLabelVals {} - impl State for SetCreateLabelVals { - type CreateLabelVals = Set; - type NegateLabelVals = S::NegateLabelVals; + type CreateLabelVals = Unset; } ///State transition - sets the `negate_label_vals` field to Set pub struct SetNegateLabelVals(PhantomData S>); impl sealed::Sealed for SetNegateLabelVals {} impl State for SetNegateLabelVals { - type CreateLabelVals = S::CreateLabelVals; type NegateLabelVals = Set; + type CreateLabelVals = S::CreateLabelVals; + } + ///State transition - sets the `create_label_vals` field to Set + pub struct SetCreateLabelVals(PhantomData S>); + impl sealed::Sealed for SetCreateLabelVals {} + impl State for SetCreateLabelVals { + type NegateLabelVals = S::NegateLabelVals; + type CreateLabelVals = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `create_label_vals` field - pub struct create_label_vals(()); ///Marker type for the `negate_label_vals` field pub struct negate_label_vals(()); + ///Marker type for the `create_label_vals` field + pub struct create_label_vals(()); } } @@ -7134,8 +7376,8 @@ where impl<'a, S> ModEventLabelBuilder<'a, S> where S: mod_event_label_state::State, - S::CreateLabelVals: mod_event_label_state::IsSet, S::NegateLabelVals: mod_event_label_state::IsSet, + S::CreateLabelVals: mod_event_label_state::IsSet, { /// Build the final struct pub fn build(self) -> ModEventLabel<'a> { @@ -7151,7 +7393,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ModEventLabel<'a> { @@ -7314,7 +7556,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ModEventMute<'a> { @@ -7516,7 +7758,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ModEventPriorityScore<'a> { @@ -7719,7 +7961,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ModEventReport<'a> { @@ -8017,7 +8259,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ModEventTag<'a> { @@ -8236,103 +8478,103 @@ pub mod mod_event_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type SubjectBlobCids; type CreatedAt; - type Event; type Subject; + type Event; type Id; - type SubjectBlobCids; type CreatedBy; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type SubjectBlobCids = Unset; type CreatedAt = Unset; - type Event = Unset; type Subject = Unset; + type Event = Unset; type Id = Unset; - type SubjectBlobCids = Unset; type CreatedBy = Unset; } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Event = S::Event; + ///State transition - sets the `subject_blob_cids` field to Set + pub struct SetSubjectBlobCids(PhantomData S>); + impl sealed::Sealed for SetSubjectBlobCids {} + impl State for SetSubjectBlobCids { + type SubjectBlobCids = Set; + type CreatedAt = S::CreatedAt; type Subject = S::Subject; + type Event = S::Event; type Id = S::Id; - type SubjectBlobCids = S::SubjectBlobCids; type CreatedBy = S::CreatedBy; } - ///State transition - sets the `event` field to Set - pub struct SetEvent(PhantomData S>); - impl sealed::Sealed for SetEvent {} - impl State for SetEvent { - type CreatedAt = S::CreatedAt; - type Event = Set; + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type SubjectBlobCids = S::SubjectBlobCids; + type CreatedAt = Set; type Subject = S::Subject; + type Event = S::Event; type Id = S::Id; - type SubjectBlobCids = S::SubjectBlobCids; type CreatedBy = S::CreatedBy; } ///State transition - sets the `subject` field to Set pub struct SetSubject(PhantomData S>); impl sealed::Sealed for SetSubject {} impl State for SetSubject { + type SubjectBlobCids = S::SubjectBlobCids; type CreatedAt = S::CreatedAt; - type Event = S::Event; type Subject = Set; + type Event = S::Event; type Id = S::Id; + type CreatedBy = S::CreatedBy; + } + ///State transition - sets the `event` field to Set + pub struct SetEvent(PhantomData S>); + impl sealed::Sealed for SetEvent {} + impl State for SetEvent { type SubjectBlobCids = S::SubjectBlobCids; + type CreatedAt = S::CreatedAt; + type Subject = S::Subject; + type Event = Set; + type Id = S::Id; type CreatedBy = S::CreatedBy; } ///State transition - sets the `id` field to Set pub struct SetId(PhantomData S>); impl sealed::Sealed for SetId {} impl State for SetId { - type CreatedAt = S::CreatedAt; - type Event = S::Event; - type Subject = S::Subject; - type Id = Set; type SubjectBlobCids = S::SubjectBlobCids; - type CreatedBy = S::CreatedBy; - } - ///State transition - sets the `subject_blob_cids` field to Set - pub struct SetSubjectBlobCids(PhantomData S>); - impl sealed::Sealed for SetSubjectBlobCids {} - impl State for SetSubjectBlobCids { type CreatedAt = S::CreatedAt; - type Event = S::Event; type Subject = S::Subject; - type Id = S::Id; - type SubjectBlobCids = Set; + type Event = S::Event; + type Id = Set; type CreatedBy = S::CreatedBy; } ///State transition - sets the `created_by` field to Set pub struct SetCreatedBy(PhantomData S>); impl sealed::Sealed for SetCreatedBy {} impl State for SetCreatedBy { + type SubjectBlobCids = S::SubjectBlobCids; type CreatedAt = S::CreatedAt; - type Event = S::Event; type Subject = S::Subject; + type Event = S::Event; type Id = S::Id; - type SubjectBlobCids = S::SubjectBlobCids; type CreatedBy = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `subject_blob_cids` field + pub struct subject_blob_cids(()); ///Marker type for the `created_at` field pub struct created_at(()); - ///Marker type for the `event` field - pub struct event(()); ///Marker type for the `subject` field pub struct subject(()); + ///Marker type for the `event` field + pub struct event(()); ///Marker type for the `id` field pub struct id(()); - ///Marker type for the `subject_blob_cids` field - pub struct subject_blob_cids(()); ///Marker type for the `created_by` field pub struct created_by(()); } @@ -8557,11 +8799,11 @@ impl<'a, S: mod_event_view_state::State> ModEventViewBuilder<'a, S> { impl<'a, S> ModEventViewBuilder<'a, S> where S: mod_event_view_state::State, + S::SubjectBlobCids: mod_event_view_state::IsSet, S::CreatedAt: mod_event_view_state::IsSet, - S::Event: mod_event_view_state::IsSet, S::Subject: mod_event_view_state::IsSet, + S::Event: mod_event_view_state::IsSet, S::Id: mod_event_view_state::IsSet, - S::SubjectBlobCids: mod_event_view_state::IsSet, S::CreatedBy: mod_event_view_state::IsSet, { /// Build the final struct @@ -8583,7 +8825,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ModEventView<'a> { @@ -8761,94 +9003,96 @@ pub mod mod_event_view_detail_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Event; + type CreatedAt; type SubjectBlobs; type Subject; type CreatedBy; type Id; - type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Event = Unset; + type CreatedAt = Unset; type SubjectBlobs = Unset; type Subject = Unset; type CreatedBy = Unset; type Id = Unset; - type CreatedAt = Unset; } ///State transition - sets the `event` field to Set pub struct SetEvent(PhantomData S>); impl sealed::Sealed for SetEvent {} impl State for SetEvent { type Event = Set; + type CreatedAt = S::CreatedAt; + type SubjectBlobs = S::SubjectBlobs; + type Subject = S::Subject; + type CreatedBy = S::CreatedBy; + type Id = S::Id; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Event = S::Event; + type CreatedAt = Set; type SubjectBlobs = S::SubjectBlobs; type Subject = S::Subject; type CreatedBy = S::CreatedBy; type Id = S::Id; - type CreatedAt = S::CreatedAt; } ///State transition - sets the `subject_blobs` field to Set pub struct SetSubjectBlobs(PhantomData S>); impl sealed::Sealed for SetSubjectBlobs {} impl State for SetSubjectBlobs { type Event = S::Event; + type CreatedAt = S::CreatedAt; type SubjectBlobs = Set; type Subject = S::Subject; type CreatedBy = S::CreatedBy; type Id = S::Id; - type CreatedAt = S::CreatedAt; } ///State transition - sets the `subject` field to Set pub struct SetSubject(PhantomData S>); impl sealed::Sealed for SetSubject {} impl State for SetSubject { type Event = S::Event; + type CreatedAt = S::CreatedAt; type SubjectBlobs = S::SubjectBlobs; type Subject = Set; type CreatedBy = S::CreatedBy; type Id = S::Id; - type CreatedAt = S::CreatedAt; } ///State transition - sets the `created_by` field to Set pub struct SetCreatedBy(PhantomData S>); impl sealed::Sealed for SetCreatedBy {} impl State for SetCreatedBy { type Event = S::Event; + type CreatedAt = S::CreatedAt; type SubjectBlobs = S::SubjectBlobs; type Subject = S::Subject; type CreatedBy = Set; type Id = S::Id; - type CreatedAt = S::CreatedAt; } ///State transition - sets the `id` field to Set pub struct SetId(PhantomData S>); impl sealed::Sealed for SetId {} impl State for SetId { type Event = S::Event; - type SubjectBlobs = S::SubjectBlobs; - type Subject = S::Subject; - type CreatedBy = S::CreatedBy; - type Id = Set; type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type Event = S::Event; type SubjectBlobs = S::SubjectBlobs; type Subject = S::Subject; type CreatedBy = S::CreatedBy; - type Id = S::Id; - type CreatedAt = Set; + type Id = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `event` field pub struct event(()); + ///Marker type for the `created_at` field + pub struct created_at(()); ///Marker type for the `subject_blobs` field pub struct subject_blobs(()); ///Marker type for the `subject` field @@ -8857,8 +9101,6 @@ pub mod mod_event_view_detail_state { pub struct created_by(()); ///Marker type for the `id` field pub struct id(()); - ///Marker type for the `created_at` field - pub struct created_at(()); } } @@ -9032,11 +9274,11 @@ impl<'a, S> ModEventViewDetailBuilder<'a, S> where S: mod_event_view_detail_state::State, S::Event: mod_event_view_detail_state::IsSet, + S::CreatedAt: mod_event_view_detail_state::IsSet, S::SubjectBlobs: mod_event_view_detail_state::IsSet, S::Subject: mod_event_view_detail_state::IsSet, S::CreatedBy: mod_event_view_detail_state::IsSet, S::Id: mod_event_view_detail_state::IsSet, - S::CreatedAt: mod_event_view_detail_state::IsSet, { /// Build the final struct pub fn build(self) -> ModEventViewDetail<'a> { @@ -9055,7 +9297,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ModEventViewDetail<'a> { @@ -9343,37 +9585,37 @@ pub mod record_event_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Timestamp; type Op; + type Timestamp; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Timestamp = Unset; type Op = Unset; - } - ///State transition - sets the `timestamp` field to Set - pub struct SetTimestamp(PhantomData S>); - impl sealed::Sealed for SetTimestamp {} - impl State for SetTimestamp { - type Timestamp = Set; - type Op = S::Op; + type Timestamp = Unset; } ///State transition - sets the `op` field to Set pub struct SetOp(PhantomData S>); impl sealed::Sealed for SetOp {} impl State for SetOp { - type Timestamp = S::Timestamp; type Op = Set; + type Timestamp = S::Timestamp; + } + ///State transition - sets the `timestamp` field to Set + pub struct SetTimestamp(PhantomData S>); + impl sealed::Sealed for SetTimestamp {} + impl State for SetTimestamp { + type Op = S::Op; + type Timestamp = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `timestamp` field - pub struct timestamp(()); ///Marker type for the `op` field pub struct op(()); + ///Marker type for the `timestamp` field + pub struct timestamp(()); } } @@ -9483,8 +9725,8 @@ where impl<'a, S> RecordEventBuilder<'a, S> where S: record_event_state::State, - S::Timestamp: record_event_state::IsSet, S::Op: record_event_state::IsSet, + S::Timestamp: record_event_state::IsSet, { /// Build the final struct pub fn build(self) -> RecordEvent<'a> { @@ -9500,7 +9742,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> RecordEvent<'a> { @@ -9789,127 +10031,127 @@ pub mod record_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Cid; + type Value; type Moderation; type Repo; type IndexedAt; - type Uri; - type Value; type BlobCids; + type Uri; + type Cid; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Cid = Unset; + type Value = Unset; type Moderation = Unset; type Repo = Unset; type IndexedAt = Unset; - type Uri = Unset; - type Value = Unset; type BlobCids = Unset; + type Uri = Unset; + type Cid = Unset; } - ///State transition - sets the `cid` field to Set - pub struct SetCid(PhantomData S>); - impl sealed::Sealed for SetCid {} - impl State for SetCid { - type Cid = Set; + ///State transition - sets the `value` field to Set + pub struct SetValue(PhantomData S>); + impl sealed::Sealed for SetValue {} + impl State for SetValue { + type Value = Set; type Moderation = S::Moderation; type Repo = S::Repo; type IndexedAt = S::IndexedAt; - type Uri = S::Uri; - type Value = S::Value; type BlobCids = S::BlobCids; + type Uri = S::Uri; + type Cid = S::Cid; } ///State transition - sets the `moderation` field to Set pub struct SetModeration(PhantomData S>); impl sealed::Sealed for SetModeration {} impl State for SetModeration { - type Cid = S::Cid; + type Value = S::Value; type Moderation = Set; type Repo = S::Repo; type IndexedAt = S::IndexedAt; - type Uri = S::Uri; - type Value = S::Value; type BlobCids = S::BlobCids; + type Uri = S::Uri; + type Cid = S::Cid; } ///State transition - sets the `repo` field to Set pub struct SetRepo(PhantomData S>); impl sealed::Sealed for SetRepo {} impl State for SetRepo { - type Cid = S::Cid; + type Value = S::Value; type Moderation = S::Moderation; type Repo = Set; type IndexedAt = S::IndexedAt; - type Uri = S::Uri; - type Value = S::Value; type BlobCids = S::BlobCids; + type Uri = S::Uri; + type Cid = S::Cid; } ///State transition - sets the `indexed_at` field to Set pub struct SetIndexedAt(PhantomData S>); impl sealed::Sealed for SetIndexedAt {} impl State for SetIndexedAt { - type Cid = S::Cid; + type Value = S::Value; type Moderation = S::Moderation; type Repo = S::Repo; type IndexedAt = Set; + type BlobCids = S::BlobCids; type Uri = S::Uri; + type Cid = S::Cid; + } + ///State transition - sets the `blob_cids` field to Set + pub struct SetBlobCids(PhantomData S>); + impl sealed::Sealed for SetBlobCids {} + impl State for SetBlobCids { type Value = S::Value; - type BlobCids = S::BlobCids; + type Moderation = S::Moderation; + type Repo = S::Repo; + type IndexedAt = S::IndexedAt; + type BlobCids = Set; + type Uri = S::Uri; + type Cid = S::Cid; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { - type Cid = S::Cid; - type Moderation = S::Moderation; - type Repo = S::Repo; - type IndexedAt = S::IndexedAt; - type Uri = Set; type Value = S::Value; - type BlobCids = S::BlobCids; - } - ///State transition - sets the `value` field to Set - pub struct SetValue(PhantomData S>); - impl sealed::Sealed for SetValue {} - impl State for SetValue { - type Cid = S::Cid; type Moderation = S::Moderation; type Repo = S::Repo; type IndexedAt = S::IndexedAt; - type Uri = S::Uri; - type Value = Set; type BlobCids = S::BlobCids; - } - ///State transition - sets the `blob_cids` field to Set - pub struct SetBlobCids(PhantomData S>); - impl sealed::Sealed for SetBlobCids {} - impl State for SetBlobCids { + type Uri = Set; type Cid = S::Cid; + } + ///State transition - sets the `cid` field to Set + pub struct SetCid(PhantomData S>); + impl sealed::Sealed for SetCid {} + impl State for SetCid { + type Value = S::Value; type Moderation = S::Moderation; type Repo = S::Repo; type IndexedAt = S::IndexedAt; + type BlobCids = S::BlobCids; type Uri = S::Uri; - type Value = S::Value; - type BlobCids = Set; + type Cid = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `cid` field - pub struct cid(()); + ///Marker type for the `value` field + pub struct value(()); ///Marker type for the `moderation` field pub struct moderation(()); ///Marker type for the `repo` field pub struct repo(()); ///Marker type for the `indexed_at` field pub struct indexed_at(()); - ///Marker type for the `uri` field - pub struct uri(()); - ///Marker type for the `value` field - pub struct value(()); ///Marker type for the `blob_cids` field pub struct blob_cids(()); + ///Marker type for the `uri` field + pub struct uri(()); + ///Marker type for the `cid` field + pub struct cid(()); } } @@ -10082,13 +10324,13 @@ where impl<'a, S> RecordViewBuilder<'a, S> where S: record_view_state::State, - S::Cid: record_view_state::IsSet, + S::Value: record_view_state::IsSet, S::Moderation: record_view_state::IsSet, S::Repo: record_view_state::IsSet, S::IndexedAt: record_view_state::IsSet, - S::Uri: record_view_state::IsSet, - S::Value: record_view_state::IsSet, S::BlobCids: record_view_state::IsSet, + S::Uri: record_view_state::IsSet, + S::Cid: record_view_state::IsSet, { /// Build the final struct pub fn build(self) -> RecordView<'a> { @@ -10107,7 +10349,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> RecordView<'a> { @@ -10181,127 +10423,127 @@ pub mod record_view_detail_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type IndexedAt; - type Repo; type Value; + type IndexedAt; type Cid; - type Blobs; type Moderation; + type Repo; type Uri; + type Blobs; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type IndexedAt = Unset; - type Repo = Unset; type Value = Unset; + type IndexedAt = Unset; type Cid = Unset; - type Blobs = Unset; type Moderation = Unset; + type Repo = Unset; type Uri = Unset; - } - ///State transition - sets the `indexed_at` field to Set - pub struct SetIndexedAt(PhantomData S>); - impl sealed::Sealed for SetIndexedAt {} - impl State for SetIndexedAt { - type IndexedAt = Set; - type Repo = S::Repo; - type Value = S::Value; - type Cid = S::Cid; - type Blobs = S::Blobs; - type Moderation = S::Moderation; - type Uri = S::Uri; - } - ///State transition - sets the `repo` field to Set - pub struct SetRepo(PhantomData S>); - impl sealed::Sealed for SetRepo {} - impl State for SetRepo { - type IndexedAt = S::IndexedAt; - type Repo = Set; - type Value = S::Value; - type Cid = S::Cid; - type Blobs = S::Blobs; - type Moderation = S::Moderation; - type Uri = S::Uri; + type Blobs = Unset; } ///State transition - sets the `value` field to Set pub struct SetValue(PhantomData S>); impl sealed::Sealed for SetValue {} impl State for SetValue { - type IndexedAt = S::IndexedAt; - type Repo = S::Repo; type Value = Set; + type IndexedAt = S::IndexedAt; type Cid = S::Cid; + type Moderation = S::Moderation; + type Repo = S::Repo; + type Uri = S::Uri; type Blobs = S::Blobs; + } + ///State transition - sets the `indexed_at` field to Set + pub struct SetIndexedAt(PhantomData S>); + impl sealed::Sealed for SetIndexedAt {} + impl State for SetIndexedAt { + type Value = S::Value; + type IndexedAt = Set; + type Cid = S::Cid; type Moderation = S::Moderation; + type Repo = S::Repo; type Uri = S::Uri; + type Blobs = S::Blobs; } ///State transition - sets the `cid` field to Set pub struct SetCid(PhantomData S>); impl sealed::Sealed for SetCid {} impl State for SetCid { - type IndexedAt = S::IndexedAt; - type Repo = S::Repo; type Value = S::Value; + type IndexedAt = S::IndexedAt; type Cid = Set; - type Blobs = S::Blobs; type Moderation = S::Moderation; - type Uri = S::Uri; - } - ///State transition - sets the `blobs` field to Set - pub struct SetBlobs(PhantomData S>); - impl sealed::Sealed for SetBlobs {} - impl State for SetBlobs { - type IndexedAt = S::IndexedAt; type Repo = S::Repo; - type Value = S::Value; - type Cid = S::Cid; - type Blobs = Set; - type Moderation = S::Moderation; type Uri = S::Uri; + type Blobs = S::Blobs; } ///State transition - sets the `moderation` field to Set pub struct SetModeration(PhantomData S>); impl sealed::Sealed for SetModeration {} impl State for SetModeration { + type Value = S::Value; type IndexedAt = S::IndexedAt; + type Cid = S::Cid; + type Moderation = Set; type Repo = S::Repo; + type Uri = S::Uri; + type Blobs = S::Blobs; + } + ///State transition - sets the `repo` field to Set + pub struct SetRepo(PhantomData S>); + impl sealed::Sealed for SetRepo {} + impl State for SetRepo { type Value = S::Value; + type IndexedAt = S::IndexedAt; type Cid = S::Cid; - type Blobs = S::Blobs; - type Moderation = Set; + type Moderation = S::Moderation; + type Repo = Set; type Uri = S::Uri; + type Blobs = S::Blobs; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { + type Value = S::Value; type IndexedAt = S::IndexedAt; + type Cid = S::Cid; + type Moderation = S::Moderation; type Repo = S::Repo; + type Uri = Set; + type Blobs = S::Blobs; + } + ///State transition - sets the `blobs` field to Set + pub struct SetBlobs(PhantomData S>); + impl sealed::Sealed for SetBlobs {} + impl State for SetBlobs { type Value = S::Value; + type IndexedAt = S::IndexedAt; type Cid = S::Cid; - type Blobs = S::Blobs; type Moderation = S::Moderation; - type Uri = Set; + type Repo = S::Repo; + type Uri = S::Uri; + type Blobs = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `indexed_at` field - pub struct indexed_at(()); - ///Marker type for the `repo` field - pub struct repo(()); ///Marker type for the `value` field pub struct value(()); + ///Marker type for the `indexed_at` field + pub struct indexed_at(()); ///Marker type for the `cid` field pub struct cid(()); - ///Marker type for the `blobs` field - pub struct blobs(()); ///Marker type for the `moderation` field pub struct moderation(()); + ///Marker type for the `repo` field + pub struct repo(()); ///Marker type for the `uri` field pub struct uri(()); + ///Marker type for the `blobs` field + pub struct blobs(()); } } @@ -10494,13 +10736,13 @@ where impl<'a, S> RecordViewDetailBuilder<'a, S> where S: record_view_detail_state::State, - S::IndexedAt: record_view_detail_state::IsSet, - S::Repo: record_view_detail_state::IsSet, S::Value: record_view_detail_state::IsSet, + S::IndexedAt: record_view_detail_state::IsSet, S::Cid: record_view_detail_state::IsSet, - S::Blobs: record_view_detail_state::IsSet, S::Moderation: record_view_detail_state::IsSet, + S::Repo: record_view_detail_state::IsSet, S::Uri: record_view_detail_state::IsSet, + S::Blobs: record_view_detail_state::IsSet, { /// Build the final struct pub fn build(self) -> RecordViewDetail<'a> { @@ -10520,7 +10762,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> RecordViewDetail<'a> { @@ -10665,7 +10907,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> RecordViewNotFound<'a> { @@ -10801,85 +11043,85 @@ pub mod repo_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type RelatedRecords; - type IndexedAt; + type Did; type Moderation; + type IndexedAt; type Handle; - type Did; + type RelatedRecords; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type RelatedRecords = Unset; - type IndexedAt = Unset; + type Did = Unset; type Moderation = Unset; + type IndexedAt = Unset; type Handle = Unset; - type Did = Unset; + type RelatedRecords = Unset; } - ///State transition - sets the `related_records` field to Set - pub struct SetRelatedRecords(PhantomData S>); - impl sealed::Sealed for SetRelatedRecords {} - impl State for SetRelatedRecords { - type RelatedRecords = Set; - type IndexedAt = S::IndexedAt; + ///State transition - sets the `did` field to Set + pub struct SetDid(PhantomData S>); + impl sealed::Sealed for SetDid {} + impl State for SetDid { + type Did = Set; type Moderation = S::Moderation; + type IndexedAt = S::IndexedAt; type Handle = S::Handle; - type Did = S::Did; - } - ///State transition - sets the `indexed_at` field to Set - pub struct SetIndexedAt(PhantomData S>); - impl sealed::Sealed for SetIndexedAt {} - impl State for SetIndexedAt { type RelatedRecords = S::RelatedRecords; - type IndexedAt = Set; - type Moderation = S::Moderation; - type Handle = S::Handle; - type Did = S::Did; } ///State transition - sets the `moderation` field to Set pub struct SetModeration(PhantomData S>); impl sealed::Sealed for SetModeration {} impl State for SetModeration { - type RelatedRecords = S::RelatedRecords; - type IndexedAt = S::IndexedAt; + type Did = S::Did; type Moderation = Set; + type IndexedAt = S::IndexedAt; type Handle = S::Handle; + type RelatedRecords = S::RelatedRecords; + } + ///State transition - sets the `indexed_at` field to Set + pub struct SetIndexedAt(PhantomData S>); + impl sealed::Sealed for SetIndexedAt {} + impl State for SetIndexedAt { type Did = S::Did; + type Moderation = S::Moderation; + type IndexedAt = Set; + type Handle = S::Handle; + type RelatedRecords = S::RelatedRecords; } ///State transition - sets the `handle` field to Set pub struct SetHandle(PhantomData S>); impl sealed::Sealed for SetHandle {} impl State for SetHandle { - type RelatedRecords = S::RelatedRecords; - type IndexedAt = S::IndexedAt; + type Did = S::Did; type Moderation = S::Moderation; + type IndexedAt = S::IndexedAt; type Handle = Set; - type Did = S::Did; - } - ///State transition - sets the `did` field to Set - pub struct SetDid(PhantomData S>); - impl sealed::Sealed for SetDid {} - impl State for SetDid { type RelatedRecords = S::RelatedRecords; - type IndexedAt = S::IndexedAt; + } + ///State transition - sets the `related_records` field to Set + pub struct SetRelatedRecords(PhantomData S>); + impl sealed::Sealed for SetRelatedRecords {} + impl State for SetRelatedRecords { + type Did = S::Did; type Moderation = S::Moderation; + type IndexedAt = S::IndexedAt; type Handle = S::Handle; - type Did = Set; + type RelatedRecords = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `related_records` field - pub struct related_records(()); - ///Marker type for the `indexed_at` field - pub struct indexed_at(()); + ///Marker type for the `did` field + pub struct did(()); ///Marker type for the `moderation` field pub struct moderation(()); + ///Marker type for the `indexed_at` field + pub struct indexed_at(()); ///Marker type for the `handle` field pub struct handle(()); - ///Marker type for the `did` field - pub struct did(()); + ///Marker type for the `related_records` field + pub struct related_records(()); } } @@ -11135,11 +11377,11 @@ impl<'a, S: repo_view_state::State> RepoViewBuilder<'a, S> { impl<'a, S> RepoViewBuilder<'a, S> where S: repo_view_state::State, - S::RelatedRecords: repo_view_state::IsSet, - S::IndexedAt: repo_view_state::IsSet, + S::Did: repo_view_state::IsSet, S::Moderation: repo_view_state::IsSet, + S::IndexedAt: repo_view_state::IsSet, S::Handle: repo_view_state::IsSet, - S::Did: repo_view_state::IsSet, + S::RelatedRecords: repo_view_state::IsSet, { /// Build the final struct pub fn build(self) -> RepoView<'a> { @@ -11162,7 +11404,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> RepoView<'a> { @@ -11261,85 +11503,85 @@ pub mod repo_view_detail_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Moderation; - type RelatedRecords; + type Did; type IndexedAt; type Handle; - type Did; + type RelatedRecords; + type Moderation; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Moderation = Unset; - type RelatedRecords = Unset; + type Did = Unset; type IndexedAt = Unset; type Handle = Unset; - type Did = Unset; + type RelatedRecords = Unset; + type Moderation = Unset; } - ///State transition - sets the `moderation` field to Set - pub struct SetModeration(PhantomData S>); - impl sealed::Sealed for SetModeration {} - impl State for SetModeration { - type Moderation = Set; - type RelatedRecords = S::RelatedRecords; + ///State transition - sets the `did` field to Set + pub struct SetDid(PhantomData S>); + impl sealed::Sealed for SetDid {} + impl State for SetDid { + type Did = Set; type IndexedAt = S::IndexedAt; type Handle = S::Handle; - type Did = S::Did; - } - ///State transition - sets the `related_records` field to Set - pub struct SetRelatedRecords(PhantomData S>); - impl sealed::Sealed for SetRelatedRecords {} - impl State for SetRelatedRecords { + type RelatedRecords = S::RelatedRecords; type Moderation = S::Moderation; - type RelatedRecords = Set; - type IndexedAt = S::IndexedAt; - type Handle = S::Handle; - type Did = S::Did; } ///State transition - sets the `indexed_at` field to Set pub struct SetIndexedAt(PhantomData S>); impl sealed::Sealed for SetIndexedAt {} impl State for SetIndexedAt { - type Moderation = S::Moderation; - type RelatedRecords = S::RelatedRecords; + type Did = S::Did; type IndexedAt = Set; type Handle = S::Handle; - type Did = S::Did; + type RelatedRecords = S::RelatedRecords; + type Moderation = S::Moderation; } ///State transition - sets the `handle` field to Set pub struct SetHandle(PhantomData S>); impl sealed::Sealed for SetHandle {} impl State for SetHandle { - type Moderation = S::Moderation; - type RelatedRecords = S::RelatedRecords; + type Did = S::Did; type IndexedAt = S::IndexedAt; type Handle = Set; - type Did = S::Did; + type RelatedRecords = S::RelatedRecords; + type Moderation = S::Moderation; } - ///State transition - sets the `did` field to Set - pub struct SetDid(PhantomData S>); - impl sealed::Sealed for SetDid {} - impl State for SetDid { + ///State transition - sets the `related_records` field to Set + pub struct SetRelatedRecords(PhantomData S>); + impl sealed::Sealed for SetRelatedRecords {} + impl State for SetRelatedRecords { + type Did = S::Did; + type IndexedAt = S::IndexedAt; + type Handle = S::Handle; + type RelatedRecords = Set; type Moderation = S::Moderation; - type RelatedRecords = S::RelatedRecords; + } + ///State transition - sets the `moderation` field to Set + pub struct SetModeration(PhantomData S>); + impl sealed::Sealed for SetModeration {} + impl State for SetModeration { + type Did = S::Did; type IndexedAt = S::IndexedAt; type Handle = S::Handle; - type Did = Set; + type RelatedRecords = S::RelatedRecords; + type Moderation = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `moderation` field - pub struct moderation(()); - ///Marker type for the `related_records` field - pub struct related_records(()); + ///Marker type for the `did` field + pub struct did(()); ///Marker type for the `indexed_at` field pub struct indexed_at(()); ///Marker type for the `handle` field pub struct handle(()); - ///Marker type for the `did` field - pub struct did(()); + ///Marker type for the `related_records` field + pub struct related_records(()); + ///Marker type for the `moderation` field + pub struct moderation(()); } } @@ -11658,11 +11900,11 @@ impl<'a, S: repo_view_detail_state::State> RepoViewDetailBuilder<'a, S> { impl<'a, S> RepoViewDetailBuilder<'a, S> where S: repo_view_detail_state::State, - S::Moderation: repo_view_detail_state::IsSet, - S::RelatedRecords: repo_view_detail_state::IsSet, + S::Did: repo_view_detail_state::IsSet, S::IndexedAt: repo_view_detail_state::IsSet, S::Handle: repo_view_detail_state::IsSet, - S::Did: repo_view_detail_state::IsSet, + S::RelatedRecords: repo_view_detail_state::IsSet, + S::Moderation: repo_view_detail_state::IsSet, { /// Build the final struct pub fn build(self) -> RepoViewDetail<'a> { @@ -11688,7 +11930,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> RepoViewDetail<'a> { @@ -11839,7 +12081,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> RepoViewNotFound<'a> { @@ -11909,177 +12151,177 @@ pub mod reporter_stats_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type LabeledRecordCount; - type Did; - type TakendownRecordCount; - type ReportedRecordCount; - type AccountReportCount; - type LabeledAccountCount; type TakendownAccountCount; type ReportedAccountCount; type RecordReportCount; + type AccountReportCount; + type ReportedRecordCount; + type Did; + type LabeledAccountCount; + type TakendownRecordCount; + type LabeledRecordCount; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type LabeledRecordCount = Unset; - type Did = Unset; - type TakendownRecordCount = Unset; - type ReportedRecordCount = Unset; - type AccountReportCount = Unset; - type LabeledAccountCount = Unset; type TakendownAccountCount = Unset; type ReportedAccountCount = Unset; type RecordReportCount = Unset; + type AccountReportCount = Unset; + type ReportedRecordCount = Unset; + type Did = Unset; + type LabeledAccountCount = Unset; + type TakendownRecordCount = Unset; + type LabeledRecordCount = Unset; } - ///State transition - sets the `labeled_record_count` field to Set - pub struct SetLabeledRecordCount(PhantomData S>); - impl sealed::Sealed for SetLabeledRecordCount {} - impl State for SetLabeledRecordCount { - type LabeledRecordCount = Set; - type Did = S::Did; - type TakendownRecordCount = S::TakendownRecordCount; - type ReportedRecordCount = S::ReportedRecordCount; + ///State transition - sets the `takendown_account_count` field to Set + pub struct SetTakendownAccountCount(PhantomData S>); + impl sealed::Sealed for SetTakendownAccountCount {} + impl State for SetTakendownAccountCount { + type TakendownAccountCount = Set; + type ReportedAccountCount = S::ReportedAccountCount; + type RecordReportCount = S::RecordReportCount; type AccountReportCount = S::AccountReportCount; + type ReportedRecordCount = S::ReportedRecordCount; + type Did = S::Did; type LabeledAccountCount = S::LabeledAccountCount; + type TakendownRecordCount = S::TakendownRecordCount; + type LabeledRecordCount = S::LabeledRecordCount; + } + ///State transition - sets the `reported_account_count` field to Set + pub struct SetReportedAccountCount(PhantomData S>); + impl sealed::Sealed for SetReportedAccountCount {} + impl State for SetReportedAccountCount { type TakendownAccountCount = S::TakendownAccountCount; - type ReportedAccountCount = S::ReportedAccountCount; + type ReportedAccountCount = Set; type RecordReportCount = S::RecordReportCount; - } - ///State transition - sets the `did` field to Set - pub struct SetDid(PhantomData S>); - impl sealed::Sealed for SetDid {} - impl State for SetDid { - type LabeledRecordCount = S::LabeledRecordCount; - type Did = Set; - type TakendownRecordCount = S::TakendownRecordCount; - type ReportedRecordCount = S::ReportedRecordCount; type AccountReportCount = S::AccountReportCount; + type ReportedRecordCount = S::ReportedRecordCount; + type Did = S::Did; type LabeledAccountCount = S::LabeledAccountCount; + type TakendownRecordCount = S::TakendownRecordCount; + type LabeledRecordCount = S::LabeledRecordCount; + } + ///State transition - sets the `record_report_count` field to Set + pub struct SetRecordReportCount(PhantomData S>); + impl sealed::Sealed for SetRecordReportCount {} + impl State for SetRecordReportCount { type TakendownAccountCount = S::TakendownAccountCount; type ReportedAccountCount = S::ReportedAccountCount; - type RecordReportCount = S::RecordReportCount; - } - ///State transition - sets the `takendown_record_count` field to Set - pub struct SetTakendownRecordCount(PhantomData S>); - impl sealed::Sealed for SetTakendownRecordCount {} - impl State for SetTakendownRecordCount { - type LabeledRecordCount = S::LabeledRecordCount; - type Did = S::Did; - type TakendownRecordCount = Set; - type ReportedRecordCount = S::ReportedRecordCount; + type RecordReportCount = Set; type AccountReportCount = S::AccountReportCount; + type ReportedRecordCount = S::ReportedRecordCount; + type Did = S::Did; type LabeledAccountCount = S::LabeledAccountCount; + type TakendownRecordCount = S::TakendownRecordCount; + type LabeledRecordCount = S::LabeledRecordCount; + } + ///State transition - sets the `account_report_count` field to Set + pub struct SetAccountReportCount(PhantomData S>); + impl sealed::Sealed for SetAccountReportCount {} + impl State for SetAccountReportCount { type TakendownAccountCount = S::TakendownAccountCount; type ReportedAccountCount = S::ReportedAccountCount; type RecordReportCount = S::RecordReportCount; + type AccountReportCount = Set; + type ReportedRecordCount = S::ReportedRecordCount; + type Did = S::Did; + type LabeledAccountCount = S::LabeledAccountCount; + type TakendownRecordCount = S::TakendownRecordCount; + type LabeledRecordCount = S::LabeledRecordCount; } ///State transition - sets the `reported_record_count` field to Set pub struct SetReportedRecordCount(PhantomData S>); impl sealed::Sealed for SetReportedRecordCount {} impl State for SetReportedRecordCount { - type LabeledRecordCount = S::LabeledRecordCount; - type Did = S::Did; - type TakendownRecordCount = S::TakendownRecordCount; - type ReportedRecordCount = Set; - type AccountReportCount = S::AccountReportCount; - type LabeledAccountCount = S::LabeledAccountCount; type TakendownAccountCount = S::TakendownAccountCount; type ReportedAccountCount = S::ReportedAccountCount; type RecordReportCount = S::RecordReportCount; - } - ///State transition - sets the `account_report_count` field to Set - pub struct SetAccountReportCount(PhantomData S>); - impl sealed::Sealed for SetAccountReportCount {} - impl State for SetAccountReportCount { - type LabeledRecordCount = S::LabeledRecordCount; + type AccountReportCount = S::AccountReportCount; + type ReportedRecordCount = Set; type Did = S::Did; - type TakendownRecordCount = S::TakendownRecordCount; - type ReportedRecordCount = S::ReportedRecordCount; - type AccountReportCount = Set; type LabeledAccountCount = S::LabeledAccountCount; + type TakendownRecordCount = S::TakendownRecordCount; + type LabeledRecordCount = S::LabeledRecordCount; + } + ///State transition - sets the `did` field to Set + pub struct SetDid(PhantomData S>); + impl sealed::Sealed for SetDid {} + impl State for SetDid { type TakendownAccountCount = S::TakendownAccountCount; type ReportedAccountCount = S::ReportedAccountCount; type RecordReportCount = S::RecordReportCount; + type AccountReportCount = S::AccountReportCount; + type ReportedRecordCount = S::ReportedRecordCount; + type Did = Set; + type LabeledAccountCount = S::LabeledAccountCount; + type TakendownRecordCount = S::TakendownRecordCount; + type LabeledRecordCount = S::LabeledRecordCount; } ///State transition - sets the `labeled_account_count` field to Set pub struct SetLabeledAccountCount(PhantomData S>); impl sealed::Sealed for SetLabeledAccountCount {} impl State for SetLabeledAccountCount { - type LabeledRecordCount = S::LabeledRecordCount; - type Did = S::Did; - type TakendownRecordCount = S::TakendownRecordCount; - type ReportedRecordCount = S::ReportedRecordCount; - type AccountReportCount = S::AccountReportCount; - type LabeledAccountCount = Set; type TakendownAccountCount = S::TakendownAccountCount; type ReportedAccountCount = S::ReportedAccountCount; type RecordReportCount = S::RecordReportCount; - } - ///State transition - sets the `takendown_account_count` field to Set - pub struct SetTakendownAccountCount(PhantomData S>); - impl sealed::Sealed for SetTakendownAccountCount {} - impl State for SetTakendownAccountCount { - type LabeledRecordCount = S::LabeledRecordCount; - type Did = S::Did; - type TakendownRecordCount = S::TakendownRecordCount; - type ReportedRecordCount = S::ReportedRecordCount; type AccountReportCount = S::AccountReportCount; - type LabeledAccountCount = S::LabeledAccountCount; - type TakendownAccountCount = Set; - type ReportedAccountCount = S::ReportedAccountCount; - type RecordReportCount = S::RecordReportCount; - } - ///State transition - sets the `reported_account_count` field to Set - pub struct SetReportedAccountCount(PhantomData S>); - impl sealed::Sealed for SetReportedAccountCount {} - impl State for SetReportedAccountCount { - type LabeledRecordCount = S::LabeledRecordCount; + type ReportedRecordCount = S::ReportedRecordCount; type Did = S::Did; + type LabeledAccountCount = Set; type TakendownRecordCount = S::TakendownRecordCount; - type ReportedRecordCount = S::ReportedRecordCount; - type AccountReportCount = S::AccountReportCount; - type LabeledAccountCount = S::LabeledAccountCount; + type LabeledRecordCount = S::LabeledRecordCount; + } + ///State transition - sets the `takendown_record_count` field to Set + pub struct SetTakendownRecordCount(PhantomData S>); + impl sealed::Sealed for SetTakendownRecordCount {} + impl State for SetTakendownRecordCount { type TakendownAccountCount = S::TakendownAccountCount; - type ReportedAccountCount = Set; + type ReportedAccountCount = S::ReportedAccountCount; type RecordReportCount = S::RecordReportCount; - } - ///State transition - sets the `record_report_count` field to Set - pub struct SetRecordReportCount(PhantomData S>); - impl sealed::Sealed for SetRecordReportCount {} - impl State for SetRecordReportCount { - type LabeledRecordCount = S::LabeledRecordCount; - type Did = S::Did; - type TakendownRecordCount = S::TakendownRecordCount; - type ReportedRecordCount = S::ReportedRecordCount; type AccountReportCount = S::AccountReportCount; + type ReportedRecordCount = S::ReportedRecordCount; + type Did = S::Did; type LabeledAccountCount = S::LabeledAccountCount; + type TakendownRecordCount = Set; + type LabeledRecordCount = S::LabeledRecordCount; + } + ///State transition - sets the `labeled_record_count` field to Set + pub struct SetLabeledRecordCount(PhantomData S>); + impl sealed::Sealed for SetLabeledRecordCount {} + impl State for SetLabeledRecordCount { type TakendownAccountCount = S::TakendownAccountCount; type ReportedAccountCount = S::ReportedAccountCount; - type RecordReportCount = Set; + type RecordReportCount = S::RecordReportCount; + type AccountReportCount = S::AccountReportCount; + type ReportedRecordCount = S::ReportedRecordCount; + type Did = S::Did; + type LabeledAccountCount = S::LabeledAccountCount; + type TakendownRecordCount = S::TakendownRecordCount; + type LabeledRecordCount = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `labeled_record_count` field - pub struct labeled_record_count(()); - ///Marker type for the `did` field - pub struct did(()); - ///Marker type for the `takendown_record_count` field - pub struct takendown_record_count(()); - ///Marker type for the `reported_record_count` field - pub struct reported_record_count(()); - ///Marker type for the `account_report_count` field - pub struct account_report_count(()); - ///Marker type for the `labeled_account_count` field - pub struct labeled_account_count(()); ///Marker type for the `takendown_account_count` field pub struct takendown_account_count(()); ///Marker type for the `reported_account_count` field pub struct reported_account_count(()); ///Marker type for the `record_report_count` field pub struct record_report_count(()); + ///Marker type for the `account_report_count` field + pub struct account_report_count(()); + ///Marker type for the `reported_record_count` field + pub struct reported_record_count(()); + ///Marker type for the `did` field + pub struct did(()); + ///Marker type for the `labeled_account_count` field + pub struct labeled_account_count(()); + ///Marker type for the `takendown_record_count` field + pub struct takendown_record_count(()); + ///Marker type for the `labeled_record_count` field + pub struct labeled_record_count(()); } } @@ -12302,15 +12544,15 @@ where impl<'a, S> ReporterStatsBuilder<'a, S> where S: reporter_stats_state::State, - S::LabeledRecordCount: reporter_stats_state::IsSet, - S::Did: reporter_stats_state::IsSet, - S::TakendownRecordCount: reporter_stats_state::IsSet, - S::ReportedRecordCount: reporter_stats_state::IsSet, - S::AccountReportCount: reporter_stats_state::IsSet, - S::LabeledAccountCount: reporter_stats_state::IsSet, S::TakendownAccountCount: reporter_stats_state::IsSet, S::ReportedAccountCount: reporter_stats_state::IsSet, S::RecordReportCount: reporter_stats_state::IsSet, + S::AccountReportCount: reporter_stats_state::IsSet, + S::ReportedRecordCount: reporter_stats_state::IsSet, + S::Did: reporter_stats_state::IsSet, + S::LabeledAccountCount: reporter_stats_state::IsSet, + S::TakendownRecordCount: reporter_stats_state::IsSet, + S::LabeledRecordCount: reporter_stats_state::IsSet, { /// Build the final struct pub fn build(self) -> ReporterStats<'a> { @@ -12331,7 +12573,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ReporterStats<'a> { @@ -12601,105 +12843,105 @@ pub mod scheduled_action_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Action; - type Id; - type Did; type Status; - type CreatedAt; + type Did; type CreatedBy; + type CreatedAt; + type Id; + type Action; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Action = Unset; - type Id = Unset; - type Did = Unset; type Status = Unset; - type CreatedAt = Unset; + type Did = Unset; type CreatedBy = Unset; + type CreatedAt = Unset; + type Id = Unset; + type Action = Unset; } - ///State transition - sets the `action` field to Set - pub struct SetAction(PhantomData S>); - impl sealed::Sealed for SetAction {} - impl State for SetAction { - type Action = Set; - type Id = S::Id; + ///State transition - sets the `status` field to Set + pub struct SetStatus(PhantomData S>); + impl sealed::Sealed for SetStatus {} + impl State for SetStatus { + type Status = Set; type Did = S::Did; - type Status = S::Status; - type CreatedAt = S::CreatedAt; type CreatedBy = S::CreatedBy; - } - ///State transition - sets the `id` field to Set - pub struct SetId(PhantomData S>); - impl sealed::Sealed for SetId {} - impl State for SetId { - type Action = S::Action; - type Id = Set; - type Did = S::Did; - type Status = S::Status; type CreatedAt = S::CreatedAt; - type CreatedBy = S::CreatedBy; + type Id = S::Id; + type Action = S::Action; } ///State transition - sets the `did` field to Set pub struct SetDid(PhantomData S>); impl sealed::Sealed for SetDid {} impl State for SetDid { - type Action = S::Action; - type Id = S::Id; - type Did = Set; type Status = S::Status; - type CreatedAt = S::CreatedAt; + type Did = Set; type CreatedBy = S::CreatedBy; - } - ///State transition - sets the `status` field to Set - pub struct SetStatus(PhantomData S>); - impl sealed::Sealed for SetStatus {} - impl State for SetStatus { - type Action = S::Action; + type CreatedAt = S::CreatedAt; type Id = S::Id; + type Action = S::Action; + } + ///State transition - sets the `created_by` field to Set + pub struct SetCreatedBy(PhantomData S>); + impl sealed::Sealed for SetCreatedBy {} + impl State for SetCreatedBy { + type Status = S::Status; type Did = S::Did; - type Status = Set; + type CreatedBy = Set; type CreatedAt = S::CreatedAt; - type CreatedBy = S::CreatedBy; + type Id = S::Id; + type Action = S::Action; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Action = S::Action; - type Id = S::Id; - type Did = S::Did; type Status = S::Status; - type CreatedAt = Set; + type Did = S::Did; type CreatedBy = S::CreatedBy; - } - ///State transition - sets the `created_by` field to Set - pub struct SetCreatedBy(PhantomData S>); - impl sealed::Sealed for SetCreatedBy {} - impl State for SetCreatedBy { - type Action = S::Action; + type CreatedAt = Set; type Id = S::Id; + type Action = S::Action; + } + ///State transition - sets the `id` field to Set + pub struct SetId(PhantomData S>); + impl sealed::Sealed for SetId {} + impl State for SetId { + type Status = S::Status; type Did = S::Did; + type CreatedBy = S::CreatedBy; + type CreatedAt = S::CreatedAt; + type Id = Set; + type Action = S::Action; + } + ///State transition - sets the `action` field to Set + pub struct SetAction(PhantomData S>); + impl sealed::Sealed for SetAction {} + impl State for SetAction { type Status = S::Status; + type Did = S::Did; + type CreatedBy = S::CreatedBy; type CreatedAt = S::CreatedAt; - type CreatedBy = Set; + type Id = S::Id; + type Action = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `action` field - pub struct action(()); - ///Marker type for the `id` field - pub struct id(()); - ///Marker type for the `did` field - pub struct did(()); ///Marker type for the `status` field pub struct status(()); - ///Marker type for the `created_at` field - pub struct created_at(()); + ///Marker type for the `did` field + pub struct did(()); ///Marker type for the `created_by` field pub struct created_by(()); + ///Marker type for the `created_at` field + pub struct created_at(()); + ///Marker type for the `id` field + pub struct id(()); + ///Marker type for the `action` field + pub struct action(()); } } @@ -13036,12 +13278,12 @@ impl<'a, S: scheduled_action_view_state::State> ScheduledActionViewBuilder<'a, S impl<'a, S> ScheduledActionViewBuilder<'a, S> where S: scheduled_action_view_state::State, - S::Action: scheduled_action_view_state::IsSet, - S::Id: scheduled_action_view_state::IsSet, - S::Did: scheduled_action_view_state::IsSet, S::Status: scheduled_action_view_state::IsSet, - S::CreatedAt: scheduled_action_view_state::IsSet, + S::Did: scheduled_action_view_state::IsSet, S::CreatedBy: scheduled_action_view_state::IsSet, + S::CreatedAt: scheduled_action_view_state::IsSet, + S::Id: scheduled_action_view_state::IsSet, + S::Action: scheduled_action_view_state::IsSet, { /// Build the final struct pub fn build(self) -> ScheduledActionView<'a> { @@ -13068,7 +13310,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ScheduledActionView<'a> { @@ -13526,85 +13768,85 @@ pub mod subject_status_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Id; type Subject; - type CreatedAt; + type Id; type ReviewState; type UpdatedAt; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Id = Unset; type Subject = Unset; - type CreatedAt = Unset; + type Id = Unset; type ReviewState = Unset; type UpdatedAt = Unset; - } - ///State transition - sets the `id` field to Set - pub struct SetId(PhantomData S>); - impl sealed::Sealed for SetId {} - impl State for SetId { - type Id = Set; - type Subject = S::Subject; - type CreatedAt = S::CreatedAt; - type ReviewState = S::ReviewState; - type UpdatedAt = S::UpdatedAt; + type CreatedAt = Unset; } ///State transition - sets the `subject` field to Set pub struct SetSubject(PhantomData S>); impl sealed::Sealed for SetSubject {} impl State for SetSubject { - type Id = S::Id; type Subject = Set; - type CreatedAt = S::CreatedAt; + type Id = S::Id; type ReviewState = S::ReviewState; type UpdatedAt = S::UpdatedAt; + type CreatedAt = S::CreatedAt; } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type Id = S::Id; + ///State transition - sets the `id` field to Set + pub struct SetId(PhantomData S>); + impl sealed::Sealed for SetId {} + impl State for SetId { type Subject = S::Subject; - type CreatedAt = Set; + type Id = Set; type ReviewState = S::ReviewState; type UpdatedAt = S::UpdatedAt; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `review_state` field to Set pub struct SetReviewState(PhantomData S>); impl sealed::Sealed for SetReviewState {} impl State for SetReviewState { - type Id = S::Id; type Subject = S::Subject; - type CreatedAt = S::CreatedAt; + type Id = S::Id; type ReviewState = Set; type UpdatedAt = S::UpdatedAt; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `updated_at` field to Set pub struct SetUpdatedAt(PhantomData S>); impl sealed::Sealed for SetUpdatedAt {} impl State for SetUpdatedAt { - type Id = S::Id; type Subject = S::Subject; - type CreatedAt = S::CreatedAt; + type Id = S::Id; type ReviewState = S::ReviewState; type UpdatedAt = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Subject = S::Subject; + type Id = S::Id; + type ReviewState = S::ReviewState; + type UpdatedAt = S::UpdatedAt; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `id` field - pub struct id(()); ///Marker type for the `subject` field pub struct subject(()); - ///Marker type for the `created_at` field - pub struct created_at(()); + ///Marker type for the `id` field + pub struct id(()); ///Marker type for the `review_state` field pub struct review_state(()); ///Marker type for the `updated_at` field pub struct updated_at(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -14139,11 +14381,11 @@ where impl<'a, S> SubjectStatusViewBuilder<'a, S> where S: subject_status_view_state::State, - S::Id: subject_status_view_state::IsSet, S::Subject: subject_status_view_state::IsSet, - S::CreatedAt: subject_status_view_state::IsSet, + S::Id: subject_status_view_state::IsSet, S::ReviewState: subject_status_view_state::IsSet, S::UpdatedAt: subject_status_view_state::IsSet, + S::CreatedAt: subject_status_view_state::IsSet, { /// Build the final struct pub fn build(self) -> SubjectStatusView<'a> { @@ -14180,7 +14422,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> SubjectStatusView<'a> { @@ -14752,7 +14994,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> SubjectView<'a> { @@ -14866,51 +15108,51 @@ pub mod video_details_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Length; type Width; type Height; - type Length; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Length = Unset; type Width = Unset; type Height = Unset; - type Length = Unset; + } + ///State transition - sets the `length` field to Set + pub struct SetLength(PhantomData S>); + impl sealed::Sealed for SetLength {} + impl State for SetLength { + type Length = Set; + type Width = S::Width; + type Height = S::Height; } ///State transition - sets the `width` field to Set pub struct SetWidth(PhantomData S>); impl sealed::Sealed for SetWidth {} impl State for SetWidth { + type Length = S::Length; type Width = Set; type Height = S::Height; - type Length = S::Length; } ///State transition - sets the `height` field to Set pub struct SetHeight(PhantomData S>); impl sealed::Sealed for SetHeight {} impl State for SetHeight { - type Width = S::Width; - type Height = Set; type Length = S::Length; - } - ///State transition - sets the `length` field to Set - pub struct SetLength(PhantomData S>); - impl sealed::Sealed for SetLength {} - impl State for SetLength { type Width = S::Width; - type Height = S::Height; - type Length = Set; + type Height = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `length` field + pub struct length(()); ///Marker type for the `width` field pub struct width(()); ///Marker type for the `height` field pub struct height(()); - ///Marker type for the `length` field - pub struct length(()); } } @@ -15003,9 +15245,9 @@ where impl<'a, S> VideoDetailsBuilder<'a, S> where S: video_details_state::State, + S::Length: video_details_state::IsSet, S::Width: video_details_state::IsSet, S::Height: video_details_state::IsSet, - S::Length: video_details_state::IsSet, { /// Build the final struct pub fn build(self) -> VideoDetails<'a> { @@ -15020,7 +15262,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> VideoDetails<'a> { 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 88bc151d1..32db04496 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 @@ -37,37 +37,37 @@ pub mod cancellation_results_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Failed; type Succeeded; + type Failed; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Failed = Unset; type Succeeded = Unset; - } - ///State transition - sets the `failed` field to Set - pub struct SetFailed(PhantomData S>); - impl sealed::Sealed for SetFailed {} - impl State for SetFailed { - type Failed = Set; - type Succeeded = S::Succeeded; + type Failed = Unset; } ///State transition - sets the `succeeded` field to Set pub struct SetSucceeded(PhantomData S>); impl sealed::Sealed for SetSucceeded {} impl State for SetSucceeded { - type Failed = S::Failed; type Succeeded = Set; + type Failed = S::Failed; + } + ///State transition - sets the `failed` field to Set + pub struct SetFailed(PhantomData S>); + impl sealed::Sealed for SetFailed {} + impl State for SetFailed { + type Succeeded = S::Succeeded; + type Failed = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `failed` field - pub struct failed(()); ///Marker type for the `succeeded` field pub struct succeeded(()); + ///Marker type for the `failed` field + pub struct failed(()); } } @@ -152,8 +152,8 @@ where impl<'a, S> CancellationResultsBuilder<'a, S> where S: cancellation_results_state::State, - S::Failed: cancellation_results_state::IsSet, S::Succeeded: cancellation_results_state::IsSet, + S::Failed: cancellation_results_state::IsSet, { /// Build the final struct pub fn build(self) -> CancellationResults<'a> { @@ -167,7 +167,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> CancellationResults<'a> { @@ -192,13 +192,15 @@ fn lexicon_doc_tools_ozone_moderation_cancelScheduledActions() -> ::jacquard_lex defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cancellationResults"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cancellationResults", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("succeeded"), - ::jacquard_common::smol_str::SmolStr::new_static("failed") + ::jacquard_common::deps::smol_str::SmolStr::new_static("succeeded"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("failed") ], ), nullable: None, @@ -206,7 +208,9 @@ fn lexicon_doc_tools_ozone_moderation_cancelScheduledActions() -> ::jacquard_lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("failed"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "failed", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -224,7 +228,7 @@ fn lexicon_doc_tools_ozone_moderation_cancelScheduledActions() -> ::jacquard_lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "succeeded", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -256,13 +260,15 @@ fn lexicon_doc_tools_ozone_moderation_cancelScheduledActions() -> ::jacquard_lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("failedCancellation"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "failedCancellation", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("did"), - ::jacquard_common::smol_str::SmolStr::new_static("error") + ::jacquard_common::deps::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("error") ], ), nullable: None, @@ -270,7 +276,9 @@ fn lexicon_doc_tools_ozone_moderation_cancelScheduledActions() -> ::jacquard_lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -287,7 +295,9 @@ fn lexicon_doc_tools_ozone_moderation_cancelScheduledActions() -> ::jacquard_lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("error"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "error", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -302,7 +312,7 @@ fn lexicon_doc_tools_ozone_moderation_cancelScheduledActions() -> ::jacquard_lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "errorCode", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -323,7 +333,7 @@ fn lexicon_doc_tools_ozone_moderation_cancelScheduledActions() -> ::jacquard_lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcProcedure(::jacquard_lexicon::lexicon::LexXrpcProcedure { description: None, parameters: None, @@ -337,7 +347,7 @@ fn lexicon_doc_tools_ozone_moderation_cancelScheduledActions() -> ::jacquard_lex description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subjects") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subjects") ], ), nullable: None, @@ -345,7 +355,9 @@ fn lexicon_doc_tools_ozone_moderation_cancelScheduledActions() -> ::jacquard_lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "comment", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -364,7 +376,7 @@ fn lexicon_doc_tools_ozone_moderation_cancelScheduledActions() -> ::jacquard_lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjects", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -592,7 +604,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> FailedCancellation<'a> { @@ -761,7 +773,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> CancelScheduledActions<'a> { 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 647e2bece..f7940cfc7 100644 --- a/crates/jacquard-api/src/tools_ozone/moderation/emit_event.rs +++ b/crates/jacquard-api/src/tools_ozone/moderation/emit_event.rs @@ -47,51 +47,51 @@ pub mod emit_event_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Event; type Subject; type CreatedBy; + type Event; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Event = Unset; type Subject = Unset; type CreatedBy = Unset; - } - ///State transition - sets the `event` field to Set - pub struct SetEvent(PhantomData S>); - impl sealed::Sealed for SetEvent {} - impl State for SetEvent { - type Event = Set; - type Subject = S::Subject; - type CreatedBy = S::CreatedBy; + type Event = Unset; } ///State transition - sets the `subject` field to Set pub struct SetSubject(PhantomData S>); impl sealed::Sealed for SetSubject {} impl State for SetSubject { - type Event = S::Event; type Subject = Set; type CreatedBy = S::CreatedBy; + type Event = S::Event; } ///State transition - sets the `created_by` field to Set pub struct SetCreatedBy(PhantomData S>); impl sealed::Sealed for SetCreatedBy {} impl State for SetCreatedBy { - type Event = S::Event; type Subject = S::Subject; type CreatedBy = Set; + type Event = S::Event; + } + ///State transition - sets the `event` field to Set + pub struct SetEvent(PhantomData S>); + impl sealed::Sealed for SetEvent {} + impl State for SetEvent { + type Subject = S::Subject; + type CreatedBy = S::CreatedBy; + type Event = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `event` field - pub struct event(()); ///Marker type for the `subject` field pub struct subject(()); ///Marker type for the `created_by` field pub struct created_by(()); + ///Marker type for the `event` field + pub struct event(()); } } @@ -244,9 +244,9 @@ impl<'a, S: emit_event_state::State> EmitEventBuilder<'a, S> { impl<'a, S> EmitEventBuilder<'a, S> where S: emit_event_state::State, - S::Event: emit_event_state::IsSet, S::Subject: emit_event_state::IsSet, S::CreatedBy: emit_event_state::IsSet, + S::Event: emit_event_state::IsSet, { /// Build the final struct pub fn build(self) -> EmitEvent<'a> { @@ -264,7 +264,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> EmitEvent<'a> { 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 d8b726be0..a9f9acf8c 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 @@ -349,7 +349,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> TimelineItem<'a> { @@ -374,7 +374,7 @@ fn lexicon_doc_tools_ozone_moderation_getAccountTimeline() -> ::jacquard_lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcQuery(::jacquard_lexicon::lexicon::LexXrpcQuery { description: None, parameters: Some( @@ -382,14 +382,16 @@ fn lexicon_doc_tools_ozone_moderation_getAccountTimeline() -> ::jacquard_lexicon description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("did") + ::jacquard_common::deps::smol_str::SmolStr::new_static("did") ], ), properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -414,13 +416,13 @@ fn lexicon_doc_tools_ozone_moderation_getAccountTimeline() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("timelineItem"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("timelineItem"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("day"), - ::jacquard_common::smol_str::SmolStr::new_static("summary") + ::jacquard_common::deps::smol_str::SmolStr::new_static("day"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("summary") ], ), nullable: None, @@ -428,7 +430,9 @@ fn lexicon_doc_tools_ozone_moderation_getAccountTimeline() -> ::jacquard_lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("day"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "day", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -443,7 +447,9 @@ fn lexicon_doc_tools_ozone_moderation_getAccountTimeline() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("summary"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "summary", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -461,14 +467,16 @@ fn lexicon_doc_tools_ozone_moderation_getAccountTimeline() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("timelineItemSummary"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "timelineItemSummary", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("eventSubjectType"), - ::jacquard_common::smol_str::SmolStr::new_static("eventType"), - ::jacquard_common::smol_str::SmolStr::new_static("count") + ::jacquard_common::deps::smol_str::SmolStr::new_static("eventSubjectType"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("eventType"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("count") ], ), nullable: None, @@ -476,7 +484,9 @@ fn lexicon_doc_tools_ozone_moderation_getAccountTimeline() -> ::jacquard_lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("count"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "count", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -487,7 +497,7 @@ fn lexicon_doc_tools_ozone_moderation_getAccountTimeline() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "eventSubjectType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -504,7 +514,7 @@ fn lexicon_doc_tools_ozone_moderation_getAccountTimeline() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "eventType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -575,51 +585,51 @@ pub mod timeline_item_summary_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Count; type EventSubjectType; type EventType; + type Count; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Count = Unset; type EventSubjectType = Unset; type EventType = Unset; - } - ///State transition - sets the `count` field to Set - pub struct SetCount(PhantomData S>); - impl sealed::Sealed for SetCount {} - impl State for SetCount { - type Count = Set; - type EventSubjectType = S::EventSubjectType; - type EventType = S::EventType; + type Count = Unset; } ///State transition - sets the `event_subject_type` field to Set pub struct SetEventSubjectType(PhantomData S>); impl sealed::Sealed for SetEventSubjectType {} impl State for SetEventSubjectType { - type Count = S::Count; type EventSubjectType = Set; type EventType = S::EventType; + type Count = S::Count; } ///State transition - sets the `event_type` field to Set pub struct SetEventType(PhantomData S>); impl sealed::Sealed for SetEventType {} impl State for SetEventType { - type Count = S::Count; type EventSubjectType = S::EventSubjectType; type EventType = Set; + type Count = S::Count; + } + ///State transition - sets the `count` field to Set + pub struct SetCount(PhantomData S>); + impl sealed::Sealed for SetCount {} + impl State for SetCount { + type EventSubjectType = S::EventSubjectType; + type EventType = S::EventType; + type Count = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `count` field - pub struct count(()); ///Marker type for the `event_subject_type` field pub struct event_subject_type(()); ///Marker type for the `event_type` field pub struct event_type(()); + ///Marker type for the `count` field + pub struct count(()); } } @@ -715,9 +725,9 @@ where impl<'a, S> TimelineItemSummaryBuilder<'a, S> where S: timeline_item_summary_state::State, - S::Count: timeline_item_summary_state::IsSet, S::EventSubjectType: timeline_item_summary_state::IsSet, S::EventType: timeline_item_summary_state::IsSet, + S::Count: timeline_item_summary_state::IsSet, { /// Build the final struct pub fn build(self) -> TimelineItemSummary<'a> { @@ -732,7 +742,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> TimelineItemSummary<'a> { 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 95fcebeff..6bd788727 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 @@ -232,7 +232,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ListScheduledActions<'a> { 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 75105aa39..e5a47c9a5 100644 --- a/crates/jacquard-api/src/tools_ozone/moderation/schedule_action.rs +++ b/crates/jacquard-api/src/tools_ozone/moderation/schedule_action.rs @@ -36,37 +36,37 @@ pub mod failed_scheduling_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Subject; type Error; + type Subject; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Subject = Unset; type Error = Unset; - } - ///State transition - sets the `subject` field to Set - pub struct SetSubject(PhantomData S>); - impl sealed::Sealed for SetSubject {} - impl State for SetSubject { - type Subject = Set; - type Error = S::Error; + type Subject = Unset; } ///State transition - sets the `error` field to Set pub struct SetError(PhantomData S>); impl sealed::Sealed for SetError {} impl State for SetError { - type Subject = S::Subject; type Error = Set; + type Subject = S::Subject; + } + ///State transition - sets the `subject` field to Set + pub struct SetSubject(PhantomData S>); + impl sealed::Sealed for SetSubject {} + impl State for SetSubject { + type Error = S::Error; + type Subject = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `subject` field - pub struct subject(()); ///Marker type for the `error` field pub struct error(()); + ///Marker type for the `subject` field + pub struct subject(()); } } @@ -159,8 +159,8 @@ where impl<'a, S> FailedSchedulingBuilder<'a, S> where S: failed_scheduling_state::State, - S::Subject: failed_scheduling_state::IsSet, S::Error: failed_scheduling_state::IsSet, + S::Subject: failed_scheduling_state::IsSet, { /// Build the final struct pub fn build(self) -> FailedScheduling<'a> { @@ -175,7 +175,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> FailedScheduling<'a> { @@ -201,13 +201,15 @@ fn lexicon_doc_tools_ozone_moderation_scheduleAction() -> ::jacquard_lexicon::le defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("failedScheduling"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "failedScheduling", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("error") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("error") ], ), nullable: None, @@ -215,7 +217,9 @@ fn lexicon_doc_tools_ozone_moderation_scheduleAction() -> ::jacquard_lexicon::le #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("error"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "error", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -230,7 +234,7 @@ fn lexicon_doc_tools_ozone_moderation_scheduleAction() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "errorCode", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -247,7 +251,9 @@ fn lexicon_doc_tools_ozone_moderation_scheduleAction() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -268,7 +274,7 @@ fn lexicon_doc_tools_ozone_moderation_scheduleAction() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcProcedure(::jacquard_lexicon::lexicon::LexXrpcProcedure { description: None, parameters: None, @@ -282,10 +288,10 @@ fn lexicon_doc_tools_ozone_moderation_scheduleAction() -> ::jacquard_lexicon::le description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("action"), - ::jacquard_common::smol_str::SmolStr::new_static("subjects"), - ::jacquard_common::smol_str::SmolStr::new_static("createdBy"), - ::jacquard_common::smol_str::SmolStr::new_static("scheduling") + ::jacquard_common::deps::smol_str::SmolStr::new_static("action"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("subjects"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdBy"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("scheduling") ], ), nullable: None, @@ -293,7 +299,9 @@ fn lexicon_doc_tools_ozone_moderation_scheduleAction() -> ::jacquard_lexicon::le #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("action"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "action", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -303,7 +311,7 @@ fn lexicon_doc_tools_ozone_moderation_scheduleAction() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdBy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -322,7 +330,9 @@ fn lexicon_doc_tools_ozone_moderation_scheduleAction() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("modTool"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "modTool", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -331,7 +341,7 @@ fn lexicon_doc_tools_ozone_moderation_scheduleAction() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "scheduling", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -342,7 +352,7 @@ fn lexicon_doc_tools_ozone_moderation_scheduleAction() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjects", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -379,15 +389,15 @@ fn lexicon_doc_tools_ozone_moderation_scheduleAction() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "scheduledActionResults", ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("succeeded"), - ::jacquard_common::smol_str::SmolStr::new_static("failed") + ::jacquard_common::deps::smol_str::SmolStr::new_static("succeeded"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("failed") ], ), nullable: None, @@ -395,7 +405,9 @@ fn lexicon_doc_tools_ozone_moderation_scheduleAction() -> ::jacquard_lexicon::le #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("failed"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "failed", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -409,7 +421,7 @@ fn lexicon_doc_tools_ozone_moderation_scheduleAction() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "succeeded", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -437,7 +449,9 @@ fn lexicon_doc_tools_ozone_moderation_scheduleAction() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("schedulingConfig"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "schedulingConfig", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -450,7 +464,7 @@ fn lexicon_doc_tools_ozone_moderation_scheduleAction() -> ::jacquard_lexicon::le #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "executeAfter", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -473,7 +487,7 @@ fn lexicon_doc_tools_ozone_moderation_scheduleAction() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "executeAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -496,7 +510,7 @@ fn lexicon_doc_tools_ozone_moderation_scheduleAction() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "executeUntil", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -523,7 +537,7 @@ fn lexicon_doc_tools_ozone_moderation_scheduleAction() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("takedown"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("takedown"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -536,7 +550,7 @@ fn lexicon_doc_tools_ozone_moderation_scheduleAction() -> ::jacquard_lexicon::le #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "acknowledgeAccountSubjects", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -546,7 +560,9 @@ fn lexicon_doc_tools_ozone_moderation_scheduleAction() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "comment", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -561,7 +577,7 @@ fn lexicon_doc_tools_ozone_moderation_scheduleAction() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "durationInHours", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -574,7 +590,7 @@ fn lexicon_doc_tools_ozone_moderation_scheduleAction() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "emailContent", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -595,7 +611,7 @@ fn lexicon_doc_tools_ozone_moderation_scheduleAction() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "emailSubject", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -616,7 +632,9 @@ fn lexicon_doc_tools_ozone_moderation_scheduleAction() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("policies"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "policies", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -640,7 +658,7 @@ fn lexicon_doc_tools_ozone_moderation_scheduleAction() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "severityLevel", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -661,7 +679,7 @@ fn lexicon_doc_tools_ozone_moderation_scheduleAction() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "strikeCount", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -674,7 +692,7 @@ fn lexicon_doc_tools_ozone_moderation_scheduleAction() -> ::jacquard_lexicon::le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "strikeExpiresAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -761,65 +779,65 @@ pub mod schedule_action_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Scheduling; - type Subjects; type Action; + type Subjects; + type Scheduling; type CreatedBy; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Scheduling = Unset; - type Subjects = Unset; type Action = Unset; + type Subjects = Unset; + type Scheduling = Unset; type CreatedBy = Unset; } - ///State transition - sets the `scheduling` field to Set - pub struct SetScheduling(PhantomData S>); - impl sealed::Sealed for SetScheduling {} - impl State for SetScheduling { - type Scheduling = Set; + ///State transition - sets the `action` field to Set + pub struct SetAction(PhantomData S>); + impl sealed::Sealed for SetAction {} + impl State for SetAction { + type Action = Set; type Subjects = S::Subjects; - type Action = S::Action; + type Scheduling = S::Scheduling; type CreatedBy = S::CreatedBy; } ///State transition - sets the `subjects` field to Set pub struct SetSubjects(PhantomData S>); impl sealed::Sealed for SetSubjects {} impl State for SetSubjects { - type Scheduling = S::Scheduling; - type Subjects = Set; type Action = S::Action; + type Subjects = Set; + type Scheduling = S::Scheduling; type CreatedBy = S::CreatedBy; } - ///State transition - sets the `action` field to Set - pub struct SetAction(PhantomData S>); - impl sealed::Sealed for SetAction {} - impl State for SetAction { - type Scheduling = S::Scheduling; + ///State transition - sets the `scheduling` field to Set + pub struct SetScheduling(PhantomData S>); + impl sealed::Sealed for SetScheduling {} + impl State for SetScheduling { + type Action = S::Action; type Subjects = S::Subjects; - type Action = Set; + type Scheduling = Set; type CreatedBy = S::CreatedBy; } ///State transition - sets the `created_by` field to Set pub struct SetCreatedBy(PhantomData S>); impl sealed::Sealed for SetCreatedBy {} impl State for SetCreatedBy { - type Scheduling = S::Scheduling; - type Subjects = S::Subjects; type Action = S::Action; + type Subjects = S::Subjects; + type Scheduling = S::Scheduling; type CreatedBy = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `scheduling` field - pub struct scheduling(()); - ///Marker type for the `subjects` field - pub struct subjects(()); ///Marker type for the `action` field pub struct action(()); + ///Marker type for the `subjects` field + pub struct subjects(()); + ///Marker type for the `scheduling` field + pub struct scheduling(()); ///Marker type for the `created_by` field pub struct created_by(()); } @@ -960,9 +978,9 @@ where impl<'a, S> ScheduleActionBuilder<'a, S> where S: schedule_action_state::State, - S::Scheduling: schedule_action_state::IsSet, - S::Subjects: schedule_action_state::IsSet, S::Action: schedule_action_state::IsSet, + S::Subjects: schedule_action_state::IsSet, + S::Scheduling: schedule_action_state::IsSet, S::CreatedBy: schedule_action_state::IsSet, { /// Build the final struct @@ -980,7 +998,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ScheduleAction<'a> { @@ -1072,37 +1090,37 @@ pub mod scheduled_action_results_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Succeeded; type Failed; + type Succeeded; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Succeeded = Unset; type Failed = Unset; - } - ///State transition - sets the `succeeded` field to Set - pub struct SetSucceeded(PhantomData S>); - impl sealed::Sealed for SetSucceeded {} - impl State for SetSucceeded { - type Succeeded = Set; - type Failed = S::Failed; + type Succeeded = Unset; } ///State transition - sets the `failed` field to Set pub struct SetFailed(PhantomData S>); impl sealed::Sealed for SetFailed {} impl State for SetFailed { - type Succeeded = S::Succeeded; type Failed = Set; + type Succeeded = S::Succeeded; + } + ///State transition - sets the `succeeded` field to Set + pub struct SetSucceeded(PhantomData S>); + impl sealed::Sealed for SetSucceeded {} + impl State for SetSucceeded { + type Failed = S::Failed; + type Succeeded = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `succeeded` field - pub struct succeeded(()); ///Marker type for the `failed` field pub struct failed(()); + ///Marker type for the `succeeded` field + pub struct succeeded(()); } } @@ -1188,8 +1206,8 @@ where impl<'a, S> ScheduledActionResultsBuilder<'a, S> where S: scheduled_action_results_state::State, - S::Succeeded: scheduled_action_results_state::IsSet, S::Failed: scheduled_action_results_state::IsSet, + S::Succeeded: scheduled_action_results_state::IsSet, { /// Build the final struct pub fn build(self) -> ScheduledActionResults<'a> { @@ -1203,7 +1221,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ScheduledActionResults<'a> { diff --git a/crates/jacquard-api/src/tools_ozone/safelink.rs b/crates/jacquard-api/src/tools_ozone/safelink.rs index 6615be118..04139a518 100644 --- a/crates/jacquard-api/src/tools_ozone/safelink.rs +++ b/crates/jacquard-api/src/tools_ozone/safelink.rs @@ -144,151 +144,151 @@ pub mod event_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Url; - type Id; + type Action; type CreatedAt; type Reason; + type Pattern; + type Id; type EventType; + type Url; type CreatedBy; - type Action; - type Pattern; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Url = Unset; - type Id = Unset; + type Action = Unset; type CreatedAt = Unset; type Reason = Unset; + type Pattern = Unset; + type Id = Unset; type EventType = Unset; + type Url = Unset; type CreatedBy = Unset; - type Action = Unset; - type Pattern = Unset; } - ///State transition - sets the `url` field to Set - pub struct SetUrl(PhantomData S>); - impl sealed::Sealed for SetUrl {} - impl State for SetUrl { - type Url = Set; - type Id = S::Id; + ///State transition - sets the `action` field to Set + pub struct SetAction(PhantomData S>); + impl sealed::Sealed for SetAction {} + impl State for SetAction { + type Action = Set; type CreatedAt = S::CreatedAt; type Reason = S::Reason; - type EventType = S::EventType; - type CreatedBy = S::CreatedBy; - type Action = S::Action; type Pattern = S::Pattern; - } - ///State transition - sets the `id` field to Set - pub struct SetId(PhantomData S>); - impl sealed::Sealed for SetId {} - impl State for SetId { - type Url = S::Url; - type Id = Set; - type CreatedAt = S::CreatedAt; - type Reason = S::Reason; + type Id = S::Id; type EventType = S::EventType; + type Url = S::Url; type CreatedBy = S::CreatedBy; - type Action = S::Action; - type Pattern = S::Pattern; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Url = S::Url; - type Id = S::Id; + type Action = S::Action; type CreatedAt = Set; type Reason = S::Reason; + type Pattern = S::Pattern; + type Id = S::Id; type EventType = S::EventType; + type Url = S::Url; type CreatedBy = S::CreatedBy; - type Action = S::Action; - type Pattern = S::Pattern; } ///State transition - sets the `reason` field to Set pub struct SetReason(PhantomData S>); impl sealed::Sealed for SetReason {} impl State for SetReason { - type Url = S::Url; - type Id = S::Id; + type Action = S::Action; type CreatedAt = S::CreatedAt; type Reason = Set; + type Pattern = S::Pattern; + type Id = S::Id; type EventType = S::EventType; + type Url = S::Url; type CreatedBy = S::CreatedBy; + } + ///State transition - sets the `pattern` field to Set + pub struct SetPattern(PhantomData S>); + impl sealed::Sealed for SetPattern {} + impl State for SetPattern { type Action = S::Action; + type CreatedAt = S::CreatedAt; + type Reason = S::Reason; + type Pattern = Set; + type Id = S::Id; + type EventType = S::EventType; + type Url = S::Url; + type CreatedBy = S::CreatedBy; + } + ///State transition - sets the `id` field to Set + pub struct SetId(PhantomData S>); + impl sealed::Sealed for SetId {} + impl State for SetId { + type Action = S::Action; + type CreatedAt = S::CreatedAt; + type Reason = S::Reason; type Pattern = S::Pattern; + type Id = Set; + type EventType = S::EventType; + type Url = S::Url; + type CreatedBy = S::CreatedBy; } ///State transition - sets the `event_type` field to Set pub struct SetEventType(PhantomData S>); impl sealed::Sealed for SetEventType {} impl State for SetEventType { - type Url = S::Url; - type Id = S::Id; + type Action = S::Action; type CreatedAt = S::CreatedAt; type Reason = S::Reason; + type Pattern = S::Pattern; + type Id = S::Id; type EventType = Set; + type Url = S::Url; type CreatedBy = S::CreatedBy; + } + ///State transition - sets the `url` field to Set + pub struct SetUrl(PhantomData S>); + impl sealed::Sealed for SetUrl {} + impl State for SetUrl { type Action = S::Action; + type CreatedAt = S::CreatedAt; + type Reason = S::Reason; type Pattern = S::Pattern; + type Id = S::Id; + type EventType = S::EventType; + type Url = Set; + type CreatedBy = S::CreatedBy; } ///State transition - sets the `created_by` field to Set pub struct SetCreatedBy(PhantomData S>); impl sealed::Sealed for SetCreatedBy {} impl State for SetCreatedBy { - type Url = S::Url; - type Id = S::Id; - type CreatedAt = S::CreatedAt; - type Reason = S::Reason; - type EventType = S::EventType; - type CreatedBy = Set; type Action = S::Action; - type Pattern = S::Pattern; - } - ///State transition - sets the `action` field to Set - pub struct SetAction(PhantomData S>); - impl sealed::Sealed for SetAction {} - impl State for SetAction { - type Url = S::Url; - type Id = S::Id; type CreatedAt = S::CreatedAt; type Reason = S::Reason; - type EventType = S::EventType; - type CreatedBy = S::CreatedBy; - type Action = Set; type Pattern = S::Pattern; - } - ///State transition - sets the `pattern` field to Set - pub struct SetPattern(PhantomData S>); - impl sealed::Sealed for SetPattern {} - impl State for SetPattern { - type Url = S::Url; type Id = S::Id; - type CreatedAt = S::CreatedAt; - type Reason = S::Reason; type EventType = S::EventType; - type CreatedBy = S::CreatedBy; - type Action = S::Action; - type Pattern = Set; + type Url = S::Url; + type CreatedBy = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `url` field - pub struct url(()); - ///Marker type for the `id` field - pub struct id(()); + ///Marker type for the `action` field + pub struct action(()); ///Marker type for the `created_at` field pub struct created_at(()); ///Marker type for the `reason` field pub struct reason(()); + ///Marker type for the `pattern` field + pub struct pattern(()); + ///Marker type for the `id` field + pub struct id(()); ///Marker type for the `event_type` field pub struct event_type(()); + ///Marker type for the `url` field + pub struct url(()); ///Marker type for the `created_by` field pub struct created_by(()); - ///Marker type for the `action` field - pub struct action(()); - ///Marker type for the `pattern` field - pub struct pattern(()); } } @@ -508,14 +508,14 @@ where impl<'a, S> EventBuilder<'a, S> where S: event_state::State, - S::Url: event_state::IsSet, - S::Id: event_state::IsSet, + S::Action: event_state::IsSet, S::CreatedAt: event_state::IsSet, S::Reason: event_state::IsSet, + S::Pattern: event_state::IsSet, + S::Id: event_state::IsSet, S::EventType: event_state::IsSet, + S::Url: event_state::IsSet, S::CreatedBy: event_state::IsSet, - S::Action: event_state::IsSet, - S::Pattern: event_state::IsSet, { /// Build the final struct pub fn build(self) -> Event<'a> { @@ -536,7 +536,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Event<'a> { @@ -566,7 +566,7 @@ fn lexicon_doc_tools_ozone_safelink_defs() -> ::jacquard_lexicon::lexicon::Lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("actionType"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("actionType"), ::jacquard_lexicon::lexicon::LexUserType::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -581,7 +581,7 @@ fn lexicon_doc_tools_ozone_safelink_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("event"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("event"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -590,14 +590,14 @@ fn lexicon_doc_tools_ozone_safelink_defs() -> ::jacquard_lexicon::lexicon::Lexic ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("id"), - ::jacquard_common::smol_str::SmolStr::new_static("eventType"), - ::jacquard_common::smol_str::SmolStr::new_static("url"), - ::jacquard_common::smol_str::SmolStr::new_static("pattern"), - ::jacquard_common::smol_str::SmolStr::new_static("action"), - ::jacquard_common::smol_str::SmolStr::new_static("reason"), - ::jacquard_common::smol_str::SmolStr::new_static("createdBy"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("eventType"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("pattern"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("action"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("reason"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdBy"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -605,14 +605,18 @@ fn lexicon_doc_tools_ozone_safelink_defs() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("action"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "action", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#actionType"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "comment", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -631,7 +635,7 @@ fn lexicon_doc_tools_ozone_safelink_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -650,7 +654,7 @@ fn lexicon_doc_tools_ozone_safelink_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdBy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -673,7 +677,7 @@ fn lexicon_doc_tools_ozone_safelink_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "eventType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -682,7 +686,7 @@ fn lexicon_doc_tools_ozone_safelink_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -693,21 +697,27 @@ fn lexicon_doc_tools_ozone_safelink_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("pattern"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "pattern", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#patternType"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reason"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reason", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#reasonType"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -730,7 +740,7 @@ fn lexicon_doc_tools_ozone_safelink_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("eventType"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("eventType"), ::jacquard_lexicon::lexicon::LexUserType::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -745,7 +755,7 @@ fn lexicon_doc_tools_ozone_safelink_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("patternType"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("patternType"), ::jacquard_lexicon::lexicon::LexUserType::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -760,7 +770,7 @@ fn lexicon_doc_tools_ozone_safelink_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reasonType"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("reasonType"), ::jacquard_lexicon::lexicon::LexUserType::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -775,7 +785,7 @@ fn lexicon_doc_tools_ozone_safelink_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("urlRule"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("urlRule"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -784,13 +794,13 @@ fn lexicon_doc_tools_ozone_safelink_defs() -> ::jacquard_lexicon::lexicon::Lexic ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("url"), - ::jacquard_common::smol_str::SmolStr::new_static("pattern"), - ::jacquard_common::smol_str::SmolStr::new_static("action"), - ::jacquard_common::smol_str::SmolStr::new_static("reason"), - ::jacquard_common::smol_str::SmolStr::new_static("createdBy"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt"), - ::jacquard_common::smol_str::SmolStr::new_static("updatedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("pattern"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("action"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("reason"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdBy"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("updatedAt") ], ), nullable: None, @@ -798,14 +808,18 @@ fn lexicon_doc_tools_ozone_safelink_defs() -> ::jacquard_lexicon::lexicon::Lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("action"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "action", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#actionType"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "comment", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -824,7 +838,7 @@ fn lexicon_doc_tools_ozone_safelink_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -847,7 +861,7 @@ fn lexicon_doc_tools_ozone_safelink_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdBy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -870,21 +884,25 @@ fn lexicon_doc_tools_ozone_safelink_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("pattern"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "pattern", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#patternType"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reason"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reason", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#reasonType"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -907,7 +925,9 @@ fn lexicon_doc_tools_ozone_safelink_defs() -> ::jacquard_lexicon::lexicon::Lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -1257,127 +1277,127 @@ pub mod url_rule_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Url; + type Reason; + type CreatedBy; type Pattern; - type Action; + type Url; type CreatedAt; - type CreatedBy; type UpdatedAt; - type Reason; + type Action; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Url = Unset; + type Reason = Unset; + type CreatedBy = Unset; type Pattern = Unset; - type Action = Unset; + type Url = Unset; type CreatedAt = Unset; - type CreatedBy = Unset; type UpdatedAt = Unset; - type Reason = Unset; + type Action = Unset; } - ///State transition - sets the `url` field to Set - pub struct SetUrl(PhantomData S>); - impl sealed::Sealed for SetUrl {} - impl State for SetUrl { - type Url = Set; + ///State transition - sets the `reason` field to Set + pub struct SetReason(PhantomData S>); + impl sealed::Sealed for SetReason {} + impl State for SetReason { + type Reason = Set; + type CreatedBy = S::CreatedBy; type Pattern = S::Pattern; - type Action = S::Action; + type Url = S::Url; type CreatedAt = S::CreatedAt; - type CreatedBy = S::CreatedBy; type UpdatedAt = S::UpdatedAt; + type Action = S::Action; + } + ///State transition - sets the `created_by` field to Set + pub struct SetCreatedBy(PhantomData S>); + impl sealed::Sealed for SetCreatedBy {} + impl State for SetCreatedBy { type Reason = S::Reason; + type CreatedBy = Set; + type Pattern = S::Pattern; + type Url = S::Url; + type CreatedAt = S::CreatedAt; + type UpdatedAt = S::UpdatedAt; + type Action = S::Action; } ///State transition - sets the `pattern` field to Set pub struct SetPattern(PhantomData S>); impl sealed::Sealed for SetPattern {} impl State for SetPattern { - type Url = S::Url; + type Reason = S::Reason; + type CreatedBy = S::CreatedBy; type Pattern = Set; - type Action = S::Action; + type Url = S::Url; type CreatedAt = S::CreatedAt; - type CreatedBy = S::CreatedBy; type UpdatedAt = S::UpdatedAt; - type Reason = S::Reason; + type Action = S::Action; } - ///State transition - sets the `action` field to Set - pub struct SetAction(PhantomData S>); - impl sealed::Sealed for SetAction {} - impl State for SetAction { - type Url = S::Url; + ///State transition - sets the `url` field to Set + pub struct SetUrl(PhantomData S>); + impl sealed::Sealed for SetUrl {} + impl State for SetUrl { + type Reason = S::Reason; + type CreatedBy = S::CreatedBy; type Pattern = S::Pattern; - type Action = Set; + type Url = Set; type CreatedAt = S::CreatedAt; - type CreatedBy = S::CreatedBy; type UpdatedAt = S::UpdatedAt; - type Reason = S::Reason; + type Action = S::Action; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Url = S::Url; + type Reason = S::Reason; + type CreatedBy = S::CreatedBy; type Pattern = S::Pattern; - type Action = S::Action; + type Url = S::Url; type CreatedAt = Set; - type CreatedBy = S::CreatedBy; type UpdatedAt = S::UpdatedAt; - type Reason = S::Reason; - } - ///State transition - sets the `created_by` field to Set - pub struct SetCreatedBy(PhantomData S>); - impl sealed::Sealed for SetCreatedBy {} - impl State for SetCreatedBy { - type Url = S::Url; - type Pattern = S::Pattern; type Action = S::Action; - type CreatedAt = S::CreatedAt; - type CreatedBy = Set; - type UpdatedAt = S::UpdatedAt; - type Reason = S::Reason; } ///State transition - sets the `updated_at` field to Set pub struct SetUpdatedAt(PhantomData S>); impl sealed::Sealed for SetUpdatedAt {} impl State for SetUpdatedAt { - type Url = S::Url; + type Reason = S::Reason; + type CreatedBy = S::CreatedBy; type Pattern = S::Pattern; - type Action = S::Action; + type Url = S::Url; type CreatedAt = S::CreatedAt; - type CreatedBy = S::CreatedBy; type UpdatedAt = Set; - type Reason = S::Reason; + type Action = S::Action; } - ///State transition - sets the `reason` field to Set - pub struct SetReason(PhantomData S>); - impl sealed::Sealed for SetReason {} - impl State for SetReason { - type Url = S::Url; + ///State transition - sets the `action` field to Set + pub struct SetAction(PhantomData S>); + impl sealed::Sealed for SetAction {} + impl State for SetAction { + type Reason = S::Reason; + type CreatedBy = S::CreatedBy; type Pattern = S::Pattern; - type Action = S::Action; + type Url = S::Url; type CreatedAt = S::CreatedAt; - type CreatedBy = S::CreatedBy; type UpdatedAt = S::UpdatedAt; - type Reason = Set; + type Action = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `url` field - pub struct url(()); + ///Marker type for the `reason` field + pub struct reason(()); + ///Marker type for the `created_by` field + pub struct created_by(()); ///Marker type for the `pattern` field pub struct pattern(()); - ///Marker type for the `action` field - pub struct action(()); + ///Marker type for the `url` field + pub struct url(()); ///Marker type for the `created_at` field pub struct created_at(()); - ///Marker type for the `created_by` field - pub struct created_by(()); ///Marker type for the `updated_at` field pub struct updated_at(()); - ///Marker type for the `reason` field - pub struct reason(()); + ///Marker type for the `action` field + pub struct action(()); } } @@ -1567,13 +1587,13 @@ where impl<'a, S> UrlRuleBuilder<'a, S> where S: url_rule_state::State, - S::Url: url_rule_state::IsSet, + S::Reason: url_rule_state::IsSet, + S::CreatedBy: url_rule_state::IsSet, S::Pattern: url_rule_state::IsSet, - S::Action: url_rule_state::IsSet, + S::Url: url_rule_state::IsSet, S::CreatedAt: url_rule_state::IsSet, - S::CreatedBy: url_rule_state::IsSet, S::UpdatedAt: url_rule_state::IsSet, - S::Reason: url_rule_state::IsSet, + S::Action: url_rule_state::IsSet, { /// Build the final struct pub fn build(self) -> UrlRule<'a> { @@ -1593,7 +1613,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> UrlRule<'a> { 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 94aa424a1..eb7d7f99c 100644 --- a/crates/jacquard-api/src/tools_ozone/safelink/add_rule.rs +++ b/crates/jacquard-api/src/tools_ozone/safelink/add_rule.rs @@ -47,8 +47,8 @@ pub mod add_rule_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Reason; - type Url; type Pattern; + type Url; type Action; } /// Empty state - all required fields are unset @@ -56,8 +56,8 @@ pub mod add_rule_state { impl sealed::Sealed for Empty {} impl State for Empty { type Reason = Unset; - type Url = Unset; type Pattern = Unset; + type Url = Unset; type Action = Unset; } ///State transition - sets the `reason` field to Set @@ -65,17 +65,8 @@ pub mod add_rule_state { impl sealed::Sealed for SetReason {} impl State for SetReason { type Reason = Set; - type Url = S::Url; - type Pattern = S::Pattern; - type Action = S::Action; - } - ///State transition - sets the `url` field to Set - pub struct SetUrl(PhantomData S>); - impl sealed::Sealed for SetUrl {} - impl State for SetUrl { - type Reason = S::Reason; - type Url = Set; type Pattern = S::Pattern; + type Url = S::Url; type Action = S::Action; } ///State transition - sets the `pattern` field to Set @@ -83,8 +74,17 @@ pub mod add_rule_state { impl sealed::Sealed for SetPattern {} impl State for SetPattern { type Reason = S::Reason; - type Url = S::Url; type Pattern = Set; + type Url = S::Url; + type Action = S::Action; + } + ///State transition - sets the `url` field to Set + pub struct SetUrl(PhantomData S>); + impl sealed::Sealed for SetUrl {} + impl State for SetUrl { + type Reason = S::Reason; + type Pattern = S::Pattern; + type Url = Set; type Action = S::Action; } ///State transition - sets the `action` field to Set @@ -92,8 +92,8 @@ pub mod add_rule_state { impl sealed::Sealed for SetAction {} impl State for SetAction { type Reason = S::Reason; - type Url = S::Url; type Pattern = S::Pattern; + type Url = S::Url; type Action = Set; } /// Marker types for field names @@ -101,10 +101,10 @@ pub mod add_rule_state { pub mod members { ///Marker type for the `reason` field pub struct reason(()); - ///Marker type for the `url` field - pub struct url(()); ///Marker type for the `pattern` field pub struct pattern(()); + ///Marker type for the `url` field + pub struct url(()); ///Marker type for the `action` field pub struct action(()); } @@ -257,8 +257,8 @@ impl<'a, S> AddRuleBuilder<'a, S> where S: add_rule_state::State, S::Reason: add_rule_state::IsSet, - S::Url: add_rule_state::IsSet, S::Pattern: add_rule_state::IsSet, + S::Url: add_rule_state::IsSet, S::Action: add_rule_state::IsSet, { /// Build the final struct @@ -277,7 +277,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> AddRule<'a> { 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 dd9690216..d001a76bb 100644 --- a/crates/jacquard-api/src/tools_ozone/safelink/remove_rule.rs +++ b/crates/jacquard-api/src/tools_ozone/safelink/remove_rule.rs @@ -199,7 +199,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> RemoveRule<'a> { 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 e7947e6d9..75d9c4345 100644 --- a/crates/jacquard-api/src/tools_ozone/safelink/update_rule.rs +++ b/crates/jacquard-api/src/tools_ozone/safelink/update_rule.rs @@ -46,67 +46,67 @@ pub mod update_rule_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Action; type Reason; - type Url; type Pattern; + type Action; + type Url; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Action = Unset; type Reason = Unset; - type Url = Unset; type Pattern = Unset; - } - ///State transition - sets the `action` field to Set - pub struct SetAction(PhantomData S>); - impl sealed::Sealed for SetAction {} - impl State for SetAction { - type Action = Set; - type Reason = S::Reason; - type Url = S::Url; - type Pattern = S::Pattern; + type Action = Unset; + type Url = Unset; } ///State transition - sets the `reason` field to Set pub struct SetReason(PhantomData S>); impl sealed::Sealed for SetReason {} impl State for SetReason { - type Action = S::Action; type Reason = Set; - type Url = S::Url; type Pattern = S::Pattern; - } - ///State transition - sets the `url` field to Set - pub struct SetUrl(PhantomData S>); - impl sealed::Sealed for SetUrl {} - impl State for SetUrl { type Action = S::Action; - type Reason = S::Reason; - type Url = Set; - type Pattern = S::Pattern; + type Url = S::Url; } ///State transition - sets the `pattern` field to Set pub struct SetPattern(PhantomData S>); impl sealed::Sealed for SetPattern {} impl State for SetPattern { + type Reason = S::Reason; + type Pattern = Set; type Action = S::Action; + type Url = S::Url; + } + ///State transition - sets the `action` field to Set + pub struct SetAction(PhantomData S>); + impl sealed::Sealed for SetAction {} + impl State for SetAction { type Reason = S::Reason; + type Pattern = S::Pattern; + type Action = Set; type Url = S::Url; - type Pattern = Set; + } + ///State transition - sets the `url` field to Set + pub struct SetUrl(PhantomData S>); + impl sealed::Sealed for SetUrl {} + impl State for SetUrl { + type Reason = S::Reason; + type Pattern = S::Pattern; + type Action = S::Action; + type Url = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `action` field - pub struct action(()); ///Marker type for the `reason` field pub struct reason(()); - ///Marker type for the `url` field - pub struct url(()); ///Marker type for the `pattern` field pub struct pattern(()); + ///Marker type for the `action` field + pub struct action(()); + ///Marker type for the `url` field + pub struct url(()); } } @@ -256,10 +256,10 @@ where impl<'a, S> UpdateRuleBuilder<'a, S> where S: update_rule_state::State, - S::Action: update_rule_state::IsSet, S::Reason: update_rule_state::IsSet, - S::Url: update_rule_state::IsSet, S::Pattern: update_rule_state::IsSet, + S::Action: update_rule_state::IsSet, + S::Url: update_rule_state::IsSet, { /// Build the final struct pub fn build(self) -> UpdateRule<'a> { @@ -277,7 +277,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> UpdateRule<'a> { 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 682f6150e..42b2d5a5d 100644 --- a/crates/jacquard-api/src/tools_ozone/server/get_config.rs +++ b/crates/jacquard-api/src/tools_ozone/server/get_config.rs @@ -116,7 +116,7 @@ fn lexicon_doc_tools_ozone_server_getConfig() -> ::jacquard_lexicon::lexicon::Le defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcQuery(::jacquard_lexicon::lexicon::LexXrpcQuery { description: None, parameters: None, @@ -125,7 +125,7 @@ fn lexicon_doc_tools_ozone_server_getConfig() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("serviceConfig"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("serviceConfig"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -134,7 +134,9 @@ fn lexicon_doc_tools_ozone_server_getConfig() -> ::jacquard_lexicon::lexicon::Le #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "url", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -155,7 +157,7 @@ fn lexicon_doc_tools_ozone_server_getConfig() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("viewerConfig"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("viewerConfig"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: None, @@ -164,7 +166,9 @@ fn lexicon_doc_tools_ozone_server_getConfig() -> ::jacquard_lexicon::lexicon::Le #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("role"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "role", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, diff --git a/crates/jacquard-api/src/tools_ozone/set.rs b/crates/jacquard-api/src/tools_ozone/set.rs index c14ded194..2c34236bc 100644 --- a/crates/jacquard-api/src/tools_ozone/set.rs +++ b/crates/jacquard-api/src/tools_ozone/set.rs @@ -43,18 +43,20 @@ fn lexicon_doc_tools_ozone_set_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("set"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("set"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("name")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("name") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -71,7 +73,9 @@ fn lexicon_doc_tools_ozone_set_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -90,15 +94,15 @@ fn lexicon_doc_tools_ozone_set_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("setView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("setView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("setSize"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt"), - ::jacquard_common::smol_str::SmolStr::new_static("updatedAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("setSize"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("updatedAt") ], ), nullable: None, @@ -106,7 +110,7 @@ fn lexicon_doc_tools_ozone_set_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -125,7 +129,7 @@ fn lexicon_doc_tools_ozone_set_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -142,7 +146,9 @@ fn lexicon_doc_tools_ozone_set_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -157,7 +163,9 @@ fn lexicon_doc_tools_ozone_set_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("setSize"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "setSize", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -168,7 +176,7 @@ fn lexicon_doc_tools_ozone_set_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -222,7 +230,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Set<'a> { } if let Some(ref value) = self.description { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -300,67 +308,67 @@ pub mod set_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type SetSize; - type UpdatedAt; type CreatedAt; + type SetSize; type Name; + type UpdatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type SetSize = Unset; - type UpdatedAt = Unset; type CreatedAt = Unset; + type SetSize = Unset; type Name = Unset; - } - ///State transition - sets the `set_size` field to Set - pub struct SetSetSize(PhantomData S>); - impl sealed::Sealed for SetSetSize {} - impl State for SetSetSize { - type SetSize = Set; - type UpdatedAt = S::UpdatedAt; - type CreatedAt = S::CreatedAt; - type Name = S::Name; - } - ///State transition - sets the `updated_at` field to Set - pub struct SetUpdatedAt(PhantomData S>); - impl sealed::Sealed for SetUpdatedAt {} - impl State for SetUpdatedAt { - type SetSize = S::SetSize; - type UpdatedAt = Set; - type CreatedAt = S::CreatedAt; - type Name = S::Name; + type UpdatedAt = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { + type CreatedAt = Set; type SetSize = S::SetSize; + type Name = S::Name; type UpdatedAt = S::UpdatedAt; - type CreatedAt = Set; + } + ///State transition - sets the `set_size` field to Set + pub struct SetSetSize(PhantomData S>); + impl sealed::Sealed for SetSetSize {} + impl State for SetSetSize { + type CreatedAt = S::CreatedAt; + type SetSize = Set; type Name = S::Name; + type UpdatedAt = S::UpdatedAt; } ///State transition - sets the `name` field to Set pub struct SetName(PhantomData S>); impl sealed::Sealed for SetName {} impl State for SetName { + type CreatedAt = S::CreatedAt; type SetSize = S::SetSize; + type Name = Set; type UpdatedAt = S::UpdatedAt; + } + ///State transition - sets the `updated_at` field to Set + pub struct SetUpdatedAt(PhantomData S>); + impl sealed::Sealed for SetUpdatedAt {} + impl State for SetUpdatedAt { type CreatedAt = S::CreatedAt; - type Name = Set; + type SetSize = S::SetSize; + type Name = S::Name; + type UpdatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `set_size` field - pub struct set_size(()); - ///Marker type for the `updated_at` field - pub struct updated_at(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `set_size` field + pub struct set_size(()); ///Marker type for the `name` field pub struct name(()); + ///Marker type for the `updated_at` field + pub struct updated_at(()); } } @@ -493,10 +501,10 @@ where impl<'a, S> SetViewBuilder<'a, S> where S: set_view_state::State, - S::SetSize: set_view_state::IsSet, - S::UpdatedAt: set_view_state::IsSet, S::CreatedAt: set_view_state::IsSet, + S::SetSize: set_view_state::IsSet, S::Name: set_view_state::IsSet, + S::UpdatedAt: set_view_state::IsSet, { /// Build the final struct pub fn build(self) -> SetView<'a> { @@ -513,7 +521,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> SetView<'a> { @@ -555,7 +563,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for SetView<'a> { } if let Some(ref value) = self.description { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) 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 426fd0d9e..11c06674b 100644 --- a/crates/jacquard-api/src/tools_ozone/set/add_values.rs +++ b/crates/jacquard-api/src/tools_ozone/set/add_values.rs @@ -153,7 +153,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> AddValues<'a> { 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 b8a9c48b9..1e716f826 100644 --- a/crates/jacquard-api/src/tools_ozone/set/delete_values.rs +++ b/crates/jacquard-api/src/tools_ozone/set/delete_values.rs @@ -153,7 +153,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> DeleteValues<'a> { diff --git a/crates/jacquard-api/src/tools_ozone/setting.rs b/crates/jacquard-api/src/tools_ozone/setting.rs index 4d4b658fb..ce219a0bc 100644 --- a/crates/jacquard-api/src/tools_ozone/setting.rs +++ b/crates/jacquard-api/src/tools_ozone/setting.rs @@ -55,105 +55,105 @@ pub mod defs_option_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Value; type Scope; - type LastUpdatedBy; type CreatedBy; - type Did; type Key; + type LastUpdatedBy; + type Value; + type Did; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Value = Unset; type Scope = Unset; - type LastUpdatedBy = Unset; type CreatedBy = Unset; - type Did = Unset; type Key = Unset; - } - ///State transition - sets the `value` field to Set - pub struct SetValue(PhantomData S>); - impl sealed::Sealed for SetValue {} - impl State for SetValue { - type Value = Set; - type Scope = S::Scope; - type LastUpdatedBy = S::LastUpdatedBy; - type CreatedBy = S::CreatedBy; - type Did = S::Did; - type Key = S::Key; + type LastUpdatedBy = Unset; + type Value = Unset; + type Did = Unset; } ///State transition - sets the `scope` field to Set pub struct SetScope(PhantomData S>); impl sealed::Sealed for SetScope {} impl State for SetScope { - type Value = S::Value; type Scope = Set; - type LastUpdatedBy = S::LastUpdatedBy; type CreatedBy = S::CreatedBy; + type Key = S::Key; + type LastUpdatedBy = S::LastUpdatedBy; + type Value = S::Value; type Did = S::Did; + } + ///State transition - sets the `created_by` field to Set + pub struct SetCreatedBy(PhantomData S>); + impl sealed::Sealed for SetCreatedBy {} + impl State for SetCreatedBy { + type Scope = S::Scope; + type CreatedBy = Set; type Key = S::Key; + type LastUpdatedBy = S::LastUpdatedBy; + type Value = S::Value; + type Did = S::Did; + } + ///State transition - sets the `key` field to Set + pub struct SetKey(PhantomData S>); + impl sealed::Sealed for SetKey {} + impl State for SetKey { + type Scope = S::Scope; + type CreatedBy = S::CreatedBy; + type Key = Set; + type LastUpdatedBy = S::LastUpdatedBy; + type Value = S::Value; + type Did = S::Did; } ///State transition - sets the `last_updated_by` field to Set pub struct SetLastUpdatedBy(PhantomData S>); impl sealed::Sealed for SetLastUpdatedBy {} impl State for SetLastUpdatedBy { - type Value = S::Value; type Scope = S::Scope; - type LastUpdatedBy = Set; type CreatedBy = S::CreatedBy; - type Did = S::Did; type Key = S::Key; - } - ///State transition - sets the `created_by` field to Set - pub struct SetCreatedBy(PhantomData S>); - impl sealed::Sealed for SetCreatedBy {} - impl State for SetCreatedBy { + type LastUpdatedBy = Set; type Value = S::Value; + type Did = S::Did; + } + ///State transition - sets the `value` field to Set + pub struct SetValue(PhantomData S>); + impl sealed::Sealed for SetValue {} + impl State for SetValue { type Scope = S::Scope; + type CreatedBy = S::CreatedBy; + type Key = S::Key; type LastUpdatedBy = S::LastUpdatedBy; - type CreatedBy = Set; + type Value = Set; type Did = S::Did; - type Key = S::Key; } ///State transition - sets the `did` field to Set pub struct SetDid(PhantomData S>); impl sealed::Sealed for SetDid {} impl State for SetDid { - type Value = S::Value; type Scope = S::Scope; - type LastUpdatedBy = S::LastUpdatedBy; type CreatedBy = S::CreatedBy; - type Did = Set; type Key = S::Key; - } - ///State transition - sets the `key` field to Set - pub struct SetKey(PhantomData S>); - impl sealed::Sealed for SetKey {} - impl State for SetKey { - type Value = S::Value; - type Scope = S::Scope; type LastUpdatedBy = S::LastUpdatedBy; - type CreatedBy = S::CreatedBy; - type Did = S::Did; - type Key = Set; + type Value = S::Value; + type Did = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `value` field - pub struct value(()); ///Marker type for the `scope` field pub struct scope(()); - ///Marker type for the `last_updated_by` field - pub struct last_updated_by(()); ///Marker type for the `created_by` field pub struct created_by(()); - ///Marker type for the `did` field - pub struct did(()); ///Marker type for the `key` field pub struct key(()); + ///Marker type for the `last_updated_by` field + pub struct last_updated_by(()); + ///Marker type for the `value` field + pub struct value(()); + ///Marker type for the `did` field + pub struct did(()); } } @@ -397,12 +397,12 @@ where impl<'a, S> DefsOptionBuilder<'a, S> where S: defs_option_state::State, - S::Value: defs_option_state::IsSet, S::Scope: defs_option_state::IsSet, - S::LastUpdatedBy: defs_option_state::IsSet, S::CreatedBy: defs_option_state::IsSet, - S::Did: defs_option_state::IsSet, S::Key: defs_option_state::IsSet, + S::LastUpdatedBy: defs_option_state::IsSet, + S::Value: defs_option_state::IsSet, + S::Did: defs_option_state::IsSet, { /// Build the final struct pub fn build(self) -> DefsOption<'a> { @@ -424,7 +424,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> DefsOption<'a> { @@ -643,17 +643,17 @@ fn lexicon_doc_tools_ozone_setting_defs() -> ::jacquard_lexicon::lexicon::Lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("option"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("option"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("key"), - ::jacquard_common::smol_str::SmolStr::new_static("value"), - ::jacquard_common::smol_str::SmolStr::new_static("did"), - ::jacquard_common::smol_str::SmolStr::new_static("scope"), - ::jacquard_common::smol_str::SmolStr::new_static("createdBy"), - ::jacquard_common::smol_str::SmolStr::new_static("lastUpdatedBy") + ::jacquard_common::deps::smol_str::SmolStr::new_static("key"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("value"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("scope"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdBy"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("lastUpdatedBy") ], ), nullable: None, @@ -661,7 +661,7 @@ fn lexicon_doc_tools_ozone_setting_defs() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -680,7 +680,7 @@ fn lexicon_doc_tools_ozone_setting_defs() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdBy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -699,7 +699,7 @@ fn lexicon_doc_tools_ozone_setting_defs() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -716,7 +716,9 @@ fn lexicon_doc_tools_ozone_setting_defs() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -733,7 +735,9 @@ fn lexicon_doc_tools_ozone_setting_defs() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("key"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "key", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -750,7 +754,7 @@ fn lexicon_doc_tools_ozone_setting_defs() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "lastUpdatedBy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -769,7 +773,7 @@ fn lexicon_doc_tools_ozone_setting_defs() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "managerRole", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -786,7 +790,9 @@ fn lexicon_doc_tools_ozone_setting_defs() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("scope"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "scope", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -801,7 +807,7 @@ fn lexicon_doc_tools_ozone_setting_defs() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -820,7 +826,9 @@ fn lexicon_doc_tools_ozone_setting_defs() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("value"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "value", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { description: None, }), @@ -861,7 +869,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for DefsOption<'a> { } if let Some(ref value) = self.description { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) 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 b1234e595..da7482650 100644 --- a/crates/jacquard-api/src/tools_ozone/setting/remove_options.rs +++ b/crates/jacquard-api/src/tools_ozone/setting/remove_options.rs @@ -33,37 +33,37 @@ pub mod remove_options_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Scope; type Keys; + type Scope; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Scope = Unset; type Keys = Unset; - } - ///State transition - sets the `scope` field to Set - pub struct SetScope(PhantomData S>); - impl sealed::Sealed for SetScope {} - impl State for SetScope { - type Scope = Set; - type Keys = S::Keys; + type Scope = Unset; } ///State transition - sets the `keys` field to Set pub struct SetKeys(PhantomData S>); impl sealed::Sealed for SetKeys {} impl State for SetKeys { - type Scope = S::Scope; type Keys = Set; + type Scope = S::Scope; + } + ///State transition - sets the `scope` field to Set + pub struct SetScope(PhantomData S>); + impl sealed::Sealed for SetScope {} + impl State for SetScope { + type Keys = S::Keys; + type Scope = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `scope` field - pub struct scope(()); ///Marker type for the `keys` field pub struct keys(()); + ///Marker type for the `scope` field + pub struct scope(()); } } @@ -136,8 +136,8 @@ where impl<'a, S> RemoveOptionsBuilder<'a, S> where S: remove_options_state::State, - S::Scope: remove_options_state::IsSet, S::Keys: remove_options_state::IsSet, + S::Scope: remove_options_state::IsSet, { /// Build the final struct pub fn build(self) -> RemoveOptions<'a> { @@ -151,7 +151,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> RemoveOptions<'a> { 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 4da22d46c..2a42e0c6e 100644 --- a/crates/jacquard-api/src/tools_ozone/setting/upsert_option.rs +++ b/crates/jacquard-api/src/tools_ozone/setting/upsert_option.rs @@ -41,51 +41,51 @@ pub mod upsert_option_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Value; type Key; type Scope; - type Value; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Value = Unset; type Key = Unset; type Scope = Unset; - type Value = Unset; + } + ///State transition - sets the `value` field to Set + pub struct SetValue(PhantomData S>); + impl sealed::Sealed for SetValue {} + impl State for SetValue { + type Value = Set; + type Key = S::Key; + type Scope = S::Scope; } ///State transition - sets the `key` field to Set pub struct SetKey(PhantomData S>); impl sealed::Sealed for SetKey {} impl State for SetKey { + type Value = S::Value; type Key = Set; type Scope = S::Scope; - type Value = S::Value; } ///State transition - sets the `scope` field to Set pub struct SetScope(PhantomData S>); impl sealed::Sealed for SetScope {} impl State for SetScope { - type Key = S::Key; - type Scope = Set; type Value = S::Value; - } - ///State transition - sets the `value` field to Set - pub struct SetValue(PhantomData S>); - impl sealed::Sealed for SetValue {} - impl State for SetValue { type Key = S::Key; - type Scope = S::Scope; - type Value = Set; + type Scope = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `value` field + pub struct value(()); ///Marker type for the `key` field pub struct key(()); ///Marker type for the `scope` field pub struct scope(()); - ///Marker type for the `value` field - pub struct value(()); } } @@ -218,9 +218,9 @@ where impl<'a, S> UpsertOptionBuilder<'a, S> where S: upsert_option_state::State, + S::Value: upsert_option_state::IsSet, S::Key: upsert_option_state::IsSet, S::Scope: upsert_option_state::IsSet, - S::Value: upsert_option_state::IsSet, { /// Build the final struct pub fn build(self) -> UpsertOption<'a> { @@ -237,7 +237,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> UpsertOption<'a> { diff --git a/crates/jacquard-api/src/tools_ozone/signature.rs b/crates/jacquard-api/src/tools_ozone/signature.rs index a240d3041..a71f5d289 100644 --- a/crates/jacquard-api/src/tools_ozone/signature.rs +++ b/crates/jacquard-api/src/tools_ozone/signature.rs @@ -39,13 +39,13 @@ fn lexicon_doc_tools_ozone_signature_defs() -> ::jacquard_lexicon::lexicon::Lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("sigDetail"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("sigDetail"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("property"), - ::jacquard_common::smol_str::SmolStr::new_static("value") + ::jacquard_common::deps::smol_str::SmolStr::new_static("property"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("value") ], ), nullable: None, @@ -53,7 +53,9 @@ fn lexicon_doc_tools_ozone_signature_defs() -> ::jacquard_lexicon::lexicon::Lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("property"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "property", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -68,7 +70,9 @@ fn lexicon_doc_tools_ozone_signature_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("value"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "value", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, 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 453d90502..47666cf19 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 @@ -333,7 +333,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> RelatedAccount<'a> { @@ -358,7 +358,7 @@ fn lexicon_doc_tools_ozone_signature_findRelatedAccounts() -> ::jacquard_lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcQuery(::jacquard_lexicon::lexicon::LexXrpcQuery { description: None, parameters: Some( @@ -366,14 +366,16 @@ fn lexicon_doc_tools_ozone_signature_findRelatedAccounts() -> ::jacquard_lexicon description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("did") + ::jacquard_common::deps::smol_str::SmolStr::new_static("did") ], ), properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cursor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cursor", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -388,7 +390,9 @@ fn lexicon_doc_tools_ozone_signature_findRelatedAccounts() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -405,7 +409,9 @@ fn lexicon_doc_tools_ozone_signature_findRelatedAccounts() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("limit"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "limit", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -424,18 +430,22 @@ fn lexicon_doc_tools_ozone_signature_findRelatedAccounts() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("relatedAccount"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("relatedAccount"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("account")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("account") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("account"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "account", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -444,7 +454,7 @@ fn lexicon_doc_tools_ozone_signature_findRelatedAccounts() -> ::jacquard_lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "similarities", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { diff --git a/crates/jacquard-api/src/tools_ozone/team.rs b/crates/jacquard-api/src/tools_ozone/team.rs index 291edf504..a3b57ea10 100644 --- a/crates/jacquard-api/src/tools_ozone/team.rs +++ b/crates/jacquard-api/src/tools_ozone/team.rs @@ -50,37 +50,37 @@ pub mod member_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Role; type Did; + type Role; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Role = Unset; type Did = Unset; - } - ///State transition - sets the `role` field to Set - pub struct SetRole(PhantomData S>); - impl sealed::Sealed for SetRole {} - impl State for SetRole { - type Role = Set; - type Did = S::Did; + type Role = Unset; } ///State transition - sets the `did` field to Set pub struct SetDid(PhantomData S>); impl sealed::Sealed for SetDid {} impl State for SetDid { - type Role = S::Role; type Did = Set; + type Role = S::Role; + } + ///State transition - sets the `role` field to Set + pub struct SetRole(PhantomData S>); + impl sealed::Sealed for SetRole {} + impl State for SetRole { + type Did = S::Did; + type Role = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `role` field - pub struct role(()); ///Marker type for the `did` field pub struct did(()); + ///Marker type for the `role` field + pub struct role(()); } } @@ -247,8 +247,8 @@ impl<'a, S: member_state::State> MemberBuilder<'a, S> { impl<'a, S> MemberBuilder<'a, S> where S: member_state::State, - S::Role: member_state::IsSet, S::Did: member_state::IsSet, + S::Role: member_state::IsSet, { /// Build the final struct pub fn build(self) -> Member<'a> { @@ -267,7 +267,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Member<'a> { @@ -393,13 +393,13 @@ fn lexicon_doc_tools_ozone_team_defs() -> ::jacquard_lexicon::lexicon::LexiconDo defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("member"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("member"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("did"), - ::jacquard_common::smol_str::SmolStr::new_static("role") + ::jacquard_common::deps::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("role") ], ), nullable: None, @@ -407,7 +407,7 @@ fn lexicon_doc_tools_ozone_team_defs() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -426,7 +426,9 @@ fn lexicon_doc_tools_ozone_team_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -443,7 +445,9 @@ fn lexicon_doc_tools_ozone_team_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("disabled"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "disabled", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -451,7 +455,7 @@ fn lexicon_doc_tools_ozone_team_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "lastUpdatedBy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -468,7 +472,9 @@ fn lexicon_doc_tools_ozone_team_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("profile"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "profile", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -477,7 +483,9 @@ fn lexicon_doc_tools_ozone_team_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("role"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "role", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -492,7 +500,7 @@ fn lexicon_doc_tools_ozone_team_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "updatedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -515,25 +523,25 @@ fn lexicon_doc_tools_ozone_team_defs() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("roleAdmin"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("roleAdmin"), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("roleModerator"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("roleModerator"), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("roleTriage"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("roleTriage"), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("roleVerifier"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("roleVerifier"), ::jacquard_lexicon::lexicon::LexUserType::Token(::jacquard_lexicon::lexicon::LexToken { description: None, }), 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 94b3e758f..c1984066d 100644 --- a/crates/jacquard-api/src/tools_ozone/team/add_member.rs +++ b/crates/jacquard-api/src/tools_ozone/team/add_member.rs @@ -151,7 +151,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> AddMember<'a> { 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 6764ad023..0168a1364 100644 --- a/crates/jacquard-api/src/tools_ozone/team/delete_member.rs +++ b/crates/jacquard-api/src/tools_ozone/team/delete_member.rs @@ -115,7 +115,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> DeleteMember<'a> { 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 6841f0df8..4c03b7103 100644 --- a/crates/jacquard-api/src/tools_ozone/team/update_member.rs +++ b/crates/jacquard-api/src/tools_ozone/team/update_member.rs @@ -150,7 +150,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> UpdateMember<'a> { diff --git a/crates/jacquard-api/src/tools_ozone/verification.rs b/crates/jacquard-api/src/tools_ozone/verification.rs index 609b87963..703a2ac81 100644 --- a/crates/jacquard-api/src/tools_ozone/verification.rs +++ b/crates/jacquard-api/src/tools_ozone/verification.rs @@ -75,104 +75,104 @@ pub mod verification_view_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Uri; - type Subject; + type Issuer; type Handle; type DisplayName; type CreatedAt; - type Issuer; + type Subject; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Uri = Unset; - type Subject = Unset; + type Issuer = Unset; type Handle = Unset; type DisplayName = Unset; type CreatedAt = Unset; - type Issuer = Unset; + type Subject = Unset; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { type Uri = Set; - type Subject = S::Subject; + type Issuer = S::Issuer; type Handle = S::Handle; type DisplayName = S::DisplayName; type CreatedAt = S::CreatedAt; - type Issuer = S::Issuer; + type Subject = S::Subject; } - ///State transition - sets the `subject` field to Set - pub struct SetSubject(PhantomData S>); - impl sealed::Sealed for SetSubject {} - impl State for SetSubject { + ///State transition - sets the `issuer` field to Set + pub struct SetIssuer(PhantomData S>); + impl sealed::Sealed for SetIssuer {} + impl State for SetIssuer { type Uri = S::Uri; - type Subject = Set; + type Issuer = Set; type Handle = S::Handle; type DisplayName = S::DisplayName; type CreatedAt = S::CreatedAt; - type Issuer = S::Issuer; + type Subject = S::Subject; } ///State transition - sets the `handle` field to Set pub struct SetHandle(PhantomData S>); impl sealed::Sealed for SetHandle {} impl State for SetHandle { type Uri = S::Uri; - type Subject = S::Subject; + type Issuer = S::Issuer; type Handle = Set; type DisplayName = S::DisplayName; type CreatedAt = S::CreatedAt; - type Issuer = S::Issuer; + type Subject = S::Subject; } ///State transition - sets the `display_name` field to Set pub struct SetDisplayName(PhantomData S>); impl sealed::Sealed for SetDisplayName {} impl State for SetDisplayName { type Uri = S::Uri; - type Subject = S::Subject; + type Issuer = S::Issuer; type Handle = S::Handle; type DisplayName = Set; type CreatedAt = S::CreatedAt; - type Issuer = S::Issuer; + type Subject = S::Subject; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { type Uri = S::Uri; - type Subject = S::Subject; + type Issuer = S::Issuer; type Handle = S::Handle; type DisplayName = S::DisplayName; type CreatedAt = Set; - type Issuer = S::Issuer; + type Subject = S::Subject; } - ///State transition - sets the `issuer` field to Set - pub struct SetIssuer(PhantomData S>); - impl sealed::Sealed for SetIssuer {} - impl State for SetIssuer { + ///State transition - sets the `subject` field to Set + pub struct SetSubject(PhantomData S>); + impl sealed::Sealed for SetSubject {} + impl State for SetSubject { type Uri = S::Uri; - type Subject = S::Subject; + type Issuer = S::Issuer; type Handle = S::Handle; type DisplayName = S::DisplayName; type CreatedAt = S::CreatedAt; - type Issuer = Set; + type Subject = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `uri` field pub struct uri(()); - ///Marker type for the `subject` field - pub struct subject(()); + ///Marker type for the `issuer` field + pub struct issuer(()); ///Marker type for the `handle` field pub struct handle(()); ///Marker type for the `display_name` field pub struct display_name(()); ///Marker type for the `created_at` field pub struct created_at(()); - ///Marker type for the `issuer` field - pub struct issuer(()); + ///Marker type for the `subject` field + pub struct subject(()); } } @@ -480,11 +480,11 @@ impl<'a, S> VerificationViewBuilder<'a, S> where S: verification_view_state::State, S::Uri: verification_view_state::IsSet, - S::Subject: verification_view_state::IsSet, + S::Issuer: verification_view_state::IsSet, S::Handle: verification_view_state::IsSet, S::DisplayName: verification_view_state::IsSet, S::CreatedAt: verification_view_state::IsSet, - S::Issuer: verification_view_state::IsSet, + S::Subject: verification_view_state::IsSet, { /// Build the final struct pub fn build(self) -> VerificationView<'a> { @@ -509,7 +509,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> VerificationView<'a> { @@ -581,7 +581,9 @@ fn lexicon_doc_tools_ozone_verification_defs() -> ::jacquard_lexicon::lexicon::L defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("verificationView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "verificationView", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -590,12 +592,12 @@ fn lexicon_doc_tools_ozone_verification_defs() -> ::jacquard_lexicon::lexicon::L ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("issuer"), - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("handle"), - ::jacquard_common::smol_str::SmolStr::new_static("displayName"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("issuer"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("handle"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("displayName"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -603,7 +605,7 @@ fn lexicon_doc_tools_ozone_verification_defs() -> ::jacquard_lexicon::lexicon::L #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -626,7 +628,7 @@ fn lexicon_doc_tools_ozone_verification_defs() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "displayName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -647,7 +649,9 @@ fn lexicon_doc_tools_ozone_verification_defs() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("handle"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "handle", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -668,7 +672,9 @@ fn lexicon_doc_tools_ozone_verification_defs() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("issuer"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "issuer", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -689,7 +695,7 @@ fn lexicon_doc_tools_ozone_verification_defs() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "issuerProfile", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -699,7 +705,7 @@ fn lexicon_doc_tools_ozone_verification_defs() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "issuerRepo", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -712,7 +718,7 @@ fn lexicon_doc_tools_ozone_verification_defs() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "revokeReason", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -733,7 +739,7 @@ fn lexicon_doc_tools_ozone_verification_defs() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "revokedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -756,7 +762,7 @@ fn lexicon_doc_tools_ozone_verification_defs() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "revokedBy", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -779,7 +785,9 @@ fn lexicon_doc_tools_ozone_verification_defs() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -800,7 +808,7 @@ fn lexicon_doc_tools_ozone_verification_defs() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjectProfile", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -810,7 +818,7 @@ fn lexicon_doc_tools_ozone_verification_defs() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjectRepo", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -823,7 +831,9 @@ fn lexicon_doc_tools_ozone_verification_defs() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( 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 b3ffaf9a6..efa9a9a52 100644 --- a/crates/jacquard-api/src/tools_ozone/verification/grant_verifications.rs +++ b/crates/jacquard-api/src/tools_ozone/verification/grant_verifications.rs @@ -154,7 +154,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> GrantError<'a> { @@ -179,7 +179,7 @@ fn lexicon_doc_tools_ozone_verification_grantVerifications() -> ::jacquard_lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("grantError"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("grantError"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -188,8 +188,8 @@ fn lexicon_doc_tools_ozone_verification_grantVerifications() -> ::jacquard_lexic ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("error"), - ::jacquard_common::smol_str::SmolStr::new_static("subject") + ::jacquard_common::deps::smol_str::SmolStr::new_static("error"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject") ], ), nullable: None, @@ -197,7 +197,9 @@ fn lexicon_doc_tools_ozone_verification_grantVerifications() -> ::jacquard_lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("error"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "error", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -216,7 +218,9 @@ fn lexicon_doc_tools_ozone_verification_grantVerifications() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -241,7 +245,7 @@ fn lexicon_doc_tools_ozone_verification_grantVerifications() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcProcedure(::jacquard_lexicon::lexicon::LexXrpcProcedure { description: None, parameters: None, @@ -255,7 +259,7 @@ fn lexicon_doc_tools_ozone_verification_grantVerifications() -> ::jacquard_lexic description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("verifications") + ::jacquard_common::deps::smol_str::SmolStr::new_static("verifications") ], ), nullable: None, @@ -263,7 +267,7 @@ fn lexicon_doc_tools_ozone_verification_grantVerifications() -> ::jacquard_lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "verifications", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -292,14 +296,16 @@ fn lexicon_doc_tools_ozone_verification_grantVerifications() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("verificationInput"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "verificationInput", + ), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("handle"), - ::jacquard_common::smol_str::SmolStr::new_static("displayName") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("handle"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("displayName") ], ), nullable: None, @@ -307,7 +313,7 @@ fn lexicon_doc_tools_ozone_verification_grantVerifications() -> ::jacquard_lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -330,7 +336,7 @@ fn lexicon_doc_tools_ozone_verification_grantVerifications() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "displayName", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -351,7 +357,9 @@ fn lexicon_doc_tools_ozone_verification_grantVerifications() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("handle"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "handle", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -372,7 +380,9 @@ fn lexicon_doc_tools_ozone_verification_grantVerifications() -> ::jacquard_lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -543,7 +553,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> GrantVerifications<'a> { @@ -640,51 +650,51 @@ pub mod verification_input_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Subject; - type DisplayName; type Handle; + type DisplayName; + type Subject; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Subject = Unset; - type DisplayName = Unset; type Handle = Unset; + type DisplayName = Unset; + type Subject = Unset; } - ///State transition - sets the `subject` field to Set - pub struct SetSubject(PhantomData S>); - impl sealed::Sealed for SetSubject {} - impl State for SetSubject { - type Subject = Set; + ///State transition - sets the `handle` field to Set + pub struct SetHandle(PhantomData S>); + impl sealed::Sealed for SetHandle {} + impl State for SetHandle { + type Handle = Set; type DisplayName = S::DisplayName; - type Handle = S::Handle; + type Subject = S::Subject; } ///State transition - sets the `display_name` field to Set pub struct SetDisplayName(PhantomData S>); impl sealed::Sealed for SetDisplayName {} impl State for SetDisplayName { - type Subject = S::Subject; - type DisplayName = Set; type Handle = S::Handle; - } - ///State transition - sets the `handle` field to Set - pub struct SetHandle(PhantomData S>); - impl sealed::Sealed for SetHandle {} - impl State for SetHandle { + type DisplayName = Set; type Subject = S::Subject; + } + ///State transition - sets the `subject` field to Set + pub struct SetSubject(PhantomData S>); + impl sealed::Sealed for SetSubject {} + impl State for SetSubject { + type Handle = S::Handle; type DisplayName = S::DisplayName; - type Handle = Set; + type Subject = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `subject` field - pub struct subject(()); - ///Marker type for the `display_name` field - pub struct display_name(()); ///Marker type for the `handle` field pub struct handle(()); + ///Marker type for the `display_name` field + pub struct display_name(()); + ///Marker type for the `subject` field + pub struct subject(()); } } @@ -797,9 +807,9 @@ where impl<'a, S> VerificationInputBuilder<'a, S> where S: verification_input_state::State, - S::Subject: verification_input_state::IsSet, - S::DisplayName: verification_input_state::IsSet, S::Handle: verification_input_state::IsSet, + S::DisplayName: verification_input_state::IsSet, + S::Subject: verification_input_state::IsSet, { /// Build the final struct pub fn build(self) -> VerificationInput<'a> { @@ -815,7 +825,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> VerificationInput<'a> { 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 4df939ac4..03c45e8bd 100644 --- a/crates/jacquard-api/src/tools_ozone/verification/revoke_verifications.rs +++ b/crates/jacquard-api/src/tools_ozone/verification/revoke_verifications.rs @@ -141,7 +141,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> RevokeVerifications<'a> { @@ -236,37 +236,37 @@ pub mod revoke_error_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Error; type Uri; + type Error; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Error = Unset; type Uri = Unset; - } - ///State transition - sets the `error` field to Set - pub struct SetError(PhantomData S>); - impl sealed::Sealed for SetError {} - impl State for SetError { - type Error = Set; - type Uri = S::Uri; + type Error = Unset; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { - type Error = S::Error; type Uri = Set; + type Error = S::Error; + } + ///State transition - sets the `error` field to Set + pub struct SetError(PhantomData S>); + impl sealed::Sealed for SetError {} + impl State for SetError { + type Uri = S::Uri; + type Error = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `error` field - pub struct error(()); ///Marker type for the `uri` field pub struct uri(()); + ///Marker type for the `error` field + pub struct error(()); } } @@ -339,8 +339,8 @@ where impl<'a, S> RevokeErrorBuilder<'a, S> where S: revoke_error_state::State, - S::Error: revoke_error_state::IsSet, S::Uri: revoke_error_state::IsSet, + S::Error: revoke_error_state::IsSet, { /// Build the final struct pub fn build(self) -> RevokeError<'a> { @@ -354,7 +354,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> RevokeError<'a> { @@ -379,7 +379,7 @@ fn lexicon_doc_tools_ozone_verification_revokeVerifications() -> ::jacquard_lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcProcedure(::jacquard_lexicon::lexicon::LexXrpcProcedure { description: None, parameters: None, @@ -393,7 +393,7 @@ fn lexicon_doc_tools_ozone_verification_revokeVerifications() -> ::jacquard_lexi description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uris") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uris") ], ), nullable: None, @@ -401,7 +401,7 @@ fn lexicon_doc_tools_ozone_verification_revokeVerifications() -> ::jacquard_lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "revokeReason", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -422,7 +422,9 @@ fn lexicon_doc_tools_ozone_verification_revokeVerifications() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uris"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uris", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -461,7 +463,7 @@ fn lexicon_doc_tools_ozone_verification_revokeVerifications() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("revokeError"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("revokeError"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -470,8 +472,8 @@ fn lexicon_doc_tools_ozone_verification_revokeVerifications() -> ::jacquard_lexi ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("error") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("error") ], ), nullable: None, @@ -479,7 +481,9 @@ fn lexicon_doc_tools_ozone_verification_revokeVerifications() -> ::jacquard_lexi #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("error"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "error", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -498,7 +502,9 @@ fn lexicon_doc_tools_ozone_verification_revokeVerifications() -> ::jacquard_lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( 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 c028d8f8a..ae8023890 100644 --- a/crates/jacquard-api/src/tools_smokesignal/blahg/content/post.rs +++ b/crates/jacquard-api/src/tools_smokesignal/blahg/content/post.rs @@ -134,7 +134,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Attachment<'a> { @@ -159,18 +159,22 @@ fn lexicon_doc_tools_smokesignal_blahg_content_post() -> ::jacquard_lexicon::lex defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("attachment"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("attachment"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("content")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("content") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("alt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "alt", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -189,7 +193,9 @@ fn lexicon_doc_tools_smokesignal_blahg_content_post() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "content", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -201,7 +207,7 @@ fn lexicon_doc_tools_smokesignal_blahg_content_post() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static("A blagh post"), @@ -215,7 +221,7 @@ fn lexicon_doc_tools_smokesignal_blahg_content_post() -> ::jacquard_lexicon::lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "attachments", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -229,7 +235,9 @@ fn lexicon_doc_tools_smokesignal_blahg_content_post() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "content", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { description: None, accept: None, @@ -237,7 +245,9 @@ fn lexicon_doc_tools_smokesignal_blahg_content_post() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("langs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "langs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -263,7 +273,7 @@ fn lexicon_doc_tools_smokesignal_blahg_content_post() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "publishedAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -282,7 +292,9 @@ fn lexicon_doc_tools_smokesignal_blahg_content_post() -> ::jacquard_lexicon::lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -522,7 +534,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Post<'a> { @@ -637,7 +649,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Post<'a> { } if let Some(ref value) = self.title { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) diff --git a/crates/jacquard-api/src/top_launchpadx/agent/ack.rs b/crates/jacquard-api/src/top_launchpadx/agent/ack.rs index 4f72d6000..c04453dd0 100644 --- a/crates/jacquard-api/src/top_launchpadx/agent/ack.rs +++ b/crates/jacquard-api/src/top_launchpadx/agent/ack.rs @@ -43,37 +43,37 @@ pub mod ack_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type WorkType; type CreatedAt; + type WorkType; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type WorkType = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `work_type` field to Set - pub struct SetWorkType(PhantomData S>); - impl sealed::Sealed for SetWorkType {} - impl State for SetWorkType { - type WorkType = Set; - type CreatedAt = S::CreatedAt; + type WorkType = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type WorkType = S::WorkType; type CreatedAt = Set; + type WorkType = S::WorkType; + } + ///State transition - sets the `work_type` field to Set + pub struct SetWorkType(PhantomData S>); + impl sealed::Sealed for SetWorkType {} + impl State for SetWorkType { + type CreatedAt = S::CreatedAt; + type WorkType = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `work_type` field - pub struct work_type(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `work_type` field + pub struct work_type(()); } } @@ -183,8 +183,8 @@ where impl<'a, S> AckBuilder<'a, S> where S: ack_state::State, - S::WorkType: ack_state::IsSet, S::CreatedAt: ack_state::IsSet, + S::WorkType: ack_state::IsSet, { /// Build the final struct pub fn build(self) -> Ack<'a> { @@ -200,7 +200,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Ack<'a> { @@ -303,7 +303,7 @@ fn lexicon_doc_top_launchpadx_agent_ack() -> ::jacquard_lexicon::lexicon::Lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -315,8 +315,8 @@ fn lexicon_doc_top_launchpadx_agent_ack() -> ::jacquard_lexicon::lexicon::Lexico description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("workType"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("workType"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -324,7 +324,7 @@ fn lexicon_doc_top_launchpadx_agent_ack() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -347,7 +347,9 @@ fn lexicon_doc_top_launchpadx_agent_ack() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("note"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "note", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -366,7 +368,7 @@ fn lexicon_doc_top_launchpadx_agent_ack() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjectUri", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -389,7 +391,7 @@ fn lexicon_doc_top_launchpadx_agent_ack() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "workType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/top_launchpadx/agent/journal.rs b/crates/jacquard-api/src/top_launchpadx/agent/journal.rs index bd2eda6b6..d6892ed8f 100644 --- a/crates/jacquard-api/src/top_launchpadx/agent/journal.rs +++ b/crates/jacquard-api/src/top_launchpadx/agent/journal.rs @@ -138,7 +138,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Journal<'a> { @@ -239,7 +239,7 @@ fn lexicon_doc_top_launchpadx_agent_journal() -> ::jacquard_lexicon::lexicon::Le defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -251,7 +251,7 @@ fn lexicon_doc_top_launchpadx_agent_journal() -> ::jacquard_lexicon::lexicon::Le description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -259,7 +259,7 @@ fn lexicon_doc_top_launchpadx_agent_journal() -> ::jacquard_lexicon::lexicon::Le #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -282,7 +282,9 @@ fn lexicon_doc_top_launchpadx_agent_journal() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("journal"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "journal", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/top_launchpadx/agent/thought.rs b/crates/jacquard-api/src/top_launchpadx/agent/thought.rs index bc72855c6..c0325371d 100644 --- a/crates/jacquard-api/src/top_launchpadx/agent/thought.rs +++ b/crates/jacquard-api/src/top_launchpadx/agent/thought.rs @@ -43,37 +43,37 @@ pub mod thought_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type WorkType; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type WorkType = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type WorkType = S::WorkType; + type CreatedAt = Unset; } ///State transition - sets the `work_type` field to Set pub struct SetWorkType(PhantomData S>); impl sealed::Sealed for SetWorkType {} impl State for SetWorkType { - type CreatedAt = S::CreatedAt; type WorkType = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type WorkType = S::WorkType; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `work_type` field pub struct work_type(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -183,8 +183,8 @@ where impl<'a, S> ThoughtBuilder<'a, S> where S: thought_state::State, - S::CreatedAt: thought_state::IsSet, S::WorkType: thought_state::IsSet, + S::CreatedAt: thought_state::IsSet, { /// Build the final struct pub fn build(self) -> Thought<'a> { @@ -200,7 +200,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Thought<'a> { @@ -303,7 +303,7 @@ fn lexicon_doc_top_launchpadx_agent_thought() -> ::jacquard_lexicon::lexicon::Le defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static("Agent thought record."), @@ -313,8 +313,8 @@ fn lexicon_doc_top_launchpadx_agent_thought() -> ::jacquard_lexicon::lexicon::Le description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("workType"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("workType"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -322,7 +322,7 @@ fn lexicon_doc_top_launchpadx_agent_thought() -> ::jacquard_lexicon::lexicon::Le #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -345,7 +345,9 @@ fn lexicon_doc_top_launchpadx_agent_thought() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("note"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "note", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -364,7 +366,7 @@ fn lexicon_doc_top_launchpadx_agent_thought() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "subjectUri", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -387,7 +389,7 @@ fn lexicon_doc_top_launchpadx_agent_thought() -> ::jacquard_lexicon::lexicon::Le }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "workType", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/uk_ewancroft/kofi/supporter.rs b/crates/jacquard-api/src/uk_ewancroft/kofi/supporter.rs index 5636bcd9e..5b58b811d 100644 --- a/crates/jacquard-api/src/uk_ewancroft/kofi/supporter.rs +++ b/crates/jacquard-api/src/uk_ewancroft/kofi/supporter.rs @@ -40,37 +40,37 @@ pub mod supporter_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Name; type Type; + type Name; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Name = Unset; type Type = Unset; - } - ///State transition - sets the `name` field to Set - pub struct SetName(PhantomData S>); - impl sealed::Sealed for SetName {} - impl State for SetName { - type Name = Set; - type Type = S::Type; + type Name = Unset; } ///State transition - sets the `type` field to Set pub struct SetType(PhantomData S>); impl sealed::Sealed for SetType {} impl State for SetType { - type Name = S::Name; type Type = Set; + type Name = S::Name; + } + ///State transition - sets the `name` field to Set + pub struct SetName(PhantomData S>); + impl sealed::Sealed for SetName {} + impl State for SetName { + type Type = S::Type; + type Name = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `name` field - pub struct name(()); ///Marker type for the `type` field pub struct r#type(()); + ///Marker type for the `name` field + pub struct name(()); } } @@ -160,8 +160,8 @@ where impl<'a, S> SupporterBuilder<'a, S> where S: supporter_state::State, - S::Name: supporter_state::IsSet, S::Type: supporter_state::IsSet, + S::Name: supporter_state::IsSet, { /// Build the final struct pub fn build(self) -> Supporter<'a> { @@ -176,7 +176,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Supporter<'a> { @@ -278,7 +278,7 @@ fn lexicon_doc_uk_ewancroft_kofi_supporter() -> ::jacquard_lexicon::lexicon::Lex defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -290,8 +290,8 @@ fn lexicon_doc_uk_ewancroft_kofi_supporter() -> ::jacquard_lexicon::lexicon::Lex description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("type") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("type") ], ), nullable: None, @@ -299,7 +299,9 @@ fn lexicon_doc_uk_ewancroft_kofi_supporter() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -318,7 +320,9 @@ fn lexicon_doc_uk_ewancroft_kofi_supporter() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tier"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tier", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -337,7 +341,9 @@ fn lexicon_doc_uk_ewancroft_kofi_supporter() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("type"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "type", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/uk_ewancroft/now.rs b/crates/jacquard-api/src/uk_ewancroft/now.rs index 56d726040..80bc4f181 100644 --- a/crates/jacquard-api/src/uk_ewancroft/now.rs +++ b/crates/jacquard-api/src/uk_ewancroft/now.rs @@ -152,7 +152,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Now<'a> { @@ -277,7 +277,7 @@ fn lexicon_doc_uk_ewancroft_now() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: None, key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -285,8 +285,8 @@ fn lexicon_doc_uk_ewancroft_now() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("text"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -294,7 +294,7 @@ fn lexicon_doc_uk_ewancroft_now() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -317,7 +317,9 @@ fn lexicon_doc_uk_ewancroft_now() -> ::jacquard_lexicon::lexicon::LexiconDoc<'st }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/uk_skyblur/post.rs b/crates/jacquard-api/src/uk_skyblur/post.rs index a5f8e956c..dc491a115 100644 --- a/crates/jacquard-api/src/uk_skyblur/post.rs +++ b/crates/jacquard-api/src/uk_skyblur/post.rs @@ -54,67 +54,67 @@ pub mod post_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Uri; type Text; type Visibility; type CreatedAt; - type Uri; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Uri = Unset; type Text = Unset; type Visibility = Unset; type CreatedAt = Unset; - type Uri = Unset; + } + ///State transition - sets the `uri` field to Set + pub struct SetUri(PhantomData S>); + impl sealed::Sealed for SetUri {} + impl State for SetUri { + type Uri = Set; + type Text = S::Text; + type Visibility = S::Visibility; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `text` field to Set pub struct SetText(PhantomData S>); impl sealed::Sealed for SetText {} impl State for SetText { + type Uri = S::Uri; type Text = Set; type Visibility = S::Visibility; type CreatedAt = S::CreatedAt; - type Uri = S::Uri; } ///State transition - sets the `visibility` field to Set pub struct SetVisibility(PhantomData S>); impl sealed::Sealed for SetVisibility {} impl State for SetVisibility { + type Uri = S::Uri; type Text = S::Text; type Visibility = Set; type CreatedAt = S::CreatedAt; - type Uri = S::Uri; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Text = S::Text; - type Visibility = S::Visibility; - type CreatedAt = Set; type Uri = S::Uri; - } - ///State transition - sets the `uri` field to Set - pub struct SetUri(PhantomData S>); - impl sealed::Sealed for SetUri {} - impl State for SetUri { type Text = S::Text; type Visibility = S::Visibility; - type CreatedAt = S::CreatedAt; - type Uri = Set; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `uri` field + pub struct uri(()); ///Marker type for the `text` field pub struct text(()); ///Marker type for the `visibility` field pub struct visibility(()); ///Marker type for the `created_at` field pub struct created_at(()); - ///Marker type for the `uri` field - pub struct uri(()); } } @@ -267,10 +267,10 @@ where impl<'a, S> PostBuilder<'a, S> where S: post_state::State, + S::Uri: post_state::IsSet, S::Text: post_state::IsSet, S::Visibility: post_state::IsSet, S::CreatedAt: post_state::IsSet, - S::Uri: post_state::IsSet, { /// Build the final struct pub fn build(self) -> Post<'a> { @@ -288,7 +288,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Post<'a> { @@ -392,7 +392,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Post<'a> { } if let Some(ref value) = self.additional { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -424,7 +424,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Post<'a> { { let value = &self.text; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -456,7 +456,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Post<'a> { { let value = &self.visibility; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -485,7 +485,7 @@ fn lexicon_doc_uk_skyblur_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -497,10 +497,10 @@ fn lexicon_doc_uk_skyblur_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("text"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt"), - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("visibility") + ::jacquard_common::deps::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("visibility") ], ), nullable: None, @@ -508,7 +508,7 @@ fn lexicon_doc_uk_skyblur_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "additional", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -529,7 +529,7 @@ fn lexicon_doc_uk_skyblur_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -552,7 +552,7 @@ fn lexicon_doc_uk_skyblur_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "encryptBody", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { @@ -562,7 +562,9 @@ fn lexicon_doc_uk_skyblur_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -581,7 +583,9 @@ fn lexicon_doc_uk_skyblur_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -598,7 +602,7 @@ fn lexicon_doc_uk_skyblur_post() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "visibility", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { 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 1578a1c0f..44d38aa8c 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 @@ -37,67 +37,67 @@ pub mod decrypt_by_cid_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Cid; - type Pds; - type Password; type Repo; + type Password; + type Pds; + type Cid; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Cid = Unset; - type Pds = Unset; - type Password = Unset; type Repo = Unset; + type Password = Unset; + type Pds = Unset; + type Cid = Unset; } - ///State transition - sets the `cid` field to Set - pub struct SetCid(PhantomData S>); - impl sealed::Sealed for SetCid {} - impl State for SetCid { - type Cid = Set; - type Pds = S::Pds; + ///State transition - sets the `repo` field to Set + pub struct SetRepo(PhantomData S>); + impl sealed::Sealed for SetRepo {} + impl State for SetRepo { + type Repo = Set; type Password = S::Password; - type Repo = S::Repo; - } - ///State transition - sets the `pds` field to Set - pub struct SetPds(PhantomData S>); - impl sealed::Sealed for SetPds {} - impl State for SetPds { + type Pds = S::Pds; type Cid = S::Cid; - type Pds = Set; - type Password = S::Password; - type Repo = S::Repo; } ///State transition - sets the `password` field to Set pub struct SetPassword(PhantomData S>); impl sealed::Sealed for SetPassword {} impl State for SetPassword { - type Cid = S::Cid; - type Pds = S::Pds; - type Password = Set; type Repo = S::Repo; + type Password = Set; + type Pds = S::Pds; + type Cid = S::Cid; } - ///State transition - sets the `repo` field to Set - pub struct SetRepo(PhantomData S>); - impl sealed::Sealed for SetRepo {} - impl State for SetRepo { + ///State transition - sets the `pds` field to Set + pub struct SetPds(PhantomData S>); + impl sealed::Sealed for SetPds {} + impl State for SetPds { + type Repo = S::Repo; + type Password = S::Password; + type Pds = Set; type Cid = S::Cid; - type Pds = S::Pds; + } + ///State transition - sets the `cid` field to Set + pub struct SetCid(PhantomData S>); + impl sealed::Sealed for SetCid {} + impl State for SetCid { + type Repo = S::Repo; type Password = S::Password; - type Repo = Set; + type Pds = S::Pds; + type Cid = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `cid` field - pub struct cid(()); - ///Marker type for the `pds` field - pub struct pds(()); - ///Marker type for the `password` field - pub struct password(()); ///Marker type for the `repo` field pub struct repo(()); + ///Marker type for the `password` field + pub struct password(()); + ///Marker type for the `pds` field + pub struct pds(()); + ///Marker type for the `cid` field + pub struct cid(()); } } @@ -210,10 +210,10 @@ where impl<'a, S> DecryptByCidBuilder<'a, S> where S: decrypt_by_cid_state::State, - S::Cid: decrypt_by_cid_state::IsSet, - S::Pds: decrypt_by_cid_state::IsSet, - S::Password: decrypt_by_cid_state::IsSet, S::Repo: decrypt_by_cid_state::IsSet, + S::Password: decrypt_by_cid_state::IsSet, + S::Pds: decrypt_by_cid_state::IsSet, + S::Cid: decrypt_by_cid_state::IsSet, { /// Build the final struct pub fn build(self) -> DecryptByCid<'a> { @@ -229,7 +229,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> DecryptByCid<'a> { 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 7df13196c..2ff4964f1 100644 --- a/crates/jacquard-api/src/uk_skyblur/post/get_post.rs +++ b/crates/jacquard-api/src/uk_skyblur/post/get_post.rs @@ -138,7 +138,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> GetPost<'a> { diff --git a/crates/jacquard-api/src/uk_skyblur/post/store.rs b/crates/jacquard-api/src/uk_skyblur/post/store.rs index 20917e0b4..843806ca3 100644 --- a/crates/jacquard-api/src/uk_skyblur/post/store.rs +++ b/crates/jacquard-api/src/uk_skyblur/post/store.rs @@ -39,49 +39,49 @@ pub mod store_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Uri; type Text; + type Uri; type Visibility; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Uri = Unset; type Text = Unset; + type Uri = Unset; type Visibility = Unset; } - ///State transition - sets the `uri` field to Set - pub struct SetUri(PhantomData S>); - impl sealed::Sealed for SetUri {} - impl State for SetUri { - type Uri = Set; - type Text = S::Text; - type Visibility = S::Visibility; - } ///State transition - sets the `text` field to Set pub struct SetText(PhantomData S>); impl sealed::Sealed for SetText {} impl State for SetText { - type Uri = S::Uri; type Text = Set; + type Uri = S::Uri; + type Visibility = S::Visibility; + } + ///State transition - sets the `uri` field to Set + pub struct SetUri(PhantomData S>); + impl sealed::Sealed for SetUri {} + impl State for SetUri { + type Text = S::Text; + type Uri = Set; type Visibility = S::Visibility; } ///State transition - sets the `visibility` field to Set pub struct SetVisibility(PhantomData S>); impl sealed::Sealed for SetVisibility {} impl State for SetVisibility { - type Uri = S::Uri; type Text = S::Text; + type Uri = S::Uri; type Visibility = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `uri` field - pub struct uri(()); ///Marker type for the `text` field pub struct text(()); + ///Marker type for the `uri` field + pub struct uri(()); ///Marker type for the `visibility` field pub struct visibility(()); } @@ -196,8 +196,8 @@ where impl<'a, S> StoreBuilder<'a, S> where S: store_state::State, - S::Uri: store_state::IsSet, S::Text: store_state::IsSet, + S::Uri: store_state::IsSet, S::Visibility: store_state::IsSet, { /// Build the final struct @@ -214,7 +214,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Store<'a> { diff --git a/crates/jacquard-api/src/uk_skyblur/preference.rs b/crates/jacquard-api/src/uk_skyblur/preference.rs index a48cb3443..c0735f6bd 100644 --- a/crates/jacquard-api/src/uk_skyblur/preference.rs +++ b/crates/jacquard-api/src/uk_skyblur/preference.rs @@ -116,7 +116,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Preference<'a> { @@ -216,7 +216,7 @@ fn lexicon_doc_uk_skyblur_preference() -> ::jacquard_lexicon::lexicon::LexiconDo defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -228,7 +228,7 @@ fn lexicon_doc_uk_skyblur_preference() -> ::jacquard_lexicon::lexicon::LexiconDo description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("myPage") + ::jacquard_common::deps::smol_str::SmolStr::new_static("myPage") ], ), nullable: None, @@ -236,7 +236,9 @@ fn lexicon_doc_uk_skyblur_preference() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("myPage"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "myPage", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -251,12 +253,12 @@ fn lexicon_doc_uk_skyblur_preference() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("myPage"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("myPage"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("isUseMyPage") + ::jacquard_common::deps::smol_str::SmolStr::new_static("isUseMyPage") ], ), nullable: None, @@ -264,7 +266,7 @@ fn lexicon_doc_uk_skyblur_preference() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -285,7 +287,7 @@ fn lexicon_doc_uk_skyblur_preference() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "isUseMyPage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { @@ -438,7 +440,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> MyPage<'a> { @@ -477,7 +479,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for MyPage<'a> { } if let Some(ref value) = self.description { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) diff --git a/crates/jacquard-api/src/us_polhem/blog.rs b/crates/jacquard-api/src/us_polhem/blog.rs index bab450033..6345add5b 100644 --- a/crates/jacquard-api/src/us_polhem/blog.rs +++ b/crates/jacquard-api/src/us_polhem/blog.rs @@ -36,37 +36,37 @@ pub mod aspect_ratio_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Height; type Width; + type Height; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Height = Unset; type Width = Unset; - } - ///State transition - sets the `height` field to Set - pub struct SetHeight(PhantomData S>); - impl sealed::Sealed for SetHeight {} - impl State for SetHeight { - type Height = Set; - type Width = S::Width; + type Height = Unset; } ///State transition - sets the `width` field to Set pub struct SetWidth(PhantomData S>); impl sealed::Sealed for SetWidth {} impl State for SetWidth { - type Height = S::Height; type Width = Set; + type Height = S::Height; + } + ///State transition - sets the `height` field to Set + pub struct SetHeight(PhantomData S>); + impl sealed::Sealed for SetHeight {} + impl State for SetHeight { + type Width = S::Width; + type Height = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `height` field - pub struct height(()); ///Marker type for the `width` field pub struct width(()); + ///Marker type for the `height` field + pub struct height(()); } } @@ -136,8 +136,8 @@ where impl<'a, S> AspectRatioBuilder<'a, S> where S: aspect_ratio_state::State, - S::Height: aspect_ratio_state::IsSet, S::Width: aspect_ratio_state::IsSet, + S::Height: aspect_ratio_state::IsSet, { /// Build the final struct pub fn build(self) -> AspectRatio<'a> { @@ -151,7 +151,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> AspectRatio<'a> { @@ -174,7 +174,7 @@ fn lexicon_doc_us_polhem_blog_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("aspectRatio"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("aspectRatio"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -183,8 +183,8 @@ fn lexicon_doc_us_polhem_blog_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("width"), - ::jacquard_common::smol_str::SmolStr::new_static("height") + ::jacquard_common::deps::smol_str::SmolStr::new_static("width"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("height") ], ), nullable: None, @@ -192,7 +192,9 @@ fn lexicon_doc_us_polhem_blog_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("height"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "height", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -203,7 +205,9 @@ fn lexicon_doc_us_polhem_blog_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("width"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "width", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, diff --git a/crates/jacquard-api/src/us_polhem/blog/content.rs b/crates/jacquard-api/src/us_polhem/blog/content.rs index 2a37bb11c..a2b8a62c3 100644 --- a/crates/jacquard-api/src/us_polhem/blog/content.rs +++ b/crates/jacquard-api/src/us_polhem/blog/content.rs @@ -38,51 +38,51 @@ pub mod content_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Slug; type CreatedAt; type Content; - type Slug; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Slug = Unset; type CreatedAt = Unset; type Content = Unset; - type Slug = Unset; + } + ///State transition - sets the `slug` field to Set + pub struct SetSlug(PhantomData S>); + impl sealed::Sealed for SetSlug {} + impl State for SetSlug { + type Slug = Set; + type CreatedAt = S::CreatedAt; + type Content = S::Content; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { + type Slug = S::Slug; type CreatedAt = Set; type Content = S::Content; - type Slug = S::Slug; } ///State transition - sets the `content` field to Set pub struct SetContent(PhantomData S>); impl sealed::Sealed for SetContent {} impl State for SetContent { - type CreatedAt = S::CreatedAt; - type Content = Set; type Slug = S::Slug; - } - ///State transition - sets the `slug` field to Set - pub struct SetSlug(PhantomData S>); - impl sealed::Sealed for SetSlug {} - impl State for SetSlug { type CreatedAt = S::CreatedAt; - type Content = S::Content; - type Slug = Set; + type Content = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `slug` field + pub struct slug(()); ///Marker type for the `created_at` field pub struct created_at(()); ///Marker type for the `content` field pub struct content(()); - ///Marker type for the `slug` field - pub struct slug(()); } } @@ -195,9 +195,9 @@ where impl<'a, S> ContentBuilder<'a, S> where S: content_state::State, + S::Slug: content_state::IsSet, S::CreatedAt: content_state::IsSet, S::Content: content_state::IsSet, - S::Slug: content_state::IsSet, { /// Build the final struct pub fn build(self) -> Content<'a> { @@ -213,7 +213,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Content<'a> { @@ -342,7 +342,7 @@ fn lexicon_doc_us_polhem_blog_content() -> ::jacquard_lexicon::lexicon::LexiconD defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -354,9 +354,9 @@ fn lexicon_doc_us_polhem_blog_content() -> ::jacquard_lexicon::lexicon::LexiconD description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("content"), - ::jacquard_common::smol_str::SmolStr::new_static("slug"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("slug"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -364,7 +364,9 @@ fn lexicon_doc_us_polhem_blog_content() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "content", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -379,7 +381,7 @@ fn lexicon_doc_us_polhem_blog_content() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -398,7 +400,9 @@ fn lexicon_doc_us_polhem_blog_content() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("images"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "images", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -412,7 +416,9 @@ fn lexicon_doc_us_polhem_blog_content() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("slug"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "slug", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, diff --git a/crates/jacquard-api/src/us_polhem/blog/post.rs b/crates/jacquard-api/src/us_polhem/blog/post.rs index e1eda3f2a..82e57ee21 100644 --- a/crates/jacquard-api/src/us_polhem/blog/post.rs +++ b/crates/jacquard-api/src/us_polhem/blog/post.rs @@ -53,67 +53,67 @@ pub mod post_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Slug; type Title; type Content; type CreatedAt; - type Slug; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Slug = Unset; type Title = Unset; type Content = Unset; type CreatedAt = Unset; - type Slug = Unset; + } + ///State transition - sets the `slug` field to Set + pub struct SetSlug(PhantomData S>); + impl sealed::Sealed for SetSlug {} + impl State for SetSlug { + type Slug = Set; + type Title = S::Title; + type Content = S::Content; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `title` field to Set pub struct SetTitle(PhantomData S>); impl sealed::Sealed for SetTitle {} impl State for SetTitle { + type Slug = S::Slug; type Title = Set; type Content = S::Content; type CreatedAt = S::CreatedAt; - type Slug = S::Slug; } ///State transition - sets the `content` field to Set pub struct SetContent(PhantomData S>); impl sealed::Sealed for SetContent {} impl State for SetContent { + type Slug = S::Slug; type Title = S::Title; type Content = Set; type CreatedAt = S::CreatedAt; - type Slug = S::Slug; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Title = S::Title; - type Content = S::Content; - type CreatedAt = Set; type Slug = S::Slug; - } - ///State transition - sets the `slug` field to Set - pub struct SetSlug(PhantomData S>); - impl sealed::Sealed for SetSlug {} - impl State for SetSlug { type Title = S::Title; type Content = S::Content; - type CreatedAt = S::CreatedAt; - type Slug = Set; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `slug` field + pub struct slug(()); ///Marker type for the `title` field pub struct title(()); ///Marker type for the `content` field pub struct content(()); ///Marker type for the `created_at` field pub struct created_at(()); - ///Marker type for the `slug` field - pub struct slug(()); } } @@ -333,10 +333,10 @@ impl<'a, S: post_state::State> PostBuilder<'a, S> { impl<'a, S> PostBuilder<'a, S> where S: post_state::State, + S::Slug: post_state::IsSet, S::Title: post_state::IsSet, S::Content: post_state::IsSet, S::CreatedAt: post_state::IsSet, - S::Slug: post_state::IsSet, { /// Build the final struct pub fn build(self) -> Post<'a> { @@ -357,7 +357,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Post<'a> { @@ -516,7 +516,7 @@ fn lexicon_doc_us_polhem_blog_post() -> ::jacquard_lexicon::lexicon::LexiconDoc< defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -528,10 +528,10 @@ fn lexicon_doc_us_polhem_blog_post() -> ::jacquard_lexicon::lexicon::LexiconDoc< description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("content"), - ::jacquard_common::smol_str::SmolStr::new_static("slug"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("slug"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -539,7 +539,9 @@ fn lexicon_doc_us_polhem_blog_post() -> ::jacquard_lexicon::lexicon::LexiconDoc< #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "content", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -554,7 +556,7 @@ fn lexicon_doc_us_polhem_blog_post() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -573,7 +575,9 @@ fn lexicon_doc_us_polhem_blog_post() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("excerpt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "excerpt", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -588,7 +592,7 @@ fn lexicon_doc_us_polhem_blog_post() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "featuredImage", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -599,7 +603,9 @@ fn lexicon_doc_us_polhem_blog_post() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("images"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "images", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -613,7 +619,9 @@ fn lexicon_doc_us_polhem_blog_post() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("slug"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "slug", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -628,7 +636,9 @@ fn lexicon_doc_us_polhem_blog_post() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tags", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::String(::jacquard_lexicon::lexicon::LexString { @@ -654,7 +664,9 @@ fn lexicon_doc_us_polhem_blog_post() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -669,7 +681,7 @@ fn lexicon_doc_us_polhem_blog_post() -> ::jacquard_lexicon::lexicon::LexiconDoc< }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "visibility", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/us_polhem/blog/tag.rs b/crates/jacquard-api/src/us_polhem/blog/tag.rs index 6f38a4c44..725945f98 100644 --- a/crates/jacquard-api/src/us_polhem/blog/tag.rs +++ b/crates/jacquard-api/src/us_polhem/blog/tag.rs @@ -37,67 +37,67 @@ pub mod tag_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; - type Description; type Name; type Slug; + type Description; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; - type Description = Unset; type Name = Unset; type Slug = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Description = S::Description; - type Name = S::Name; - type Slug = S::Slug; - } - ///State transition - sets the `description` field to Set - pub struct SetDescription(PhantomData S>); - impl sealed::Sealed for SetDescription {} - impl State for SetDescription { - type CreatedAt = S::CreatedAt; - type Description = Set; - type Name = S::Name; - type Slug = S::Slug; + type Description = Unset; + type CreatedAt = Unset; } ///State transition - sets the `name` field to Set pub struct SetName(PhantomData S>); impl sealed::Sealed for SetName {} impl State for SetName { - type CreatedAt = S::CreatedAt; - type Description = S::Description; type Name = Set; type Slug = S::Slug; + type Description = S::Description; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `slug` field to Set pub struct SetSlug(PhantomData S>); impl sealed::Sealed for SetSlug {} impl State for SetSlug { - type CreatedAt = S::CreatedAt; - type Description = S::Description; type Name = S::Name; type Slug = Set; + type Description = S::Description; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `description` field to Set + pub struct SetDescription(PhantomData S>); + impl sealed::Sealed for SetDescription {} + impl State for SetDescription { + type Name = S::Name; + type Slug = S::Slug; + type Description = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Name = S::Name; + type Slug = S::Slug; + type Description = S::Description; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); - ///Marker type for the `description` field - pub struct description(()); ///Marker type for the `name` field pub struct name(()); ///Marker type for the `slug` field pub struct slug(()); + ///Marker type for the `description` field + pub struct description(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -210,10 +210,10 @@ where impl<'a, S> TagBuilder<'a, S> where S: tag_state::State, - S::CreatedAt: tag_state::IsSet, - S::Description: tag_state::IsSet, S::Name: tag_state::IsSet, S::Slug: tag_state::IsSet, + S::Description: tag_state::IsSet, + S::CreatedAt: tag_state::IsSet, { /// Build the final struct pub fn build(self) -> Tag<'a> { @@ -229,7 +229,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Tag<'a> { @@ -369,7 +369,7 @@ fn lexicon_doc_us_polhem_blog_tag() -> ::jacquard_lexicon::lexicon::LexiconDoc<' defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -381,10 +381,10 @@ fn lexicon_doc_us_polhem_blog_tag() -> ::jacquard_lexicon::lexicon::LexiconDoc<' description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("slug"), - ::jacquard_common::smol_str::SmolStr::new_static("description"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("slug"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("description"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -392,7 +392,7 @@ fn lexicon_doc_us_polhem_blog_tag() -> ::jacquard_lexicon::lexicon::LexiconDoc<' #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -411,7 +411,7 @@ fn lexicon_doc_us_polhem_blog_tag() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "description", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -428,7 +428,9 @@ fn lexicon_doc_us_polhem_blog_tag() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -443,7 +445,9 @@ fn lexicon_doc_us_polhem_blog_tag() -> ::jacquard_lexicon::lexicon::LexiconDoc<' }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("slug"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "slug", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, diff --git a/crates/jacquard-api/src/win_tomo_x/pushat.rs b/crates/jacquard-api/src/win_tomo_x/pushat.rs index 7b10d3064..10db52bf7 100644 --- a/crates/jacquard-api/src/win_tomo_x/pushat.rs +++ b/crates/jacquard-api/src/win_tomo_x/pushat.rs @@ -38,50 +38,50 @@ pub mod device_list_item_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Name; - type Id; type Current; + type Id; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Name = Unset; - type Id = Unset; type Current = Unset; + type Id = Unset; } ///State transition - sets the `name` field to Set pub struct SetName(PhantomData S>); impl sealed::Sealed for SetName {} impl State for SetName { type Name = Set; - type Id = S::Id; - type Current = S::Current; - } - ///State transition - sets the `id` field to Set - pub struct SetId(PhantomData S>); - impl sealed::Sealed for SetId {} - impl State for SetId { - type Name = S::Name; - type Id = Set; type Current = S::Current; + type Id = S::Id; } ///State transition - sets the `current` field to Set pub struct SetCurrent(PhantomData S>); impl sealed::Sealed for SetCurrent {} impl State for SetCurrent { type Name = S::Name; - type Id = S::Id; type Current = Set; + type Id = S::Id; + } + ///State transition - sets the `id` field to Set + pub struct SetId(PhantomData S>); + impl sealed::Sealed for SetId {} + impl State for SetId { + type Name = S::Name; + type Current = S::Current; + type Id = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `name` field pub struct name(()); - ///Marker type for the `id` field - pub struct id(()); ///Marker type for the `current` field pub struct current(()); + ///Marker type for the `id` field + pub struct id(()); } } @@ -175,8 +175,8 @@ impl<'a, S> DeviceListItemBuilder<'a, S> where S: device_list_item_state::State, S::Name: device_list_item_state::IsSet, - S::Id: device_list_item_state::IsSet, S::Current: device_list_item_state::IsSet, + S::Id: device_list_item_state::IsSet, { /// Build the final struct pub fn build(self) -> DeviceListItem<'a> { @@ -191,7 +191,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> DeviceListItem<'a> { @@ -215,7 +215,7 @@ fn lexicon_doc_win_tomo_x_pushat_defs() -> ::jacquard_lexicon::lexicon::LexiconD defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("deviceList"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("deviceList"), ::jacquard_lexicon::lexicon::LexUserType::Array(::jacquard_lexicon::lexicon::LexArray { description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -227,14 +227,14 @@ fn lexicon_doc_win_tomo_x_pushat_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("deviceListItem"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("deviceListItem"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("name"), - ::jacquard_common::smol_str::SmolStr::new_static("id"), - ::jacquard_common::smol_str::SmolStr::new_static("current") + ::jacquard_common::deps::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("current") ], ), nullable: None, @@ -242,7 +242,9 @@ fn lexicon_doc_win_tomo_x_pushat_defs() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("current"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "current", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { description: None, default: None, @@ -250,7 +252,7 @@ fn lexicon_doc_win_tomo_x_pushat_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("id"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("id"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -267,7 +269,9 @@ fn lexicon_doc_win_tomo_x_pushat_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -286,13 +290,13 @@ fn lexicon_doc_win_tomo_x_pushat_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("notifyBody"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("notifyBody"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("title"), - ::jacquard_common::smol_str::SmolStr::new_static("body") + ::jacquard_common::deps::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("body") ], ), nullable: None, @@ -300,7 +304,9 @@ fn lexicon_doc_win_tomo_x_pushat_defs() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("body"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "body", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -319,7 +325,9 @@ fn lexicon_doc_win_tomo_x_pushat_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("icon"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "icon", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -340,7 +348,9 @@ fn lexicon_doc_win_tomo_x_pushat_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("link"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "link", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -361,7 +371,9 @@ fn lexicon_doc_win_tomo_x_pushat_defs() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "title", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -417,7 +429,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for DeviceListItem<'a> { { let value = &self.name; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) 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 11e3e1e8e..2e3efec10 100644 --- a/crates/jacquard-api/src/win_tomo_x/pushat/allow.rs +++ b/crates/jacquard-api/src/win_tomo_x/pushat/allow.rs @@ -139,7 +139,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Allow<'a> { @@ -240,7 +240,7 @@ fn lexicon_doc_win_tomo_x_pushat_allow() -> ::jacquard_lexicon::lexicon::Lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -252,7 +252,7 @@ fn lexicon_doc_win_tomo_x_pushat_allow() -> ::jacquard_lexicon::lexicon::Lexicon description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -260,13 +260,15 @@ fn lexicon_doc_win_tomo_x_pushat_allow() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("config"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "config", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { 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 74e219291..db3214b55 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 @@ -152,7 +152,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> PushNotify<'a> { diff --git a/crates/jacquard-api/src/xyz_atpoke/feed/poke.rs b/crates/jacquard-api/src/xyz_atpoke/feed/poke.rs index a5c749169..c90ca7467 100644 --- a/crates/jacquard-api/src/xyz_atpoke/feed/poke.rs +++ b/crates/jacquard-api/src/xyz_atpoke/feed/poke.rs @@ -175,7 +175,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Poke<'a> { @@ -277,7 +277,7 @@ fn lexicon_doc_xyz_atpoke_feed_poke() -> ::jacquard_lexicon::lexicon::LexiconDoc defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -289,8 +289,8 @@ fn lexicon_doc_xyz_atpoke_feed_poke() -> ::jacquard_lexicon::lexicon::LexiconDoc description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -298,7 +298,7 @@ fn lexicon_doc_xyz_atpoke_feed_poke() -> ::jacquard_lexicon::lexicon::LexiconDoc #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -317,7 +317,9 @@ fn lexicon_doc_xyz_atpoke_feed_poke() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -326,7 +328,9 @@ fn lexicon_doc_xyz_atpoke_feed_poke() -> ::jacquard_lexicon::lexicon::LexiconDoc }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("via"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "via", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/xyz_atpoke/graph/poke.rs b/crates/jacquard-api/src/xyz_atpoke/graph/poke.rs index 774981384..b048ccc63 100644 --- a/crates/jacquard-api/src/xyz_atpoke/graph/poke.rs +++ b/crates/jacquard-api/src/xyz_atpoke/graph/poke.rs @@ -151,7 +151,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Poke<'a> { @@ -252,7 +252,7 @@ fn lexicon_doc_xyz_atpoke_graph_poke() -> ::jacquard_lexicon::lexicon::LexiconDo defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -264,8 +264,8 @@ fn lexicon_doc_xyz_atpoke_graph_poke() -> ::jacquard_lexicon::lexicon::LexiconDo description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -273,7 +273,7 @@ fn lexicon_doc_xyz_atpoke_graph_poke() -> ::jacquard_lexicon::lexicon::LexiconDo #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -292,7 +292,9 @@ fn lexicon_doc_xyz_atpoke_graph_poke() -> ::jacquard_lexicon::lexicon::LexiconDo }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( 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 751bca3b0..e83acb3fc 100644 --- a/crates/jacquard-api/src/za_co/ciaran/cumulus/bet.rs +++ b/crates/jacquard-api/src/za_co/ciaran/cumulus/bet.rs @@ -36,49 +36,49 @@ pub mod bet_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Market; type CreatedAt; + type Market; type Position; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Market = Unset; type CreatedAt = Unset; + type Market = Unset; type Position = Unset; } - ///State transition - sets the `market` field to Set - pub struct SetMarket(PhantomData S>); - impl sealed::Sealed for SetMarket {} - impl State for SetMarket { - type Market = Set; - type CreatedAt = S::CreatedAt; - type Position = S::Position; - } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Market = S::Market; type CreatedAt = Set; + type Market = S::Market; + type Position = S::Position; + } + ///State transition - sets the `market` field to Set + pub struct SetMarket(PhantomData S>); + impl sealed::Sealed for SetMarket {} + impl State for SetMarket { + type CreatedAt = S::CreatedAt; + type Market = Set; type Position = S::Position; } ///State transition - sets the `position` field to Set pub struct SetPosition(PhantomData S>); impl sealed::Sealed for SetPosition {} impl State for SetPosition { - type Market = S::Market; type CreatedAt = S::CreatedAt; + type Market = S::Market; type Position = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `market` field - pub struct market(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `market` field + pub struct market(()); ///Marker type for the `position` field pub struct position(()); } @@ -173,8 +173,8 @@ where impl<'a, S> BetBuilder<'a, S> where S: bet_state::State, - S::Market: bet_state::IsSet, S::CreatedAt: bet_state::IsSet, + S::Market: bet_state::IsSet, S::Position: bet_state::IsSet, { /// Build the final struct @@ -190,7 +190,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Bet<'a> { @@ -318,7 +318,7 @@ fn lexicon_doc_za_co_ciaran_cumulus_bet() -> ::jacquard_lexicon::lexicon::Lexico defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -330,9 +330,9 @@ fn lexicon_doc_za_co_ciaran_cumulus_bet() -> ::jacquard_lexicon::lexicon::Lexico description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("market"), - ::jacquard_common::smol_str::SmolStr::new_static("position"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("market"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("position"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -340,7 +340,7 @@ fn lexicon_doc_za_co_ciaran_cumulus_bet() -> ::jacquard_lexicon::lexicon::Lexico #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -359,7 +359,9 @@ fn lexicon_doc_za_co_ciaran_cumulus_bet() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("market"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "market", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -368,7 +370,7 @@ fn lexicon_doc_za_co_ciaran_cumulus_bet() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "position", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { 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 27ba8a445..7e4895864 100644 --- a/crates/jacquard-api/src/za_co/ciaran/cumulus/market.rs +++ b/crates/jacquard-api/src/za_co/ciaran/cumulus/market.rs @@ -36,8 +36,8 @@ pub mod market_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Question; - type CreatedAt; type Liquidity; + type CreatedAt; type ClosesAt; } /// Empty state - all required fields are unset @@ -45,8 +45,8 @@ pub mod market_state { impl sealed::Sealed for Empty {} impl State for Empty { type Question = Unset; - type CreatedAt = Unset; type Liquidity = Unset; + type CreatedAt = Unset; type ClosesAt = Unset; } ///State transition - sets the `question` field to Set @@ -54,17 +54,8 @@ pub mod market_state { impl sealed::Sealed for SetQuestion {} impl State for SetQuestion { type Question = Set; - type CreatedAt = S::CreatedAt; - type Liquidity = S::Liquidity; - type ClosesAt = S::ClosesAt; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type Question = S::Question; - type CreatedAt = Set; type Liquidity = S::Liquidity; + type CreatedAt = S::CreatedAt; type ClosesAt = S::ClosesAt; } ///State transition - sets the `liquidity` field to Set @@ -72,8 +63,17 @@ pub mod market_state { impl sealed::Sealed for SetLiquidity {} impl State for SetLiquidity { type Question = S::Question; - type CreatedAt = S::CreatedAt; type Liquidity = Set; + type CreatedAt = S::CreatedAt; + type ClosesAt = S::ClosesAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Question = S::Question; + type Liquidity = S::Liquidity; + type CreatedAt = Set; type ClosesAt = S::ClosesAt; } ///State transition - sets the `closes_at` field to Set @@ -81,8 +81,8 @@ pub mod market_state { impl sealed::Sealed for SetClosesAt {} impl State for SetClosesAt { type Question = S::Question; - type CreatedAt = S::CreatedAt; type Liquidity = S::Liquidity; + type CreatedAt = S::CreatedAt; type ClosesAt = Set; } /// Marker types for field names @@ -90,10 +90,10 @@ pub mod market_state { pub mod members { ///Marker type for the `question` field pub struct question(()); - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `liquidity` field pub struct liquidity(()); + ///Marker type for the `created_at` field + pub struct created_at(()); ///Marker type for the `closes_at` field pub struct closes_at(()); } @@ -209,8 +209,8 @@ impl<'a, S> MarketBuilder<'a, S> where S: market_state::State, S::Question: market_state::IsSet, - S::CreatedAt: market_state::IsSet, S::Liquidity: market_state::IsSet, + S::CreatedAt: market_state::IsSet, S::ClosesAt: market_state::IsSet, { /// Build the final struct @@ -227,7 +227,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Market<'a> { @@ -343,7 +343,7 @@ fn lexicon_doc_za_co_ciaran_cumulus_market() -> ::jacquard_lexicon::lexicon::Lex defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -355,10 +355,10 @@ fn lexicon_doc_za_co_ciaran_cumulus_market() -> ::jacquard_lexicon::lexicon::Lex description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("question"), - ::jacquard_common::smol_str::SmolStr::new_static("liquidity"), - ::jacquard_common::smol_str::SmolStr::new_static("closesAt"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("question"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("liquidity"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("closesAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -366,7 +366,7 @@ fn lexicon_doc_za_co_ciaran_cumulus_market() -> ::jacquard_lexicon::lexicon::Lex #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "closesAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -385,7 +385,7 @@ fn lexicon_doc_za_co_ciaran_cumulus_market() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -404,7 +404,7 @@ fn lexicon_doc_za_co_ciaran_cumulus_market() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "liquidity", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -417,7 +417,7 @@ fn lexicon_doc_za_co_ciaran_cumulus_market() -> ::jacquard_lexicon::lexicon::Lex }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "question", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { 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 96d3418d8..97fc083b8 100644 --- a/crates/jacquard-api/src/za_co/ciaran/cumulus/resolution.rs +++ b/crates/jacquard-api/src/za_co/ciaran/cumulus/resolution.rs @@ -36,49 +36,49 @@ pub mod resolution_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Market; type Answer; + type Market; type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Market = Unset; type Answer = Unset; + type Market = Unset; type CreatedAt = Unset; } - ///State transition - sets the `market` field to Set - pub struct SetMarket(PhantomData S>); - impl sealed::Sealed for SetMarket {} - impl State for SetMarket { - type Market = Set; - type Answer = S::Answer; - type CreatedAt = S::CreatedAt; - } ///State transition - sets the `answer` field to Set pub struct SetAnswer(PhantomData S>); impl sealed::Sealed for SetAnswer {} impl State for SetAnswer { - type Market = S::Market; type Answer = Set; + type Market = S::Market; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `market` field to Set + pub struct SetMarket(PhantomData S>); + impl sealed::Sealed for SetMarket {} + impl State for SetMarket { + type Answer = S::Answer; + type Market = Set; type CreatedAt = S::CreatedAt; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Market = S::Market; type Answer = S::Answer; + type Market = S::Market; type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `market` field - pub struct market(()); ///Marker type for the `answer` field pub struct answer(()); + ///Marker type for the `market` field + pub struct market(()); ///Marker type for the `created_at` field pub struct created_at(()); } @@ -173,8 +173,8 @@ where impl<'a, S> ResolutionBuilder<'a, S> where S: resolution_state::State, - S::Market: resolution_state::IsSet, S::Answer: resolution_state::IsSet, + S::Market: resolution_state::IsSet, S::CreatedAt: resolution_state::IsSet, { /// Build the final struct @@ -190,7 +190,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Resolution<'a> { @@ -318,7 +318,7 @@ fn lexicon_doc_za_co_ciaran_cumulus_resolution() -> ::jacquard_lexicon::lexicon: defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -330,9 +330,9 @@ fn lexicon_doc_za_co_ciaran_cumulus_resolution() -> ::jacquard_lexicon::lexicon: description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("market"), - ::jacquard_common::smol_str::SmolStr::new_static("answer"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("market"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("answer"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -340,7 +340,9 @@ fn lexicon_doc_za_co_ciaran_cumulus_resolution() -> ::jacquard_lexicon::lexicon: #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("answer"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "answer", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: None, @@ -355,7 +357,7 @@ fn lexicon_doc_za_co_ciaran_cumulus_resolution() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -374,7 +376,9 @@ fn lexicon_doc_za_co_ciaran_cumulus_resolution() -> ::jacquard_lexicon::lexicon: }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("market"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "market", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/zip_viruus/chat/message.rs b/crates/jacquard-api/src/zip_viruus/chat/message.rs index 2b300791f..f5b847b7a 100644 --- a/crates/jacquard-api/src/zip_viruus/chat/message.rs +++ b/crates/jacquard-api/src/zip_viruus/chat/message.rs @@ -39,50 +39,50 @@ pub mod message_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Text; - type Channel; type CreatedAt; + type Channel; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Text = Unset; - type Channel = Unset; type CreatedAt = Unset; + type Channel = Unset; } ///State transition - sets the `text` field to Set pub struct SetText(PhantomData S>); impl sealed::Sealed for SetText {} impl State for SetText { type Text = Set; - type Channel = S::Channel; - type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `channel` field to Set - pub struct SetChannel(PhantomData S>); - impl sealed::Sealed for SetChannel {} - impl State for SetChannel { - type Text = S::Text; - type Channel = Set; type CreatedAt = S::CreatedAt; + type Channel = S::Channel; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { type Text = S::Text; - type Channel = S::Channel; type CreatedAt = Set; + type Channel = S::Channel; + } + ///State transition - sets the `channel` field to Set + pub struct SetChannel(PhantomData S>); + impl sealed::Sealed for SetChannel {} + impl State for SetChannel { + type Text = S::Text; + type CreatedAt = S::CreatedAt; + type Channel = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `text` field pub struct text(()); - ///Marker type for the `channel` field - pub struct channel(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `channel` field + pub struct channel(()); } } @@ -176,8 +176,8 @@ impl<'a, S> MessageBuilder<'a, S> where S: message_state::State, S::Text: message_state::IsSet, - S::Channel: message_state::IsSet, S::CreatedAt: message_state::IsSet, + S::Channel: message_state::IsSet, { /// Build the final struct pub fn build(self) -> Message<'a> { @@ -192,7 +192,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Message<'a> { @@ -308,7 +308,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Message<'a> { { let value = &self.text; { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -339,7 +339,7 @@ fn lexicon_doc_zip_viruus_chat_message() -> ::jacquard_lexicon::lexicon::Lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -351,9 +351,9 @@ fn lexicon_doc_zip_viruus_chat_message() -> ::jacquard_lexicon::lexicon::Lexicon description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("text"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt"), - ::jacquard_common::smol_str::SmolStr::new_static("channel") + ::jacquard_common::deps::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("channel") ], ), nullable: None, @@ -361,7 +361,9 @@ fn lexicon_doc_zip_viruus_chat_message() -> ::jacquard_lexicon::lexicon::Lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("channel"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "channel", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -380,7 +382,7 @@ fn lexicon_doc_zip_viruus_chat_message() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -403,7 +405,9 @@ fn lexicon_doc_zip_viruus_chat_message() -> ::jacquard_lexicon::lexicon::Lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/zone_stratos.rs b/crates/jacquard-api/src/zone_stratos.rs index eb2af9f3b..16d162b85 100644 --- a/crates/jacquard-api/src/zone_stratos.rs +++ b/crates/jacquard-api/src/zone_stratos.rs @@ -46,51 +46,51 @@ pub mod source_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Subject; type Service; type Vary; - type Subject; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Subject = Unset; type Service = Unset; type Vary = Unset; - type Subject = Unset; + } + ///State transition - sets the `subject` field to Set + pub struct SetSubject(PhantomData S>); + impl sealed::Sealed for SetSubject {} + impl State for SetSubject { + type Subject = Set; + type Service = S::Service; + type Vary = S::Vary; } ///State transition - sets the `service` field to Set pub struct SetService(PhantomData S>); impl sealed::Sealed for SetService {} impl State for SetService { + type Subject = S::Subject; type Service = Set; type Vary = S::Vary; - type Subject = S::Subject; } ///State transition - sets the `vary` field to Set pub struct SetVary(PhantomData S>); impl sealed::Sealed for SetVary {} impl State for SetVary { - type Service = S::Service; - type Vary = Set; type Subject = S::Subject; - } - ///State transition - sets the `subject` field to Set - pub struct SetSubject(PhantomData S>); - impl sealed::Sealed for SetSubject {} - impl State for SetSubject { type Service = S::Service; - type Vary = S::Vary; - type Subject = Set; + type Vary = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `subject` field + pub struct subject(()); ///Marker type for the `service` field pub struct service(()); ///Marker type for the `vary` field pub struct vary(()); - ///Marker type for the `subject` field - pub struct subject(()); } } @@ -183,9 +183,9 @@ where impl<'a, S> SourceBuilder<'a, S> where S: source_state::State, + S::Subject: source_state::IsSet, S::Service: source_state::IsSet, S::Vary: source_state::IsSet, - S::Subject: source_state::IsSet, { /// Build the final struct pub fn build(self) -> Source<'a> { @@ -200,7 +200,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Source<'a> { @@ -311,7 +311,7 @@ fn lexicon_doc_zone_stratos_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("source"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("source"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -320,9 +320,9 @@ fn lexicon_doc_zone_stratos_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("vary"), - ::jacquard_common::smol_str::SmolStr::new_static("subject"), - ::jacquard_common::smol_str::SmolStr::new_static("service") + ::jacquard_common::deps::smol_str::SmolStr::new_static("vary"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("service") ], ), nullable: None, @@ -330,7 +330,9 @@ fn lexicon_doc_zone_stratos_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("service"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "service", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -351,14 +353,18 @@ fn lexicon_doc_zone_stratos_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "subject", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#subjectRef"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("vary"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "vary", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -381,7 +387,7 @@ fn lexicon_doc_zone_stratos_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("subjectRef"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("subjectRef"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -390,8 +396,8 @@ fn lexicon_doc_zone_stratos_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("cid") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid") ], ), nullable: None, @@ -399,7 +405,9 @@ fn lexicon_doc_zone_stratos_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -420,7 +428,9 @@ fn lexicon_doc_zone_stratos_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'s }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -510,37 +520,37 @@ pub mod subject_ref_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Cid; type Uri; + type Cid; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Cid = Unset; type Uri = Unset; - } - ///State transition - sets the `cid` field to Set - pub struct SetCid(PhantomData S>); - impl sealed::Sealed for SetCid {} - impl State for SetCid { - type Cid = Set; - type Uri = S::Uri; + type Cid = Unset; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { - type Cid = S::Cid; type Uri = Set; + type Cid = S::Cid; + } + ///State transition - sets the `cid` field to Set + pub struct SetCid(PhantomData S>); + impl sealed::Sealed for SetCid {} + impl State for SetCid { + type Uri = S::Uri; + type Cid = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `cid` field - pub struct cid(()); ///Marker type for the `uri` field pub struct uri(()); + ///Marker type for the `cid` field + pub struct cid(()); } } @@ -613,8 +623,8 @@ where impl<'a, S> SubjectRefBuilder<'a, S> where S: subject_ref_state::State, - S::Cid: subject_ref_state::IsSet, S::Uri: subject_ref_state::IsSet, + S::Cid: subject_ref_state::IsSet, { /// Build the final struct pub fn build(self) -> SubjectRef<'a> { @@ -628,7 +638,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> SubjectRef<'a> { diff --git a/crates/jacquard-api/src/zone_stratos/actor/enrollment.rs b/crates/jacquard-api/src/zone_stratos/actor/enrollment.rs index 6d85505c5..6406d01e8 100644 --- a/crates/jacquard-api/src/zone_stratos/actor/enrollment.rs +++ b/crates/jacquard-api/src/zone_stratos/actor/enrollment.rs @@ -39,37 +39,37 @@ pub mod enrollment_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type Service; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type Service = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Service = S::Service; + type CreatedAt = Unset; } ///State transition - sets the `service` field to Set pub struct SetService(PhantomData S>); impl sealed::Sealed for SetService {} impl State for SetService { - type CreatedAt = S::CreatedAt; type Service = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Service = S::Service; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `service` field pub struct service(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -162,8 +162,8 @@ where impl<'a, S> EnrollmentBuilder<'a, S> where S: enrollment_state::State, - S::CreatedAt: enrollment_state::IsSet, S::Service: enrollment_state::IsSet, + S::CreatedAt: enrollment_state::IsSet, { /// Build the final struct pub fn build(self) -> Enrollment<'a> { @@ -178,7 +178,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Enrollment<'a> { @@ -292,7 +292,7 @@ fn lexicon_doc_zone_stratos_actor_enrollment() -> ::jacquard_lexicon::lexicon::L defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -304,8 +304,8 @@ fn lexicon_doc_zone_stratos_actor_enrollment() -> ::jacquard_lexicon::lexicon::L description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("service"), - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("service"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -313,7 +313,7 @@ fn lexicon_doc_zone_stratos_actor_enrollment() -> ::jacquard_lexicon::lexicon::L #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "boundaries", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -333,7 +333,7 @@ fn lexicon_doc_zone_stratos_actor_enrollment() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -356,7 +356,9 @@ fn lexicon_doc_zone_stratos_actor_enrollment() -> ::jacquard_lexicon::lexicon::L }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("service"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "service", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( diff --git a/crates/jacquard-api/src/zone_stratos/boundary.rs b/crates/jacquard-api/src/zone_stratos/boundary.rs index 2c25ab476..d9475c411 100644 --- a/crates/jacquard-api/src/zone_stratos/boundary.rs +++ b/crates/jacquard-api/src/zone_stratos/boundary.rs @@ -35,7 +35,7 @@ fn lexicon_doc_zone_stratos_boundary_defs() -> ::jacquard_lexicon::lexicon::Lexi defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("Domain"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("Domain"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -43,14 +43,18 @@ fn lexicon_doc_zone_stratos_boundary_defs() -> ::jacquard_lexicon::lexicon::Lexi ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("value")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("value") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("value"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "value", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -73,7 +77,7 @@ fn lexicon_doc_zone_stratos_boundary_defs() -> ::jacquard_lexicon::lexicon::Lexi }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("Domains"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("Domains"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -81,14 +85,18 @@ fn lexicon_doc_zone_stratos_boundary_defs() -> ::jacquard_lexicon::lexicon::Lexi ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("values")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("values") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("values"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "values", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -254,7 +262,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Domains<'a> { diff --git a/crates/jacquard-api/src/zone_stratos/feed/post.rs b/crates/jacquard-api/src/zone_stratos/feed/post.rs index 66316b769..4cb2529ea 100644 --- a/crates/jacquard-api/src/zone_stratos/feed/post.rs +++ b/crates/jacquard-api/src/zone_stratos/feed/post.rs @@ -340,7 +340,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Post<'a> { @@ -497,7 +497,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Post<'a> { } if let Some(ref value) = self.text { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true, ) @@ -528,7 +528,7 @@ fn lexicon_doc_zone_stratos_feed_post() -> ::jacquard_lexicon::lexicon::LexiconD defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( @@ -540,7 +540,7 @@ fn lexicon_doc_zone_stratos_feed_post() -> ::jacquard_lexicon::lexicon::LexiconD description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ::jacquard_common::deps::smol_str::SmolStr::new_static("createdAt") ], ), nullable: None, @@ -548,7 +548,7 @@ fn lexicon_doc_zone_stratos_feed_post() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "boundary", ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { @@ -564,7 +564,7 @@ fn lexicon_doc_zone_stratos_feed_post() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( + ::jacquard_common::deps::smol_str::SmolStr::new_static( "createdAt", ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -587,7 +587,9 @@ fn lexicon_doc_zone_stratos_feed_post() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("embed"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "embed", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ @@ -601,7 +603,9 @@ fn lexicon_doc_zone_stratos_feed_post() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("facets"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "facets", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -619,7 +623,9 @@ fn lexicon_doc_zone_stratos_feed_post() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("labels"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "labels", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: Some( ::jacquard_common::CowStr::new_static( @@ -633,7 +639,9 @@ fn lexicon_doc_zone_stratos_feed_post() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("langs"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "langs", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -659,14 +667,18 @@ fn lexicon_doc_zone_stratos_feed_post() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("reply"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "reply", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static("#replyRef"), }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("source"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "source", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -675,7 +687,9 @@ fn lexicon_doc_zone_stratos_feed_post() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("tags"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "tags", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -699,7 +713,9 @@ fn lexicon_doc_zone_stratos_feed_post() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "text", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -723,7 +739,7 @@ fn lexicon_doc_zone_stratos_feed_post() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("replyRef"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("replyRef"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -732,8 +748,8 @@ fn lexicon_doc_zone_stratos_feed_post() -> ::jacquard_lexicon::lexicon::LexiconD ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("root"), - ::jacquard_common::smol_str::SmolStr::new_static("parent") + ::jacquard_common::deps::smol_str::SmolStr::new_static("root"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("parent") ], ), nullable: None, @@ -741,7 +757,9 @@ fn lexicon_doc_zone_stratos_feed_post() -> ::jacquard_lexicon::lexicon::LexiconD #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("parent"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "parent", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -750,7 +768,9 @@ fn lexicon_doc_zone_stratos_feed_post() -> ::jacquard_lexicon::lexicon::LexiconD }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("root"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "root", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, r#ref: ::jacquard_common::CowStr::new_static( @@ -914,7 +934,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> ReplyRef<'a> { 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 a99ad3ef9..e205360e1 100644 --- a/crates/jacquard-api/src/zone_stratos/repo/hydrate_records.rs +++ b/crates/jacquard-api/src/zone_stratos/repo/hydrate_records.rs @@ -116,7 +116,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> HydrateRecords<'a> { @@ -210,51 +210,51 @@ pub mod record_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Uri; type Cid; type Value; + type Uri; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Uri = Unset; type Cid = Unset; type Value = Unset; - } - ///State transition - sets the `uri` field to Set - pub struct SetUri(PhantomData S>); - impl sealed::Sealed for SetUri {} - impl State for SetUri { - type Uri = Set; - type Cid = S::Cid; - type Value = S::Value; + type Uri = Unset; } ///State transition - sets the `cid` field to Set pub struct SetCid(PhantomData S>); impl sealed::Sealed for SetCid {} impl State for SetCid { - type Uri = S::Uri; type Cid = Set; type Value = S::Value; + type Uri = S::Uri; } ///State transition - sets the `value` field to Set pub struct SetValue(PhantomData S>); impl sealed::Sealed for SetValue {} impl State for SetValue { - type Uri = S::Uri; type Cid = S::Cid; type Value = Set; + type Uri = S::Uri; + } + ///State transition - sets the `uri` field to Set + pub struct SetUri(PhantomData S>); + impl sealed::Sealed for SetUri {} + impl State for SetUri { + type Cid = S::Cid; + type Value = S::Value; + type Uri = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `uri` field - pub struct uri(()); ///Marker type for the `cid` field pub struct cid(()); ///Marker type for the `value` field pub struct value(()); + ///Marker type for the `uri` field + pub struct uri(()); } } @@ -347,9 +347,9 @@ where impl<'a, S> RecordViewBuilder<'a, S> where S: record_view_state::State, - S::Uri: record_view_state::IsSet, S::Cid: record_view_state::IsSet, S::Value: record_view_state::IsSet, + S::Uri: record_view_state::IsSet, { /// Build the final struct pub fn build(self) -> RecordView<'a> { @@ -364,7 +364,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> RecordView<'a> { @@ -388,7 +388,7 @@ fn lexicon_doc_zone_stratos_repo_hydrateRecords() -> ::jacquard_lexicon::lexicon defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcProcedure(::jacquard_lexicon::lexicon::LexXrpcProcedure { description: None, parameters: None, @@ -402,7 +402,7 @@ fn lexicon_doc_zone_stratos_repo_hydrateRecords() -> ::jacquard_lexicon::lexicon description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uris") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uris") ], ), nullable: None, @@ -410,7 +410,9 @@ fn lexicon_doc_zone_stratos_repo_hydrateRecords() -> ::jacquard_lexicon::lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uris"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uris", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -445,14 +447,14 @@ fn lexicon_doc_zone_stratos_repo_hydrateRecords() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("recordView"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("recordView"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_common::smol_str::SmolStr::new_static("cid"), - ::jacquard_common::smol_str::SmolStr::new_static("value") + ::jacquard_common::deps::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("value") ], ), nullable: None, @@ -460,7 +462,9 @@ fn lexicon_doc_zone_stratos_repo_hydrateRecords() -> ::jacquard_lexicon::lexicon #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -477,7 +481,9 @@ fn lexicon_doc_zone_stratos_repo_hydrateRecords() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "uri", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, format: Some( @@ -494,7 +500,9 @@ fn lexicon_doc_zone_stratos_repo_hydrateRecords() -> ::jacquard_lexicon::lexicon }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("value"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "value", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { description: None, }), 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 646ea8ec7..c9dee9da2 100644 --- a/crates/jacquard-api/src/zone_stratos/repo/import_repo.rs +++ b/crates/jacquard-api/src/zone_stratos/repo/import_repo.rs @@ -16,7 +16,7 @@ )] #[serde(rename_all = "camelCase")] pub struct ImportRepo { - pub body: bytes::Bytes, + pub body: jacquard_common::deps::bytes::Bytes, } #[jacquard_derive::lexicon] @@ -107,7 +107,7 @@ impl jacquard_common::xrpc::XrpcRequest for ImportRepo { { Ok( Box::new(Self { - body: bytes::Bytes::copy_from_slice(body), + body: jacquard_common::deps::bytes::Bytes::copy_from_slice(body), }), ) } 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 46611116a..6161cecf6 100644 --- a/crates/jacquard-api/src/zone_stratos/sync/get_repo.rs +++ b/crates/jacquard-api/src/zone_stratos/sync/get_repo.rs @@ -145,7 +145,7 @@ where )] #[serde(rename_all = "camelCase")] pub struct GetRepoOutput { - pub body: bytes::Bytes, + pub body: jacquard_common::deps::bytes::Bytes, } #[jacquard_derive::open_union] @@ -203,7 +203,7 @@ impl jacquard_common::xrpc::XrpcResp for GetRepoResponse { Self::Output<'de>: serde::Deserialize<'de>, { Ok(GetRepoOutput { - body: bytes::Bytes::copy_from_slice(body), + body: jacquard_common::deps::bytes::Bytes::copy_from_slice(body), }) } } 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 1d4654731..5e8751fc1 100644 --- a/crates/jacquard-api/src/zone_stratos/sync/subscribe_records.rs +++ b/crates/jacquard-api/src/zone_stratos/sync/subscribe_records.rs @@ -43,84 +43,84 @@ pub mod commit_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Did; - type Rev; + type Ops; type Seq; type Time; - type Ops; + type Rev; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Did = Unset; - type Rev = Unset; + type Ops = Unset; type Seq = Unset; type Time = Unset; - type Ops = Unset; + type Rev = Unset; } ///State transition - sets the `did` field to Set pub struct SetDid(PhantomData S>); impl sealed::Sealed for SetDid {} impl State for SetDid { type Did = Set; - type Rev = S::Rev; + type Ops = S::Ops; type Seq = S::Seq; type Time = S::Time; - type Ops = S::Ops; + type Rev = S::Rev; } - ///State transition - sets the `rev` field to Set - pub struct SetRev(PhantomData S>); - impl sealed::Sealed for SetRev {} - impl State for SetRev { + ///State transition - sets the `ops` field to Set + pub struct SetOps(PhantomData S>); + impl sealed::Sealed for SetOps {} + impl State for SetOps { type Did = S::Did; - type Rev = Set; + type Ops = Set; type Seq = S::Seq; type Time = S::Time; - type Ops = S::Ops; + type Rev = S::Rev; } ///State transition - sets the `seq` field to Set pub struct SetSeq(PhantomData S>); impl sealed::Sealed for SetSeq {} impl State for SetSeq { type Did = S::Did; - type Rev = S::Rev; + type Ops = S::Ops; type Seq = Set; type Time = S::Time; - type Ops = S::Ops; + type Rev = S::Rev; } ///State transition - sets the `time` field to Set pub struct SetTime(PhantomData S>); impl sealed::Sealed for SetTime {} impl State for SetTime { type Did = S::Did; - type Rev = S::Rev; + type Ops = S::Ops; type Seq = S::Seq; type Time = Set; - type Ops = S::Ops; + type Rev = S::Rev; } - ///State transition - sets the `ops` field to Set - pub struct SetOps(PhantomData S>); - impl sealed::Sealed for SetOps {} - impl State for SetOps { + ///State transition - sets the `rev` field to Set + pub struct SetRev(PhantomData S>); + impl sealed::Sealed for SetRev {} + impl State for SetRev { type Did = S::Did; - type Rev = S::Rev; + type Ops = S::Ops; type Seq = S::Seq; type Time = S::Time; - type Ops = Set; + type Rev = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `did` field pub struct did(()); - ///Marker type for the `rev` field - pub struct rev(()); + ///Marker type for the `ops` field + pub struct ops(()); ///Marker type for the `seq` field pub struct seq(()); ///Marker type for the `time` field pub struct time(()); - ///Marker type for the `ops` field - pub struct ops(()); + ///Marker type for the `rev` field + pub struct rev(()); } } @@ -256,10 +256,10 @@ impl<'a, S> CommitBuilder<'a, S> where S: commit_state::State, S::Did: commit_state::IsSet, - S::Rev: commit_state::IsSet, + S::Ops: commit_state::IsSet, S::Seq: commit_state::IsSet, S::Time: commit_state::IsSet, - S::Ops: commit_state::IsSet, + S::Rev: commit_state::IsSet, { /// Build the final struct pub fn build(self) -> Commit<'a> { @@ -276,7 +276,7 @@ where pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, ) -> Commit<'a> { @@ -302,7 +302,7 @@ fn lexicon_doc_zone_stratos_sync_subscribeRecords() -> ::jacquard_lexicon::lexic defs: { let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("commit"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("commit"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -311,11 +311,11 @@ fn lexicon_doc_zone_stratos_sync_subscribeRecords() -> ::jacquard_lexicon::lexic ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("seq"), - ::jacquard_common::smol_str::SmolStr::new_static("did"), - ::jacquard_common::smol_str::SmolStr::new_static("time"), - ::jacquard_common::smol_str::SmolStr::new_static("rev"), - ::jacquard_common::smol_str::SmolStr::new_static("ops") + ::jacquard_common::deps::smol_str::SmolStr::new_static("seq"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("time"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("rev"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("ops") ], ), nullable: None, @@ -323,7 +323,9 @@ fn lexicon_doc_zone_stratos_sync_subscribeRecords() -> ::jacquard_lexicon::lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -344,7 +346,9 @@ fn lexicon_doc_zone_stratos_sync_subscribeRecords() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("ops"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "ops", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: Some( ::jacquard_common::CowStr::new_static( @@ -360,7 +364,9 @@ fn lexicon_doc_zone_stratos_sync_subscribeRecords() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("rev"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "rev", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static("The repo revision."), @@ -379,7 +385,9 @@ fn lexicon_doc_zone_stratos_sync_subscribeRecords() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("seq"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "seq", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -390,7 +398,9 @@ fn lexicon_doc_zone_stratos_sync_subscribeRecords() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("time"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "time", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -415,7 +425,7 @@ fn lexicon_doc_zone_stratos_sync_subscribeRecords() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("info"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("info"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -423,14 +433,18 @@ fn lexicon_doc_zone_stratos_sync_subscribeRecords() -> ::jacquard_lexicon::lexic ), ), required: Some( - vec![::jacquard_common::smol_str::SmolStr::new_static("name")], + vec![ + ::jacquard_common::deps::smol_str::SmolStr::new_static("name") + ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("message"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "message", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -449,7 +463,9 @@ fn lexicon_doc_zone_stratos_sync_subscribeRecords() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "name", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -472,7 +488,7 @@ fn lexicon_doc_zone_stratos_sync_subscribeRecords() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("main"), ::jacquard_lexicon::lexicon::LexUserType::XrpcSubscription(::jacquard_lexicon::lexicon::LexXrpcSubscription { description: None, parameters: Some( @@ -480,14 +496,16 @@ fn lexicon_doc_zone_stratos_sync_subscribeRecords() -> ::jacquard_lexicon::lexic description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("did") + ::jacquard_common::deps::smol_str::SmolStr::new_static("did") ], ), properties: { #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cursor"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cursor", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { description: None, default: None, @@ -498,7 +516,9 @@ fn lexicon_doc_zone_stratos_sync_subscribeRecords() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "did", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -519,7 +539,9 @@ fn lexicon_doc_zone_stratos_sync_subscribeRecords() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("domain"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "domain", + ), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -547,7 +569,7 @@ fn lexicon_doc_zone_stratos_sync_subscribeRecords() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("recordOp"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("recordOp"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( @@ -556,8 +578,8 @@ fn lexicon_doc_zone_stratos_sync_subscribeRecords() -> ::jacquard_lexicon::lexic ), required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("action"), - ::jacquard_common::smol_str::SmolStr::new_static("path") + ::jacquard_common::deps::smol_str::SmolStr::new_static("action"), + ::jacquard_common::deps::smol_str::SmolStr::new_static("path") ], ), nullable: None, @@ -565,7 +587,9 @@ fn lexicon_doc_zone_stratos_sync_subscribeRecords() -> ::jacquard_lexicon::lexic #[allow(unused_mut)] let mut map = ::alloc::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("action"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "action", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -584,13 +608,17 @@ fn lexicon_doc_zone_stratos_sync_subscribeRecords() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "cid", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::CidLink(::jacquard_lexicon::lexicon::LexCidLink { description: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("path"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "path", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( @@ -609,7 +637,9 @@ fn lexicon_doc_zone_stratos_sync_subscribeRecords() -> ::jacquard_lexicon::lexic }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("record"), + ::jacquard_common::deps::smol_str::SmolStr::new_static( + "record", + ), ::jacquard_lexicon::lexicon::LexObjectProperty::Unknown(::jacquard_lexicon::lexicon::LexUnknown { description: None, }), @@ -963,11 +993,15 @@ impl<'a> SubscribeRecordsMessage<'a> { )?; match header.t.as_str() { "#commit" => { - let variant = serde_ipld_dagcbor::from_slice(body)?; + let variant = jacquard_common::deps::codegen::serde_ipld_dagcbor::from_slice( + body, + )?; Ok(Self::Commit(Box::new(variant))) } "#info" => { - let variant = 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 => { diff --git a/crates/jacquard-common/Cargo.toml b/crates/jacquard-common/Cargo.toml index 0c4b47fa4..a60138780 100644 --- a/crates/jacquard-common/Cargo.toml +++ b/crates/jacquard-common/Cargo.toml @@ -57,7 +57,7 @@ zstd = ["dep:zstd"] trait-variant.workspace = true bon = { workspace = true, optional = true } base64.workspace = true -bytes.workspace = true +bytes = { workspace = true, features = ["serde"] } chrono.workspace = true cid.workspace = true ipld-core.workspace = true @@ -72,6 +72,8 @@ serde_html_form.workspace = true # need to check these at workspace level serde_json.workspace = true smol_str.workspace = true thiserror.workspace = true +rustversion.workspace = true +unicode-segmentation.workspace = true url.workspace = true http.workspace = true serde_bytes.workspace = true diff --git a/crates/jacquard-common/src/deps.rs b/crates/jacquard-common/src/deps.rs new file mode 100644 index 000000000..b186b9fa0 --- /dev/null +++ b/crates/jacquard-common/src/deps.rs @@ -0,0 +1,48 @@ +//! Re-exports of external crate dependencies for consistent access across jacquard. +//! +//! This module centralises all external crate access so downstream crates and generated code +//! reference known-good versions through a single path. This allows for easier dependency +//! management and version upgrades across the workspace. + +/// Re-export of the [`bytes`](https://docs.rs/bytes/) crate for byte buffer operations. +pub use bytes; + +/// Re-export of the [`chrono`](https://docs.rs/chrono/) crate for date/time handling. +pub use chrono; + +/// Re-export of the [`smol_str`](https://docs.rs/smol_str/) crate for optimized small strings. +pub use smol_str; + +/// Re-export of the [`url`](https://docs.rs/url/) crate for URI/URL parsing. +/// Note: This will be replaced with `fluent_uri` in a future phase. +pub use url; + +/// Re-exports of crates used in code generation contexts. +/// +/// This submodule is hidden from documentation and intended for use by generated code +/// and related internal tooling. Stability guarantees may differ from the public API. +#[doc(hidden)] +pub mod codegen { + /// Re-export of the [`serde`](https://docs.rs/serde/) crate for serialization/deserialization. + pub use serde; + + /// Re-export of the [`serde_bytes`](https://docs.rs/serde_bytes/) crate for efficient byte serialization. + pub use serde_bytes; + + /// Re-export of the [`serde_ipld_dagcbor`](https://docs.rs/serde_ipld_dagcbor/) crate for CBOR encoding. + pub use serde_ipld_dagcbor; + + /// Re-export of the [`miette`](https://docs.rs/miette/) crate for rich error diagnostics. + /// Only available when the `std` feature is enabled. + #[cfg(feature = "std")] + pub use miette; + + /// Re-export of the [`thiserror`](https://docs.rs/thiserror/) crate for error definition macros. + pub use thiserror; + + /// Re-export of the [`rustversion`](https://docs.rs/rustversion/) crate for conditional compilation based on Rust version. + pub use rustversion; + + /// Re-export of the [`unicode_segmentation`](https://docs.rs/unicode-segmentation/) crate for grapheme counting. + pub use unicode_segmentation; +} diff --git a/crates/jacquard-common/src/into_static.rs b/crates/jacquard-common/src/into_static.rs index 9796b78b2..99b6f414d 100644 --- a/crates/jacquard-common/src/into_static.rs +++ b/crates/jacquard-common/src/into_static.rs @@ -98,7 +98,7 @@ impl_into_static_passthru!( isize, f32, f64, - crate::smol_str::SmolStr + crate::deps::smol_str::SmolStr ); impl IntoStatic for Box { diff --git a/crates/jacquard-common/src/lib.rs b/crates/jacquard-common/src/lib.rs index 1d424fb73..ff657f2fe 100644 --- a/crates/jacquard-common/src/lib.rs +++ b/crates/jacquard-common/src/lib.rs @@ -212,12 +212,8 @@ pub type Lazy = std::sync::LazyLock; #[cfg(not(feature = "std"))] pub use spin::Lazy; -pub use bytes; -pub use chrono; pub use cowstr::CowStr; pub use into_static::IntoStatic; -pub use smol_str; -pub use url; /// A copy-on-write immutable string type that uses [`smol_str::SmolStr`] for /// the "owned" variant. @@ -226,6 +222,8 @@ pub mod cowstr; #[macro_use] /// Trait for taking ownership of most borrowed types in jacquard. pub mod into_static; +/// Re-exports of external crate dependencies for consistent access across jacquard. +pub mod deps; pub mod error; pub mod http_client; pub mod macros; @@ -289,3 +287,26 @@ where let value = T::deserialize(deserializer)?; Ok(value.into_static()) } + +#[cfg(test)] +mod tests { + use crate::deps::smol_str::SmolStr; + use crate::deps::bytes; + use crate::deps::chrono; + + #[test] + fn deps_smol_str() { + let s = SmolStr::new_static("test"); + assert_eq!(s, "test"); + } + + #[test] + fn deps_bytes() { + let _x = bytes::Bytes::from_static(b"hello"); + } + + #[test] + fn deps_chrono() { + let _now = chrono::Utc::now(); + } +} diff --git a/crates/jacquard-identity/src/lexicon_resolver.rs b/crates/jacquard-identity/src/lexicon_resolver.rs index 93f81fb9d..63158b651 100644 --- a/crates/jacquard-identity/src/lexicon_resolver.rs +++ b/crates/jacquard-identity/src/lexicon_resolver.rs @@ -7,7 +7,7 @@ use crate::resolver::{IdentityError, IdentityResolver}; use jacquard_common::{ - IntoStatic, from_json_value, smol_str, + IntoStatic, from_json_value, deps::smol_str, types::{aturi::AtUri, cid::Cid, did::Did, string::Nsid}, }; use jacquard_lexicon::lexicon::LexiconDoc; @@ -408,7 +408,7 @@ impl LexiconAuthorityResolver for crate::JacquardResolver { // Try cache first #[cfg(feature = "cache")] if let Some(caches) = &self.caches { - let authority = jacquard_common::smol_str::SmolStr::from(nsid.domain_authority()); + let authority = jacquard_common::deps::smol_str::SmolStr::from(nsid.domain_authority()); if let Some(did) = crate::cache_impl::get(&caches.authority_to_did, &authority) { return Ok(did); } @@ -423,7 +423,7 @@ impl LexiconAuthorityResolver for crate::JacquardResolver { Ok(did) => { if let Some(caches) = &self.caches { let authority = - jacquard_common::smol_str::SmolStr::from(nsid.domain_authority()); + jacquard_common::deps::smol_str::SmolStr::from(nsid.domain_authority()); crate::cache_impl::insert(&caches.authority_to_did, authority, did.clone()); } } @@ -458,7 +458,7 @@ impl crate::JacquardResolver { // Try cache first #[cfg(feature = "cache")] if let Some(caches) = &self.caches { - let authority = jacquard_common::smol_str::SmolStr::from(nsid.domain_authority()); + let authority = jacquard_common::deps::smol_str::SmolStr::from(nsid.domain_authority()); if let Some(did) = crate::cache_impl::get(&caches.authority_to_did, &authority) { return Ok(did); } @@ -499,7 +499,7 @@ impl crate::JacquardResolver { #[cfg(feature = "cache")] if let Ok(ref did) = result { if let Some(caches) = &self.caches { - let authority_key = jacquard_common::smol_str::SmolStr::from(authority); + let authority_key = jacquard_common::deps::smol_str::SmolStr::from(authority); crate::cache_impl::insert( &caches.authority_to_did, authority_key, diff --git a/crates/jacquard-identity/src/lib.rs b/crates/jacquard-identity/src/lib.rs index f86a9961e..bd5ed56e1 100644 --- a/crates/jacquard-identity/src/lib.rs +++ b/crates/jacquard-identity/src/lib.rs @@ -81,7 +81,7 @@ use jacquard_api::com_atproto::identity::resolve_handle::ResolveHandle; #[cfg(feature = "streaming")] use jacquard_common::ByteStream; use jacquard_common::http_client::HttpClient; -use jacquard_common::smol_str::{SmolStr, ToSmolStr}; +use jacquard_common::deps::smol_str::{SmolStr, ToSmolStr}; use jacquard_common::types::did::Did; use jacquard_common::types::did_doc::DidDocument; use jacquard_common::types::ident::AtIdentifier; @@ -581,13 +581,13 @@ impl JacquardResolver { .map_err(|e| IdentityError::from(e).with_context(format!("resolving handle {}", handle)))?; // Note: XrpcError has GAT lifetimes that prevent boxing; use debug format let out = resp.parse().map_err(|e| { - IdentityError::xrpc(jacquard_common::smol_str::format_smolstr!("{:?}", e)) + IdentityError::xrpc(jacquard_common::deps::smol_str::format_smolstr!("{:?}", e)) .with_context(format!("parsing response for handle {}", handle)) })?; Did::new_owned(out.did.as_str()) .map(|d| d.into_static()) .map_err(|e| { - IdentityError::invalid_doc(jacquard_common::smol_str::format_smolstr!( + IdentityError::invalid_doc(jacquard_common::deps::smol_str::format_smolstr!( "PDS returned invalid DID '{}': {}", out.did, e @@ -613,7 +613,7 @@ impl JacquardResolver { .map_err(|e| IdentityError::from(e).with_context(format!("fetching DID doc for {}", did)))?; // Note: XrpcError has GAT lifetimes that prevent boxing; use debug format let out = resp.parse().map_err(|e| { - IdentityError::xrpc(jacquard_common::smol_str::format_smolstr!("{:?}", e)) + IdentityError::xrpc(jacquard_common::deps::smol_str::format_smolstr!("{:?}", e)) .with_context(format!("parsing DID doc response for {}", did)) })?; let doc_json = serde_json::to_value(&out.did_doc)?; diff --git a/crates/jacquard-identity/src/resolver.rs b/crates/jacquard-identity/src/resolver.rs index 801d07877..e68a142a8 100644 --- a/crates/jacquard-identity/src/resolver.rs +++ b/crates/jacquard-identity/src/resolver.rs @@ -19,7 +19,7 @@ use jacquard_common::types::ident::AtIdentifier; use jacquard_common::types::string::{AtprotoStr, Handle}; use jacquard_common::types::uri::Uri; use jacquard_common::types::value::{AtDataError, Data}; -use jacquard_common::{CowStr, IntoStatic, smol_str}; +use jacquard_common::{CowStr, IntoStatic, deps::smol_str}; use n0_future::time::Duration; use smol_str::SmolStr; use std::collections::BTreeMap; diff --git a/crates/jacquard-lexicon/src/codegen.rs b/crates/jacquard-lexicon/src/codegen.rs index 2feb455d4..0b0ec4567 100644 --- a/crates/jacquard-lexicon/src/codegen.rs +++ b/crates/jacquard-lexicon/src/codegen.rs @@ -244,7 +244,7 @@ impl<'c> CodeGenerator<'c> { let (rust_type, needs_lifetime) = match def { LexUserType::Boolean(_) => (quote! { bool }, false), LexUserType::Integer(_) => (quote! { i64 }, false), - LexUserType::Bytes(_) => (quote! { bytes::Bytes }, false), + LexUserType::Bytes(_) => (quote! { jacquard_common::deps::bytes::Bytes }, false), LexUserType::CidLink(_) => { (quote! { jacquard_common::types::cid::CidLink<'a> }, true) } diff --git a/crates/jacquard-lexicon/src/codegen/builder_gen.rs b/crates/jacquard-lexicon/src/codegen/builder_gen.rs index 269f5397c..0384048f8 100644 --- a/crates/jacquard-lexicon/src/codegen/builder_gen.rs +++ b/crates/jacquard-lexicon/src/codegen/builder_gen.rs @@ -19,14 +19,14 @@ pub(crate) enum BuilderSchema<'a> { impl<'a> BuilderSchema<'a> { /// Get the required fields list - pub fn required(&self) -> Option<&[jacquard_common::smol_str::SmolStr]> { + pub fn required(&self) -> Option<&[jacquard_common::deps::smol_str::SmolStr]> { match self { BuilderSchema::Object(obj) => obj.required.as_deref(), BuilderSchema::Parameters(params) => params.required.as_deref(), } } - pub fn nullable(&self) -> Option<&[jacquard_common::smol_str::SmolStr]> { + pub fn nullable(&self) -> Option<&[jacquard_common::deps::smol_str::SmolStr]> { match self { BuilderSchema::Object(obj) => obj.nullable.as_deref(), BuilderSchema::Parameters(_) => None, @@ -34,7 +34,7 @@ impl<'a> BuilderSchema<'a> { } /// Get the property names (field names) - pub fn property_names(&self) -> Vec<&jacquard_common::smol_str::SmolStr> { + pub fn property_names(&self) -> Vec<&jacquard_common::deps::smol_str::SmolStr> { match self { BuilderSchema::Object(obj) => obj.properties.keys().collect(), BuilderSchema::Parameters(params) => params.properties.keys().collect(), diff --git a/crates/jacquard-lexicon/src/codegen/builder_gen/build_method.rs b/crates/jacquard-lexicon/src/codegen/builder_gen/build_method.rs index 98ace6b3d..3cef5ff80 100644 --- a/crates/jacquard-lexicon/src/codegen/builder_gen/build_method.rs +++ b/crates/jacquard-lexicon/src/codegen/builder_gen/build_method.rs @@ -7,7 +7,7 @@ use crate::codegen::builder_gen::BuilderSchema; use crate::codegen::builder_gen::state_mod::RequiredField; use crate::codegen::utils::make_ident; use heck::ToSnakeCase; -use jacquard_common::smol_str::SmolStr; +use jacquard_common::deps::smol_str::SmolStr; use proc_macro2::TokenStream; use quote::{format_ident, quote}; @@ -74,7 +74,7 @@ pub fn generate_build_method( pub fn build_with_data( self, extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, + jacquard_common::deps::smol_str::SmolStr, jacquard_common::types::value::Data #lifetime_generic >, ) -> #type_ident #lifetime_generic { diff --git a/crates/jacquard-lexicon/src/codegen/builder_gen/common.rs b/crates/jacquard-lexicon/src/codegen/builder_gen/common.rs index 3eda7cba0..49e3a072e 100644 --- a/crates/jacquard-lexicon/src/codegen/builder_gen/common.rs +++ b/crates/jacquard-lexicon/src/codegen/builder_gen/common.rs @@ -27,7 +27,7 @@ pub fn generate_common_types() -> TokenStream { pub struct Unset; /// Trait indicating a builder field is set (has a value) - #[rustversion::attr( + #[jacquard_common::deps::codegen::rustversion::attr( since(1.78.0), diagnostic::on_unimplemented( message = "the field `{Self}` was not set, but this method requires it to be set", @@ -37,7 +37,7 @@ pub fn generate_common_types() -> TokenStream { pub trait IsSet: private::Sealed {} /// Trait indicating a builder field is unset (no value yet) - #[rustversion::attr( + #[jacquard_common::deps::codegen::rustversion::attr( since(1.78.0), diagnostic::on_unimplemented( message = "the field `{Self}` was already set, but this method requires it to be unset", diff --git a/crates/jacquard-lexicon/src/codegen/builder_gen/setters.rs b/crates/jacquard-lexicon/src/codegen/builder_gen/setters.rs index ccc0c2d96..c2d4fe6a8 100644 --- a/crates/jacquard-lexicon/src/codegen/builder_gen/setters.rs +++ b/crates/jacquard-lexicon/src/codegen/builder_gen/setters.rs @@ -7,7 +7,7 @@ use crate::codegen::builder_gen::BuilderSchema; use crate::codegen::builder_gen::state_mod::RequiredField; use crate::codegen::utils::make_ident; use heck::{ToPascalCase, ToSnakeCase}; -use jacquard_common::smol_str::SmolStr; +use jacquard_common::deps::smol_str::SmolStr; use proc_macro2::TokenStream; use quote::{format_ident, quote}; diff --git a/crates/jacquard-lexicon/src/codegen/builder_gen/state_mod.rs b/crates/jacquard-lexicon/src/codegen/builder_gen/state_mod.rs index 1ca8181ca..c04d35fde 100644 --- a/crates/jacquard-lexicon/src/codegen/builder_gen/state_mod.rs +++ b/crates/jacquard-lexicon/src/codegen/builder_gen/state_mod.rs @@ -6,7 +6,7 @@ use std::collections::HashSet; use heck::{ToPascalCase, ToSnakeCase}; -use jacquard_common::smol_str::SmolStr; +use jacquard_common::deps::smol_str::SmolStr; use proc_macro2::TokenStream; use quote::{format_ident, quote}; diff --git a/crates/jacquard-lexicon/src/codegen/builder_gen/tests.rs b/crates/jacquard-lexicon/src/codegen/builder_gen/tests.rs index 2febb0961..e39d4fb28 100644 --- a/crates/jacquard-lexicon/src/codegen/builder_gen/tests.rs +++ b/crates/jacquard-lexicon/src/codegen/builder_gen/tests.rs @@ -10,7 +10,7 @@ use crate::lexicon::{ LexInteger, LexObject, LexObjectProperty, LexString, LexXrpcParameters, LexXrpcParametersProperty, }; -use jacquard_common::smol_str::SmolStr; +use jacquard_common::deps::smol_str::SmolStr; use std::collections::BTreeMap; #[test] diff --git a/crates/jacquard-lexicon/src/codegen/schema_impl.rs b/crates/jacquard-lexicon/src/codegen/schema_impl.rs index c6c824c6b..eb5dbc561 100644 --- a/crates/jacquard-lexicon/src/codegen/schema_impl.rs +++ b/crates/jacquard-lexicon/src/codegen/schema_impl.rs @@ -1,7 +1,8 @@ //! Generate LexiconSchema trait implementations for generated types use crate::lexicon::{ - LexInteger, LexObject, LexObjectProperty, LexRecordRecord, LexString, LexUserType, LexiconDoc, + LexInteger, LexObject, LexObjectProperty, LexRecordRecord, LexString, LexStringFormat, + LexUserType, LexiconDoc, }; use crate::schema::from_ast::{ConstraintCheck, ValidationCheck}; @@ -123,6 +124,14 @@ fn extract_string_validations( ) -> Vec { let mut checks = Vec::new(); + // Datetime maps to `chrono::DateTime` which does not implement + // `AsRef`, so length checks cannot be emitted for it. All other formats + // (did, handle, at-uri, cid, nsid, tid, record-key, language, uri, etc.) use + // string-backed wrapper types that do implement `AsRef`. + if matches!(string.format, Some(LexStringFormat::Datetime)) { + return checks; + } + if let Some(max) = string.max_length { checks.push(ValidationCheck { field_name: field_name.to_string(), diff --git a/crates/jacquard-lexicon/src/codegen/structs.rs b/crates/jacquard-lexicon/src/codegen/structs.rs index 3f95f6a9d..211a4d254 100644 --- a/crates/jacquard-lexicon/src/codegen/structs.rs +++ b/crates/jacquard-lexicon/src/codegen/structs.rs @@ -3,7 +3,7 @@ use crate::lexicon::{ LexArrayItem, LexInteger, LexObject, LexObjectProperty, LexRecord, LexString, }; use heck::ToSnakeCase; -use jacquard_common::smol_str::SmolStr; +use jacquard_common::deps::smol_str::SmolStr; use proc_macro2::TokenStream; use quote::quote; use std::collections::BTreeMap; @@ -463,10 +463,12 @@ impl<'c> CodeGenerator<'c> { let mut from_str_arms = Vec::new(); let mut as_str_arms = Vec::new(); + let mut known_variant_names = std::collections::HashSet::new(); for value in known_values { // Convert value to valid Rust identifier let value_str = value.as_ref(); let variant_name = value_to_variant_name(value_str); + known_variant_names.insert(variant_name.clone()); let variant_ident = syn::Ident::new(&variant_name, proc_macro2::Span::call_site()); variants.push(quote! { @@ -482,6 +484,14 @@ impl<'c> CodeGenerator<'c> { }); } + // Choose catch-all name, falling back if "Other" collides with a known value variant. + let catchall_name = if known_variant_names.contains("Other") { + "UnknownValue" + } else { + "Other" + }; + let catchall_ident = syn::Ident::new(catchall_name, proc_macro2::Span::call_site()); + let doc = self.generate_doc_comment(string.description.as_ref()); // Generate IntoStatic impl @@ -492,7 +502,7 @@ impl<'c> CodeGenerator<'c> { (variant_name, EnumVariantKind::Unit) }) .chain(std::iter::once(( - "Other".to_string(), + catchall_name.to_string(), EnumVariantKind::Tuple, ))) .collect(); @@ -504,14 +514,14 @@ impl<'c> CodeGenerator<'c> { #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum #ident<'a> { #(#variants,)* - Other(jacquard_common::CowStr<'a>), + #catchall_ident(jacquard_common::CowStr<'a>), } impl<'a> #ident<'a> { pub fn as_str(&self) -> &str { match self { #(#as_str_arms,)* - Self::Other(s) => s.as_ref(), + Self::#catchall_ident(s) => s.as_ref(), } } } @@ -520,7 +530,7 @@ impl<'c> CodeGenerator<'c> { fn from(s: &'a str) -> Self { match s { #(#from_str_arms,)* - _ => Self::Other(jacquard_common::CowStr::from(s)), + _ => Self::#catchall_ident(jacquard_common::CowStr::from(s)), } } } @@ -529,7 +539,7 @@ impl<'c> CodeGenerator<'c> { fn from(s: String) -> Self { match s.as_str() { #(#from_str_arms,)* - _ => Self::Other(jacquard_common::CowStr::from(s)), + _ => Self::#catchall_ident(jacquard_common::CowStr::from(s)), } } } @@ -540,7 +550,6 @@ impl<'c> CodeGenerator<'c> { } } - impl<'a> core::fmt::Display for #ident<'a> { fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { write!(f, "{}", self.as_str()) @@ -587,11 +596,13 @@ impl<'c> CodeGenerator<'c> { let mut variants = Vec::new(); let mut from_str_arms = Vec::new(); let mut as_str_arms = Vec::new(); + let mut known_variant_names = std::collections::HashSet::new(); for value in known_values { let value_str = value.as_ref(); // Use known_value_to_variant_name to extract fragment from NSID#fragment let variant_name = known_value_to_variant_name(value_str); + known_variant_names.insert(variant_name.clone()); let variant_ident = syn::Ident::new(&variant_name, proc_macro2::Span::call_site()); variants.push(quote! { @@ -607,6 +618,14 @@ impl<'c> CodeGenerator<'c> { }); } + // Choose catch-all name, falling back if "Other" collides with a known value variant. + let catchall_name = if known_variant_names.contains("Other") { + "UnknownValue" + } else { + "Other" + }; + let catchall_ident = syn::Ident::new(catchall_name, proc_macro2::Span::call_site()); + let doc = self.generate_doc_comment(string.description.as_ref()); // Generate IntoStatic impl @@ -617,7 +636,7 @@ impl<'c> CodeGenerator<'c> { (variant_name, EnumVariantKind::Unit) }) .chain(std::iter::once(( - "Other".to_string(), + catchall_name.to_string(), EnumVariantKind::Tuple, ))) .collect(); @@ -629,14 +648,14 @@ impl<'c> CodeGenerator<'c> { #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum #ident<'a> { #(#variants,)* - Other(jacquard_common::CowStr<'a>), + #catchall_ident(jacquard_common::CowStr<'a>), } impl<'a> #ident<'a> { pub fn as_str(&self) -> &str { match self { #(#as_str_arms,)* - Self::Other(s) => s.as_ref(), + Self::#catchall_ident(s) => s.as_ref(), } } } @@ -645,7 +664,7 @@ impl<'c> CodeGenerator<'c> { fn from(s: &'a str) -> Self { match s { #(#from_str_arms,)* - _ => Self::Other(jacquard_common::CowStr::from(s)), + _ => Self::#catchall_ident(jacquard_common::CowStr::from(s)), } } } @@ -654,7 +673,7 @@ impl<'c> CodeGenerator<'c> { fn from(s: String) -> Self { match s.as_str() { #(#from_str_arms,)* - _ => Self::Other(jacquard_common::CowStr::from(s)), + _ => Self::#catchall_ident(jacquard_common::CowStr::from(s)), } } } @@ -695,7 +714,7 @@ impl<'c> CodeGenerator<'c> { impl<'a> Default for #ident<'a> { fn default() -> Self { - Self::Other(Default::default()) + Self::#catchall_ident(Default::default()) } } diff --git a/crates/jacquard-lexicon/src/codegen/types.rs b/crates/jacquard-lexicon/src/codegen/types.rs index 3fa66cc21..4f7376c07 100644 --- a/crates/jacquard-lexicon/src/codegen/types.rs +++ b/crates/jacquard-lexicon/src/codegen/types.rs @@ -31,7 +31,7 @@ impl<'c> CodeGenerator<'c> { Ok(self.string_to_rust_type(s)) } } - LexObjectProperty::Bytes(_) => Ok(quote! { bytes::Bytes }), + LexObjectProperty::Bytes(_) => Ok(quote! { jacquard_common::deps::bytes::Bytes }), LexObjectProperty::CidLink(_) => { Ok(quote! { jacquard_common::types::cid::CidLink<'a> }) } @@ -141,7 +141,7 @@ impl<'c> CodeGenerator<'c> { LexArrayItem::Boolean(_) => Ok(quote! { bool }), LexArrayItem::Integer(_) => Ok(quote! { i64 }), LexArrayItem::String(s) => Ok(self.string_to_rust_type(s)), - LexArrayItem::Bytes(_) => Ok(quote! { bytes::Bytes }), + LexArrayItem::Bytes(_) => Ok(quote! { jacquard_common::deps::bytes::Bytes }), LexArrayItem::CidLink(_) => Ok(quote! { jacquard_common::types::cid::CidLink<'a> }), LexArrayItem::Blob(_) => Ok(quote! { jacquard_common::types::blob::BlobRef<'a> }), LexArrayItem::Unknown(_) => Ok(quote! { jacquard_common::types::value::Data<'a> }), diff --git a/crates/jacquard-lexicon/src/codegen/union_codegen.rs b/crates/jacquard-lexicon/src/codegen/union_codegen.rs index 6dbc7e9b1..6252c7aad 100644 --- a/crates/jacquard-lexicon/src/codegen/union_codegen.rs +++ b/crates/jacquard-lexicon/src/codegen/union_codegen.rs @@ -45,9 +45,13 @@ impl<'a> UnionGenContext<'a> { is_current_namespace: bool, } + let mut seen_refs = HashSet::new(); let mut variant_infos = Vec::new(); for ref_str in refs { let normalized_ref = RefPath::normalize(ref_str, self.current_nsid); + if !seen_refs.insert(normalized_ref.clone()) { + continue; + } let ref_path = RefPath::parse(&normalized_ref, None); let ref_nsid_str = ref_path.nsid(); let ref_def = ref_path.def(); diff --git a/crates/jacquard-lexicon/src/codegen/utils.rs b/crates/jacquard-lexicon/src/codegen/utils.rs index dc7cdc1b5..8afcae67e 100644 --- a/crates/jacquard-lexicon/src/codegen/utils.rs +++ b/crates/jacquard-lexicon/src/codegen/utils.rs @@ -79,7 +79,7 @@ pub(super) fn sanitize_name_cow(s: &str) -> CowStr<'_> { } if s.is_empty() { - return CowStr::Owned(jacquard_common::smol_str::SmolStr::new_static("unknown")); + return CowStr::Owned(jacquard_common::deps::smol_str::SmolStr::new_static("unknown")); } // Replace invalid characters with underscores diff --git a/crates/jacquard-lexicon/src/codegen/xrpc.rs b/crates/jacquard-lexicon/src/codegen/xrpc.rs index 5d4f8f328..a4ba0d04e 100644 --- a/crates/jacquard-lexicon/src/codegen/xrpc.rs +++ b/crates/jacquard-lexicon/src/codegen/xrpc.rs @@ -256,7 +256,7 @@ impl<'c> CodeGenerator<'c> { syn::Ident::new(&variant.variant_name, proc_macro2::Span::call_site()); quote! { #ref_str_literal => { - let variant = serde_ipld_dagcbor::from_slice(body)?; + let variant = jacquard_common::deps::codegen::serde_ipld_dagcbor::from_slice(body)?; Ok(Self::#variant_ident(Box::new(variant))) } } @@ -490,7 +490,7 @@ impl<'c> CodeGenerator<'c> { } else { // Binary body: just a bytes field quote! { - pub body: bytes::Bytes, + pub body: jacquard_common::deps::bytes::Bytes, } }; @@ -571,7 +571,7 @@ impl<'c> CodeGenerator<'c> { self.generate_body_fields(nsid, &struct_name, schema, false)? } else { quote! { - pub body: bytes::Bytes, + pub body: jacquard_common::deps::bytes::Bytes, } }; @@ -982,7 +982,7 @@ impl<'c> CodeGenerator<'c> { Self::Output<'de>: serde::Deserialize<'de>, { Ok(#output_ident { - body: bytes::Bytes::copy_from_slice(body), + body: jacquard_common::deps::bytes::Bytes::copy_from_slice(body), }) } } @@ -1035,7 +1035,7 @@ impl<'c> CodeGenerator<'c> { Self: serde::Deserialize<'de>, { Ok(Box::new(Self { - body: bytes::Bytes::copy_from_slice(body), + body: jacquard_common::deps::bytes::Bytes::copy_from_slice(body), })) } } diff --git a/crates/jacquard-lexicon/src/corpus.rs b/crates/jacquard-lexicon/src/corpus.rs index 03df61c32..792fc4502 100644 --- a/crates/jacquard-lexicon/src/corpus.rs +++ b/crates/jacquard-lexicon/src/corpus.rs @@ -1,7 +1,7 @@ use crate::error::{CodegenError, Result}; use crate::lexicon::{LexUserType, LexiconDoc}; use crate::ref_utils::RefPath; -use jacquard_common::{into_static::IntoStatic, smol_str::SmolStr}; +use jacquard_common::{into_static::IntoStatic, deps::smol_str::SmolStr}; use std::collections::BTreeMap; use std::fs; use std::path::Path; diff --git a/crates/jacquard-lexicon/src/derive_impl/doc_to_tokens.rs b/crates/jacquard-lexicon/src/derive_impl/doc_to_tokens.rs index 172b3cbdc..fa46617d8 100644 --- a/crates/jacquard-lexicon/src/derive_impl/doc_to_tokens.rs +++ b/crates/jacquard-lexicon/src/derive_impl/doc_to_tokens.rs @@ -2,7 +2,7 @@ use crate::lexicon::*; use crate::schema::from_ast::{ConstraintCheck, ValidationCheck}; -use jacquard_common::smol_str::SmolStr; +use jacquard_common::deps::smol_str::SmolStr; use proc_macro2::TokenStream; use quote::quote; use std::collections::BTreeMap; @@ -35,7 +35,7 @@ fn defs_map_to_tokens( .map(|(name, def)| { let name_str = name.as_str(); let def_tokens = user_type_to_tokens(def, union_fields); - quote! { map.insert(::jacquard_common::smol_str::SmolStr::new_static(#name_str), #def_tokens) } + quote! { map.insert(::jacquard_common::deps::smol_str::SmolStr::new_static(#name_str), #def_tokens) } }) .collect(); @@ -264,7 +264,7 @@ fn properties_to_tokens( let name_str = name.as_str(); let union_type_path = union_fields.get(name.as_str()); let prop_tokens = object_property_to_tokens(prop, union_type_path); - quote! { map.insert(::jacquard_common::smol_str::SmolStr::new_static(#name_str), #prop_tokens) } + quote! { map.insert(::jacquard_common::deps::smol_str::SmolStr::new_static(#name_str), #prop_tokens) } }) .collect(); @@ -619,7 +619,7 @@ fn xrpc_parameters_to_tokens(params: &LexXrpcParameters) -> TokenStream { .map(|(name, prop)| { let name_str = name.as_str(); let prop_tokens = xrpc_param_property_to_tokens(prop); - quote! { map.insert(::jacquard_common::smol_str::SmolStr::new_static(#name_str), #prop_tokens) } + quote! { map.insert(::jacquard_common::deps::smol_str::SmolStr::new_static(#name_str), #prop_tokens) } }) .collect(); let required = option_vec_smol_str_to_tokens(¶ms.required); @@ -814,7 +814,7 @@ pub fn validations_to_tokens(checks: &[ValidationCheck]) -> TokenStream { }, ConstraintCheck::MaxGraphemes { max } => quote! { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true ).count(); @@ -829,7 +829,7 @@ pub fn validations_to_tokens(checks: &[ValidationCheck]) -> TokenStream { }, ConstraintCheck::MinGraphemes { min } => quote! { { - let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + let count = jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation::graphemes( value.as_ref(), true ).count(); @@ -917,7 +917,7 @@ fn option_vec_smol_str_to_tokens(opt: &Option>) -> TokenStream { match opt { Some(v) => { let strs: Vec<_> = v.iter().map(|s| s.as_str()).collect(); - quote! { Some(vec![#(::jacquard_common::smol_str::SmolStr::new_static(#strs)),*]) } + quote! { Some(vec![#(::jacquard_common::deps::smol_str::SmolStr::new_static(#strs)),*]) } } None => quote! { None }, } diff --git a/crates/jacquard-lexicon/src/derive_impl/lexicon_attr.rs b/crates/jacquard-lexicon/src/derive_impl/lexicon_attr.rs index c7c7ff16f..11f3f47fa 100644 --- a/crates/jacquard-lexicon/src/derive_impl/lexicon_attr.rs +++ b/crates/jacquard-lexicon/src/derive_impl/lexicon_attr.rs @@ -42,7 +42,7 @@ pub fn impl_lexicon(_attr: TokenStream, item: TokenStream) -> TokenStream { #[serde(skip_serializing_if = "Option::is_none")] #[serde(default)] pub extra_data: ::core::option::Option<::alloc::collections::BTreeMap< - ::jacquard_common::smol_str::SmolStr, + ::jacquard_common::deps::smol_str::SmolStr, ::jacquard_common::types::value::Data<#lifetime> >> } @@ -53,7 +53,7 @@ pub fn impl_lexicon(_attr: TokenStream, item: TokenStream) -> TokenStream { #[serde(skip_serializing_if = "Option::is_none")] #[serde(default)] pub extra_data: ::core::option::Option<::alloc::collections::BTreeMap< - ::jacquard_common::smol_str::SmolStr, + ::jacquard_common::deps::smol_str::SmolStr, ::jacquard_common::types::value::Data<#lifetime> >> } diff --git a/crates/jacquard-lexicon/src/lexicon.rs b/crates/jacquard-lexicon/src/lexicon.rs index 91027c386..6064beb38 100644 --- a/crates/jacquard-lexicon/src/lexicon.rs +++ b/crates/jacquard-lexicon/src/lexicon.rs @@ -2,7 +2,7 @@ // https://github.com/atrium-rs/atrium/blob/main/lexicon/atrium-lex/src/lexicon.rs // https://github.com/atrium-rs/atrium/blob/main/lexicon/atrium-lex/src/lib.rs -use jacquard_common::{CowStr, into_static::IntoStatic, smol_str::SmolStr, types::blob::MimeType}; +use jacquard_common::{CowStr, into_static::IntoStatic, deps::smol_str::SmolStr, types::blob::MimeType}; use serde::{Deserialize, Serialize}; use serde_repr::{Deserialize_repr, Serialize_repr}; use serde_with::skip_serializing_none; diff --git a/crates/jacquard-lexicon/src/schema.rs b/crates/jacquard-lexicon/src/schema.rs index 92d094f05..7be5598c0 100644 --- a/crates/jacquard-lexicon/src/schema.rs +++ b/crates/jacquard-lexicon/src/schema.rs @@ -150,13 +150,13 @@ inventory::collect!(LexiconSchemaRef); #[derive(Debug, Clone)] pub struct SchemaRegistry { /// Schema documents indexed by NSID (concurrent access safe) - schemas: dashmap::DashMap>, + schemas: dashmap::DashMap>, } impl SchemaRegistry { /// Build registry from inventory-collected schemas pub fn from_inventory() -> Self { - use jacquard_common::smol_str::ToSmolStr; + use jacquard_common::deps::smol_str::ToSmolStr; let schemas = dashmap::DashMap::new(); for entry in inventory::iter:: { @@ -198,7 +198,7 @@ impl SchemaRegistry { } /// Insert or update a schema (for runtime schema loading) - pub fn insert(&self, nsid: jacquard_common::smol_str::SmolStr, doc: crate::lexicon::LexiconDoc<'static>) { + pub fn insert(&self, nsid: jacquard_common::deps::smol_str::SmolStr, doc: crate::lexicon::LexiconDoc<'static>) { self.schemas.insert(nsid, doc); } diff --git a/crates/jacquard-lexicon/src/schema/builder.rs b/crates/jacquard-lexicon/src/schema/builder.rs index 5212a2dd9..594523a5d 100644 --- a/crates/jacquard-lexicon/src/schema/builder.rs +++ b/crates/jacquard-lexicon/src/schema/builder.rs @@ -10,7 +10,7 @@ use crate::lexicon::{ LexXrpcQueryParameter, Lexicon, LexiconDoc, }; use jacquard_common::CowStr; -use jacquard_common::smol_str::SmolStr; +use jacquard_common::deps::smol_str::SmolStr; use std::collections::BTreeMap; /// Builder for lexicon documents diff --git a/crates/jacquard-lexicon/src/schema/from_ast/builders.rs b/crates/jacquard-lexicon/src/schema/from_ast/builders.rs index 8d0a28d90..24fb34e4e 100644 --- a/crates/jacquard-lexicon/src/schema/from_ast/builders.rs +++ b/crates/jacquard-lexicon/src/schema/from_ast/builders.rs @@ -8,7 +8,7 @@ use super::properties::build_object_properties; use super::types::*; use crate::lexicon::*; use heck::ToLowerCamelCase; -use jacquard_common::smol_str::SmolStr; +use jacquard_common::deps::smol_str::SmolStr; use std::collections::BTreeMap; use syn::DeriveInput; diff --git a/crates/jacquard-lexicon/src/validation.rs b/crates/jacquard-lexicon/src/validation.rs index 1715c91bb..ed32570b7 100644 --- a/crates/jacquard-lexicon/src/validation.rs +++ b/crates/jacquard-lexicon/src/validation.rs @@ -8,7 +8,7 @@ use crate::ref_utils::RefPath; use crate::schema::SchemaRegistry; use cid::Cid as IpldCid; use dashmap::DashMap; -use jacquard_common::{smol_str, types::value::Data}; +use jacquard_common::{deps::smol_str, types::value::Data}; use sha2::{Digest, Sha256}; use smol_str::SmolStr; use std::{ diff --git a/crates/jacquard-lexicon/src/validation/tests.rs b/crates/jacquard-lexicon/src/validation/tests.rs index 4b0df89bb..73be99640 100644 --- a/crates/jacquard-lexicon/src/validation/tests.rs +++ b/crates/jacquard-lexicon/src/validation/tests.rs @@ -4,7 +4,7 @@ use super::*; use crate::{lexicon::*, schema::LexiconSchema}; use jacquard_common::{ CowStr, - smol_str::ToSmolStr, + deps::smol_str::ToSmolStr, types::{string::AtprotoStr, value::Data}, }; use std::collections::BTreeMap;